# Walmart Reviews Scraper: Customer Ratings & Review Text (`mjohnson7cd/walmart-reviews-scraper`) Actor

Scrape customer reviews from Walmart.com products. Returns review text, star rating, title, author, date, verified-purchase flag and helpful votes, plus each product's overall rating. Input Walmart product URLs or item IDs. Export CSV, Excel, JSON or API. Beta: feedback welcome.

- **URL**: https://apify.com/mjohnson7cd/walmart-reviews-scraper.md
- **Developed by:** [Mara Johnson](https://apify.com/mjohnson7cd) (community)
- **Categories:** E-commerce, SEO tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.44 / 1,000 review scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

This **Walmart reviews scraper** collects Walmart.com customer reviews for any product by URL or item ID, straight from Walmart's own embedded page data. Each row has the review text, star rating, title, author nickname, date, verified-purchase flag and helpful votes, plus the product's overall rating. Export to CSV, Excel, JSON or the API, for review analysis, sentiment tracking and product research.

### What data can this Walmart reviews scraper extract?

One row per review, with: star rating, review title, review text, author nickname, submission date, verified-purchase flag, helpful/unhelpful votes, the seller named on the review, media count, the review ID, the item ID it belongs to, and that product's overall rating and review count.

### How to scrape Walmart reviews

1. Click **Try for free** and open the **Input** tab.
2. Paste Walmart product URLs (`https://www.walmart.com/ip/...`) or item IDs (the number at the end of a product URL), up to 1,000 of each per run.
3. Set `maxReviewsPerProduct` (default 10; Walmart serves 10 reviews per page, so higher values page through).
4. Set a maximum cost per run if you want a hard spending cap.
5. Click **Start**, then download the reviews from the **Output** tab as CSV, Excel or JSON, or fetch them through the API.

#### Example input

```json
{
  "itemIds": ["19630116077", "18611919209"],
  "maxReviewsPerProduct": 50
}
```

#### Example output row (abridged)

```json
{
  "row_type": "review", "us_item_id": "19652372462",
  "name": "Apple MacBook Neo 13-inch Apple A18 Pro chip ...",
  "average_rating": 4.5, "review_count": 3869,
  "review_id": "449723635", "review_rating": 5,
  "review_title": "Synthetic title 1", "review_text": "Synthetic review text 1.",
  "review_date": "2026-11-15", "reviewer_nickname": "reviewer-1",
  "review_verified_purchase": true,
  "review_positive_feedback": 0, "review_negative_feedback": 0,
  "review_seller_name": "Datavision Computer Video", "review_media_count": 1,
  "from_cache": false, "cached_at": null, "cache_age_seconds": null
}
```

(Review title and text above are placeholders; real rows carry the reviewer's words.)

### How much does it cost to scrape Walmart reviews?

You pay per delivered review, and each review is billed exactly once:

| Event | Free | Starter | Scale | Business | Billed for |
|---|---|---|---|---|---|
| `review-scraped` | $0.0008 | $0.00068 | $0.00056 | $0.00044 | one customer review row |

Plan names are Apify's subscription plans. Plans above Business pay the Business price. What realistic runs cost:

| Run | Free | Starter | Scale | Business |
|---|---|---|---|---|
| 100 reviews (10 products x 10) | $0.08 | $0.068 | $0.056 | $0.044 |
| 1,000 reviews (20 products x 50) | $0.80 | $0.68 | $0.56 | $0.44 |
| 10,000 reviews | $8.00 | $6.80 | $5.60 | $4.40 |

Apify also charges its own Actor start fee of $0.002 per run. This Actor never charges it itself, and because a run uses at most 1 GB of memory, you pay that fee once per run.

**Not billed:** products with no reviews, blocked or failed pages, and duplicates: a review shown on two pages, or under two colour/size variants of one product, is billed once, even if the run is migrated to another server. Set a maximum cost per run and the Actor stops cleanly before the next review would exceed it.

**Cache hits are billed like fresh fetches.** `useCache` is ON by default, and a row served from the cache is charged exactly like one fetched live. Set `useCache` to `false`, or `forceRefresh` to `true`, for a live read.

### Built not to waste your money

- **No product-page fetch.** Review pages are keyed by item ID, so this Actor goes straight to them.
- **No duplicate reviews.** Reviews are de-duplicated by review ID while paging, so a review served on two pages is charged once.
- **Partial beats nothing.** If Walmart refuses a later review page, you keep the reviews already collected and the run still succeeds.
- **Uniform columns.** Every row carries the same key set, so CSV and Excel exports are never ragged.

### Limits

- US Walmart.com only.
- Reviews come in Walmart's default (relevancy) order; there is no date or star filter yet.
- Product price and stock are not included; use the Walmart Product Scraper for those.
- Every run writes a `RUN_STATS` record: rows billed, blocked or failed pages, bandwidth and cache hit rate.

### Personal data in Walmart reviews

Each review row includes the reviewer's public Walmart nickname and the review text, which can be personal data under GDPR and US state privacy laws. Use them only with a lawful basis, and do not use them to identify or contact reviewers. Cached review lists, nicknames included, expire after at most 24 hours (see below).

### Does this Walmart scraper store data in my account?

Yes, a small short-lived cache. **`useCache` is ON by default**, and the cache is used only while it stays on. **Cache hits are billed like fresh fetches:** a row served from the cache is charged the same event and price as a row fetched live from Walmart. The Actor opens a **named key-value store called `walmart-reviews-cache` in your own Apify account**. It holds the finished rows of recently scraped pages, under hashed keys, so a repeat request within the cache lifetime does not fetch Walmart again. Review lists are kept for up to 24 hours. Every entry expires after at most 24 hours, and expired entries are deleted when a read finds them and by a sweep at the end of every run.

Apify keeps named stores until you delete them, so the store itself stays in your account's **Storage** tab between runs. You can delete it at any time; the next run simply starts with an empty cache. Set `useCache` to `false` and the store is not opened at all. The cache is never shared with other users. Every row says whether it came from the cache (`from_cache`, `cached_at`, `cache_age_seconds`), and `forceRefresh` fetches everything live.

### Other Walmart scrapers

- [Walmart Scraper](https://apify.com/mjohnson7cd/walmart-scraper): search, product pages, seller offers and reviews in one Actor
- [Walmart Search Scraper](https://apify.com/mjohnson7cd/walmart-search-scraper): products and prices by keyword
- [Walmart Product Scraper](https://apify.com/mjohnson7cd/walmart-product-scraper): price, stock and seller offers by product URL or item ID

### Ready-made examples

One-click starting points. Each opens with the input filled in, ready to run or edit:

- [Collect Walmart reviews for sentiment analysis](https://apify.com/mjohnson7cd/walmart-reviews-scraper/examples/walmart-reviews-for-sentiment-analysis)

### Other Actors by the same author

| Actor | What it does |
|---|---|
| [AliExpress Scraper](https://apify.com/mjohnson7cd/aliexpress-scraper) | Products, prices, discounts and units sold from AliExpress search |
| [EU Company Registry & KYB Lookup](https://apify.com/mjohnson7cd/eu-company-registry-kyb) | Company lookups in the official FR, NO, FI and CZ registries |
| [API Endpoint Crawler](https://apify.com/mjohnson7cd/api-endpoint-crawler) | Finds the API endpoints a website's JavaScript calls |
| [Tech Stack Fingerprinter](https://apify.com/mjohnson7cd/tech-stack-fingerprinter) | Detects a website's server, CDN, frameworks, CMS, analytics and security headers |
| [Subdomain Finder](https://apify.com/mjohnson7cd/subdomain-finder) | Finds a domain's subdomains from certificate transparency and DNS, probed live |

### Why run it on Apify?

- **Schedule it** to track Walmart prices daily or weekly.
- **Use the API** or the Apify client libraries to start runs and download results from your own code.
- **Connect it** to Google Sheets, Make, Zapier, Slack, webhooks and other integrations.
- **Proxy rotation is built in**: the Actor uses Apify's US residential proxy and rotates IPs for you.

### Beta

This Actor is in beta. The billing rules on this page and the row format are stable: new columns may be added, but none are removed or renamed. Walmart changes its pages from time to time, which can briefly break a field until it is fixed. Report a problem, or ask for a field, on the **Issues** tab.

### FAQ

#### Is it legal to scrape Walmart?

This Actor only reads pages that Walmart shows to any visitor without logging in. Scraping public data is generally lawful, but laws and Walmart's terms apply to how you use the data. If you are unsure, ask a lawyer.

#### Is review data personal data?

Yes, it can be. Review rows include the reviewer's public Walmart nickname and the review text, which can be personal data under GDPR and US state privacy laws. Use them only with a lawful basis, and do not use them to identify or contact reviewers.

#### Why did my run return fewer rows than I expected?

Walmart sometimes refuses a page even on a fresh residential IP. Those pages are retried, then skipped and not billed. The run's `RUN_STATS` record lists every blocked or failed page. If Walmart blocks 10 pages in a row, the run stops early and says so in its status message, instead of continuing to request blocked pages. Try again a little later.

#### Why does it need a residential proxy?

Walmart blocks datacenter and cloud IP addresses with a "Robot or human?" page. The Actor uses Apify's US residential proxy automatically. If your account has no residential proxy access, the run stops right away with a clear message instead of returning nothing.

### Not affiliated with Walmart

This Actor is not affiliated with or endorsed by Walmart Inc. Walmart is a trademark of its owner and is used here only to describe the source of the data.

# Changelog

This Actor's version history is a separate document: https://apify.com/mjohnson7cd/walmart-reviews-scraper/changelog.md

# Actor input Schema

## `productUrls` (type: `array`):

Walmart product page URLs (https://www.walmart.com/ip/...). Each URL returns that product's customer reviews, one row per review.

## `itemIds` (type: `array`):

Walmart item IDs (usItemId, the number at the end of a product URL). Same output as Product URLs: the product's reviews.

## `maxReviewsPerProduct` (type: `integer`):

Maximum number of reviews to collect per product. Walmart serves 10 reviews per page.

## `useCache` (type: `boolean`):

Reuse reviews fetched in the last 24 hours instead of fetching them again. Every row shows from_cache, cached_at and cache_age_seconds so you always know how fresh a review is. Turn off for a guaranteed-live read.

## `cacheMaxAgeHours` (type: `integer`):

Ignore cached results older than this many hours. Leave empty to accept anything within the cache lifetime (3 hours for prices, 24 hours for reviews).

## `forceRefresh` (type: `boolean`):

Fetch everything live for this run and refresh the cache with the new results.

## Actor input object example

```json
{
  "itemIds": [
    "19630116077",
    "18611919209",
    "18144124027"
  ],
  "maxReviewsPerProduct": 10,
  "useCache": true,
  "forceRefresh": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per customer review, with rating, title, text, author, date and verified-purchase flag, plus freshness fields from_cache, cached_at and cache_age_seconds.

## `reviewsView` (type: `string`):

The same dataset opened on the Reviews table: rating, title, text, date and verified-purchase columns.

## `runStats` (type: `string`):

Rows per billing event, blocked or failed pages, items with a missing price, HTTP and proxy bandwidth used, and cache hit rate.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "itemIds": [
        "19630116077",
        "18611919209",
        "18144124027"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mjohnson7cd/walmart-reviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "itemIds": [
        "19630116077",
        "18611919209",
        "18144124027",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("mjohnson7cd/walmart-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "itemIds": [
    "19630116077",
    "18611919209",
    "18144124027"
  ]
}' |
apify call mjohnson7cd/walmart-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mjohnson7cd/walmart-reviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/BNeASm7n9OpR5EB14/builds/cAaWdVDgOk8FQdQgl/openapi.json
