# Walmart Scraper - Products, Prices, Reviews & Specs, No Login (`benthepythondev/walmart-scraper`) Actor

Scrape Walmart products by search term, category or link: name, brand, price, was price, rating, review count, availability, seller and position, plus optional full records with model, UPC, star counts, images, description, specifications and the first customer reviews. No browser, no login.

- **URL**: https://apify.com/benthepythondev/walmart-scraper.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** E-commerce, Marketing, Automation
- **Stats:** 2 total users, 0 monthly users, 88.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 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, Reviews & Specs)

Get Walmart products by search term, category or product link as clean rows: name, brand, price, was price, unit price, rating, review count, availability, seller, sponsored flag and position. Switch on full records to add model, UPC, star counts, every image, description, highlights, specifications and the first ten customer reviews. No login, no browser: 120 products sorted by price in 9 seconds in our test. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

**What a run costs:** $0.001 per product on the Free plan, $0.00095 on Bronze, $0.0009 on Silver and $0.00085 from Gold up. A full record is $0.003 per product more ($0.00285, $0.0027, $0.00255), only when you switch it on or give product links. Plus $0.00005 per run start. Product links Walmart does not know are not charged.

### 🔎 What is the Walmart Scraper?

It reads the data Walmart's own search, category and product pages carry, page by page, with Walmart's sorting and price filters. It is made for price monitoring, catalogue enrichment and market research on walmart.com (US).

#### What data does it extract?

- **Product:** `usItemId`, `productId`, `name`, `brand`, `url`, `image`, `productType`, `isSponsored`, `additionalOfferCount`
- **Price:** `price`, `wasPrice`, `unitPrice`, `priceRange`
- **Rating and stock:** `averageRating`, `numberOfReviews`, `availability`
- **Seller:** `sellerName`, `sellerId`
- **Context:** `searchTerm` or `categoryUrl`, `position`, `totalResults`
- **Full record (optional) in `details`:** `model`, `upc`, `price`, `currency`, `wasPrice`, `sellerDisplayName`, `orderLimit`, `ratingCounts` (1–5 stars), `categoryPath`, `images`, `shortDescription`, `longDescription`, `highlights`, `specifications`, `reviews[]` (rating, title, text, date, nickname, helpful votes)

### ⬇️ Input

| Field | Type | Description |
|---|---|---|
| `searchTerms` | array | Words to search for (default `air fryer` when nothing else is given) |
| `categoryUrls` | array | Walmart category links (`/browse/…`, `/cp/…`) |
| `productUrls` | array | Walmart product links (`/ip/…`) or item ids, returned with their full record |
| `sort` | string | `relevance`, `price-low`, `price-high`, `best-seller`, `rating`, `newest` |
| `minPrice`, `maxPrice` | integer | Price bounds in USD |
| `maxItemsPerSearch` | integer | Products per search or category (default 100) |
| `includeDetails` | boolean | Add full records (default off) |

#### Example input

```json
{
  "searchTerms": ["office chair"],
  "sort": "price-low",
  "maxPrice": 200,
  "maxItemsPerSearch": 120
}
```

### ⬆️ Output

One row per product (shortened, a real product):

```json
{
  "usItemId": "14678059894",
  "name": "Chefman Air Fryer 1500W, 6 Quart, 4 Functions with Touch Controls, Stainless Steel",
  "url": "https://www.walmart.com/ip/CHEFMAN-6QT-AIRFRYER/14678059894",
  "price": 59.98,
  "averageRating": 4.6,
  "numberOfReviews": 12621,
  "availability": "IN_STOCK",
  "sellerName": "Walmart.com",
  "productType": "Air Fryers",
  "isSponsored": true,
  "position": 1,
  "details": {
    "brand": "Chefman",
    "model": "RJ38-SS-6T",
    "upc": "810170920660",
    "ratingCounts": { "5": 9619, "4": 1788, "3": 634, "2": 149, "1": 431 },
    "specifications": [{ "name": "Volume capacity", "value": "6 qt" }, { "name": "Maximum temperature", "value": "400 ºF" }],
    "reviews": [{ "rating": 5, "date": "3/15/2026", "text": "I wanted an air fryer with chrome and when this came on sale, I bought it…" }]
  }
}
```

### 💡 Use cases

- 💸 **Price monitoring:** track prices, was prices and availability of products or whole searches on a schedule.
- 🧾 **Catalogue enrichment:** UPC, model, specifications and images for product matching.
- ⭐ **Review research:** star distribution and recent reviews per product.
- 📊 **Market research:** sellers, brands, sponsored placements and price ranges per search.

### 🤖 For AI agents

```json
{ "searchTerms": ["coffee maker"], "maxItemsPerSearch": 40, "includeDetails": true }
```

No credentials. `productUrls` takes any Walmart product link or item id.

### 📏 Limits

- **walmart.com (US) only.**
- **Depth:** Walmart shows at most 25 pages per search or category (about 1,000 products), even when it counts more. Split large searches by category or price range.
- **Reviews:** the full record holds the first ten reviews Walmart shows on the product page; `numberOfReviews` and `ratingCounts` are the full counts.
- **Prices and stock** are a snapshot of the moment the run reads them, for Walmart's default location.

### ❓ FAQ

**How fast is it?** 120 products in 9 seconds; full records about one product a second.

**Am I charged for full records I did not ask for?** No. Full records are a separate charge, only with `includeDetails` or for product links.

**Can I filter by price?** Yes, with `minPrice` and `maxPrice`; Walmart applies them itself.

**Do I need a Walmart account?** No.

**Is it legal?** It reads product data Walmart shows every visitor. Check Walmart's terms for your use, especially for commercial redistribution.

### 🔗 You might also like

- [Shopify Store Scraper](https://apify.com/benthepythondev/shopify-store-scraper)

**Keywords:** Walmart scraper, Walmart API, Walmart product scraper, Walmart price tracker, Walmart reviews scraper, Walmart UPC lookup, Walmart search results, ecommerce price monitoring, Walmart seller data, product specifications scraper, Walmart API alternative

# Actor input Schema

## `searchTerms` (type: `array`):

Words to search Walmart for, as in its search box. Empty with no categories or links: 'air fryer'.

## `categoryUrls` (type: `array`):

Walmart category pages (walmart.com/browse/… or /cp/…).

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

Walmart product pages (walmart.com/ip/…) or item ids. Each is returned with its full record (charged as product details).

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

Order of search and category results.

## `minPrice` (type: `integer`):

Only products at or above this price.

## `maxPrice` (type: `integer`):

Only products at or below this price.

## `maxItemsPerSearch` (type: `integer`):

Stop each search or category after this many products. Walmart shows at most 25 pages.

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

Add model, UPC, star counts, images, description, highlights, specifications and the first customer reviews. Charged per product as product details.

## Actor input object example

```json
{
  "searchTerms": [
    "air fryer"
  ],
  "sort": "relevance",
  "maxItemsPerSearch": 100,
  "includeDetails": 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 = {
    "searchTerms": [
        "air fryer"
    ]
};

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

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

```

## MCP server setup

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