# Search the web

Search Yandex web results with titles, destination URLs, snippets, breadcrumbs, sitelinks, and advertising flags. Pages range from 0 to 24.

- Platform: Yandex
- Request: `GET https://api.toolzerhub.com/v1/yandex/search`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/yandex/get-yandex-search

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | What to search the web for. |
| `page` | query | no | integer | Zero-based page, 10 results each, up to page 24. Deeper pages are slower and more likely to return a retryable 503. Default: 0. |
| `region_id` | query | no | integer | Yandex region id (lr) — 213 Moscow, 84 USA. Changes which results come back and how many adverts sit above them; it does not translate them. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/yandex/search?query=<query>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
