# Walmart Scraper - Product Prices, Ratings & Sellers (`sweet_stickball/walmart-scraper`) Actor

Scrape Walmart search results or product pages: title, price, original price, rating, review count, seller, availability, image and URL. Walmart product scraper for price monitoring and e-commerce research.

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

## Pricing

from $1.90 / 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 - Product Prices, Ratings & Sellers

Scrapes Walmart.com search results and product pages. Returns one record per product with the title, current price, original (strikethrough) price, rating, review count, seller, brand, availability, delivery information, UPC, photos, category and the product URL. Supports ZIP code for location-specific pricing.

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `query` | string | No\* | — | Search query (e.g. "laptop", "gaming headset") |
| `url` | string | No\* | — | Direct Walmart search or product URL |
| `maxItems` | integer | No | 20 | Maximum number of products to return |
| `zipCode` | string | No | — | ZIP code for location-specific pricing |

\*Either `query` or `url` is required.

### Output JSON example

```json
{
    "productId": "123456789",
    "title": "HP 15.6\" Laptop, Intel Core i5, 8GB RAM, 256GB SSD",
    "url": "https://www.walmart.com/ip/123456789",
    "price": 449.00,
    "originalPrice": 599.00,
    "currency": "USD",
    "rating": 4.3,
    "reviewCount": 1250,
    "seller": "Walmart.com",
    "brand": "HP",
    "availability": "In stock",
    "deliveryInfo": "Free shipping",
    "upc": "195161563287",
    "imageUrl": "https://i5.walmartimages.com/asr/12345.jpeg",
    "images": ["https://i5.walmartimages.com/asr/12345.jpeg"],
    "category": "Electronics > Computers > Laptops",
    "location": "10001",
    "query": "laptop",
    "scrapedAt": "2026-10-21T10:00:00+00:00"
}
```

### Pricing

Pay-per-event, **no start fee**: **$3.10 per 1,000 products** on the Apify Free plan, with lower prices on paid plans. Each product pushed to the dataset is one event.

| Event | Free | Starter | Scale | Business | Enterprise |
|-------|------|---------|-------|----------|------------|
| Product (`PRODUCT`) | $3.10 | $2.60 | $2.30 | $1.90 | $1.90 |

Prices in USD per 1,000 events.

#### Cost examples (Free plan)

| Scenario | Products | Cost |
|----------|----------|------|
| Quick look | 20 | $0.062 |
| Category scan | 500 | $1.55 |
| Catalog monitoring | 5,000 | $15.50 |

### Limitations

- Only data shown on search result cards or single product pages is returned. Detailed specifications, Q\&A and individual reviews require separate requests.
- Prices are in USD only (Walmart.com). Prices may vary by ZIP code.
- Walmart shows about 40 results per page and limits search depth.
- Availability and pricing are point-in-time and change frequently.
- Some marketplace seller products may not include all fields (UPC, brand).
- The `zipCode` parameter affects prices and availability but does not guarantee store-level accuracy.

### Related Actors

- [Amazon Reviews Scraper API - 9 Marketplaces, No Login](https://apify.com/sweet_stickball/amazon-reviews-scraper) — Scrape Amazon product reviews: rating, text, date, verified purchase and helpful votes on 9 marketplaces. Amazon reviews data API, no login needed.
- [Wayfair Scraper API - Prices & Discounts, $1/1K](https://apify.com/sweet_stickball/wayfair-scraper) — Scrape Wayfair products: furniture prices, discounts, ratings, reviews, brands, stock and delivery. Home goods price monitoring API, no login needed.
- [Best Buy Scraper API - Prices, Deals & Stock, $1.70/1K](https://apify.com/sweet_stickball/bestbuy-scraper) — Scrape Best Buy products: price, regular price, savings, rating, brand, model and stock. BestBuy price tracker API for deals and monitoring, no login.
- [AliExpress Scraper API - Prices, Sales & Shipping in USD](https://apify.com/sweet_stickball/aliexpress-scraper) — Scrape AliExpress products: prices in USD, discounts, ratings, units sold, store and shipping. AliExpress data API for dropshipping research, no login.

# Actor input Schema

## `query` (type: `string`):

Search query for Walmart products (e.g. 'laptop', 'gaming headset'). Either query or url is required.

## `url` (type: `string`):

Direct Walmart search or product URL. Use this instead of query to scrape a specific page.

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

Maximum number of products to return.

## `zipCode` (type: `string`):

US ZIP code for location-specific pricing. Walmart prices and availability vary by location.

## Actor input object example

```json
{
  "query": "gaming headset",
  "url": "https://www.walmart.com/search?q=laptop",
  "maxItems": 10,
  "zipCode": "90210"
}
```

# Actor output Schema

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

Dataset items shown with the 'results' view.

# 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 = {
    "query": "laptop",
    "maxItems": 10,
    "zipCode": "10001"
};

// Run the Actor and wait for it to finish
const run = await client.actor("sweet_stickball/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 = {
    "query": "laptop",
    "maxItems": 10,
    "zipCode": "10001",
}

# Run the Actor and wait for it to finish
run = client.actor("sweet_stickball/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 '{
  "query": "laptop",
  "maxItems": 10,
  "zipCode": "10001"
}' |
apify call sweet_stickball/walmart-scraper --silent --output-dataset

```

## MCP server setup

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