# Netto Weekly Offers API Documentation

`GET /api/netto/offers` returns current weekly offer tiles as structured JSON. Pass a `store_id` from the stores endpoint and a `page` from the allowlist.

## What you get

Each offer has `id`, `name`, numeric EUR `price`, `original_price`, `discount_percent`, `base_price_per_unit`, `valid_from`, `valid_to` and `scraped_at`. The `source` field says whether store-bound or store-independent tiles were used. A coverage note explains a fallback, and `page` is null when store-independent tiles are shown. Store-bound tiles are returned only for their requested page.

## Pages

`page` accepts only 1. Other values return 422. Page 1 is never returned under another page number.

## Credits

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

- **Documentation:** [https://scrappa.co/docs/netto-api/netto_offers](https://scrappa.co/docs/netto-api/netto_offers)
- **API group:** Netto API
- **Endpoint:** `GET https://scrappa.co/api/netto/offers`

## 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 |
| --- | --- | --- | --- |
| `store_id` | string | Yes | Store id from the stores endpoint. |
| `page` | integer | Yes | Offer page id: 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/netto/offers?store_id=12345&page=1"
```

## Example response

```json
{
    "success": true,
    "store_id": "12345",
    "page": 1,
    "source": "store",
    "offers": [
        {
            "id": "2997279000",
            "name": "Netto Kaffee",
            "price": 4.99,
            "original_price": 6.99,
            "discount_percent": 29,
            "base_price_per_unit": "2,50 \u20ac / kg",
            "currency": "EUR",
            "valid_from": "2026-07-13",
            "valid_to": "2026-07-18"
        }
    ],
    "meta": {
        "endpoint_family": "netto-offers",
        "billable": true,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or outside the allowed values. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | The storefront could not be reached or answered with a challenge (`upstream_blocked`, `upstream_unavailable`, `parser_drift`). 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)
