APIs / Marketplaces / Migros

1 credit per call12 endpoints11 datapointsChecked working 6 Dec 2026

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.

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 OKJSONX-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.

#idstringmigros_idstringnamestringtitlestringpricenumbercurrencystringunit_priceobjectimagesstring[]gtinsstring[]breadcrumbobject[]availabilitystring
1100055998260506701000BirnenMigros · Birnen · Kaiser Alexander3.3CHF{0 fields}[1 item][3 items][3 items]INSTORE_ONLY
2100031945263405502300ClementinenMigros · Clementinen3.95CHF{2 fields}[1 item][3 items][3 items]ONLINE_AND_INSTORE
3100150360131114000000WintersalatWintersalat · Bio3.95CHF{2 fields}[1 item][2 items][3 items]INSTORE_ONLY

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

11 datapoints

Identity

  • idstring
  • migros_idstring
  • namestring
  • titlestring

Reputation

  • imagesstring[]

Price

  • pricenumber
  • currencystring
  • unit_priceobject

Other

  • gtinsstring[]
  • breadcrumbobject[]
  • availabilitystring

Playground

Run this API

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/migros/autocomplete
none+7 optional
suggestionsmore_products_to_showcontext
1 credit
GET/v1/migros/barcode
none+7 optional
gtinuidsrawcontext
1 credit
GET/v1/migros/categories
none+6 optional
idname
1 credit
GET/v1/migros/guest
none+10 optional
allowSpecialFreshcooperativedeliverIddeliveryRequestKeyeComCityNameeComZipCode+9 more
1 credit
GET/v1/migros/product
none+8 optional
productcontext
1 credit
GET/v1/migros/promotion
none+8 optional
iddescriptionbadgesstart_dateend_dateproduct_ids+1 more
1 credit
GET/v1/migros/promotions
none+7 optional
kinditemspromotion_idspromotion_group_idscontext
1 credit
GET/v1/migros/promotions-search
none+9 optional
itemspromotion_idspromotion_group_idsfromuntilstart_date+2 more
1 credit
GET/v1/migros/recommendations
none+10 optional
railitemscontext
1 credit
GET/v1/migros/reviews
none+7 optional
migros_idaggregate_ratingreview_text_supportedcontext
4 credits
GET/v1/migros/search
none+14 optional
itemsfromuntilreturnedfiltered_outfilters_applied_to_window+1 more
1 credit
GET/v1/migros/stores
none+7 optional
idnameaddresscityziplatitude+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.

MarketplacesJSONRESTMCP

More marketplaces APIs

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.