# Qwant Autocomplete — Zapi reference > Qwant search suggestions, per locale. **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/qwant - 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 --- ## Qwant Autocomplete **Category:** autocomplete · **Slug:** `qwant` **Detail page:** https://zpi.web.id/api/autocomplete/qwant Qwant search suggestions, per locale. **Tags:** qwant, privacy, suggest, keyword-research ### Autocomplete Completions for a seed query. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/autocomplete:qwant/autocomplete` - **Cache TTL:** 600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `q` | string | query | yes | Seed text to complete | | `locale` | string | query | no | Locale as lang_COUNTRY. Default id_ID | | `count` | number | query | no | Cap the list. Default: everything the upstream returns | **cURL:** ```bash curl "https://api.zpi.web.id/v1/autocomplete:qwant/autocomplete?q=cara%20membuat&locale=id_ID&count=10" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/autocomplete:qwant/autocomplete?q=cara%20membuat&locale=id_ID&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:qwant/autocomplete?q=cara%20membuat&locale=id_ID&count=10", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 7, "items": [ { "text": "kucing" }, { "text": "kucing lucu" }, { "text": "kucing meme" }, { "text": "kucing bengal" }, { "text": "kucing garong" }, { "text": "kucing kartun" }, { "text": "kucing png" } ], "query": "kucing", "locale": "id_ID", "provider": "qwant" } ``` --- ### 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:qwant/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 id | | `count` | number | query | no | Cap the returned list. Default: every unique result found | **cURL:** ```bash curl "https://api.zpi.web.id/v1/autocomplete:qwant/expand?q=kucing&modifiers=all&lang=id&count=200" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/autocomplete:qwant/expand?q=kucing&modifiers=all&lang=id&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:qwant/expand?q=kucing&modifiers=all&lang=id&count=200", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "seed": "kucing", "count": 268, "items": [ { "via": "seed", "text": "kucing" }, { "via": "seed", "text": "kucing lucu" }, { "via": "seed", "text": "kucing meme" }, { "via": "seed", "text": "kucing bengal" }, { "via": "seed", "text": "kucing garong" }, { "via": "seed", "text": "kucing kartun" }, { "via": "seed", "text": "kucing png" }, { "via": "alphabet", "text": "kucing comel" } ], "locale": "id", "provider": "qwant", "modifiers": "all", "truncated": false, "variantsTried": 44, "variantsFailed": 0 } ``` --- _Generated: 2026-08-02T14:25:25.608Z_