# EDEKA24 Category API Documentation

<p><strong>EDEKA24 Category API</strong> returns the public product tiles of one category as JSON. Send the category path from the sitemap or a 32 character cnid from an earlier answer. Tiles carry id, name, detail path, full-size image, EUR price, reference price, unit price, discount, validity and lowest 30-day price. Later pages use the site's own load-more fragment. The breadcrumb and the paging values are returned. Costs 1 credit per request on success; empty pages and failures are free.</p>

- **Documentation:** [https://scrappa.co/docs/edeka24-api/edeka24_category](https://scrappa.co/docs/edeka24-api/edeka24_category)
- **API group:** EDEKA24 API
- **Endpoint:** `GET https://scrappa.co/api/edeka24/category`

## 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 |
| --- | --- | --- | --- |
| `path` | string | No | Public category URL from the sitemap, e.g. /Lebensmittel/Beilagen/Nudeln/. |
| `cnid` | string | No | 32 character category id; use this when no path is sent. |
| `page` | integer | No | 1-based page, default 1. 30 items per page. |
| `max_page` | integer | No | Paging value from an earlier answer, needed from page 2. |
| `filter_art_count` | integer | No | Paging value from an earlier answer, needed from page 2. |
| `filter_page_count` | integer | No | Paging value from an earlier answer, needed from page 2. |

## Example response

```json
{
    "data": {
        "cnid": "687ff1fc2beae300ffbf361dc647a4fb",
        "page": 1,
        "path": "/Lebensmittel/Beilagen/Nudeln/",
        "count": 30,
        "items": [
            {
                "id": "128796001MXST",
                "name": "Barilla Nudeln",
                "price": 1.79,
                "currency": "EUR",
                "position": 1
            }
        ],
        "breadcrumb": [
            {
                "name": "Nudeln",
                "path": "/Lebensmittel/Beilagen/Nudeln/"
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "category"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | The request validation failed |  |
| 503 | EDEKA24 could not be reached. Please retry shortly. |  |

## 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)
