Yandex Search icon

Yandex Search

Поиск информации в сервисе Yandex

Yandex Search

AI-generated

Summary

Perform a Yandex search query with configurable language-specific search type, pagination, and sorting options, returning multiple pages of search results encoded in UTF-8.

Inputs

  • queryText (required) — Enter the search string to query Yandex for relevant results.
  • searchType — Select the type of search based on the regional or language context (e.g., Russian, International, Belarusian). Defaults to Russian.
  • pagesNumber — Specify how many pages of search results to retrieve, minimum 1. Each page is fetched sequentially with a delay between requests.
  • sortMode — Choose the sorting criterion of the search results, either by relevance or by modification date.
  • sortOrder — Determine the order of sorting, either descending (newest to oldest) or ascending (oldest to newest).

Output shape

Multiple items, each containing a JSON object with a property named 'yandexSearchResultPageN' (where N is the page number starting at 1), holding the search results as UTF-8 strings decoded from a base64 response.

The node performs one HTTP POST request per page requested, with a 1-second delay between requests. If the query text exceeds 400 characters, the operation throws an error. Errors from the Yandex API are propagated as node API errors with status and message details.

Links

Discussion