Skip to main content
The autocomplete endpoint returns Amazon’s real-time search suggestions for a partial query string. You can use it to power a type-ahead input in your UI, help users discover popular related searches, or pre-populate a search bar as they type. Optionally scope suggestions to a specific category to keep results relevant.

Request

string
required
The partial or full search string to get suggestions for (e.g., "wireless ear").
string
default:"US"
The Amazon marketplace to query. Supported values: US, UK, CA, DE, FR, IT, ES, AU, IN, MX, BR, JP, PL. Defaults to US.
string
Restrict autocomplete suggestions to a specific Amazon category. Pass a category name or ID to focus results (e.g., "electronics").

Example request


Response

A successful response returns data.amazonSearchAutocompleteResults — a flat array of suggestion objects, ordered by Amazon’s relevance ranking.
array
Ordered list of autocomplete suggestion objects.

Example response


Error handling

The searchTerm query parameter is required. Sending a request without it returns a 400 error. Requests with an invalid or missing API key return 401.