API Parameters
Yandex Search API request parameters.
Set engine=yandex on every Yandex Search API request.
The Yandex engine uses query parameters to control the returned search results. Pass these parameters to the SERP API endpoint.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | ✅ | Your API key. Keep it server-side and include it on every request. |
engine | string | ✅ | Must be yandex. |
text | string | ✅ | Search query. |
yandex_domain | string | ❌ | Yandex domain used for the search. |
device | string | ❌ | Device profile. Supported values include desktop, mobile, and tablet. |
lr | string | ❌ | Yandex location region id used for result ranking. |
lang | string | ❌ | Search language. |
p | integer | ❌ | Results page number. Counting starts at 0. |
within | string | ❌ | Time range filter. Supported values include 77 for past 24 hours and 1 for past 2 weeks. |