# Walmart Scraper - Cheapest In-Store Price & Stock Near You (`scrapebench/walmart-product-price-store-stock-scraper`) Actor

Which Walmart stores near your ZIP code have the item in stock, and at what price? In or out at up to 29 nearby stores with distance and address, price, rollback and clearance type, aisle. One row per product per store. $2.50 per 1,000 products.

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

## Pricing

from $0.0025 / product

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/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 - Cheapest In-Store Price & Stock Near You

### Pain points

- Walmart shows stock for one store at a time: to find which stores near you have an item, you change your store and reopen the page, again and again.
- On 2026-11-27 a Greenworks 24V drill (item 18930313407) was in stock at 11 of the 24 stores nearest ZIP 48126 and out at 13, including Troy, 14 miles away. Nothing on the product page says so.
- Deal hunting needs the price type (rollback, clearance) and the store, and most Walmart tools return one default store's answer without saying which store it was.
- Walmart shows no unit counts anywhere, so 'in stock' or 'out of stock' per store is the finest answer there is, and it has to be asked per store.

### What we solve

- Takes an item number, a product link, search words or a category link, and returns one flat row per product per store: in stock or out, distance, store name and address, price, regular price, rollback or clearance label and pickup, delivery and ship-to-home availability.
- Answers 'which stores near ZIP Y have item X' in one call: give a ZIP code and how many of the nearest stores to check (1 to 29); in-stock stores come first, then nearest.
- Runs a list of items at many ZIP codes in one run, or a search with the stock at the stores near a ZIP on every product.
- Names the store behind every price. price_scope says STORE when the price was read at that store itself and NETWORK when it is the price Walmart showed for another store, which extras.priced_at_store names. An answer for the wrong store is never delivered as the right one.
- Says so, free, when nothing matches: an unknown item, no store near the ZIP, or 'checked 10 stores near 48126, none have it'.
- Optional product details (UPC, specifications, description, images, once per product) and customer reviews, newest first.

### Summary

Walmart's site answers stock for one store at a time. This actor asks Walmart for the stores nearest your ZIP codes and returns one row per product per store: whether the store has the item in stock (Walmart's own IN_STOCK or OUT_OF_STOCK word), the store's name, address and distance in miles, the price, the regular price and whether it is a regular, rollback, clearance or reduced price, and pickup, delivery and ship-to-home availability. A ZIP code and an item is one call for up to 29 stores, sorted in stock first and then nearest. Every row says which store priced it: price_scope is STORE only when the price was read at the row's own store, otherwise NETWORK with the store Walmart did price named in extras.priced_at_store. Walmart publishes no unit counts, so on_hand_at_store is always empty and nothing is estimated. Item numbers, product links, search words and category links all work; product details and reviews are options.

### Who it's for

- Shoppers and shopping or assistant agents asking where to pick an item up today
- Resellers and deal hunters watching rollback and clearance prices
- Brand and field teams checking on-shelf availability of a SKU list across stores
- Retail analysts comparing stock between stores and between Walmart and Target
- Developers and AI agents that need Walmart store stock as clean JSON

### How to use

Set the input, run the actor, and collect results from the run's dataset (export to JSON/CSV/Excel, or pull via the Apify API). Example input:

```json
{
  "itemIds": [
    "10450114"
  ],
  "zipCodes": [
    "48126"
  ],
  "nearbyStores": 10
}
```

See **Inputs** below for every available field.

### What you get

One row per record:

| Field | Description |
|---|---|
| `item_id, item_number, brand, title, product_url, category_path` | Walmart's item number, its catalog id, brand, product name, link and category path |
| `price, was_price, savings_amount, savings_percent, price_type, price_scope` | Current price, regular price and saving, how Walmart labels it (reg, rollback, clearance, reduced), and whether it was read at the row's own store (STORE) or is another store's price (NETWORK) |
| `store_number, store_name, store_address, store_city, store_state, store_zip, store_distance_miles` | The store the row is for and its distance from your ZIP code |
| `in_stock, stock_status` | In stock or out at the store, and Walmart's own word (IN_STOCK, OUT_OF_STOCK) |
| `aisle` | Aisle in the store, e.g. A29, when Walmart shows one for the item at the store it priced |
| `pickup_available, delivery_available, parcel_available` | Store pickup, delivery from the store and ship-to-home availability |
| `upc, rating, review_count` | UPC barcode on item number rows, star rating and number of ratings |
| `specs, description, bullets, images` | Product details option: specifications, description, highlights, image links |
| `extras` | Seller name, sold by Walmart or a marketplace seller, badge, manufacturer part number, and priced_at_store (the store Walmart priced a NETWORK row for) |
| `review rows` | Customer reviews option: review_id, rating, title, text, author, submitted_at, verified_purchaser, helpful_votes |

Sample:

```json
{
  "record_type": "product",
  "retailer": "Walmart",
  "item_id": "10450114",
  "item_number": "3H34WSS08ANB",
  "brand": "Great Value",
  "title": "Great Value Whole Vitamin D Milk, Gallon, Plastic Jug, 128 fl oz",
  "price": 3.62,
  "price_type": "reg",
  "price_scope": "NETWORK",
  "store_number": "4383",
  "store_name": "Dearborn Supercenter",
  "store_address": "5851 Mercury Dr",
  "store_city": "Dearborn",
  "store_state": "MI",
  "store_zip": "48126",
  "store_distance_miles": 1.8,
  "in_stock": true,
  "stock_status": "IN_STOCK",
  "pickup_available": true,
  "upc": "078742351865",
  "extras": {
    "priced_at_store": "3081",
    "seller_name": "Walmart.com",
    "sold_by_walmart": true
  }
}
```

### Inputs

| Field | Required | Type | Default | Description |
|---|---|---|---|---|
| `itemIds` | no | array | `["10450114"]` | Walmart items to check, one per line: the number at the end of a product link (https://www.walmart.com/ip/Great-Value-Milk/10450114 is 10450114), or the whole link. Each is checked at every ZIP code below. |
| `queries` | no | array | `[]` | Words to search Walmart for, one per line (cordless drill, whole milk). Each returns up to Maximum results products. |
| `query` | no | string | — | One search, for saved tasks and API calls that send a single value. Use Search words above for several. |
| `startUrls` | no | array | `[]` | Product links (https://www.walmart.com/ip/.../10450114), category links (https://www.walmart.com/browse/.../1072864_1031899_1066925_3413875) and/or search links (https://www.walmart.com/search?q=drill), one per line. |
| `zipCodes` | no | array | `["48126"]` | US ZIP codes, one per line. For each ZIP the run checks the nearest Walmart stores (as many as Stores per ZIP says) and returns one row per product per store: in stock first, then nearest. With no ZIP the run returns one row per product, for the store Walmart picks for the connection (named on the row). |
| `nearbyStores` | no | integer | `10` | How many of the nearest Walmart stores to check for each ZIP code, 1 to 29 (Walmart's store lookup returns about 29 within its radius). |
| `stores` | no | array | `[]` | Only keep these Walmart store numbers (4383 is Dearborn, Michigan) from the stores near the ZIP codes. Needs a ZIP code near the store: Walmart's store lookup works by ZIP code. |
| `comparePrices` | no | boolean | `false` | Read the price and aisle at each store itself, not Walmart's pick for the connection, so the cheapest store near you can be found. Charged as Store price per product per store. Each store needs its own store session (about half a minute, three at a time), so a long list of stores takes minutes. A store that cannot be read keeps the price Walmart shows for the connection (price_scope NETWORK) with a free notice, and is not charged as a Store price. |
| `inStoreOnly` | no | boolean | `false` | Return only the product-store pairs where Walmart shows the item in stock at the store. When no store has it, a free notice says how many stores were checked. |
| `sortBy` | no | string | `"relevance"` | Order of search results: relevance (Walmart's own) or price_low (cheapest first). Category links keep Walmart's order. |
| `includeDetails` | no | boolean | `false` | Also return the specification list, description, highlights and all images (the UPC is always on item number rows). Charged once per product (not per store) as Product details. |
| `includeReviews` | no | boolean | `false` | Also return each product's customer reviews, newest first (rating, title, text, author, date, verified purchaser, helpful votes). One row per review, charged as Review. Reviews are per product, not per store. |
| `maxReviews` | no | integer | `20` | Newest reviews to return for each product when Customer reviews is on. |
| `maxResults` | no | integer | `20` | Cap for EACH search or category link. Item numbers and product links are not capped. Walmart shows at most 25 pages (about 1,000 products) per search. |
| `proxyConfiguration` | no | object | `{"useApifyProxy": true}` | Leave as set: with Apify Proxy on and no group picked, the run uses the connection Walmart answers. Picking a group yourself overrides that. |

### Pricing (Pay Per Event)

A fixed **$0.002 per run**, charged even when the run returns no rows, plus a charge per row (`product`, *$0.0025/row*). Example: **1000 products** ≈ **$2.502** including the run fee.

$0.002 per run to start, $0.0025 per product and $0.001 per store checked. Examples: one item at the 10 nearest stores to a ZIP = $0.0145; one item at the 29 nearest stores = $0.0335; 50 items at 10 stores = $0.627. Price at every store adds $0.003 per store price read at the store itself. Product details add $0.003 once per product; customer reviews are $0.0002 each ($0.20 per 1,000). Notices are never charged.

### Use cases

- Cheapest in stock near me: the stores near a ZIP code that have the item, in stock first, with price and distance.
- Is it in stock near me: one item across the 29 nearest stores, in or out per store.
- A SKU list across several ZIP codes in one run, one row per SKU per store.
- Rollback and clearance tracking on a schedule: price, regular price and price type.
- The same product at Walmart and Target: the row model matches the Target, Home Depot and Lowe's actors, so the datasets stack.
- A scheduled stock feed into a sheet, n8n or Make.

### Why this actor

- The whole store neighbourhood in one call: up to 29 stores per ZIP, in or out, with distance and address.
- Every price names the store behind it, and a price for the wrong store is never passed off as the right one.
- A one-field call works: give an item number and a ZIP code, nothing else is needed.
- No made-up numbers: Walmart gives no unit counts, so none are shown.
- One price on every plan: $0.002 per run, $0.0025 per product, $0.001 per store checked, $0.003 per price read at the store itself, product details $0.003 once per product, reviews $0.0002 each.

### Limitations & updates

Walmart's public product, price and stock data only: no account prices, Walmart+ offers or cart totals. There are no unit counts: Walmart shows only in stock or out of stock. Unless Price at every store is on and available, the price on a row is the price Walmart showed for the store it picked for the connection, named in extras.priced_at_store; prices differ by store for some items. A ZIP code gives up to 29 stores (Walmart's own radius). Walmart limits how fast one connection can ask, so a run's speed is a few lookups per second; a free notice names anything it could not check. Prices and stock are as Walmart shows them at the time of the run.

### FAQ

**How do I find which stores near me have an item?**

Give the item number (or product link), your ZIP code and how many stores to check (Stores per ZIP code, up to 29). You get one row per store, in stock first and then nearest, with the distance in miles. On 2026-11-27 the Greenworks 24V drill was in stock at 11 of the 24 stores nearest ZIP 48126 and out at 13.

**Does it show how many are on the shelf?**

No. Walmart publishes no unit counts for stores, so on_hand_at_store is always empty. You get Walmart's own IN_STOCK or OUT_OF_STOCK word per store.

**Which store is the price from?**

price_scope tells you. STORE means the price was read at the row's own store and checked against the store Walmart answered for. NETWORK means it is the price Walmart showed for the store it picked for the connection, named in extras.priced_at_store. Most Walmart items cost the same everywhere; some, such as milk, differ by store. Price at every store (comparePrices) reads each store's own price and aisle by opening a store session for each one, so those runs are slower (about half a minute per store session, three at a time) and a store that cannot be read keeps the NETWORK price with a free notice.

**Why is there an aisle on some rows only?**

Walmart shows an aisle for a search result at the store it priced and only for some items. A row with an aisle is for that store.

**Can I search by UPC?**

Not yet: on 2026-11-27 Walmart's own search found nothing for a UPC. The UPC is on every item number row, so give the item number from the product link.

**What is charged and what is free?**

Each run is $0.002 to start (also when it finds nothing). Each product is $0.0025 once per run, each store checked in a ZIP sweep is $0.001, a store price read at the store itself is $0.003, product details are $0.003 once per product and each review is $0.0002. Notices (an unknown item, no store near a ZIP, nothing in stock, a list cut short, an input that could not be used) are free, and a run with no usable input is not charged at all.

### Guides & use cases

Written up on **[scrapebench.dev](https://scrapebench.dev)** — the bench that runs and verifies this actor against the live source every night:

- **How-to:** [How to run Walmart Scraper - Cheapest In-Store Price & Stock Near You](https://scrapebench.dev/guides/how-to-walmart-product-price-store-stock-scraper/)
- **Use case:** [Find the cheapest Walmart store near you for an item](https://scrapebench.dev/use-cases/find-cheapest-walmart-store-near-me/)

More actors, coverage and nightly verification results: **[scrapebench.dev](https://scrapebench.dev)**

### Works with AI assistants (MCP)

Callable as an MCP tool, so Claude, Cursor, VS Code Copilot and other MCP clients can run it directly. Grab the config from the [MCP tab](https://apify.com/scrapebench/walmart-product-price-store-stock-scraper/api/mcp) on this page — Apify hosts the server and keeps that snippet current, and OAuth signs you in on first connect, so no API token goes in your config file.

Then just ask:

> "Which Walmart stores near ZIP 48126 have Great Value whole milk (item 10450114) in stock? Check the 10 nearest and give me distance, price and aisle for each."

Run as {"itemIds":\["10450114"],"zipCodes":\["48126"],"nearbyStores":10}. Runs started this way bill exactly like any other run.

### Data & lawful use

This actor collects publicly available information that Walmart Inc. (Bentonville, Arkansas) publishes for public
lookup — licence records, business listings and the contact details professionals list there.
Some of it identifies individuals (sole proprietors, licence holders, agents), so treat any
names, phone numbers and emails in your results as personal data.

When you run this actor, you decide what is collected and what it is used for, so you are the
controller of that data and we act only as your processor (Apify Standard Actor Contract).
You need a lawful basis for your use, must honour opt-out and deletion requests, and must
follow the marketing rules that apply to you (CAN-SPAM, TCPA, GDPR, CCPA and similar).
Don't use the output for unsolicited bulk messaging, for screening covered by the FCRA, or
for anything the source's own terms forbid.

Your results are stored in your own Apify account. We don't keep a copy of your results and
don't sell or share them.

### Disclaimer

This is an independent tool. It is not affiliated with, endorsed by or sponsored by
Walmart Inc. (Bentonville, Arkansas). Names and marks are used only to describe the data source. Records are
provided as published by the source and may be out of date or incomplete. For anything
consequential (hiring, a permit, a legal decision), confirm the record with the issuing
agency. You are responsible for making sure your use complies with applicable law and the
source's terms.

### Need help?

Open an issue on this actor's **Issues** tab and we'll respond there. Bug reports, missing
fields and feature requests are all welcome. Guides and examples: [scrapebench.dev](https://scrapebench.dev).

If you are a person named in this data and want your record removed from our copy, email
apify-help@scrapebench.dev; the source agency remains the official record.

Your run may be used to improve our services. If something looks off, or you want this actor to fit your use better, please share your run data with us: [Apify Console → Settings → Security → Share run data with developers](https://console.apify.com/settings/security). It lets us see exactly what went wrong and keep improving the actor.

If this actor saved you time, a short review on its Store page helps other buyers find it.

# Actor input Schema

## `itemIds` (type: `array`):

Walmart items to check, one per line: the number at the end of a product link (https://www.walmart.com/ip/Great-Value-Milk/10450114 is 10450114), or the whole link. Each is checked at every ZIP code below.

## `queries` (type: `array`):

Words to search Walmart for, one per line (cordless drill, whole milk). Each returns up to Maximum results products.

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

One search, for saved tasks and API calls that send a single value. Use Search words above for several.

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

Product links (https://www.walmart.com/ip/.../10450114), category links (https://www.walmart.com/browse/.../1072864_1031899_1066925_3413875) and/or search links (https://www.walmart.com/search?q=drill), one per line.

## `zipCodes` (type: `array`):

US ZIP codes, one per line. For each ZIP the run checks the nearest Walmart stores (as many as Stores per ZIP says) and returns one row per product per store: in stock first, then nearest. With no ZIP the run returns one row per product, for the store Walmart picks for the connection (named on the row).

## `nearbyStores` (type: `integer`):

How many of the nearest Walmart stores to check for each ZIP code, 1 to 29 (Walmart's store lookup returns about 29 within its radius).

## `stores` (type: `array`):

Only keep these Walmart store numbers (4383 is Dearborn, Michigan) from the stores near the ZIP codes. Needs a ZIP code near the store: Walmart's store lookup works by ZIP code.

## `comparePrices` (type: `boolean`):

Read the price and aisle at each store itself, not Walmart's pick for the connection, so the cheapest store near you can be found. Charged as Store price per product per store. Each store needs its own store session (about half a minute, three at a time), so a long list of stores takes minutes. A store that cannot be read keeps the price Walmart shows for the connection (price_scope NETWORK) with a free notice, and is not charged as a Store price. Off: no store session at all, a faster and cheaper run; each row carries the price Walmart shows for its own pick of store (named in extras.priced_at_store), stock is still per store, and nothing is charged as Store price.

## `inStoreOnly` (type: `boolean`):

Return only the product-store pairs where Walmart shows the item in stock at the store. When no store has it, a free notice says how many stores were checked.

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

Order of search results: relevance (Walmart's own) or price_low (cheapest first). Category links keep Walmart's order.

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

Also return the specification list, description, highlights and all images (the UPC is always on item number rows). Charged once per product (not per store) as Product details.

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

Also return each product's customer reviews, newest first (rating, title, text, author, date, verified purchaser, helpful votes). One row per review, charged as Review. Reviews are per product, not per store.

## `maxReviews` (type: `integer`):

Newest reviews to return for each product when Customer reviews is on.

## `maxResults` (type: `integer`):

Cap for EACH search or category link. Item numbers and product links are not capped. Walmart shows at most 25 pages (about 1,000 products) per search.

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

Leave as set: with Apify Proxy on and no group picked, the run uses the connection Walmart answers. Picking a group yourself overrides that.

## Actor input object example

```json
{
  "itemIds": [
    "10450114"
  ],
  "queries": [],
  "startUrls": [],
  "zipCodes": [
    "48126"
  ],
  "nearbyStores": 10,
  "stores": [],
  "comparePrices": false,
  "inStoreOnly": false,
  "sortBy": "relevance",
  "includeDetails": false,
  "includeReviews": false,
  "maxReviews": 20,
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Products with stock, aisle and price at each store from your run.

# 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 = {
    "itemIds": [
        "10450114"
    ],
    "zipCodes": [
        "48126"
    ],
    "nearbyStores": 10,
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapebench/walmart-product-price-store-stock-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 = {
    "itemIds": ["10450114"],
    "zipCodes": ["48126"],
    "nearbyStores": 10,
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapebench/walmart-product-price-store-stock-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 '{
  "itemIds": [
    "10450114"
  ],
  "zipCodes": [
    "48126"
  ],
  "nearbyStores": 10,
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapebench/walmart-product-price-store-stock-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapebench/walmart-product-price-store-stock-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/zzYkyzgsqFhKKVpZC/builds/hrZ230mHyXvaEmdcw/openapi.json
