POST /amazon/serp
Returns the search result page in the desired format using as input the target keyword, page and marketplace.
Request Headers
We highly recommend using the Accept-Encoding: gzip
header when you request html format as it will improve latency and performance by compressing the response.
Query Parameters
marketplace
(required, string) - Amazon marketplace in ISO 3166-1 alpha-2. (Note that UK is “uk” not “gb”)keyword
(required, string) - Amazon search keyword querypage
(optional, int, default: 1) - Amazon search paginationsettings
(optional, obj)session_id
(optional, string) - (Only for page 2+) Specify the session id to ensure location matching at page level.format
(optional, enum, default: "json") - (Values:”html”, ”json”
) Specify the response formatting.
Responses Codes
Request Payload Example (JSON)
Response Example (JSON)
Request Payload Example (HTML)
Response Example (HTML)
Page-Level Location Matching
To achieve page level location matching, just send back the session_id
you've received in the response of the first page as parameter in the json payload for the next request.
Use them only for crawling the next page (2+).
If you send a session_id on first page, it will be automatically ignored to prevent abuse.
Example request to match the location for page 2:
Example response:
Last updated