The Walmart Review Scraper allows you to retrieve detailed product reviews from Walmart, providing valuable insights into customer feedback. You can obtain key information such as ratings, review content, helpful votes, and product details. The tool is ideal for sentiment analysis, product feedback, and market research, helping businesses make informed decisions based on customer opinions.

  • 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.

Example Use Cases:

  • Sentiment Analysis: Analyze customer feedback for better decision-making.
  • Product Feedback: Identify common customer concerns and praises.

Supported Query Parameters

PARAMETERTYPEDEFAULTDESCRIPTION
sku requiredstringThe Walmart item ID (numeric, 8 to 20 characters). Example: 5074872077.
urlstringThe URL of the Walmart product page from which reviews are to be fetched. Example: https://www.walmart.com/ip/5074872077.
tldstring.comTop-level domain (TLD) for the Walmart website. Default is .com. Supported examples: .com, .ca
outputstringjsonThe format of the response. Supported values: json, csv.

How to Setup

Request the reviews endpoint for the product:

https://ecommerce.api.zenrows.com/v1/targets/walmart/reviews/{sku}?apikey=YOUR_ZENROWS_API_KEY

Code Exampless

Replace {sku} with the actual product ID.

Response Example

{
    "average_score": 4.5,
    "five_star_count": 123,
    "five_star_ratio": 0.73,
    "four_star_count": 123,
    "four_star_ratio": 0.15,
    "one_star_count": 123,
    "one_star_ratio": 0.04,
    "page_navigation": "https:\/\/www.walmart.com\/reviews\/product\/5074872077?page=2",
    "product_details": {
        "product_name": "iPhone 13",
        "product_url": "https:\/\/www.walmart.com\/ip\/Apple-iPhone-13\/123456789"
    },
    "reviews_list": [
        {
            "helpful_votes": 2,
            "is_verified_purchase": true,
            "rating_score": 5,
            "review_content": "It\u2019s great. Works for what we need it to do.",
            "review_date": "Reviewed in the United States on September 4, 2022",
            "review_title": "works good",
            "reviewer_name": "Brittany"
        }
    ],
    "three_star_count": 123,
    "three_star_ratio": 0.06,
    "total_ratings_count": 12494,
    "total_reviews_count": 123,
    "two_star_count": 123,
    "two_star_ratio": 0.02
}

Troubleshooting and FAQs