Skip to content

Get Amazon search-box autocomplete suggestions for a keyword in one call.

GET · POST1 credit / successful callSingle lookup
GEThttps://api.scrapier.io/api/v2/amazon-keyword-suggestion/Open in Playground

Send a keyword in queries and get the suggestions Amazon’s search box offers for it. The result object holds the looked-up query and a suggestions list; each suggestion carries the suggested search text in item.

This is a single lookup: next_cursor is always null.

  • Find long-tail keywords for product listings and ads.
  • Seed an Amazon search crawl with related terms.
  • See how shoppers phrase searches around a product.
Terminal window
curl -G "https://api.scrapier.io/api/v2/amazon-keyword-suggestion/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "queries=iphone" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
queriesstringyese.g. iphoneSearch keyword. Lookup endpoint -- next_cursor null.
max_itemsintegerno50Maximum number of items to return. The catalog has no description for this parameter yet; the default is usually right.
Advanced
NameTypeDefaultDescription
use_proxybooleantrueRoute the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise.
raw_databooleanfalseWhen true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes.
{
"success": true,
"data": {
"queries": "laptop",
"result": {
"query": "laptop",
"success": true,
"suggestions": [
{
"keyword": "laptop",
"type": "suggestion",
"item": "laptop"
},
{
"keyword": "laptop",
"type": "suggestion",
"item": "laptop stand"
},
{
"keyword": "laptop",
"type": "suggestion",
"item": "laptop cooling pad"
}
]
},
"next_cursor": null
}
}

Sample from the live catalog; arrays trimmed to 3 items. Results are in data.result.

FieldTypeExampleDescription
queriesstringlaptop—
resultobject{…}The keyword that was looked up and its suggestions.
next_cursornullnullPass back as cursor for the next page. null on the last page.
result.querystringlaptop—
result.successbooleantrue—
result.suggestionsarray[3 items]Autocomplete entries; each one has keyword, type and item (the suggested search text).

Returns everything in one call; next_cursor is always null.

Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.

StatusMeaningRetry?Charged?
400Bad or missing input.No — fix the paramsNo
401 / 403Missing, invalid or revoked API key.No — fix the keyNo
402Out of credits (body has balance).No — top upNo
404Unknown endpoint slug.No — check the slugNo
429 / 503Busy or throttled.Yes — after Retry-AfterNo
5xxTarget site or upstream failure, or timeout.Yes — with backoffNo
  • queries takes one keyword per call.
  • max_items has no description in the catalog yet; its default is 50.
  • The response data carries its own success field from the scraper. The outer success is what counts: an HTTP 200 with outer success: true is billed, even if the inner field says otherwise.
  • Amazon Search — Search Amazon by keyword and get product results with price, rating and position, with marketplace and sort order options.
  • Amazon Products — Search Amazon by keyword or URL and get product listings, or send a product URL to get that single product.