Amazon Product API (Async)
The Amazon Product API endpoint will retrieve product data from an Amazon product page and transform it into usable JSON. It also includes variant details for the product, such as size, color, and other available options (if applicable).
Single ASIN Request
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"asin": "ASIN",
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}' \
"https://async.scraperapi.com/structured/amazon/product"import requests
url = "https://async.scraperapi.com/structured/amazon/product"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"asin": "ASIN",
"country_code": "COUNTRY_CODE",
"tld" : "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}
response = requests.post(url, json=data, headers=headers)
print(response.text)Multiple ASINs Request
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"asins": ["ASIN1", "ASIN2],
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}' \
"https://async.scraperapi.com/structured/amazon/product"import requests
url = "https://async.scraperapi.com/structured/amazon/product"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"asins": ["ASIN1", "ASIN2"],
"country_code": "COUNTRY_CODE",
"tld" : "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}
response = requests.post(url, json=data, headers=headers)
print(response.text)Supported Parameters
API_KEY (required)
Your API Key.
ASIN (required)
ASIN - Amazon Standard Identification Number. Please note, that ASIN's are market specific (TLD specific). You can usually find the ASINs in the URL of an Amazon product (example: B07FTKQ97Q)
TLD
Amazon market to be scraped.
Valid values include:
com (amazon.com)
co.uk (amazon.co.uk)
ca (amazon.ca)
de (amazon.de)
es (amazon.es)
fr (amazon.fr)
ie (amazon.ie)
it (amazon.it)
co.jp (amazon.co.jp)
co.za (amazon.co.za)
in (amazon.in)
cn (amazon.cn)
com.sg (amazon.com.sg)
com.mx (amazon.com.mx)
ae (amazon.ae)
com.br (amazon.com.br)
nl (amazon.nl)
com.au (amazon.com.au)
com.tr (amazon.com.tr)
sa (amazon.sa)
se (amazon.se)
pl (amazon.pl)
COUNTRY_CODE
Valid values are two letter country codes for which we offer Geo Targeting (e.g. “au”, “es”, “it”, etc.).
Where an amazon domain needs to be scraped from another country (e.g. scraping amazon.com from Canada to get Canadian shipping information), both TLD and COUNTRY parameters must be specified.
OUTPUT_FORMAT
For SDEs, we offer CSV and JSON output. JSON is default if parameter is not added. Options:
csv
json (default)
ZIP Code Targeting
To find out mote about ZIP Code targeting, please follow this link
Sample Response
Single ASIN Request
Multiple ASINs Request
After the job(s) finish, you will find the result under the response key in the response JSON object. The structure is the same as in the corresponding SYNC data endpoint.
Last updated

