Amazon Search API (Async)
This endpoint will retrieve products for a specified search term from Amazon search page and transform it into usable JSON.
Single Query Request
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"query": "QUERY",
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}' \
"https://async.scraperapi.com/structured/amazon/search"import requests
url = "https://async.scraperapi.com/structured/amazon/search"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"query": "QUERY",
"country_code": "COUNTRY_CODE",
"tld" : "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}
response = requests.post(url, json=data, headers=headers)
print(response.text)Multiple Queries Request
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"queries": ["QUERY1", "QUERY2],
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}' \
"https://async.scraperapi.com/structured/amazon/search"import requests
url = "https://async.scraperapi.com/structured/amazon/search"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"queries": ["QUERY1", "QUERY2"],
"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.
QUERY (required)
Amazon Search query string
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 structured data methods we offer CSV and JSON output. JSON is default if parameter is not added. Options:
csv
json (default)
PAGE
Paginating the result. For example: 1
REF
A reference string used by amazon. For example: olp_f_usedAcceptable
S
Change sorting. For example: price-desc-rank
I
Refine the search to a specific category. For example: electronics
ZIP Code Targeting
To find out mote about ZIP Code targeting, please follow this link.
Sample Response
Single Query Request
Multiple Queries 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

