# ZooRoyal Search

Search the German, Austrian or Czech ZooRoyal storefront by query. Returns product ids, prices as numbers with a currency field (EUR for de and at, CZK for cz), sale and strike prices, stock, full-size image urls, specs, numeric ratings, review counts, facets and pagination. The requested page is one-based and is never relabelled. Brand and price filters run on the upstream index, so counts, pages and items agree. Price sorts use the upstream replica index across every page. One upstream lookup per successful request. Costs 1 credit. Failed requests are not billed.

- **Documentation:** [https://scrappa.co/docs/zooroyal-api/zooroyal_search](https://scrappa.co/docs/zooroyal-api/zooroyal_search)
- **API group:** ZooRoyal API
- **Endpoint:** `GET https://scrappa.co/api/zooroyal/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 | Yes | Search text, for example hundefutter. |
| `category` | string | No | Category page id returned by search. |
| `brand` | string | No | Brand filter applied by the upstream index. |
| `price_min` | number | No | Lowest price in the locale currency, EUR or CZK. |
| `price_max` | number | No | Highest price in the locale currency, EUR or CZK. |
| `sort` | string | No | relevance, priceAsc or priceDesc. Price sorts use the upstream replica index across all pages. |
| `page` | integer | No | One-based page number. Default: 1. |
| `locale` | string | No | de, at or cz. Default: de. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Invalid Parameter | Invalid or unsupported parameter |
| 503 | Upstream Unavailable | Upstream did not return usable data |

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