# Migros Switzerland Promotion Details API Documentation

`GET /api/migros/promotion` returns public promotion records. Pass one or more `promotion_group_ids` from the promotions or promotion-search route as `ids`. `start_date` accepts either the ISO value returned by those routes or plain YYYY-MM-DD. An unknown id or date returns 404 and costs no credit.

## Credits

A successful request costs **1 credit**. Errors and challenges cost nothing. The response shows the charge in `meta.credits_charged`.

## Known gaps

Review text is client-side and unsupported; only aggregate numbers are returned. Promotion group rows are excluded from product cards. Some INSTORE_ONLY items have `price: null` because the source publishes no online price; no number is invented. For stock send `uids[]=a&uids[]=b` (2 to 10 nine digit uids). Exact similar-product data is not offered; use the public recommendation rails.

- **Documentation:** [https://scrappa.co/docs/migros-api/migros_promotion](https://scrappa.co/docs/migros-api/migros_promotion)
- **API group:** Migros Switzerland API
- **Endpoint:** `GET https://scrappa.co/api/migros/promotion`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `ids` | string | Yes | One or more promotion_group_ids from the promotions or promotion-search route. |
| `start_date` | string | Yes | Start date as YYYY-MM-DD or the ISO value from the promotions route. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/migros/promotion?ids=2413962&start_date=2026-11-19T00%3A00%3A00Z"
```

## Example response

```json
{
    "success": true,
    "context": {
        "country": "CH",
        "region": "national",
        "store_type": "OFFLINE",
        "language": "de"
    },
    "meta": {
        "endpoint_family": "migros-promotion",
        "billable": true,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No public record for that id (`not_found`). Non-billable. |
| 422 | Validation Error | A parameter is missing, malformed or conflicts with another. Unknown parameters are rejected. Non-billable. |
| 503 | Upstream Unavailable | The source could not be reached or changed its shape. Retryable and never billed. Clients are never rate limited. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
