# Euronics Product Search API Documentation

`GET /api/euronics/search` returns Euronics Deutschland products as structured JSON.

## What you get

Each item has `id`, `title`, `url`, `price`, `currency`, `availability`, `available` and `image`. `original_price` and `discount_percent` are returned when the card publishes a struck price; otherwise they stay null. `price_source` names the published price field. `image` is a single full-size URL on the image CDN; bytes are never returned. `meta.surface` names the surface that served the result. Pass the `url` unchanged to the product or rating endpoint.

## Filters

`query` and `page` are supported. The storefront applies sort and price through a request shape that is not published, so `sort`, `price`, `min_price`, `max_price` and `brand` return a structured 422 before any lookup. No item is ever returned outside a requested filter.

## Pages

`page` is 1-20. A page reports only its own items and a `next_page` link; page one is never relabelled.

## Credits

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

- **Documentation:** [https://scrappa.co/docs/euronics-api/euronics_search](https://scrappa.co/docs/euronics-api/euronics_search)
- **API group:** Euronics API
- **Endpoint:** `GET https://scrappa.co/api/euronics/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 | Search words. |
| `page` | integer | No | Result page, 1-20. |
| `sort` | string | No | Not available yet: returns 422 unsupported_filter. |
| `price` | number | No | Not available yet: returns 422 unsupported_filter. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/euronics/search?query=waschmaschine"
```

## Example response

```json
{
    "success": true,
    "query": "waschmaschine",
    "items": [
        {
            "position": 1,
            "id": "4065465121963",
            "title": "Example Waschmaschine",
            "url": "https://www.euronics.de/haus-und-haushalt/waschmaschinen/4065465121963-example-a",
            "price": 777,
            "price_source": "listing_card",
            "original_price": null,
            "discount_percent": null,
            "currency": "EUR",
            "availability": "available",
            "available": true,
            "rating": null,
            "review_count": null,
            "image": "https://image.euronics.de/media/image/example.png"
        }
    ],
    "page": 1,
    "page_size": 1,
    "next_page": null,
    "has_more": false,
    "sort": "relevance",
    "meta": {
        "endpoint_family": "euronics-search",
        "billable": true,
        "attempts": 1,
        "credits_charged": 80,
        "surface": "search"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Filter Not Available | `sort`, `price`, `min_price`, `max_price` and `brand` have no supported recipe (`unsupported_filter`). They are rejected before any lookup, so a page is never mislabelled. Non-billable. |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Euronics could not be reached, answered with a challenge, or changed its page 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)
