APIs / Migros / Barcode

Migros: Barcode

Barcode from Migros as JSON. 1 credit per successful call.

GET /v1/migros/barcode

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
languagestringOptionalde, fr, it, en
storeTypestringOptionalOFFLINE, ONLINE
regionstringOptionalnational, 2
warehouseIdintegerOptionalAny
cooperativestringOptionalgmzh
sourcestringOptionalweb, guest
gtinstringOptionalAny

Example request

Migros
GET/v1/migros/barcode?language=de&storeType=OFFLINE&region=national&cooperative=gmzh&source=web&gtin=7613404894064
{
  "success": true,
  "gtin": "7613404894064",
  "uids": [
    100006357
  ],
  "raw": [
    100006357
  ],
  "context": {
    "country": "CH",
    "scope": "national",
    "region": "national",
    "store_type": "OFFLINE",
    "cooperative": "gmzh",
    "language": "de"
  },
  "meta": {
    "endpoint_family": "migros-barcode"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 30 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
gtinstring
uidsnumber[]
rawnumber[]
contextobject