# walmart.reviews

A page of a Walmart product's customer reviews: stars, title, text, date, verified-purchase badge, votes and pictures.

Walmart product reviews, one of the Walmart scrapers.

| | |
| --- | --- |
| Id | `walmart.reviews` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/walmart.reviews/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | The product's address, e.g. https://www.walmart.com/ip/Fresh-Banana-Each/44390948. Limit: at most 2048 characters. |
| `item_id` | string | no | Walmart's item id: the number at the end of the product's address. Limit: matches ^[0-9]{1,20}$. |
| `page` | integer | no | The page of the list, from 1; each holds 10 reviews (Walmart serves at most 1000). Limit: 1 to 1000. Default: `1`. |
| `sort` | "most_relevant" \| "most_helpful" \| "newest" \| "highest_rating" \| "lowest_rating" | no | The order: most_relevant, most_helpful, newest, highest_rating or lowest_rating. Default: `"most_relevant"`. |
| `rating` | integer | no | Only the reviews that give this many stars; all of them when not given. Limit: 1 to 5. |

- Give exactly one of `url` and `item_id`: the product's own address or id, as for [`walmart.product`](https://docs.enrichednow.com/scrapers/walmart.product.md).
- One run reads one page of 10 reviews. `position` is a review's place in the whole list: 11 is the first review of page 2. A page past the end ends `ok` with zero records.
- `sort` is `most_relevant` (the default), `most_helpful`, `newest`, `highest_rating` or `lowest_rating`. `rating` keeps the reviews that give that many stars.
- Walmart lists the reviews that have a text, and 10,000 of them at most. A product's rating count also includes ratings given without one: `diagnostics.facts` has both numbers, `total_ratings` and `reviews_with_text`.
- `submitted` is the day as `YYYY-MM-DD`. `source` names the site a review was first written on, when Walmart shows it as coming from elsewhere.
- A reviewer's name is not returned.
- The page says which reviews it holds, and a run checks it: another page than the one asked for ends `failed` with `page_not_served`, a review of another rating than the `rating` asked for with `filter_not_applied`.
- An item id Walmart has no product for ends `failed` with `not_found`, and costs nothing. Walmart's "Robot or human?" page ends the run `failed` with `captcha` — see [the reasons of this family](https://docs.enrichednow.com/results-and-statuses.md#walmart).

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer | The review's place in the whole list in the order asked for, from 1: 11 is the first review of page 2. |
| `page` | integer | The page of the list the review was on. |
| `item_id` | string | Walmart's item id of the product the reviews were asked for. |
| `review_id` | string | Walmart's id of the review. |
| `rating` | number | The stars the review gives, 1 to 5. |
| `title` | string or null | The review's title; many reviews have none. |
| `text` | string or null | The review's text. |
| `submitted` | string or null | The day the review was submitted, as YYYY-MM-DD. |
| `language` | string or null | The language Walmart says the review was written in, e.g. English. |
| `verified_purchase` | boolean | True when the review carries Walmart's Verified Purchase badge. |
| `helpful_votes` | integer or null | How many visitors marked the review helpful. |
| `unhelpful_votes` | integer or null | How many visitors marked the review not helpful. |
| `recommended` | boolean or null | Whether the reviewer said they would recommend the product; null when the review does not say. |
| `product_version` | object of string values | The version of the product the review is about, where it says, e.g. {"Color": "White", "Clothing size": "XL"}. |
| `images` | array of string | The addresses of the pictures attached to the review. |
| `seller_name` | string or null | The seller the reviewed purchase was made from, when the review states it. |
| `source` | string or null | The site the review was first written on, when Walmart shows it as coming from elsewhere, e.g. a manufacturer's own site. |
| `fetched_at` | string (date-time) | When the reviews page was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/walmart.reviews/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"item_id":"816299347","page":2}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "walmart.reviews",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "item_id": "816299347",
    "page": 2
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 14,
      "page": 2,
      "item_id": "816299347",
      "review_id": "273591792",
      "rating": 5,
      "title": "Nice",
      "text": "[This review was collected as part of a promotion.] This was a really nice three pack of shirts. They were white. They appear to be very comfortable. They are also very practical and suitable for every day use.",
      "submitted": "2024-03-09",
      "language": "English",
      "verified_purchase": false,
      "helpful_votes": 0,
      "unhelpful_votes": 0,
      "recommended": null,
      "product_version": {},
      "images": [
        "https://i5.walmartimages.com/dfw/6e29e393-2731/k2-_77953759-7362-4930-93c8-7d939bfd4a23.v1.jpg"
      ],
      "seller_name": null,
      "source": "influenster.com",
      "fetched_at": "2026-11-19T18:07:41.782191Z"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Walmart scrapers](https://docs.enrichednow.com/results-and-statuses.md#walmart) are in their own section there.
