Core APIs
...
Yandex
Core Requests

Search

4min

Yandex Search Parameters

GET /search?engine=yandex

The Yandex Search Parameters are applicable when making a request with engine=yandex to retrieve Yandex search results for a given search term. The search term is specified in the q parameter and the optional yandex_domain parameter can be used to specify the Yandex domain used for the request. Supported Yandex domains are yandex.com and yandex.ru .

Setting the location of Yandex requests The yandex_location parameter can be used to localize your Yandex request. The yandex_location parameter is only available on the yandex.ru domain - i.e. when your request has the yandex_domain=yandex.ru request parameter set.

View the full list of supported yandex_location values here

Yandex Search Results
Yandex Search Results


For example, to request Yandex search results for the keyword pizza on yandex.com , the request would be:

HTTP
Curl
Node.js
Python
PHP



Yandex Search Parameters

The following parameters are available for all requests made when engine=yandex .

Parameter

Required

Description

engine

required

Should be set to engine=yandex .

q

required

The keyword you want to use to perform the search.

yandex_domain

optional

The Yandex domain to retrieve search results from. Supported Yandex domains are yandex.com and yandex.ru . Defaults to yandex.com .

yandex_location

optional

The yandex_location parameter determines the Yandex-defined location to show results from. This is typically the country or location in which the user is making requests. For example yandex_location=177 for Berlin, Germany.

View the full list of supported yandex_location values here .

Note the yandex_location parameter only functions when yandex_domain=yandex.ru . It cannot be used with any other yandex_domain .

yandex_language

optional

The yandex_language parameter determines the Yandex UI language to return results. View the full list of supported yandex_language values here .

page

optional

Determines the page of results to return, defaults to 1 .

max_page

optional

Use the max_page parameter to get multiple pages of results in one request. The API will automatically paginate through pages and concatenate the results into one response.

See the Pagination docs for more information.



Next Steps      Yandex Search Results

Updated 15 Aug 2024
Did this page help you?