# Walmart Scraper: Products, Prices, Sellers, Stock & Reviews (`zaiq/walmart-scraper`) Actor

Walmart.com (US) search results and product pages: price, was price, rating, review count, seller, stock, delivery date, badges (Rollback, Best seller), sponsored flag; full pages with specs, highlights, variants, returns and star breakdown; reviews with text, photos and verified flag.

- **URL**: https://apify.com/zaiq/walmart-scraper.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 search results

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

## Walmart Scraper: products, prices, sellers, stock and reviews (walmart.com)

Get **Walmart.com (US) data without an account**: **search results** with **price, was price, rating, review count, seller, stock, delivery date, badges (Rollback, Best seller) and the sponsored flag**; **full product pages** with **specifications, highlights, description, variants, seller, shipping, return policy, star breakdown** and **Walmart's own review summary**; and **customer reviews** with **text, photos, helpful votes and the verified-purchase flag**.

Built for **price monitoring**, **e-commerce and marketplace research**, **brand and seller tracking**, **MAP and reseller checks** and **review analysis**. Prices and delivery are Walmart's default (national) ones.

### What you get

| Field | What it holds |
|---|---|
| Search results | `itemId`, `title`, `price`, `wasPrice`, `rating`, `reviews`, `seller`, `sponsored`, `inStock`, `availability`, `badges`, `deliveryDate`, `category`, `image`, `url`, `rank` |
| Product pages | `itemId`, `title`, `brand`, `model`, `upc`, `price`, `wasPrice`, `savings`, `availability`, `rating`, `reviews`, `ratingBreakdown`, `reviewAspects`, `seller`, `sellerType`, `sellerId`, `shipping`, `returns`, `category`, `highlights`, `specifications`, `description`, `variants`, `images`, `url` |
| Reviews | `reviewId`, `rating`, `title`, `text`, `date`, `user`, `verifiedPurchase`, `helpful`, `unhelpful`, `photos`, `source` |

### What people use it for

- **Price monitoring:** track prices, was prices and Rollbacks for any search or list of products, every day
- **Seller research:** who sells each product (Walmart or a marketplace seller) and at what price
- **Assortment and search share:** which products rank for a search, and which are sponsored
- **Stock and delivery:** in stock or not, and the delivery date Walmart shows
- **Review analysis:** star breakdowns, Walmart's review aspects and every review's text, for product and CX teams
- **Catalogue data:** specifications, UPCs, variants and images for product feeds

### How to use it

1. Enter **searches** (and pick an order), or paste **product links** or item IDs.
2. Turn on **Open each product** for full pages, and set **Reviews per product** if you want reviews.
3. Click **Start**. Schedule it daily for price tracking.

### Input

| Field | Example | Notes |
|---|---|---|
| Searches | `air fryer` | Each search is read page by page, 40 results a page |
| Results per search | `40` | Up to 1,000 |
| Order | Best match | Price low/high, best seller, top rated, newest |
| Skip sponsored | off | Leave out sponsored results |
| Products | `https://www.walmart.com/ip/<id>` | Links or item IDs |
| Open each product | off | Read each search result's full page too |
| Reviews per product | `0` | 0 = none |
| Review order | Most relevant | Most helpful, newest, lowest or highest rating |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "kind": "search-result",
  "itemId": "1234567890",
  "title": "Sample Brand 6-Quart Air Fryer, Black",
  "price": 49.0,
  "wasPrice": 69.0,
  "currency": "USD",
  "rating": 4.5,
  "reviews": 2318,
  "seller": "Walmart.com",
  "sponsored": false,
  "inStock": true,
  "availability": "In stock",
  "badges": [
    "Rollback",
    "Best seller"
  ],
  "deliveryDate": "2026-10-15",
  "category": [
    "Home",
    "Appliances",
    "Kitchen Appliances",
    "Air Fryers"
  ],
  "url": "https://www.walmart.com/ip/sample-air-fryer/1234567890",
  "search": "air fryer",
  "rank": 1
}
```

A record named `SUMMARY` in the run's key-value store says what each input returned, with any notes (for example an account that does not exist), what was charged and how much traffic the run used.

### Pricing

- **$0.004 per search result**
- **$0.01 per product page**, read in full
- **$0.002 per review**
- Products that don't exist are free

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| 1,000 search results | $4 |
| 100 full product pages | $1 |
| Daily price check of 200 products for a month | $60 |
| 1,000 reviews | $2 |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- For price tracking, search results are the cheap way: they carry price, was price, seller, stock and badges. Open product pages only when you need specs, variants or returns.
- Item IDs are the number at the end of a walmart.com/ip/ link; paste either.
- Schedule a daily run and compare datasets to see price changes and Rollbacks.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/walmart-scraper").call(run_input={"searches": ["air fryer"], "maxResultsPerSearch": 40})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/walmart-scraper').call({"searches": ["air fryer"], "maxResultsPerSearch": 40});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~walmart-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"searches": ["air fryer"], "maxResultsPerSearch": 40}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server (`https://mcp.apify.com`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "the 100 best-selling air fryers on Walmart with their prices, was prices and sellers". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Walmart.com (US) only.
- Prices and delivery dates are Walmart's default ones, not for a chosen store or ZIP code.
- Walmart shows at most 25 pages of results for a search; split broad searches into narrower ones.
- Walmart sometimes checks for bots; the Actor retries from another address and never solves a check. Pages it could not read are listed in SUMMARY and not charged.

### FAQ

**Do I need a Walmart account?**

No. Everything is what a signed-out shopper sees on walmart.com.

**Does it give marketplace sellers?**

Yes: each result and product shows its seller, and product pages add the seller type and ID.

**Can I scrape a whole category?**

Use a search for the category name with the order you want; each search returns up to 1,000 results.

**Are reviews complete?**

Reviews come 10 a page in the order you choose, as far as you ask; each has text, rating, date, photos and the verified-purchase flag.

**What does it cost to run?**

Only the events above; there is no monthly fee.

### Related Actors from Zaiq

- [amazon-product-scraper](https://apify.com/zaiq/amazon-product-scraper): the same products on Amazon, in 23 stores
- [aliexpress-scraper](https://apify.com/zaiq/aliexpress-scraper): what they cost on AliExpress
- [tiktok-shop-scraper](https://apify.com/zaiq/tiktok-shop-scraper): what sells on TikTok Shop

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: walmart scraper, walmart api, walmart product scraper, walmart price tracker, walmart reviews scraper, walmart seller scraper, walmart search scraper, walmart.com data.

# Actor input Schema

## `searches` (type: `array`):

What to search Walmart for, one per line (or Walmart search links, with their filters).

## `maxResultsPerSearch` (type: `integer`):

Walmart shows 40 products a page, up to 25 pages.

## `sort` (type: `string`):

Order of the search results.

## `skipSponsored` (type: `boolean`):

Leave out paid listings (they are flagged either way).

## `products` (type: `array`):

Walmart product links (walmart.com/ip/...) or item ids, one per line, read in full.

## `openProducts` (type: `boolean`):

Also read each search result's product page ($0.01 each).

## `maxReviews` (type: `integer`):

Customer reviews of each product page read ($0.002 each); 0 = none. The star breakdown comes with the product.

## `reviewSort` (type: `string`):

Which reviews come first.

## Actor input object example

```json
{
  "searches": [
    "air fryer"
  ],
  "maxResultsPerSearch": 40,
  "sort": "best_match",
  "skipSponsored": false,
  "openProducts": false,
  "maxReviews": 0,
  "reviewSort": "relevancy"
}
```

# Actor output Schema

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

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# 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 = {
    "searches": [
        "air fryer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/walmart-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 = { "searches": ["air fryer"] }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/walmart-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 '{
  "searches": [
    "air fryer"
  ]
}' |
apify call zaiq/walmart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/walmart-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/BQn1WkcWHBdmw5iiE/builds/mw9a6bGszRfIBETSL/openapi.json
