Skip to main content

Walmart Product Reviews and Ratings API

Overview

The Walmart Product Reviews and Ratings API allows users to input a product URL, review page number and sort options and get detailed review information in return, such as title, rating, author name, and badges. It provides an easy way to access all reviews of any Walmart product quickly and accurately.

Authentication

Visit our Authentication Docs on learning how to get started on integrating this API in your application.

Endpoint

GET https://get.scrapehero.com/api/walmart/reviews/?x-api-key=<YOUR_API_KEY>&url=https://www.walmart.com/ip/Crocs-Women-s-Baya-Platform-Clogs/2638712105?classType=VARIANT%26athbdg=L1103%26from=/search&page=2&sort=most-relevant

Request Parameters

ParameterTypeRequiredDescription
urlstringYesProduct URL
pagestringOptionalPage Number. By default page will be 1
sortstringOptionalSupported sort options are most-relevant, most-recent, highest-rated, lowest-rated, most-helpful. By default sort option will be most-relevant

Response Format

The API returns data in JSON format. Here's an example of the response structure:


{
"product_name": "Crocs Women's Baya Platform Clog Sandal",
"reviews": [
{
"author_badges": [
"Verified Purchase"
],
"author_name": "anonymous",
"comment_count": 0,
"date": "14-05-2025",
"negative_feedback_count": 0,
"positive_feedback_count": 0,
"images": [
"https://i5.walmartimages.com/dfw/6e29e393-3574/k2-_4c95e6e5-8ad3-4c2e-b980-3517cee961c4.v1.jpg"
],
"is_verified_purchase": true,
"listing_page_url": "https://www.walmart.com/reviews/product/2638712105?page=2&sort=relevancy",
"rating": 5,
"retailer_review_id": "385364549",
"text": "Electric Pink Crocs arrived just as seen on Walmart website. Fit is true to size, height of shoes are neither too low nor too high. They are perfect! I love them. Affordable and name brand at the same time! I'm so happy!!",
"title": "Electric Pink Crocs for women"
},
{
"author_badges": [
"Verified Purchase"
],
"author_name": "Linda",
"comment_count": 0,
"date": "23-05-2025",
"negative_feedback_count": 0,
"positive_feedback_count": 0,
"images": [ ],
"is_verified_purchase": true,
"listing_page_url": "https://www.walmart.com/reviews/product/2638712105?page=2&sort=relevancy",
"rating": 5,
"retailer_review_id": "386456861",
"text": "They are much more comfortable than I thought they'd be. The first day I wore them to work they felt great and with the holes very cooling in the warm weather. I already ordered 2 more in different colors while they are on sale.",
"title": "Crocs"
},
{
"author_badges": [
"Verified Purchase"
],
"author_name": "Holly",
"comment_count": 0,
"date": "27-05-2025",
"negative_feedback_count": 0,
"positive_feedback_count": 0,
"images": [ ],
"is_verified_purchase": true,
"listing_page_url": "https://www.walmart.com/reviews/product/2638712105?page=2&sort=relevancy",
"rating": 4,
"retailer_review_id": "386829605",
"text": "The shoes are not as comfy for me personally, short trips like to doctors or dropping of the kids perfectly fine wanna wear them for hours maybe some fluffy socks will help but they can start to leave marks on your feet if you don't.",
"title": null
},
{
"author_badges": [
"Verified Purchase"
],
"author_name": "Eileen",
"comment_count": 0,
"date": "17-05-2025",
"negative_feedback_count": 0,
"positive_feedback_count": 0,
"images": [ ],
"is_verified_purchase": true,
"listing_page_url": "https://www.walmart.com/reviews/product/2638712105?page=2&sort=relevancy",
"rating": 5,
"retailer_review_id": "385703108",
"text": "These shoes were perfect! They feel very soft and supportive they also felt very soft. I loved the color. The pink is very pretty. I also like the heel. One of the most comfortable shoes I have had in a while.",
"title": null
},
{
"author_badges": [
"Verified Purchase"
],
"author_name": "anonymous",
"comment_count": 0,
"date": "14-05-2025",
"negative_feedback_count": 0,
"positive_feedback_count": 0,
"images": [ ],
"is_verified_purchase": true,
"listing_page_url": "https://www.walmart.com/reviews/product/2638712105?page=2&sort=relevancy",
"rating": 2,
"retailer_review_id": "385400904",
"text": "they remind me a bit of clown shoes. i wear a size 9, but 9 usually doesnt fit, the next size up fits, but these clogs have a bigger or thicker sole. again clown shoes.",
"title": "bright pink cloggers"
},
{
"author_badges": [
"Verified Purchase"
],
"author_name": "Lrose1956",
"comment_count": 0,
"date": "12-05-2025",
"negative_feedback_count": 0,
"positive_feedback_count": 0,
"images": [
"https://i5.walmartimages.com/dfw/6e29e393-a3d4/k2-_296c88e4-b6dc-41a9-a13e-4a7f1a1ba6cb.v1.jpg",
"https://i5.walmartimages.com/dfw/6e29e393-b436/k2-_e11ac79c-5956-4157-a6c4-86a48b4b1d37.v1.jpg",
"https://i5.walmartimages.com/dfw/6e29e393-55ff/k2-_fff1b428-198d-4072-a6c2-9af6c4d649a0.v1.jpg"
],
"is_verified_purchase": true,
"listing_page_url": "https://www.walmart.com/reviews/product/2638712105?page=2&sort=relevancy",
"rating": 5,
"retailer_review_id": "385133951",
"text": "Their very nice but they seem to run a little bigger. I'm going to go ahead and keep them, but they are just a little big so my opinion would be go down a size when you order these.",
"title": "Nice for the price"
}
],
"next_page_url": "https://www.walmart.com/reviews/product/2638712105&page=3&sort=most-relevant",
"total_pages": 55
}

Response Fields

FieldTypeDescription
PropertyTypeDescription
dateStringDate
textStringReview body
titleStringReview title
imagesListImages
ratingIntegerrating
author_nameStringAuthor name
author_badgesListAuthor badges
comment_countIntegerComment count
listing_page_urlStringListing page url
retailer_review_idDictRetailer review ID
is_verified_purchaseBooleanVerified purchase or not
negative_feedback_countIntegerNegative feedback count
positive_feedback_countIntegerPositive feedback count

Usage Example

Here's an example of how to use the API with Python:

const http = require("https");

const options = {
"method": "GET",
"hostname": "get.scrapehero.com",
"port": null,
"path": "/api/walmart/reviews/?x-api-key=<YOUR_API_KEY>&url=https://www.walmart.com/ip/Crocs-Women-s-Baya-Platform-Clogs/2638712105?classType=VARIANT%26athbdg=L1103%26from=/search&page=2&sort=most-relevant",
"headers": {}
};

const req = http.request(options, function (res) {
const chunks = [];

res.on("data", function (chunk) {
chunks.push(chunk);
});

res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});

req.end();

This API uses 10 data credit per API call. Learn more about data credits.

Rate Limits

Rate limits are based off the plan that you have subscribed to. To learn more about the plan specification vist our Plans page.

Response Codes

Check out the response codes here.

Best Practices

  1. Use appropriate error handling in your code.
  2. Implement exponential backoff for rate limiting.
  3. Cache results when possible to minimize API calls.

Support

If you encounter any issues or have questions, please contact our API support team at cloud-support@scrapehero.com or visit our API documentation at https://app.scrapehero.com/docs/api_intro.