Walmart Product Reviews
Returns customer reviews for one Walmart product, along with the overall rating, a star-rating histogram, the top positive and top negative review, and a page of review text. It needs a Walmart product ID (product_id), which is the us_item_id.
Use cases
- Track how shoppers rate a laptop or other product by reading the star counts in
ratings.
- Pull 1-star reviews with the
rating filter to find common complaints about a product.
- Compare the
top_positive and top_negative reviews to see the main praise and the main problem at a glance.
- Collect review text page by page to run sentiment analysis on a single product.
Request
curl -X POST "https://api.sandbase.ai/v1/api/walmart/product-reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id": "20349310960"}'
The result is returned in outputs[0].data.
Parameters
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"overall_rating": 4.4,
"pagination": {
"current": 1,
"next": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=2",
"other_pages": {
"2": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=2",
"3": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=3",
"4": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=4",
"5": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=5",
"6": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=6",
"9": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=9"
}
},
"product": {
"categories": [
{
"name": "Electronics",
"url": "https://www.walmart.com/cp/electronics/3944"
}
],
"name": "Acer Chromebook 315 15.6\" Touchscreen Laptop FHD 1920x1080 Intel N50 8GB RAM 128…",
"url": "https://www.walmart.com/ip/Acer-Chromebook-315-15-6-Touchscreen-Laptop-FHD-1920x…"
},
"ratings": [
{
"count": 74,
"stars": 1
}
],
"reviews": [
{
"customer_type": [
"VerifiedPurchaser"
],
"negative_feedback": 0,
"position": 1,
"positive_feedback": 2,
"rating": 5,
"review_submission_time": "10/8/2026",
"text": "Bought this on sale for $199 to replace an over 7year old Acer Chromebook that's…",
"title": "Chromebook",
"user_nickname": "Brian"
}
],
"search_metadata": {
"cached": false,
"created_at": "2026-11-03 07:45:07 UTC",
"id": "6ae991038b84161e987a4392",
"processed_at": "2026-11-03 07:45:07 UTC",
"status": "Success",
"total_time_taken": 0.68,
"walmart_product_reviews_url": "https://www.walmart.com/reviews/product/20349310960?sort=relevancy&page=1"
},
"search_parameters": {
"engine": "walmart_product_reviews",
"product_id": "20349310960"
},
"serpapi_pagination": {
"current": 1,
"next": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "2",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"next_link": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "2",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"other_pages": {
"2": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "2",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"3": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "3",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"4": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "4",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"5": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "5",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"6": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "6",
"product_id": "20349310960",
"sort": "relevancy"
}
},
"9": {
"endpoint": "/walmart/product-reviews",
"queryParams": {
"page": "9",
"product_id": "20349310960",
"sort": "relevancy"
}
}
}
},
"top_negative": {
"customer_type": [
"VerifiedPurchaser"
],
"negative_feedback": 0,
"positive_feedback": 0,
"rating": 1,
"review_submission_time": "10/30/2026",
"text": "We went to the store to return this laptop.And they said we had to go back into …",
"user_nickname": "Peggy"
},
"top_positive": {
"customer_type": [
"IncentivizedReviewYes"
],
"negative_feedback": 0,
"positive_feedback": 3,
"rating": 5,
"review_submission_time": "7/27/2026",
"text": "I am so thankful for this one! The touch features just glide and work without is…",
"title": "Highly recommend",
"user_nickname": "TiffanyT"
},
"total_count": 807
}
Response fields
Notes
- Get
product_id from the us_item_id in Walmart Search or Walmart Product Page results.
- Set
page to get more reviews. The serpapi_pagination.next.queryParams object shows the parameters for the next page.
- Use
sort with values such as helpful or submission-desc to change review order, and rating to filter by star level.
- Use
json_restrictor to return only the fields you need.
Pricing
$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.