# Walmart Scraper — Products, Prices, Stock & Seller Data (`rbbscrap/walmart-scraper`) Actor

Scrape Walmart products, real-time prices, rollback discounts, stock availability, ratings, and third-party marketplace seller details on 256MB RAM.

- **URL**: https://apify.com/rbbscrap/walmart-scraper.md
- **Developed by:** [Hector](https://apify.com/rbbscrap) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 scraped product items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

<p align="center">
  <img src="https://apify.com/rbbscrap/walmart-scraper/icon.png" width="110" height="110" style="border-radius: 24px;" alt="Walmart Scraper — Products, Prices, Stock & Seller Data Official Logo" />
</p>

## Walmart Scraper — Products, Prices, Stock & Seller Data

**walmart-scraper** extracts structured Walmart US products and prices in real time. Built on a zero-browser HTTP/2 engine running in **256 MB RAM**, it delivers normalized datasets with **zero `null` fields** ready for **CSV, Excel, JSON**, or API pipelines.

> **Looking for related scrapers?** Check out [Amazon Scraper](https://apify.com/rbbscrap/amazon-scraper), [eBay Scraper](https://apify.com/rbbscrap/ebay-scraper), [Target Scraper](https://apify.com/rbbscrap/target-scraper), [AliExpress Scraper](https://apify.com/rbbscrap/aliexpress-scraper), or browse our [full catalog of 120+ dedicated scrapers](https://apify.com/rbbscrap).

***

### What does Walmart Scraper do?

Scrape Walmart products, real-time prices, rollback discounts, stock availability, ratings, and third-party marketplace seller details on 256MB RAM.

Whether you need to monitor Walmart US products and prices at scale, enrich B2B/B2C databases, or feed structured records into analytics and AI workflows, **walmart-scraper** handles pagination, field normalization, and schema validation automatically:

- **Bulk Data Extraction:** Collect records in batches using search queries, location filters, or direct target URLs.
- **Complete Public Metadata:** Capture identifiers, pricing/engagement metrics, contact details, timestamps, and canonical URLs.
- **Multi-Format Export:** Download results in **JSON, CSV, Excel (XLSX), XML, or HTML Table** directly from the Apify Console.
- **Ready for Automation & AI:** Connect seamlessly to [Apify Integrations](https://apify.com/integrations) (Make, Zapier, n8n, Google Sheets), [REST API endpoints](https://apify.com/rbbscrap/walmart-scraper/api), or the [Apify MCP Server](https://apify.com/rbbscrap/walmart-scraper/api/mcp).

#### Beyond the Official API

- **No API Keys or Approval Delays:** Start extracting public data immediately without registering developer accounts or waiting for access tokens.
- **No Restrictive Rate Quotas:** Bypass rigid per-minute caps while capturing the complete public data displayed on the platform.
- **256 MB Zero-Browser Architecture:** Uses native HTTP/2 and TLS session emulation instead of heavy Chromium instances, executing in seconds at a fraction of standard compute costs.

***

### What data can you scrape?

| Data Category | Extracted Fields & Data Points |
| :--- | :--- |
| **Product Core** | `id`, `title`, `brand`, `thumbnailUrl`, `productUrl` |
| **Pricing & Rollbacks** | `price`, `originalPrice`, `currency`, `discountPercentage` |
| **Inventory & Seller** | `sellerName`, `sellerType`, `isTwoDayShipping`, `inStock` |
| **Customer Feedback** | `rating`, `reviewsCount`, `scrapedAt` |

***

### Why scrape Walmart Scraper? (Typical Use Cases)

You can use **walmart-scraper** for a wide range of data-driven workflows:

- **Competitive & Market Intelligence:** Track real-time listings, pricing shifts, volume velocity, and competitor catalog changes without manual copy-pasting.
- **B2B Lead Generation & CRM Enrichment:** Extract structured records to enrich pipelines in HubSpot, Salesforce, Clay, Pipedrive, or Airtable.
- **Trend Detection & Sentiment Monitoring:** Analyze customer ratings, review volume, and marketplace feedback to identify high-converting niches early.
- **AI Agents, RAG & LLM Pipelines:** Feed clean, normalized, zero-null datasets directly into vector databases (Pinecone, Qdrant), autonomous AI agents, and LLM workflows.
- **Automated Alerts & Scheduled Refreshes:** Schedule periodic runs on Apify and trigger automated webhooks directly into Make, n8n, or Slack.

***

### How to scrape data in 4 steps

1. **Open the Input Tab:** Navigate to the **Input** tab on this Actor's page.
2. **Configure Your Search:** Enter your search queries, location, or keep the pre-filled defaults for an instant 1-Click Run.
3. **Click Start:** Hit the orange **Start** button. The scraper executes in seconds on a lightweight 256MB container.
4. **Export Your Dataset:** Download your clean data in **JSON, CSV, Excel, XML**, or query it via the Apify REST API.

***

### ⬇️ Input Configuration & Examples

#### Input Parameters Reference

| Parameter | Type | Default | Description |
| :--- | :---: | :---: | :--- |
| `searchQuery` | `string` | `"4k smart tv"` | Keyword, category name or UPC to search on Walmart (e.g. 4k smart tv, air fryer, organic coffee). |
| `maxItems` | `integer` | `30` | Maximum number of products to collect. |
| `sortBy` | `string` | `"best_match"` | Catalog sort order. |
| `minPrice` | `number` | `0` | Filter items above this price. |
| `maxPrice` | `number` | `0` | Filter items below this price (0 = no upper limit). |
| `inStockOnly` | `boolean` | `false` | Only extract products currently available for purchase. |
| `onlyRollbacks` | `boolean` | `false` | Only capture products with active Walmart Rollback discounts or clearance prices. |
| `minRating` | `number` | `0` | Filter by minimum customer review score (0.0 to 5.0). |
| `proxyConfiguration` | `object` | `{"useApifyProxy":false}` | Optional proxy settings for uninterrupted high-volume crawls. |

#### Input Examples

##### Example 1: Standard Search (1-Click Run)

```json
${JSON.stringify(example1Json, null, 2)}
```

##### Example 2: Advanced Filtered Run

```json
{
  "maxItems": 50,
  "sortBy": "rating"
}
```

***

### ⬆️ Output Example (Table View, JSON & Fields Reference)

#### Table View (CSV / Excel Preview)

| **id** | **title** | **price** | **originalPrice** | **currency** | **discountPercentage** |
| :--- | :--- | :--- | :--- | :--- | :--- |
| `wm_item_982341902` | `VIZIO 50" Class V-Seri...` | `248` | `298` | `USD` | `16.78` |

#### JSON Output Example

```json
{
  "id": "wm_item_982341902",
  "title": "VIZIO 50\" Class V-Series 4K UHD LED Smart TV V505-J09",
  "price": 248,
  "originalPrice": 298,
  "currency": "USD",
  "discountPercentage": 16.78,
  "rating": 4.4,
  "reviewsCount": 3820,
  "sellerName": "Walmart.com",
  "sellerType": "FIRST_PARTY",
  "isTwoDayShipping": true,
  "inStock": true,
  "brand": "VIZIO",
  "thumbnailUrl": "https://i5.walmartimages.com/seo/VIZIO-50-Class-V-Series-4K-UHD-LED-Smart-TV_78a1bc23.jpeg",
  "productUrl": "https://www.walmart.com/ip/VIZIO-50-Class-V-Series-4K-UHD-LED-Smart-TV-V505-J09/982341902",
  "scrapedAt": "2026-11-11T16:00:00.000Z"
}
```

#### Output Fields Reference

| Field | Type | Description |
| :--- | :---: | :--- |
| `id` | `string` | Walmart US product item ID |
| `title` | `string` | Full product title and brand description |
| `price` | `number` | Current active purchase price in USD |
| `originalPrice` | `number` | List price before discounts |
| `currency` | `string` | ISO 4217 currency code (USD) |
| `discountPercentage` | `number` | Calculated markdown percentage |
| `rating` | `number` | Customer review average (0.0 to 5.0) |
| `reviewsCount` | `integer` | Total number of customer reviews |
| `sellerName` | `string` | Seller entity (Walmart.com or Marketplace Partner) |
| `sellerType` | `string` | FIRST_PARTY or THIRD_PARTY_MARKETPLACE |
| `isTwoDayShipping` | `boolean` | Eligible for Walmart 2-day delivery |
| `inStock` | `boolean` | Current item inventory availability |
| `brand` | `string` | Manufacturer or brand name |
| `thumbnailUrl` | `string` | High-res primary product photograph |
| `productUrl` | `string` | Canonical Walmart product URL |
| `scrapedAt` | `string` | ISO 8601 extraction timestamp |

***

### 🔗 Related & Dedicated Scrapers

| Scraper | Slug | Primary Use Case |
| :--- | :--- | :--- |
| [Amazon Scraper](https://apify.com/rbbscrap/amazon-scraper) | `amazon-scraper` | Extract products, ASINs, Buy Box & prices |
| [eBay Scraper](https://apify.com/rbbscrap/ebay-scraper) | `ebay-scraper` | Sold comps, auctions & buy-it-now prices |
| [Target Scraper](https://apify.com/rbbscrap/target-scraper) | `target-scraper` | US retail catalog, inventory & deals |
| [AliExpress Scraper](https://apify.com/rbbscrap/aliexpress-scraper) | `aliexpress-scraper` | Global direct supplier products and discounts |

***

### ⚠️ Error Items & Resilience Reference

**walmart-scraper** is engineered with an enterprise fault-tolerant architecture:

- **Zero-Crash Batching:** If a single item is blocked or missing, the actor logs a structured warning and resumes extraction without failing the entire run.
- **Automatic Exponential Backoff:** Detects transient HTTP 429 and 503 rate limits and retries with jittered delays.
- **Zero-Null Guarantee:** All missing or optional attributes are normalized to valid empty values (`""`, `0`, or `[]`) to protect downstream database schemas.

***

### ❓ Frequently Asked Questions (FAQ)

#### How much does this scraper cost?

**walmart-scraper** uses a strictly transparent **PAY_PER_EVENT** pricing model charged at **$0.00045 per record** (**$0.45 per 1,000 items**), which is **10x cheaper** than competing solutions ($4.50 / 1,000 items). Additionally, your **very first run is 100% FREE** ($0.00 charged) via Apify's persistent free trial store. Apify's $5 monthly free tier covers thousands of extractions every month!

#### Can I integrate this scraper with Make, Zapier, n8n, or Google Sheets?

Yes. Every dataset extracted can be automatically synced to Google Sheets, Airtable, Notion, or CRM systems via native [Apify Integrations](https://apify.com/integrations) or webhooks.

#### Can I use this scraper with the Apify API (Python & Node.js)?

Yes. Simply install the official Apify client library:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("rbbscrap/walmart-scraper").call(run_input={"maxItems": 30})
```

#### Can I use this scraper as an MCP Server (Claude, Cursor, AI Agents)?

Yes. Connect directly via the Apify Model Context Protocol (MCP) server endpoint:
`https://api.apify.com/v2/acts/rbbscrap~walmart-scraper/api/mcp`

#### Do I need proxies or login cookies?

No. The scraper runs on an optimized HTTP/2 zero-browser engine with automated TLS fingerprint emulation that works out of the box without requiring personal credentials.

#### Is it legal to scrape this data?

Yes. **walmart-scraper** exclusively extracts publicly accessible data in accordance with international web standards and EU Regulation 2016/679 (GDPR).

#### Need help, custom features, or found an issue?

Open a ticket directly on our [Issues Tracker](https://apify.com/rbbscrap/walmart-scraper/issues/open) — our team investigates and updates scrapers within 24 hours.

# Actor input Schema

## `searchQuery` (type: `string`):

Keyword, category name or UPC to search on Walmart (e.g. 4k smart tv, air fryer, organic coffee).

## `maxItems` (type: `integer`):

Maximum number of products to collect.

## `sortBy` (type: `string`):

Catalog sort order.

## `minPrice` (type: `number`):

Filter items above this price.

## `maxPrice` (type: `number`):

Filter items below this price (0 = no upper limit).

## `inStockOnly` (type: `boolean`):

Only extract products currently available for purchase.

## `onlyRollbacks` (type: `boolean`):

Only capture products with active Walmart Rollback discounts or clearance prices.

## `minRating` (type: `number`):

Filter by minimum customer review score (0.0 to 5.0).

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

Optional proxy settings for uninterrupted high-volume crawls.

## Actor input object example

```json
{
  "searchQuery": "4k smart tv",
  "maxItems": 30,
  "sortBy": "best_match",
  "minPrice": 0,
  "maxPrice": 0,
  "inStockOnly": false,
  "onlyRollbacks": false,
  "minRating": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "searchQuery": "4k smart tv",
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/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 = {
    "searchQuery": "4k smart tv",
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("rbbscrap/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 '{
  "searchQuery": "4k smart tv",
  "maxItems": 30
}' |
apify call rbbscrap/walmart-scraper --silent --output-dataset

```

## MCP server setup

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