# Yandex Autocomplete — Zapi reference > Yandex search suggestions. The index is Russian-centric; other languages return fewer or no completions. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/autocomplete/yandex - Endpoint catalog: https://zpi.web.id/category/autocomplete - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Yandex Autocomplete **Category:** autocomplete · **Slug:** `yandex` **Detail page:** https://zpi.web.id/api/autocomplete/yandex Yandex search suggestions. The index is Russian-centric; other languages return fewer or no completions. **Tags:** yandex, suggest, keyword-research ### Autocomplete Completions for a seed query. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/autocomplete:yandex/autocomplete` - **Cache TTL:** 600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `q` | string | query | yes | Seed text to complete | | `count` | number | query | no | Cap the list. Default: everything the upstream returns | **cURL:** ```bash curl "https://api.zpi.web.id/v1/autocomplete:yandex/autocomplete?q=cat&count=10" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/autocomplete:yandex/autocomplete?q=cat&count=10", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/autocomplete:yandex/autocomplete?q=cat&count=10", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 10, "items": [ { "text": "caterpillar 2010" }, { "text": "catur online" }, { "text": "catch me if you can full movie" }, { "text": "catch me if you can film 2002" }, { "text": "cathay pacific airways" }, { "text": "catawiki" }, { "text": "catgpt на русском" }, { "text": "cataz" } ], "query": "cat", "provider": "yandex" } ``` --- ### Expand Expand one seed into the many real queries people type — the seed with every letter, question word and preposition appended, deduplicated. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/autocomplete:yandex/expand` - **Cache TTL:** 1800s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `q` | string | query | yes | Seed to expand | | `modifiers` | enum(all|alphabet|questions|prepositions|digits) | query | no | Which modifier sets to append. Default all | | `lang` | enum(id|en) | query | no | Language for the question and preposition sets. Default en | | `count` | number | query | no | Cap the returned list. Default: every unique result found | **cURL:** ```bash curl "https://api.zpi.web.id/v1/autocomplete:yandex/expand?q=cat&modifiers=all&lang=en&count=200" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/autocomplete:yandex/expand?q=cat&modifiers=all&lang=en&count=200", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/autocomplete:yandex/expand?q=cat&modifiers=all&lang=en&count=200", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "seed": "cat", "count": 386, "items": [ { "via": "alphabet", "text": "cat and dog" }, { "via": "alphabet", "text": "cat and sofa" }, { "via": "alphabet", "text": "cat art" }, { "via": "alphabet", "text": "cat animal" }, { "via": "alphabet", "text": "cat animation" }, { "via": "alphabet", "text": "cat and sofa кроссовки" }, { "via": "alphabet", "text": "cat anatomy" }, { "via": "alphabet", "text": "cat and mouse" } ], "locale": "en", "provider": "yandex", "modifiers": "all", "truncated": false, "variantsTried": 44, "variantsFailed": 0 } ``` --- _Generated: 2026-08-02T14:24:30.584Z_