# Walmart Scraper - Products, Prices, Reviews & Sellers (`extraordinary_grasshopper/walmart-product-scraper`) Actor

Scrape Walmart search results, product details, prices, stock, sellers, specs, variants and customer reviews. Fast, no browser, no login, pay only per result.

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

## Pricing

from $1.00 / 1,000 product from searches

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

## Walmart Product Scraper

Scrape **Walmart search results, product details, prices, stock, sellers, specifications, variants and customer reviews** from walmart.com. No browser and no proxy setup are needed, and you **pay only for the results you get**.

### What can this Walmart scraper do?

- 🔎 **Search results**: every product for any keyword, with price, was price, unit price, rating, review count, seller (Walmart or marketplace), deal badges such as Rollback, shipping / pickup / delivery lines, stock and sponsored flag.
- ↕️ **Sort and filter**: best match, price, best sellers, rating or new arrivals, a price range, a category id and Walmart's sidebar filters (brand, retailer, condition...).
- 📦 **Product details**: brand, UPC, model, price and was price, stock, condition, seller with rating, star breakdown, all images, description, specifications, variants with their own item ids and prices, category path, fulfillment options, return policy and the review summary.
- ⭐ **Customer reviews**: rating, title, text, date, author, verified purchase flag, helpful votes, photos and variant, with 6 sort orders and a star filter.

### How much does it cost to scrape Walmart?

This Actor uses **pay per event** pricing, so you pay only for results:

| Event | Price |
|---|---|
| Product from search results | $0.001 ($1 per 1,000) |
| Full product details | $0.0025 ($2.50 per 1,000) |
| Customer review | $0.0002 ($0.20 per 1,000) |

Inputs that fail are reported in the dataset **for free**. Set a maximum cost per run in the run options, and the Actor will stop when it reaches the limit.

### How to use it

1. Enter one or more **search keywords**, or **item ids / product URLs** (the number at the end of a `walmart.com/ip/...` link).
2. Pick the sort order, price range and how many products you want per keyword.
3. Turn on **full details** for search results, or **reviews** with how many per product. Use **reviews only** to skip product details of your item ids.
4. Click **Start**, then download your data as JSON, CSV, Excel or HTML, or get it through the API.

### Input example

```json
{
    "searchKeywords": ["air fryer", "usb c cable"],
    "productIds": ["5901579739"],
    "maxItemsPerKeyword": 100,
    "sort": "best_seller",
    "maxPrice": 100,
    "includeReviews": true,
    "maxReviewsPerProduct": 50,
    "reviewsSort": "newest"
}
```

### Output example

A search result from a real run:

```json
{
    "type": "search",
    "keyword": "usb c cable",
    "page": 1,
    "position": 1,
    "item_id": "2201294100",
    "product_id": "538QYKZYOWHE",
    "title": "Anker 2-Pack 20W Dual Port USB Fast Wall Charger, USB C Charger Block Compatible with iPad 10 and More (2-Pack 5 ft USB-C Cable Included)",
    "url": "https://www.walmart.com/ip/2201294100",
    "image": "https://i5.walmartimages.com/seo/Anker-2-Pack-20W-Dual-Port-USB-Fast-Wall-Charger-USB-C-Charger-Block-Compatible-with-iPad-10-and-More-2-Pack-5-ft-USB-C-Cable-Included_aeb45b73-3d43-4f61-8ef5-ab3b2174ab30.51205acd8307aa3169ca27c891968b82.jpeg",
    "price": 16.99,
    "original_price": 25.48,
    "price_range": null,
    "unit_price": null,
    "currency": "USD",
    "rating": 4.6,
    "reviews_count": 185,
    "seller_name": "AnkerDirect",
    "seller_id": "981DFFA1E1EE4250AF6F45508670E08D",
    "sold_by_walmart": false,
    "badges": [],
    "fulfillment": ["Free shipping, arrives in 3+ days"],
    "availability": "IN_STOCK",
    "in_stock": true,
    "has_variants": false,
    "is_sponsored": true,
    "scrapedAt": "2026-11-15T06:54:20.583Z"
}
```

A review from the same run:

```json
{
    "type": "review",
    "input": "https://www.walmart.com/ip/5901579739",
    "item_id": "5901579739",
    "product_title": "bella 4 Qt Slim Digital Air Fryer with EverGood™ Ceramic Nonstick Coating, 6 Preset Cooking Options, Oatmilk",
    "product_url": "https://www.walmart.com/ip/5901579739",
    "page": 1,
    "review_id": "440353785",
    "rating": 1,
    "title": "Spent my day off returning it",
    "text": "Plugged it in and it only stayed on the double minus on the display and refused to recognize the other buttons other than the power button...",
    "date": "2026-09-12",
    "author": "Charlie",
    "verified_purchase": false,
    "helpful_votes": 0,
    "unhelpful_votes": 0,
    "badges": [],
    "photos": [],
    "variant": null,
    "seller_name": null,
    "fulfilled_by": null,
    "syndicated_from": "bellakitchenware.com",
    "scrapedAt": "2026-11-15T06:54:27.001Z"
}
```

Product details items (`"type": "product_details"`) add fields such as `brand`, `model`, `upc`, `list_price`, `savings`, `availability_text`, `condition`, `rating_breakdown`, `seller`, `other_offers_count`, `images`, `short_description`, `description`, `specifications`, `categories`, `variants`, `fulfillment`, `return_policy`, `warranty`, `review_summary` and `top_reviews`.

### Tips

- Use **sort = Best sellers** with a price range to build focused product lists.
- Turn on **full details** only when you need UPC, specs, variants or seller rating: search results already contain price, rating and seller.
- For **sentiment analysis**, use reviews only with the star filter (for example 1 and 2 stars) to read what customers complain about.
- For price monitoring, schedule the Actor and compare runs, or connect it to Google Sheets, Make, Zapier or a webhook.

### Is it legal to scrape Walmart?

This Actor collects only public product information and reviews that any shopper can see. It doesn't log in. Reviews carry the reviewer's public display name only. You are responsible for using the data in line with Walmart's terms and the laws that apply to you, including data protection rules for review authors' names.

### Need another field or a custom feed?

Open an issue on the **Issues** tab. We usually reply within a day.

# Actor input Schema

## `searchKeywords` (type: `array`):

Search walmart.com like a shopper. One keyword per line.

## `productIds` (type: `array`):

Get full product details for these Walmart item ids (the number at the end of a walmart.com/ip/... link) or product URLs.

## `maxItemsPerKeyword` (type: `integer`):

Stops paging once this many products are collected (about 40 per page, up to 10 pages).

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

Order of search results.

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

Only products from this price, in whole dollars.

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

Only products up to this price, in whole dollars.

## `categoryId` (type: `string`):

Walmart category id such as 3944 (Electronics), or a cat_id from the categories of an earlier run. Optional.

## `facets` (type: `string`):

Walmart sidebar filters such as brand:Ninja. Join several with ||, e.g. brand:Ninja||retailer_type:Walmart. Optional.

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

Opens each product found by search (charged as product details).

## `includeReviews` (type: `boolean`):

Adds reviews of every item id / URL above, and of search results when full details are on.

## `maxReviewsPerProduct` (type: `integer`):

Walmart serves 10 reviews per page.

## `reviewsSort` (type: `string`):

Order of reviews.

## `reviewsRating` (type: `string`):

Filter reviews by star rating.

## `reviewsOnly` (type: `boolean`):

With reviews on, save only the reviews of the item ids / URLs above, not their product details.

## Actor input object example

```json
{
  "searchKeywords": [
    "air fryer"
  ],
  "maxItemsPerKeyword": 20,
  "sort": "best_match",
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerProduct": 20,
  "reviewsSort": "relevancy",
  "reviewsRating": "all",
  "reviewsOnly": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `reviews` (type: `string`):

No description

## `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 = {
    "searchKeywords": [
        "air fryer"
    ],
    "maxItemsPerKeyword": 20
};

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

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

```

## MCP server setup

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