---
title: "Suggest Yandex search queries"
method: GET
path: "/yandex/suggest"
tags: ["Yandex"]
---

# Suggest Yandex search queries

`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`

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.

## Query parameters

- `q` string, required
- `count` integer
- `lang` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- YandexSuggestResponseDoc
  - `code` integer
  - `data` SuggestResponse
    - `query` string
    - `suggestions` SuggestSuggestion[]
      - `position` integer
      - `query` string
  - `msg` string

## Other responses

- `400`: Missing or invalid parameters
- `429`: Rate limit exceeded
- `500`: Internal server error
- `503`: Yandex upstream request failed

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
