Walmart Reviews API (Async)
This endpoint will retrieve reviews for a specified product from a Walmart reviews page and transform it into usable JSON.
Single Product Request
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"productId": "PRODUCTID",
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"sort": "SORT",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}' \
"https://async.scraperapi.com/structured/walmart/review"import requests
url = "https://async.scraperapi.com/structured/walmart/review"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"productId": "PRODUCTID",
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"sort": "SORT",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}
response = requests.post(url, json=data, headers=headers)
print(response.text)Multiple Products Request
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"productIds": ["PRODUCTID1", "PRODUCTID2"],
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"sort": "SORT",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}' \
"https://async.scraperapi.com/structured/walmart/review"import requests
url = "https://async.scraperapi.com/structured/walmart/review"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"productIds": ["PRODUCTID1", "PRODUCTID2"],
"country_code": "COUNTRY_CODE",
"tld": "TLD",
"sort": "SORT",
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}
response = requests.post(url, json=data, headers=headers)
print(response.text)Supported Parameters
api_key
Your API Key.
product_id
Walmart Product id. Example: 5253396052
TLD
Top-level Walmart domain to scrape: com (walmart.com) ca (walmart.ca)
COUNTRY_CODE
Valid values are two letter country codes for which we offer Geo Targeting (e.g. “au”, “es”, “it”, etc.). You can find the full list here.
sort
Sort by option. Valid values are:
relevancy
helpful
submission-desc
submission-asc
rating-desc
rating-asc
ratings
Comma-separated number list of review ratings. Supported values: 1,2,3,4,5 - used in any combination.
verified_purchase
Boolean - true or false. Filters reviews only from verified purchases when set to true.
page
Page number.
OUTPUT_FORMAT
For structured data methods we offer CSV and JSON output. JSON is default if parameter is not added. Options:
csv
json (default)
Sample Response
Single Product Request
Multiple Products 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

