# ALDI SÜD Product Search API Documentation

`GET /api/aldi-sued/search` returns ALDI SÜD products as structured JSON. Pass `q` or `categoryKey`.

## What you get

Each item keeps the full source object in `raw` and adds a normalized `id` (18-digit SKU), numeric EUR `price` with `base_price`, `was_price`, `savings` and `bottle_deposit`, full-size `images`, `image`, `url` and `position`. Use `id` unchanged with the product and nutrition endpoints.

## Filters and pages

`limit` accepts only 12, 16, 24, 30, 32, 48 or 60. `offset` maps to the exact source offset and `pagination.next_offset` continues the page. Page one is never relabelled. Runtime filters `theme`, `categoryTree`, `brandName` and `countryOrigin` are honoured.

## 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/aldi-sued-api/aldi_sued_search](https://scrappa.co/docs/aldi-sued-api/aldi_sued_search)
- **API group:** ALDI SÜD API
- **Endpoint:** `GET https://scrappa.co/api/aldi-sued/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 |
| --- | --- | --- | --- |
| `q` | string | No | Search words. Use this or categoryKey. |
| `categoryKey` | string | No | Public category key from the categories endpoint. Use this or q. |
| `limit` | integer | No | One of 12, 16, 24, 30, 32, 48 or 60. |
| `offset` | integer | No | Exact source offset. Pagination continues with next_offset. |
| `sort` | string | No | relevance, name_asc, name_desc, price_asc or price_desc. |
| `brandName` | string | No | Brand filter from a facet. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/aldi-sued/search?q=kaffee&limit=12"
```

## Example response

```json
{
    "success": true,
    "items": [
        {
            "id": "000000000000757059",
            "sku": "000000000000757059",
            "name": "ALDI S\u00dcD Kaffee",
            "price": {
                "amount": 4.99,
                "currency": "EUR",
                "base_price": 19.96
            },
            "image": "https://dm.emea.cms.aldi.cx/is/image/aldiprodeu/product/jpg/scaleWidth/1500/sample/"
        }
    ],
    "pagination": {
        "totalCount": 24,
        "limit": 12,
        "offset": 0,
        "has_more": true,
        "next_offset": 12
    },
    "meta": {
        "endpoint_family": "aldi-sued-search",
        "billable": true,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing, unknown or invalid. Unknown parameters are rejected. Non-billable. |
| 503 | Upstream Unavailable | The source 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)
