Yandex

Suggest Yandex search queries

Returns Yandex search-box autocomplete completions for a query prefix, in Yandex's own ranking order. lang is the two-letter Yandex UI language (en, ru, tr, ...) and re-ranks the list; Yandex ignores codes it does not support.

get/yandex/suggest

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/yandex/suggest
  • Auth: API key in header x-api-key

Query parameters

qstring required

Search query prefix

countinteger

Suggestions to return; defaults to 10, clamped to 1..20

langstring

Two-letter Yandex UI language, such as en, ru, or tr; defaults to en

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "query": "openai",
    "suggestions": [
      {
        "position": 1,
        "query": "openai api key"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.