- Ratings: Aggregate rating scores and distribution by stars.
- Review Details: Content, Titles, Dates, and Verified Purchase Status.
- Navigation: Links for paginated review data.
- Helpful Votes: Count of votes indicating helpfulness.
- Product Information: Name, URL, and SKU of the product.
- Sentiment Analysis: Analyze customer feedback for better decision-making.
- Product Feedback: Identify common customer concerns and praises.
Supported Query Parameters
| PARAMETER | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
sku required | string | The Walmart item ID (numeric, 8 to 20 characters). Example: 5074872077. | |
| url | string | The URL of the Walmart product page from which reviews are to be fetched. Example: https://www.walmart.com/ip/5074872077. | |
| tld | string | .com | Top-level domain (TLD) for the Walmart website. Default is .com. Supported examples: .com, .ca. |
| sort | string | The sorting method for reviews. Options: submission-desc, relevancy, helpful, rating-desc, rating-asc. |
How to Setup
Request the reviews endpoint for the product:Example
cURL
Replace
{sku} with the actual product ID.Troubleshooting and FAQs
How do I find the Walmart Item ID (sku) for a product?
How do I find the Walmart Item ID (sku) for a product?
The Walmart SKU is typically part of the product URL. For example, in the URL
https://www.walmart.com/ip/123456789, the SKU is 123456789. You can use this ID directly in the API request.Which fields can I expect to receive in the response?
Which fields can I expect to receive in the response?
The response includes detailed information about the product, its reviews, and overall ratings. Here is what you can expect:
- average_score: The average rating score of the product.
- total_ratings_count: The total number of ratings received.
- total_reviews_count: The total number of written reviews.
- star counts and ratios: Number and percentage of reviews for each rating (five-star, four-star, three-star, two-star, and one-star).
- page_navigation: A URL to the next page of reviews, if available.
- product_details: Basic information about the product, including its name and URL.
- reviews_list: An array containing individual review details such as:
- review_title: Title of the review.
- review_content: Text of the review.
- rating_score: Rating given in the review.
- review_date: Date when the review was posted.
- reviewer_name: Name of the reviewer.
- is_verified_purchase: Whether the review is from a verified purchase.
- helpful_votes: Number of helpful votes the review received.
- review_source: Source of the review if applicable.
Can I use the Walmart Product Scraper API for commercial purposes?
Can I use the Walmart Product Scraper API for commercial purposes?
Yes, the Walmart Product Scraper API can be used for both personal and commercial projects. Be sure to adhere to Walmart’s terms of service and any applicable legal requirements when using the data.