API Parameters
Last updated
Last updated
When using our Yandex API, it's essential to familiarize yourself with the available parameters. These parameters empower you to tailor your requests, ensuring that the results align with your specific needs.
Note: Always ensure the engine
parameter is set to yandex
for this API.
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
.
location
string
Defines where you want the search to originate from.