Amazon Product Search API
The Amazon Product Search API is a REST API that allows you to access data from Amazon product pages using the amazon/search
endpoint.
You can query the API by passing in the query
you want to search for with the Amazon search engine.
curl -GET "https://proxy.scrapeops.io/v1/structured-data/amazon/search?api_key=YOUR_API_KEY&query=iphone&country=us"
Or you can pass in the url
of the full URL of the search page you want to scrape (make sure to encode the URL).
curl -GET "https://proxy.scrapeops.io/v1/structured-data/amazon/search?api_key=YOUR_API_KEY&url=https%3A%2F%2Fwww.amazon.com%2Fs%3Fk%3Diphone"
Authorisation - API Key
To use the ScrapeOps proxy, you first need an API key which you can get by signing up for a free account here.
Your API key must be included with every request using the api_key
query parameter otherwise the API will return a 403 Forbidden Access
status code.
API Parameters
The following parameters are available for the Amazon Product Search API:
Parameter | Description |
---|---|
api_key | Required. The API key to use for the request. |
query | The query you want to search for with the Amazon search engine. |
url | The URL of the full URL of the search page you want to scrape. If a URL is provided, the URL will take priority over the query. |
country | The 2 letter country code of the where you want the product data to be scraped from. Example: us , uk , ca , de , fr , etc. |
tld | The Amazon domains to scrape from. Example: com , co.uk , ca , de , fr , etc. |
The below table outlines the valid TLDs for each country.
TLD | Amazon Domain |
---|---|
us | amazon.com |
uk | amazon.co.uk |
ca | amazon.ca |
de | amazon.de |
fr | amazon.fr |
it | amazon.it |
es | amazon.es |
nl | amazon.nl |
pl | amazon.pl |
ro | amazon.ro |
com.tr | amazon.tr |
in | amazon.in |
com.mx | amazon.com.mx |
com.br | amazon.com.br |
sa | amazon.sa |
ae | amazon.ae |
co.jp | amazon.co.jp |
com.au | amazon.com.au |