SERP API Yandex query parameters
Use dataify's SERP API configuration for Yandex search and query, including localization, geographic location and page break parameters output options.
q ,Search Query (Required))Defines a search query for data capture (default value): q=pizza).Any keyword supporting any language.
**Example request: **
Useq: pizzaExample of parameters
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "json=1"
yandex_domain , Domain name (not required))The parameter defines the domain name to be used when crawling, the default value is yandex.com
**Example request: **
Question q : pizza,url:yandex.com.trExample result
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "yandex_domain=yandex.com" \
-d "json=1"
lang , Language (not required))This parameter defines the language to be used for the search results when crawling, the default value is en .It's a two-letter language code., en, ru, es).
Details List: Yandex Language Codes
**Example request: **
Question q : pizza,lang:enExample result
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "json=1" \
-d "lang=en"
lr , Location (unrequired filling))Specifies the area of the search result (Yandex area digit ID) with priority above IP positioning. Note: Fax text name (e. g. India/ Moscow) measured return 400, use digital area ID.
**Example request: **
Question q : pizza,lr:84Example result
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "json=1" \
-d "lr=84"
rstr , Strictly checked position (not required))Force results to match the given area(lr)Or start a secure search filter, take value through.: rstr=family Retrieval 400 invalid, available strict/off Wait..
**Example request: **
Question q : pizza,rstr:trueExample result
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "json=1" \
-d "rstr=true"
p , Page number (not required))Page Break Control (from p=0 Start) with the number parameters per page.
Example::p=2, Access to page 3.
**Example request: **
Question q : pizza,p:2Example result
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "json=1" \
-d "p=2"
within , Period (not required))Time/domain limit:
Time range filter, values are passed to Yandex (old document "7 days = the past 7 days" is invalid, and returns 400; 90, 2w, 1m etc. can be entered properly).
**Example request: **
Question q : pizza,within:90Example result
curl -X POST https://scraperapi.dataify.com/request \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Authorization: Bearer token" \
-d "engine=yandex" \
-d "text=pizza" \
-d "json=1" \
-d "within=90"