Skip to content
Scrappa Get API key
Yandex API 1 credit/request

Yandex Suggest API Documentation

GET https://scrappa.co/api/yandex/suggest

Return up to 10 Yandex search suggestions for the beginning of a query, in English, Russian or Turkish. Use them for autocomplete or keyword research. Each successful request costs 1 credit.

Yandex Suggest API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/yandex/suggest
Auth header
x-api-key
Cost
1 credit/request
text = tiger
Response preview
200 OK
{
    "meta": {
        "billable": true,
        "duration_ms": 2400,
        "upstream_calls": 2
    },
    "success": true,
    "suggestions": [
        {
            "value": "tiger broker",
            "position": 1
        },
        {
            "value": "tiger trade",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

text string Required

Text start. Alias: q.

Example value tiger
lang string Optional

Suggestion language: en (default), ru or tr.

Example value en

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

meta success suggestions search_information

Common suggestions fields

value position
JSON Response
200 OK
{
    "meta": {
        "billable": true,
        "duration_ms": 2400,
        "upstream_calls": 2
    },
    "success": true,
    "suggestions": [
        {
            "value": "tiger broker",
            "position": 1
        },
        {
            "value": "tiger trade",
            "position": 2
        }
    ],
    "search_information": {
        "lang": "en",
        "query": "tiger"
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

Validation Error

Returned when a required parameter is missing, a value is out of range or a parameter is not supported. No credits are charged.

Service Unavailable

Returned when Yandex could not be read after several attempts. Failed requests are not charged. Try again.

Unexpected Response

Returned when Yandex answers with a page this API cannot read, or an image cannot be read. Failed requests are not charged.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.