Yandex Search Results
32.5 credits per successful search
ae_yandex_search_results
按关键词搜索 Yandex 网页
32.5 credits per successful search
Pricing
A completed search is 32.5 credits. Failed searches are free.
32.5 credits per successful search
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
p | number | No | Parameter defines page number. Pagination starts from 0. | — |
lr | string | No | Parameter defines country or region ID to limit the search results to. Head to the Yandex locations for a full list of supported Yandex locations. If parameter is not set - the matching location of selected `yandex_domain` is used, e.g. `84` for `yandex.com`. | — |
lang | enum (ru | en | be | kk | tr | uk) | No | Parameter defines the language to use for the Yandex search. Head to the Yandex languages for a full list of supported Yandex languages. It defaults to `en` when yandex_domain is `yandex.com`. | — |
text | string | Yes | Parameter defines the search query. You can use anything that you would use in a regular Yandex search. It can be 400 characters at maximum. Yandex usually accepts first 40 words of the query. | — |
period | enum (all | day | last_two_weeks | month) | No | Parameter defines the time period for search results. It can be set to: `all` - all time (Default) `day` - last day `last_two_weeks` - last two weeks `month` - last month | — |
fix_typo | enum (false | true) | No | Parameter enables or disables automatic spelling correction. It can be set to: `true` - `false`. It defaults to `true`. | — |
sort_mode | enum (relevance | time) | No | Parameter defines the sorting mode of search results. It can be set to: `relevance` - by relevance (default) `date` - by date. | — |
family_mode | enum (0 | 1 | 2) | No | Parameter enables or disables Family Mode (safe search). It can be set to: - Off(`0`) - Moderate(`1`) - Strict(`2`). It defaults to Moderate(`1`). | — |
yandex_domain | enum (yandex.com | yandex.ru | yandex.by | yandex.kz | yandex.uz | yandex.com.tr) | No | Parameter defines the Yandex domain to use. It defaults to `yandex.com`. Head to the Yandex domains for a full list of supported Yandex domains. A default lr is used for each yandex_domain. Example: `84`(US) for `yandex.com` A default lang parameter `en`(English) is used for `yandex.com` | — |
groups_on_page | number | No | Parameter defines the maximum number of groups displayed on a single results page. It defaults to `20`. | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_yandex_search_results' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"text": "xxx"
}
}'No response example available yet.




