API · Amazon
GET /amazon/search/suggestions
Amazon search-box suggestions for a partial query.
| Request | GET /v1/amazon/search/suggestions |
| Operation id | amazon.search.suggestions |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Amazon search-box suggestions for a partial query.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Partial search. Example: laptop. |
country | "US" | "GB" | "CA" | "DE" | "FR" | "IT" | "ES" | "JP" | "IN" | "MX" | "BR" | "AU" | "NL" | no | Amazon marketplace: US (default), GB, CA, DE, FR, IT, ES, JP, IN, MX, BR, AU, NL. One of US, GB, CA, DE, FR, IT, ES, JP, IN, MX, BR, AU, NL. |
department | string | no | Department alias (default aps). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Suggestions. | AmazonSuggestions |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The product, seller, list or shop does not exist in that marketplace. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Amazon is temporarily unavailable. Retryable; nothing was charged. | Error |
AmazonSuggestions fields
| Field | Type | Description |
|---|---|---|
alias | string | |
prefix | string | |
suggestions | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.