# Walmart Scraper: Products, Prices, Deals, Stock & UPC (`mr.atlas/walmart-product-scraper`) Actor

Scrape Walmart.com search results, category pages and product URLs: price, was-price, savings, Rollback and Clearance badges, stock, seller, rating, reviews, UPC, model and specs. US residential proxies included; blocked pages are retried for free. Export to CSV, Excel or JSON, or use the API.

- **URL**: https://apify.com/mr.atlas/walmart-product-scraper.md
- **Developed by:** [Atlas Data](https://apify.com/mr.atlas) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.00 / 1,000 products

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, Deals, Stock & UPC

Get Walmart.com product data as a clean table in seconds: **price, was-price, savings, Rollback and Clearance badges, stock, seller, rating, reviews, UPC and specs**. Paste a keyword, a category link or product links, press Start, and download the results as CSV, Excel or JSON.

- **Fast**: 40 products in about 10 seconds.
- **Keeps working**: built-in US residential proxies; when Walmart blocks a page, the scraper retries with a fresh session automatically.
- **Fair price**: you pay per product saved. Blocked pages and retries cost you nothing.

### What can you use it for?

| You are... | Use it to... |
|---|---|
| An Amazon or eBay seller | Find Rollback and Clearance deals to resell, and match them by UPC |
| A brand or retailer | Monitor your prices, your resellers and your competitors on Walmart every day |
| An analyst | Compare prices, ratings and review counts across a whole category |
| A developer or AI agent | Pull Walmart data into your app, Google Sheets, Make, Zapier or n8n through the API |

### How to use it

1. Type one or more **search queries** (for example `air fryer`) or paste **Walmart URLs** (search, category or product pages).
2. Set **Max products per query or URL** (one Walmart page holds about 40 products).
3. Optional: turn on **Open each product page** to add UPC, model, specifications and seller details.
4. Click **Start**, then export the results or connect them to your tools.

Tip: schedule the run daily (Schedules tab) to build a price history.

### Output example

Real results for the search "air fryer" (21 November 2026), product names shortened:

| Product | Price | Was | You save | Rating | Reviews | Stock | Seller |
|---|---|---|---|---|---|---|---|
| Ninja DualZone FlexBasket Air Fryer 8-Qt… | $109.00 | $149.00 | $40.00 · Rollback | 4.6 | 7,181 | In stock | Walmart.com |
| DAIVOS 5QT Air Fryer with Viewing Window… | $59.69 | $99.99 | $40.30 | 4.7 | 117 | In stock | Hongti Technology |
| Ninja Air Fryer Pro XL 6.5-Qt… | $98.00 | $109.00 | $11.00 · Rollback | 4.6 | 8,078 | In stock | Walmart.com |

Every row also has the Walmart item ID, product link, image, category path, whether the listing is sponsored and its place on the page. The same row in JSON (selected fields):

```json
{
  "usItemId": "16412759179",
  "name": "Ninja DualZone FlexBasket Air Fryer 8-Qt, 4-in-1, Smart Finish, Cook 2 Foods 2 Ways,1690 Watts, DZ100WMWH Dove",
  "price": 109,
  "wasPrice": 149,
  "savings": 40,
  "onSale": true,
  "badges": ["Rollback"],
  "rating": 4.6,
  "reviewCount": 7181,
  "availability": "IN_STOCK",
  "sellerName": "Walmart.com",
  "categoryPath": ["Home", "Appliances", "Kitchen Appliances", "Fryers", "Air Fryers", "Ninja Air Fryers"],
  "positionOnPage": 1,
  "source": "air fryer"
}
```

With **Open each product page** on, each row also gets `upc`, `model`, `manufacturerProductId`, `specifications`, `shortDescription`, `sellerType`, `sellerRating`, `additionalOffers` (how many other sellers offer it) and `variantAxes` (sizes, colors). Every output field has a type and a description in the tool's output schema, so AI agents and the API know what each field means.

### Track Walmart prices every day (3 steps)

1. Enter your search queries or product links and save the input as a **task** in Apify Console.
2. Open **Schedules** and run that task once a day.
3. Send every run on: to a webhook from the task's **Integrations** tab, or into Google Sheets with the Apify app in Make, Zapier or n8n.

Compare `price` by `usItemId` from one day to the next to see price changes. Rows with a `wasPrice` are on sale; `positionOnPage` shows how a product ranks in search.

### Use it from Claude, Cursor or another AI agent

Add the Apify MCP server to your AI client with this URL:

```
https://mcp.apify.com?tools=mr.atlas/walmart-product-scraper
```

The first connection asks you to sign in to Apify. The agent then gets a tool named `mr-dot-atlas--walmart-product-scraper` and can answer requests like *"Find air fryers under $80 on Walmart that are on Rollback and rated 4.5 or higher."* Every output field is described with its type, so the agent knows what it gets back.

From code, one call runs the scraper and returns the rows (replace `YOUR_TOKEN` with your Apify API token):

```bash
curl -X POST "https://api.apify.com/v2/acts/mr.atlas~walmart-product-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["air fryer"], "maxItemsPerQuery": 40}'
```

### How much does it cost?

You pay per product saved, with discounts on paid Apify plans:

| Apify plan | Per 1,000 products | Per 1,000 detailed products |
|---|---|---|
| Free | $3.50 | $5.50 |
| Starter | $3.00 | $5.00 |
| Scale | $2.50 | $4.50 |
| Business | $2.00 | $4.00 |

Example: 1,000 air fryers with prices and ratings cost $3.50 on the Free plan. Apify's free monthly credit covers about 1,400 products. Platform usage and proxies are included; there is nothing else to pay.

### FAQ

**Which pages work?** Search results, category and browse pages, and product pages (`/ip/`) on walmart.com (US).

**Why can prices differ from what I see?** Walmart prices and stock can depend on location. Results use Walmart's default US store.

**What if a page is blocked?** The scraper retries it with a new session and proxy, up to 8 times. You are only charged for products that are actually saved.

**Can I cap my cost?** Yes. Set a maximum cost per run in the run options; the scraper stops cleanly when the limit is reached.

**Is scraping Walmart legal?** This tool only reads public product pages, with no login and no personal data. How you use the data is your responsibility; if you are unsure, check Walmart's terms and ask a lawyer.

**Something broke or you need a field?** Open an issue on the **Issues** tab. Every issue is read.

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search on Walmart.com, one per line, exactly as you would type them in Walmart's search box. Each query is scraped separately. Examples: air fryer, ninja blender, 65 inch tv.

## `startUrls` (type: `array`):

Walmart links to scrape instead of (or as well as) keywords: search result pages (walmart.com/search?q=...), category pages (walmart.com/browse/... or walmart.com/cp/...) and product pages (walmart.com/ip/...). Each product page returns one detailed row.

## `maxItemsPerQuery` (type: `integer`):

Stop after this many products for each search query or listing URL. One Walmart page holds about 40 products, so 40 is about one page. You only pay for products saved.

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

Order of the results for search queries. Not used for pasted URLs: sort on Walmart first and paste that link instead.

## `includeDetails` (type: `boolean`):

Opens each product's page to add brand, UPC, model, manufacturer part number, specifications, seller type and rating, number of other sellers and the full category path. Slower, and priced per detailed product.

## `maxConcurrency` (type: `integer`):

How many pages to load at the same time. Higher is faster but triggers more blocks.

## `proxyConfiguration` (type: `object`):

US residential proxies are strongly recommended; Walmart blocks most other traffic.

## Actor input object example

```json
{
  "searchQueries": [
    "air fryer"
  ],
  "maxItemsPerQuery": 40,
  "sort": "best_match",
  "includeDetails": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "searchQueries": [
        "air fryer"
    ],
    "maxItemsPerQuery": 40,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mr.atlas/walmart-product-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 = {
    "searchQueries": ["air fryer"],
    "maxItemsPerQuery": 40,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("mr.atlas/walmart-product-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 '{
  "searchQueries": [
    "air fryer"
  ],
  "maxItemsPerQuery": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call mr.atlas/walmart-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mr.atlas/walmart-product-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/cc1xlcZgDdGz9OQLW/builds/2p4tV8ZYMDJa5qOpg/openapi.json
