WebScrapingAPI Docs
Search Engine APIsYandex Search APIGetting started

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

ParameterTypeRequiredDescription
api_keystring✅Your API key. Keep it server-side and include it on every request.
enginestring✅Must be yandex.
textstring✅Search query.
yandex_domainstring❌Yandex domain used for the search.
devicestring❌Device profile. Supported values include desktop, mobile, and tablet.
lrstring❌Yandex location region id used for result ranking.
langstring❌Search language.
pinteger❌Results page number. Counting starts at 0.
withinstring❌Time range filter. Supported values include 77 for past 24 hours and 1 for past 2 weeks.

On this page