Walmart Reviews API

Overview

This API endpoint allows you to retrieve reviews from Walmart. Here are some important things to know:

  • The Walmart API returns 10 reviews per request.
  • The order in which reviews are returned is by descending date(from newest to oldest).
  • You can get all reviews from a single product by using the offset parameter.

Endpoint

GET https://wextractor.com/api/v1/reviews/walmart

Parameters

Parameter Required Description Example
auth_token Required Your API token for authentication. Once you register to Wextractor you can extract this key from your account's setting page. -
id Required The full url of the product. https://www.walmart.com/ip/Bluey-Easter-Binding-Paperback-9780593658383/983700730
offset Optional This parameter defines the result offset. It skips the given number of reviews. It's used for pagination. (e.g., 0 (default) is the first page of results, 10 is the 2nd page of results, 20 is the 3rd page of results, etc.). 10

Example Request

https://wextractor.com/api/v1/reviews/walmart?id=https%3A%2F%2Fwww.walmart.com%2Fip%2FBluey-Easter-Binding-Paperback-9780593658383%2F983700730&auth_token=your_auth_token&offset=0

Example Response


{
    "product": {
        "name": "Bluey: Easter Binding: Paperback",
        "description": "Bluey: Easter Binding: Paperback",
        "image_urls": [
            "https://i5.walmartimages.com/seo/Bluey-Easter-Binding-Paperback-9780593658383_362c3d5e-ab23-4465-bc70-029c0973a41d.17d31cdcf2485d283083c699c17712ff.jpeg"
        ],
        "category": "Children's \\u0026 Kids' Books/Holidays \\u0026 Celebrations Kids' Books",
        "brand": "Unbranded"
    },
    "totals": {
        "review_count": 34,
        "average_rating": "5.0",
        "rating_count": 57
    },
    "reviews": [
        {
            "id": "338342683",
            "datetime": "2024-03-12T00:00:00",
            "url": null,
            "title": "Great book!",
            "text": "Great book. My daughter loves Bluey!",
            "rating": "5.0",
            "reviewer": "Jvp",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "338150587",
            "datetime": "2024-03-10T00:00:00",
            "url": null,
            "title": "Great book for kids!",
            "text": "We love these little character books for special occasions- Easter, valentines, st Patrick's, etc. I would recommend these for ages 3 and up as they are paperback books",
            "rating": "5.0",
            "reviewer": "Melinda",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "338089924",
            "datetime": "2024-03-10T00:00:00",
            "url": null,
            "title": "Cute story!",
            "text": "Such a cute book! Excited to put it in my daughter's Easter basket!",
            "rating": "5.0",
            "reviewer": "Momma",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "338026067",
            "datetime": "2024-03-09T00:00:00",
            "url": null,
            "title": "Cute book",
            "text": "My son loves the Bluey books. I got it for his Easter basket. He's going to love it.",
            "rating": "5.0",
            "reviewer": "JB",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "337927140",
            "datetime": "2024-03-08T00:00:00",
            "url": null,
            "title": "Cute!",
            "text": "My daughter loved the book",
            "rating": "5.0",
            "reviewer": "Shelby",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "337923056",
            "datetime": "2024-03-08T00:00:00",
            "url": null,
            "title": "Cute!",
            "text": "Very cute story .  If your kids love Bluey this is a great addition to their library",
            "rating": "5.0",
            "reviewer": "Denise",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "337922298",
            "datetime": "2024-03-08T00:00:00",
            "url": null,
            "title": "love",
            "text": "my son loves this bluey book.",
            "rating": "5.0",
            "reviewer": "nita",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "337858410",
            "datetime": "2024-03-08T00:00:00",
            "url": null,
            "title": "Son's first Easter",
            "text": "I got this mainly for my son's Easter basket. It's super cute and I know he is going to love it",
            "rating": "5.0",
            "reviewer": null,
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "337826815",
            "datetime": "2024-03-07T00:00:00",
            "url": null,
            "title": "Cute Holiday Book",
            "text": "This is such a cute book. It is the same quality as all of the other Bluey books. Reading is just like watching an episode.",
            "rating": "5.0",
            "reviewer": "Cmtater",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        },
        {
            "id": "337825913",
            "datetime": "2024-03-07T00:00:00",
            "url": null,
            "title": "Easter gift",
            "text": "Much joy for my niece who absolutely loves Bluey. Her mom reads to her often and she sits and enjoys the story.",
            "rating": "5.0",
            "reviewer": "Michelle",
            "likes": 0,
            "image_urls": [],
            "reply": {
                "text": null,
                "datetime": null
            }
        }
    ]
}

Error Codes

Status Code Error Type Description
400 InvalidRequest The request parameters are invalid or missing
401 Unauthorized Invalid or missing API key
403 Forbidden Your account is out of credits
429 RateLimitExceeded You've exceeded the API rate limit(10 requests per second)
500 ServerError An unexpected error occurred on our servers. In these cases we recommend to retry the request for a couple of times. If the error subsists you can reach us to open a ticket.