# Amazon Autocomplete — Zapi reference > Amazon search-box suggestions across eight marketplaces — buying intent rather than information intent. **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/amazon - 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 --- ## Amazon Autocomplete **Category:** autocomplete · **Slug:** `amazon` **Detail page:** https://zpi.web.id/api/autocomplete/amazon Amazon search-box suggestions across eight marketplaces — buying intent rather than information intent. **Tags:** amazon, ecommerce, shopping, suggest ### Autocomplete Product completions for a seed query. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/autocomplete:amazon/autocomplete` - **Cache TTL:** 600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `q` | string | query | yes | Seed text to complete | | `market` | enum(us|uk|de|jp|ca|au|sg|in) | query | no | Amazon marketplace. Default us | | `count` | number | query | no | Maximum suggestions. Default 10, max 20 | **cURL:** ```bash curl "https://api.zpi.web.id/v1/autocomplete:amazon/autocomplete?q=cat&market=us&count=10" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/autocomplete:amazon/autocomplete?q=cat&market=us&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:amazon/autocomplete?q=cat&market=us&count=10", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "count": 10, "items": [ { "text": "cat litter", "type": "KEYWORD" }, { "text": "cat food", "type": "KEYWORD" }, { "text": "cat tree", "type": "KEYWORD" }, { "text": "cat toys", "type": "KEYWORD" }, { "text": "cat water fountain", "type": "KEYWORD" }, { "text": "cat treats", "type": "KEYWORD" }, { "text": "cat litter box", "type": "KEYWORD" }, { "text": "cat carrier", "type": "KEYWORD" } ], "query": "cat", "market": "us", "provider": "amazon" } ``` --- ### 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:amazon/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:amazon/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:amazon/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:amazon/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": 260, "items": [ { "via": "alphabet", "text": "cat bed" }, { "via": "alphabet", "text": "cat brush" }, { "via": "alphabet", "text": "cat bowls" }, { "via": "alphabet", "text": "cat backpack" }, { "via": "alphabet", "text": "cat beds for indoor cats" }, { "via": "alphabet", "text": "cat brushes for indoor cats" }, { "via": "alphabet", "text": "cat box" }, { "via": "alphabet", "text": "cat brush for shedding" } ], "locale": "en", "provider": "amazon", "modifiers": "alphabet", "truncated": false, "variantsTried": 27, "variantsFailed": 0 } ``` --- _Generated: 2026-08-02T14:21:09.753Z_