---
title: "Migros API: Swiss groceries as JSON | Perceptlayer"
description: "Migros API for Swiss groceries: search, prices and unit prices in CHF, barcodes, weekly promotions, stores and ratings. 1 to 4 credits per successful call."
url: https://perceptlayer.com/apis/migros
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Migros

1 credit per call 12 endpoints 11 datapoints 

# Migros API

Migros API for Swiss groceries: search, prices and unit prices in CHF, barcodes, weekly promotions, stores and ratings. 1 to 4 credits per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Migros

GET /v1/migros/promotions-search 

```
{
  "success": true,
  "items": [
    {
      "id": "100055998",
      "migros_id": "260506701000",
      "name": "Birnen",
      "title": "Migros · Birnen · Kaiser Alexander",
      "price": 3.3,
      "currency": "CHF",
      "unit_price": {},
      "images": [
        "https://image.migros.ch/d/2017-large/o-af-1-t.clr-fff/0fca925fa2f992015f3811d06e10f5e3e25b5a7b/migros-birnen-kaiser-alexander.jpg"
      ],
      "gtins": [
        "2123059000000",
        "351294",
        "7617027541688"
      ],
      "breadcrumb": [
        {
          "id": "7494732",
          "name": "Früchte & Gemüse",
          "slugs": [
            "fruchte-gemuse"
          ]
        },
        {
          "id": "7494756",
          "name": "Früchte",
          "slugs": [
            "fruchte-gemuse",
            "fruchte"
          ]
        },
        {
          "id": "7494893",
          "name": "Äpfel & Birnen",
          "slugs": [
            "fruchte-gemuse",
            "fruchte",
            "apfel-birnen"
          ]
        }
      ],
      "availability": "INSTORE_ONLY"
    },
    {
      "id": "100031945",
      "migros_id": "263405502300",
      "name": "Clementinen",
      "title": "Migros · Clementinen",
      "price": 3.95,
      "currency": "CHF",
      "unit_price": {
        "unit": "100g",
        "value": 0.26
      },
      "images": [
        "https://image.migros.ch/d/2017-large/o-af-1-t.clr-fff/f0b82c7eacf531c20488a152a89a48ab09e4d561/migros-clementinen.jpg"
      ],
      "gtins": [
        "3061436100839",
        "3061436100785",
        "3061436100693"
      ],
      "breadcrumb": [
        {
          "id": "7494732",
          "name": "Früchte & Gemüse",
          "slugs": [
            "fruchte-gemuse"
          ]
        },
        {
          "id": "7494756",
          "name": "Früchte",
          "slugs": [
            "fruchte-gemuse",
            "fruchte"
          ]
        },
        {
          "id": "7494894",
          "name": "Zitrusfrüchte",
          "slugs": [
            "fruchte-gemuse",
            "fruchte",
            "zitrusfruchte"
          ]
        }
      ],
      "availability": "ONLINE_AND_INSTORE"
    },
    {
      "id": "100150360",
      "migros_id": "131114000000",
      "name": "Wintersalat",
      "title": "Wintersalat · Bio",
      "price": 3.95,
      "currency": "CHF",
      "unit_price": {
        "unit": "100g",
        "value": 1.98
      },
      "images": [
        "https://image.migros.ch/d/2017-large/o-af-1-t.clr-fff/69d111c322314f2aee3a98569689822c88bae42e/bio-wintersalat.jpg"
      ],
      "gtins": [
        "7623186595042",
        "7623186295492"
      ],
      "breadcrumb": [
        {
          "id": "7494732",
          "name": "Früchte & Gemüse",
          "slugs": [
            "fruchte-gemuse"
          ]
        },
        {
          "id": "7494759",
          "name": "Salat",
          "slugs": [
            "fruchte-gemuse",
            "salat"
          ]
        },
        {
          "id": "7494914",
          "name": "Abgepackte Salate",
          "slugs": [
            "fruchte-gemuse",
            "salat",
            "abgepackte-salate"
          ]
        }
      ],
      "pictos": [
        "Bio",
        "https://media.www.migros.ch/product-display/media/,/pictures/pictos/PRODUCT_BIO?v=1793295600",
        "BIO"
      ],
      "availability": "INSTORE_ONLY"
    }
  ],
  "promotion_ids": [
    100055998,
    100031945,
    100150360
  ],
  "promotion_group_ids": [
    2379752
  ],
  "filters": [
    {
      "count": 86,
      "id": "new",
      "label": "Neuheiten",
      "type": "SINGLE"
    },
    {
      "count": 46,
      "id": "product_bio",
      "label": "Bio",
      "type": "SINGLE"
    },
    {
      "count": 96,
      "id": "product_of_switzerland",
      "label": "Schweizer Produkt",
      "type": "SINGLE"
    }
  ],
  "total": 249,
  "from": 0,
  "until": 20,
  "start_date": "2026-11-26T00:00:00Z",
  "end_date": "2026-12-02T00:00:00Z",
  "context": {
    "country": "CH",
    "scope": "national",
    "region": "national",
    "store_type": "OFFLINE",
    "language": "de"
  },
  "meta": {
    "endpoint_family": "migros-promotion-search",
    "request_id": "req_7b8861a7c2e14e67aba1f09dcdc2e2bc",
    "credits_charged": 1,
    "credits_remaining": 4887
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `promotions-search`: the fields and shapes you will get, shortened to 3 items.

| # | id string | migros\_id string | name string | title string | price number | currency string | unit\_price object | images string\[\] | gtins string\[\] | breadcrumb object\[\] | availability string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 100055998 | 260506701000 | Birnen | Migros · Birnen · Kaiser Alexander | 3.3 | CHF | {0 fields} | \[1 item\] | \[3 items\] | \[3 items\] | INSTORE\_ONLY |
| 2 | 100031945 | 263405502300 | Clementinen | Migros · Clementinen | 3.95 | CHF | {2 fields} | \[1 item\] | \[3 items\] | \[3 items\] | ONLINE\_AND\_INSTORE |
| 3 | 100150360 | 131114000000 | Wintersalat | Wintersalat · Bio | 3.95 | CHF | {2 fields} | \[1 item\] | \[2 items\] | \[3 items\] | INSTORE\_ONLY |

Recorded from our API · 3 items shown · 11 datapoints per item GET /v1/migros/promotions-search

11 datapoints

### Identity

-   id string
-   migros\_id string
-   name string
-   title string

### Reputation

-   images string\[\]

### Price

-   price number
-   currency string
-   unit\_price object

### Other

-   gtins string\[\]
-   breadcrumb object\[\]
-   availability string

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/migros/promotions-search" \
  -H "X-API-Key: $API_KEY"
```

Migros · 12 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/migros/autocomplete`](https://perceptlayer.com/apis/migros/autocomplete) | none +7 optional | `suggestions` `more_products_to_show` `context` | 1 credit |
| [GET `/v1/migros/barcode`](https://perceptlayer.com/apis/migros/barcode) | none +7 optional | `gtin` `uids` `raw` `context` | 1 credit |
| [GET `/v1/migros/categories`](https://perceptlayer.com/apis/migros/categories) | none +6 optional | `id` `name` | 1 credit |
| [GET `/v1/migros/guest`](https://perceptlayer.com/apis/migros/guest) | none +10 optional | `allowSpecialFresh` `cooperative` `deliverId` `deliveryRequestKey` `eComCityName` `eComZipCode` +9 more | 1 credit |
| [GET `/v1/migros/product`](https://perceptlayer.com/apis/migros/product) | none +8 optional | `product` `context` | 1 credit |
| [GET `/v1/migros/promotion`](https://perceptlayer.com/apis/migros/promotion) | none +8 optional | `id` `description` `badges` `start_date` `end_date` `product_ids` +1 more | 1 credit |
| [GET `/v1/migros/promotions`](https://perceptlayer.com/apis/migros/promotions) | none +7 optional | `kind` `items` `promotion_ids` `promotion_group_ids` `context` | 1 credit |
| [GET `/v1/migros/promotions-search`](https://perceptlayer.com/apis/migros/promotions-search) | none +9 optional | `items` `promotion_ids` `promotion_group_ids` `from` `until` `start_date` +2 more | 1 credit |
| [GET `/v1/migros/recommendations`](https://perceptlayer.com/apis/migros/recommendations) | none +10 optional | `rail` `items` `context` | 1 credit |
| [GET `/v1/migros/reviews`](https://perceptlayer.com/apis/migros/reviews) | none +7 optional | `migros_id` `aggregate_rating` `review_text_supported` `context` | 4 credits |
| [GET `/v1/migros/search`](https://perceptlayer.com/apis/migros/search) | none +14 optional | `items` `from` `until` `returned` `filtered_out` `filters_applied_to_window` +1 more | 1 credit |
| [GET `/v1/migros/stores`](https://perceptlayer.com/apis/migros/stores) | none +7 optional | `id` `name` `address` `city` `zip` `latitude` +1 more | 1 credit |

Overview

## About the Migros API

## What you can get

The Migros API returns grocery data from Migros, the Swiss retailer, as JSON through 12 endpoints. Prices are in CHF. Every endpoint takes the same context parameters: `language` (de, fr, it or en), `storeType` (OFFLINE or ONLINE), `region` (national or 2), `warehouseId`, `cooperative` ( `gmzh`) and `source` (web or guest).

-   **Search:** `search` takes a `query` or a `category`, with `sort`, `from`, `limit`, `price_min` and `price_max`. `autocomplete` takes a partial `query` and returns product ids, terms and categories.
-   **Products:** `product` takes an `id` or a `migros_id`. `barcode` takes a `gtin` and returns the matching product ids.
-   **Promotions:** `promotions-search` lists the current promotions. `promotions` takes a `kind` (such as `new`). `promotion` takes promotion `ids` and a `start_date`.
-   **Reviews:** `reviews` takes an `id`, the product's `migros_id`.
-   **Catalogue:** `categories` returns the category tree with names in four languages. `recommendations` returns the home page product rail.
-   **Stores and delivery:** `stores` takes a `query` such as a city. `guest` takes a `verb` (such as `fulfilment`) and returns the default delivery slot and location.

The recorded search for "milch" returns `items`, each with `id`, `migros_id`, `name`, `title`, `price`, `currency`, `unit_price`, `gtins`, `breadcrumb`, `pictos` and `availability` (such as ONLINE\_AND\_INSTORE or INSTORE\_ONLY). The recorded `promotions-search` call listed 249 promoted products for the week from 26 November 2026, with `filters` such as Neuheiten (86) and Bio (46).

## How a call works

Search, then look up: `GET /v1/migros/search?query=milch&language=de` with your key in the `X-API-Key` header returns each product's `id` and `migros_id`. Pass either to `product`, and the `migros_id` as `id` to `reviews`. Promotions run by week: `promotions-search` returns the week's `start_date`, `end_date` and `promotion_group_ids`, and `promotion` takes a group id with that `start_date` to list its products and discount badge. Page search with `from` and `limit`. Most calls cost 1 credit; `reviews` costs 4. Failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track Migros grocery prices and unit prices

`Use the Migros API to track Migros grocery prices and unit prices` 

### Watch each week's promotions and their discounts

`Use the Migros API to watch each week's promotions and their discounts` 

### Look up a product by its barcode

`Use the Migros API to look up a product by its barcode` 

### See which products are new this week with \`promotions\` and \`kind=new\`

`` Use the Migros API to see which products are new this week with `promotions` and `kind=new` `` 

FAQ

## Questions

**How much does the Migros API cost?**

Most endpoints cost 1 credit per successful call. \`reviews\` costs 4 credits. Failed calls cost nothing.

**What do reviews return?**

The aggregate rating only: the recorded call for a Bio whole milk returned \`rating\_value\` 4.61 from 1,013 ratings, with \`review\_text\_supported\` set to false. No review texts come back.

**Which ids go where?**

\`search\` returns both an \`id\` (such as 100006357) and a \`migros\_id\` (such as 204003200000). \`product\` accepts either; \`reviews\` takes the \`migros\_id\`. \`barcode\` turns a GTIN into the \`id\`.

**Do I need a Migros account?**

No. You call this Migros API with your Perceptlayer key in the \`X-API-Key\` header, with no Migros login.

**Is this the official Migros API?**

No. Perceptlayer is an independent service and is not affiliated with Migros. It returns Migros data as JSON with a Perceptlayer key, so there is no Migros developer account, app review or partner approval to get first. It only reads data: if Migros has an official API and you need to act on your own Migros account, such as posting, managing orders or reading private data, use that one.

**Should I build a Migros scraper instead?**

You can, but a Migros scraper is code you maintain: page changes break it, requests get blocked, and Migros's terms govern how you collect data. The Migros API gives you 12 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Migros API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
