# Alza Search API Documentation

<p><strong>Alza Search API</strong> searches public Czech and Slovak Alza products by query, page, sort and price range. The price filter applies to the current page only. total is the upstream catalog total, filtered_count counts rows on this page after filtering, total_unfiltered is the unfiltered total and has_next stays upstream. Prices are numbers with CZK or EUR, images are full size and ids work in the detail and review routes. 1 credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/alza-api/alza_search](https://scrappa.co/docs/alza-api/alza_search)
- **API group:** Alza API
- **Endpoint:** `GET https://scrappa.co/api/alza/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 | No | Search text, e.g. iphone |
| `country` | string | No | CZ or SK |
| `page` | integer | No | One-based page number |
| `sort` | integer | No | 0 recommended, 1 cheapest, 2 dearest, 5 newest, 6 rating, 7 best selling |
| `min_price` | number | No | Minimum numeric price on the current page |
| `max_price` | number | No | Maximum numeric price on the current page |

## Example response

```json
{
    "data": {
        "total": 128,
        "has_next": true,
        "products": [
            {
                "id": "13543487",
                "name": "iPhone",
                "price": 72990,
                "currency": "CZK"
            }
        ],
        "filter_scope": "page",
        "filtered_count": 1,
        "total_unfiltered": 128
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Validation failed |  |
|  | Alza could not be reached |  |

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