API Parameters

The Yandex API uses parameters to easily customise each request. Discover the full power of scraping Yandex by using our API's available parameters.

In order to make it easy for everyone to interact with our Yandex API, the request customisation part takes place inside the URL, by using query parameters. We've listed the supported parameters for the Yandex API below:

Parameter
Type
Description

api_key Required

string

The API key required to authorise requests.

engine Required

string

The engine of the SERP API. Needs to be set to yandex for requests to Yandex.com.

text Required

string

The keywords that you are searching for (the query).

yandex_domain

string

The Yandex domain from where the search is performed.

device

string

The device used for your Yandex search. Can be set to desktop, mobile or tablet.

lr

string

The country code from where you want to perform the ID of the country or region to search. Determines the rules for ranking documents.

lang

string

The language to use for the search.

p

int

The page number. Count starts from 0.

Examples: p=1 (default) - first page of results p=2 - second page of results p=4 - fourth page of results, etc.

within

string

Time range to search. Available values are: 77 - Past 24 hours 1 - Past 2 weeks [%pm] - Past month

Last updated