# Walmart Scraper: Store Prices, Rollbacks & Pickup Stock (`moggedhq/walmart-store-price-scraper`) Actor

Get Walmart prices by store or ZIP: rollback, clearance, was-price, unit price, pickup and delivery stock, aisle, brand, UPC, seller and ratings. Search, categories or product links for scheduled checks. $0.004 per product + $0.005 per run with products. No login.

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

## Pricing

from $3.20 / 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: Store Prices, Rollbacks & Pickup Stock

For retail price analysts, brand teams and comparison services collecting Walmart product observations for a repeatable price-monitoring table. Search for products, follow category links or supply a known basket of Walmart item IDs. Each delivered row identifies the product, source store context, current price, available promotion evidence, unit price and fulfillment signals. About **$0.004 per product**, plus **$0.005 once when a run delivers products** and the minimum **$0.00005 Actor start charge**. A 20-product run costs about **$0.085** at base pricing. No Walmart login is used.

### Read the price scope first

Walmart can display an online offer while also showing availability at a nearby store. A pickup badge alone does not prove that the displayed price is the store's pickup price. Keep `priceScope`, `storePrice`, `onlinePrice`, `sourceLocation` and `storePriceVerified` with the price in your exports.

`STORE_PICKUP` identifies a price returned in a matching pickup context. `ONLINE` identifies the online offer shown by the public response. A missing store price stays null. When a requested location cannot be established, the run reports a free note rather than attaching another store's price to your request.

The common retail fields match the other retail price Actors, so snapshots can share one comparison table.

### What you get

| Field | Meaning |
| --- | --- |
| `verdict` | A readable product, price and scope description. |
| `retailer`, `country`, `currency` | Walmart, US and USD. |
| `storeId`, `storeName`, `location` | Source store number, public store name when supplied, and requested ZIP. |
| `productId`, `usItemId` | Numeric Walmart US item ID. Store this as text. |
| `sku` | Separate source catalog identifier where available. |
| `gtin`, `upc` | Explicit source UPC with a valid barcode checksum; leading zeros are retained. |
| `title`, `brand`, `size` | Public product title, explicit brand and supplied size. |
| `price`, `priceScope` | Advertised current price and the channel to which it applies. |
| `storePrice`, `onlinePrice` | Separately labeled pickup and online prices. A missing channel price is null. |
| `regularPrice`, `wasPrice` | A source reference price, when supplied. |
| `onSale`, `isDeal` | Explicit price reduction or recognized promotion evidence. |
| `promoText`, `promoType` | Rollback, clearance or reduced-price description. |
| `promoStart`, `promoEnd` | Published promotion dates, when the source supplies them. |
| `memberPrice`, `memberProgram` | Explicit public membership price and program, when supplied. |
| `unitPrice`, `unitOfMeasure` | Published per-unit comparison price and unit label. |
| `inStock`, `stockStatus`, `stockLevel` | Source availability status and quantity when supplied. |
| `pickupAvailable`, `deliveryAvailable` | Availability signals for the matching source store context. |
| `aisleLocation` | Public aisle label for the verified matching store. |
| `seller` | The seller shown for the offer, including marketplace sellers. |
| `rating`, `ratingAverage`, `reviewCount` | Aggregate product rating and review count. |
| `category`, `url`, `imageUrl` | Product classification, public product link and image link. |
| `scrapedAt` | UTC observation timestamp. |
| `sourceUrl`, `sourceLocation` | Public source URL and the response's own store, ZIP and intent evidence. |
| `storePriceVerified` | Whether the public context establishes that the displayed price belongs to pickup at the identified store. |
| `details` | Optional additional product metadata when available. |

Unknown values remain null. A Walmart item number is not a UPC. A valid-looking catalog identifier is never placed in a barcode column without explicit source provenance. Keep identifiers as text when exporting to a spreadsheet to preserve leading zeros.

The overview dataset view brings title, current price, price scope, regular price, promotion, membership price, unit price, availability, store and aisle together. The deals view emphasizes markdown fields. The `DEALS` key-value record contains the delivered products recognized as deals.

### Start in three steps

1. Enter one or more search terms, product or category links, or numeric item IDs.
2. Choose ZIP codes or exact store numbers and set the product caps.
3. Run, inspect `SUMMARY`, then export the dataset as JSON, CSV or Excel.

Use exact store numbers for a stable monitoring basket. ZIP lookup identifies the city and ZIP centroid, reads Walmart's public city directory, excludes fuel-only locations and chooses the closest eligible store among the returned candidates. The selected store can change. Preserve the returned store ID in the database so a change in store selection does not look like a price change.

### Inputs

| Input | Meaning |
| --- | --- |
| `searchTerms` | An array such as `["milk", "coffee"]`. Each term is a separate source. |
| `startUrls` | Optional public Walmart US search, category, deals or product links. |
| `productIds` | Numeric US item IDs from product URLs. These are not UPC codes. |
| `locations` | US ZIP codes. Empty means the site's default context. |
| `postalCodes` | Alias for locations. Unique ZIPs from both arrays are combined. |
| `storeIds` | Exact Walmart store numbers, taking precedence over ZIP arrays. |
| `maxItemsPerSearch` | Maximum new product rows per source and store; default 20. |
| `maxItems` | Global product-store row cap; default 20. |
| `dealsOnly` | Retain recognized rollback, clearance and reduced-price products. |
| `includeDetails` | Request additional public product metadata where available. |
| `proxyConfiguration` | Automatic routing or an explicit buyer proxy selection. |

The input form prefill searches milk near ZIP 95829 with a 20-product cap. On 11 November 2026 a 20-product cloud test delivered 20 store-3081 observations in 9.5 seconds. Retries, store selection and extra product-page reads affect runtime. A cap is an upper bound, not a promise of that many matching products. Thin searches and deals filters can correctly return fewer rows.

```json
{
  "searchTerms": ["milk", "coffee"],
  "storeIds": ["100"],
  "maxItemsPerSearch": 20,
  "maxItems": 40
}
```

For exact products, pass productIds. For categories, use startUrls. Do not paste checkout, account, order or signed-in links.

### Promotions and availability

Rollback, clearance and Special Buy flags require explicit product evidence. Published multi-buy tiers stay in multiBuyOffers; their quantity conditions are not subtracted from the single-item price. A was-price above the current price identifies a reduction without automatically identifying clearance or a promotion date. Missing product-specific dates stay null.

An invitation to save with Walmart+ does not create a numeric memberPrice. Pickup and delivery signals describe the website offer at observation time. They are not audited shelf counts. Keep seller and channel fields when comparing marketplace offers with Walmart's own offer.

### Pricing and spending limits

One product charge covers one distinct product at one source store in a run with a numeric price or a source-dated promotion. The first delivered product also carries one $0.005 setup charge. Runs without product rows do not pay this setup charge. Repeated inputs, retries, empty matches, explanatory note rows and run summaries do not receive a product charge. Optional details do not add a separate product event.

Product charges before the setup and platform start fees:

| Delivered observations | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.08 | $0.076 | $0.072 | $0.064 |
| 100 | $0.40 | $0.38 | $0.36 | $0.32 |
| 1,000 | $4.00 | $3.80 | $3.60 | $3.20 |

Base pricing is $0.004 per product. Bronze receives 5% off, Silver 10% and Gold 20%. Add $0.005 setup once per run that delivers products, plus the $0.00005 minimum Actor start charge. For example, 20 products cost $0.08505 at base pricing or $0.08105 on Bronze with the minimum start charge. Use Apify's maximum total charge to limit the bill. The Actor checks the combined setup and first-product capacity before requesting data. It then checks remaining product capacity before delivery and stops cleanly when another charge would exceed it. The summary indicates whether that limit was reached.

### Monitor prices every day

Save a task with a stable basket, store IDs and caps. In Apify Console, create a schedule, select the task and choose its frequency and timezone. Connect a completed-run webhook to your database or workflow.

Join records using retailer + storeId + productId, retaining priceScope and scrapedAt. Compare matching channels and sellers. Each run collects a fresh snapshot; keep prior outputs to build history. Before accepting a snapshot, inspect SUMMARY.freeFailures and source outcomes. Treat source refusals as gaps rather than zero prices or inferred stockouts.

Make, Zapier, n8n and warehouse jobs can read the dataset. Keep identifier columns as text in spreadsheet exports.

### Observed store-price example

For Walmart item 10450114, Great Value Whole Vitamin D Milk, Gallon, public product pages on 11 November 2026 returned these different store observations:

| Store | Store location | Pickup price | Unit price | Aisle |
| --- | --- | --- | --- | --- |
| 100 | Bentonville, ZIP 72712 | $2.88 | $0.023/fl oz | A27 |
| 3081 | Sacramento, ZIP 95829 | $3.82 | $0.030/fl oz | A29 |

The source explicitly supplied UPC 078742351865. The Actor preserves its leading zero. Product-level store evidence is retained even when the page header shows a different default location. These are observations from those pages, not a promise of a future price.

### API use

Start a run with your own Apify token, then read its default dataset and `SUMMARY` key-value record. Store the returned run ID with your monitoring record so the underlying evidence remains traceable.

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~walmart-store-price-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["milk"],"storeIds":["100"],"maxItems":20}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("moggedhq/walmart-store-price-scraper").call(
    run_input={"searchTerms": ["milk"], "storeIds": ["100"], "maxItems": 20}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('moggedhq/walmart-store-price-scraper').call({
  searchTerms: ['milk'], storeIds: ['100'], maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Use with AI agents (MCP)

Connect your assistant to https://mcp.apify.com and ask for Walmart store prices, rollbacks and pickup availability. Supply item IDs or search terms, stores or ZIPs, and a product cap. Ask it to inspect SUMMARY, preserve nulls, retain UPC strings and compare matching price scopes. Exact item IDs and stores suit a repeatable basket.

### Sources and location metadata

Prices, store candidates, product identifiers and stock come from public Walmart pages. ZIP place coordinates come from [Zippopotam.us](https://www.zippopotam.us/), using GeoNames data. Store address metadata can be reused for seven days; product prices and stock are collected for each run.

### Limits

Coverage is Walmart US public, signed-out data. Account offers, clipped coupons, personalized checkout totals and order history are outside coverage. The Actor never signs in, imports account cookies or solves human-verification challenges. Source refusals are free of product and setup charges.

A ZIP must resolve to a city directory with eligible store candidates. The Actor does not substitute the national default when resolution fails. Missing values stay null. Products without a numeric price or a source-dated promotion are excluded without product or setup charges; SUMMARY.unpricedProductsExcluded counts them. Deals-only filters sample at most maxItemsPerSearch catalog candidates, with a minimum one page; sampleLimitReached identifies that boundary. No sampled matches is not a source failure.

Prices and fulfillment promises can change. Each row describes its observation time; SUMMARY identifies incomplete coverage. Historical backfill is unavailable.

A catalog can show a regional product that is unpublished in another selected store context. An explicit unpublished-product response is skipped with a free note and counted in SUMMARY.unavailableProducts. It is not retried through a paid proxy route, counted as an access failure, or charged as a product.

### FAQ

**Can I choose an exact store?** Use storeIds. They take precedence over ZIP arrays. Each row retains source store evidence.

**Why separate onlinePrice and storePrice?** Online offers can appear beside local availability. The fields preserve their different price scopes.

**Are item IDs barcodes?** No. gtin and upc require an explicit source UPC and a valid checksum.

**Are all reductions rollbacks?** No. Price reductions, rollback labels and clearance labels remain distinct.

**Do empty searches pay setup?** No. Setup is charged only with the first delivered product. The platform start charge follows Pricing.

**Do overlapping inputs double the bill?** A product at one store is delivered and charged once per run.

**How do I check coverage?** Read SUMMARY status, freeFailures, outcomes and spendingLimitReached alongside the dataset.

# Actor input Schema

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

Find products such as milk, chicken or coffee. Each term is searched at every selected store. Leave empty when using only URLs or product IDs.

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

Optional links from the selected banner. Explicit ZIPs or store IDs control the store price; URL loc parameters do not override your selection.

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

Numeric Walmart US item IDs from product links, such as 10450114. Not UPC barcodes.

## `locations` (type: `array`):

US ZIP codes. Select the nearby Walmart store; storeIds take precedence.

## `storeIds` (type: `array`):

Exact Walmart store numbers. These take precedence over ZIP codes.

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

Maximum new product rows from each term, category or deals source at one store. Duplicates are free.

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

Global product/store row cap. $0.004 per product, plus $0.005 once when a run delivers products and the $0.00005 minimum Actor start charge.

## `dealsOnly` (type: `boolean`):

Keep rollback, clearance, reduced-price, Special Buy, volume-price and explicit Walmart+ price offers. Filters sample up to maxItemsPerSearch catalog candidates, with a minimum one page; fewer matches can be returned.

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

Include extra public product metadata where available; no extra product fee.

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

Default: datacenter first, with US residential only after refused datacenter attempts. You may supply your own proxy configuration.

## `postalCodes` (type: `array`):

Optional alias for locations. Unique ZIPs from both arrays are combined; exact storeIds take precedence.

## Actor input object example

```json
{
  "searchTerms": [
    "milk"
  ],
  "locations": [
    "95829"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `deals` (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": [
        "milk"
    ],
    "locations": [
        "95829"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/walmart-store-price-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": ["milk"],
    "locations": ["95829"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/walmart-store-price-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": [
    "milk"
  ],
  "locations": [
    "95829"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call moggedhq/walmart-store-price-scraper --silent --output-dataset

```

## MCP server setup

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