# EDEKA24 Search API Documentation

<p><strong>EDEKA24 Search API</strong> returns public products for a query as JSON. Each item has the OXID article id, name, detail path, full-size image, EUR price, struck reference price, unit price, discount, validity date, lowest 30-day price and flags. Page 1 reads the result page; later pages use the site's own load-more fragment with the paging values from an earlier answer. An empty item list is the end signal. Costs 1 credit per request on success; empty pages and failures are free.</p>

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

## 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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Product search term, 1 to 120 characters. |
| `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": {
        "page": 1,
        "count": 1,
        "items": [
            {
                "id": "128796001MXST",
                "ean": "8076809523714",
                "url": "/Lebensmittel/Beilagen/Nudeln/Barilla-Nudeln-La-Collezione-Tagliatelle-500-g.html",
                "name": "Barilla Nudeln La Collezione Tagliatelle 500 g",
                "image": "https://example.com/665_665_75/8076809523714.webp",
                "price": 1.79,
                "currency": "EUR",
                "discount": 0.8,
                "position": 1,
                "base_price": 3.58,
                "valid_until": "2026-11-25",
                "base_price_unit": "kg",
                "reference_price": 2.59,
                "discount_percentage": 31,
                "lowest_price_30_days": 2.59
            }
        ],
        "query": "nudeln",
        "total": 506,
        "has_next_page": true
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "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)
