---
title: "Migros API: Barcode | Perceptlayer"
description: "Barcode from Migros as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/migros/barcode
---

[APIs](https://perceptlayer.com/apis) / [Migros](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `language` | string | Optional | de, fr, it, en |
| `storeType` | string | Optional | OFFLINE, ONLINE |
| `region` | string | Optional | national, 2 |
| `warehouseId` | integer | Optional | Any |
| `cooperative` | string | Optional | gmzh |
| `source` | string | Optional | web, guest |
| `gtin` | string | Optional | Any |

## 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 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/migros?try=barcode#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.

| Field | Type |
| --- | --- |
| `gtin` | string |
| `uids` | number\[\] |
| `raw` | number\[\] |
| `context` | object |
