# Walmart Price Checker & Product Scraper (`muhammadafzal/walmart-price-checker-scraper`) Actor

Check Walmart prices, stock, fulfillment, seller and ratings by item ID, link or keyword on Walmart US, Canada, Mexico, Costa Rica and Bodega Aurrera, per store or ZIP. USD 2.50 per 1,000 rows.

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

## Pricing

from $2.00 / 1,000 walmart product rows

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 Price Checker & Product Scraper

Walmart Price Checker & Product Scraper returns current Walmart prices, stock, fulfillment options, seller and ratings as JSON or CSV, by item ID, product link or search keyword, on walmart.com, walmart.ca, walmart.com.mx, walmart.co.cr and Bodega Aurrera. It costs USD 2.50 per 1,000 rows on the FREE tier (USD 2.00 on GOLD) plus USD 0.005 per run, and you pay only for rows delivered.

It is built for Walmart price tracking, store-level price checks, MAP and reseller monitoring, assortment research and catalog enrichment. No API key, login or proxies are needed.

Walmart prices and stock depend on the store. Set a store number or a delivery ZIP code to price every row for one shopper location. Without one, each row shows the price at whatever default store Walmart picked for that page, which can differ from row to row. Every row names the store it was priced for (`storeId`, `storePostalCode`, `storeCity`, `storeState`).

### What Walmart data does the scraper return?

One row per product. A row comes from a product page (item ID or link) or from a search results page (keyword).

| Field | What it holds |
|---|---|
| `itemId`, `title`, `brand`, `url`, `imageUrl` | The product as Walmart lists it |
| `price`, `currency`, `wasPrice`, `priceText`, `unitPrice` | Price for the store context, crossed-out price, price text as shown (ranges included), unit price |
| `inStock`, `availabilityStatus` | Stock for that store or ZIP code (`IN_STOCK`, `OUT_OF_STOCK`, …) |
| `fulfillmentMethods`, `fulfillmentText`, `deliveryDate` | Ways to buy (`shipping`, `delivery`, `pickup`), the page's fulfillment messages, earliest delivery date |
| `sellerName`, `sellerId`, `offerType`, `otherSellersCount` | Who sells it (Walmart or a marketplace seller) and how many other offers exist |
| `rating`, `reviewCount` | Star rating and number of ratings |
| `upc`, `model`, `category` | Product rows: barcode, model number, category path |
| `searchQuery`, `page`, `position`, `sponsored` | Search rows: keyword, results page, rank and sponsored flag |
| `storeId`, `storePostalCode`, `storeCity`, `storeState` | The store and location the page priced the product for |
| `requestedStoreId`, `requestedDeliveryZip`, `requestedFulfillment` | The store context you asked for |
| `site`, `banner`, `country`, `recordType`, `input`, `scrapedAt` | Where the row comes from and when |

Rows are unique per site, item ID and store context: a product found by several keywords, or given as an ID and a link, is returned and charged once.

### How do I check Walmart prices by item ID or link?

Put item IDs in `productIds`: the number at the end of a Walmart link, for example `985675140` from `walmart.com/ip/…/985675140`. Or paste the links into `productUrls`.

```json
{
  "site": "walmart.com",
  "productIds": ["985675140"]
}
```

Item ID formats are checked before any request, and entries in the wrong format are skipped without a charge:

- walmart.com: 5 to 13 digits.
- walmart.ca: 6 to 16 letters and digits, such as `3NTDRV0WGFIE`.
- walmart.com.mx and Bodega Aurrera: 8 to 16 digits, such as `00750105536750`.
- walmart.co.cr has no item IDs, so use its product links (`walmart.co.cr/<product>/p`).

A link always runs on its own site, so you can mix links from several Walmart countries in one run.

### How do I get prices for one Walmart store or ZIP code?

Prices and stock differ by store, especially for groceries. Add `storeId` (the store number) or `deliveryZip`, and optionally `fulfillment`:

```json
{
  "site": "walmart.com",
  "productIds": ["985675140"],
  "storeId": "1011",
  "fulfillment": "pickup"
}
```

- `pickup` needs `storeId`, because pickup prices and stock belong to one store.
- `delivery` needs `storeId` or `deliveryZip`. A run that asks for either without a store is rejected before any request.
- `shipping` works with or without a location.

Walmart serves a ZIP code from its nearest store, and the row's `storeId`, `storePostalCode` and `storeCity` name that store. With no store context, Walmart picks a default store for each page, often a different one per request, so rows in one run can be priced at different stores; each row names its store. For price comparisons, set a store or ZIP code and keep it fixed between runs. walmart.co.cr pages take no store or ZIP code.

### How do I scrape Walmart search results?

Add keywords to `searchQueries` and set how many result pages to read per keyword:

```json
{
  "site": "walmart.com",
  "searchQueries": ["coffee maker"],
  "maxPagesPerQuery": 2,
  "maxResults": 100
}
```

- A walmart.com or walmart.ca page lists about 40 to 60 products, and a walmart.co.cr page about 10.
- Search rows carry the price, stock, fulfillment, seller and rating shown on the results page, plus `position` and `sponsored`.
- Only the keyword's own results grid is returned. Carousels such as "Shop trending items" are left out, and so is the "Other options to consider" grid Walmart shows when nothing matches: that keyword is reported as empty and costs nothing.
- Keyword search runs on walmart.com, walmart.ca and walmart.co.cr. On walmart.com.mx and Bodega Aurrera, the search pages returned results for unrelated searches in our tests (8 of 9 reads on 2026-11-08), so the Actor rejects search there instead of returning wrong products. Use item IDs or links on those two sites.

A results page built for a different keyword than yours is detected, read once more and never charged.

### Which Walmart sites are supported?

| Site | Currency | Item IDs and links | Keyword search | Store or ZIP |
|---|---|---|---|---|
| walmart.com (United States) | USD | yes | yes | yes |
| walmart.ca (Canada) | CAD | yes | yes | yes |
| walmart.com.mx (Mexico) | MXN | yes | no | yes |
| Bodega Aurrera (bodegaaurrera.com.mx) | MXN | yes | no | yes (delivery or pickup) |
| walmart.co.cr (Costa Rica) | CRC | links only | yes | no |

Bodega Aurrera is Walmart's discount banner in Mexico and runs on the same storefront platform, so it is a `site` option here rather than a separate Actor.

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

Pay per event: a start fee per run, plus one event per dataset row delivered. Rows that are not found, blocked, built for another search, or skipped are never charged.

| Tier | Price per row | Per 1,000 rows | Start fee per run |
|---|---|---|---|
| FREE | USD 0.0025 | USD 2.50 | USD 0.005 |
| BRONZE (2.5% off) | USD 0.002438 | USD 2.438 | USD 0.005 |
| SILVER (5% off) | USD 0.002375 | USD 2.375 | USD 0.005 |
| GOLD (20% off) | USD 0.002 | USD 2.00 | USD 0.005 |

The start fee is charged once per started GB of allocated memory: one event at the default 256 MB. Examples on the FREE tier: one item ID costs USD 0.0075; 100 item IDs cost USD 0.255; 1,000 search rows cost USD 2.505. Set a maximum charge per run in Apify Console to cap any run.

### What does a result look like?

```json
{
  "recordType": "product",
  "site": "walmart.com",
  "banner": "Walmart",
  "country": "US",
  "itemId": "985675140",
  "title": "BLACK+DECKER Programmable 12-Cup Drip Coffee Maker",
  "brand": "BLACK+DECKER",
  "url": "https://www.walmart.com/ip/BLACK-DECKER-Programmable-12-Cup-Drip-Coffee-Maker/985675140",
  "price": 31.97,
  "currency": "USD",
  "wasPrice": null,
  "priceText": "$31.97",
  "unitPrice": "33.3 ¢/oz",
  "inStock": true,
  "availabilityStatus": "IN_STOCK",
  "fulfillmentMethods": ["shipping", "pickup", "delivery"],
  "fulfillmentText": "Pickup, today at Panorama City By The Mall Vannuys Blvd Store | Delivery from store | Shipping, arrives by today to Los Angeles, 91402",
  "deliveryDate": "2026-11-08T22:59:00.000Z",
  "sellerName": "Walmart.com",
  "sellerId": "F55CDC31AB754BB68FE0B39041159D63",
  "rating": 4.5,
  "reviewCount": 7200,
  "upc": "050875804784",
  "model": "CM1070B-1",
  "category": "Home > Appliances > Kitchen Appliances > Coffee Shop > Coffee Makers",
  "offerType": "ONLINE_AND_STORE",
  "otherSellersCount": 1,
  "storeId": "2568",
  "storePostalCode": "91402",
  "storeCity": "Los Angeles",
  "storeState": "CA",
  "requestedStoreId": null,
  "requestedDeliveryZip": null,
  "requestedFulfillment": null,
  "input": "985675140",
  "scrapedAt": "2026-11-08T20:55:00.000Z"
}
```

The run summary is in the `OUTPUT` record of the run's key-value store. It holds the status (SUCCEEDED, PARTIAL, EMPTY, FAILED or REJECTED), the result of each input (ok, empty, not-found, rejected, failed or skipped), skipped entries, the stop reason and request counters.

### When should I use this Walmart scraper, and when not?

**Use it when** you need current Walmart or Bodega Aurrera prices, stock and fulfillment for a list of items or keywords, for one store or ZIP code, on a schedule or on demand.

**Use another tool when:**

- You need review text. This Actor returns the rating and rating count, not reviews.
- You need price history. It reads today's pages, so schedule it to build your own history.
- You need keyword search on walmart.com.mx or Bodega Aurrera. Collect item IDs or links there instead.
- You need another marketplace: see [eBay Scraper](https://apify.com/muhammadafzal/ebay-scraper), [Google Shopping Scraper](https://apify.com/muhammadafzal/google-shopping-scraper), [AliExpress Scraper](https://apify.com/muhammadafzal/aliexpress-products-reviews-sellers) or [MercadoLibre Product & Seller Data Scraper](https://apify.com/muhammadafzal/mercadolibre-product-seller-scraper).

### Use it from an AI assistant

The Actor works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add `https://mcp.apify.com/?tools=muhammadafzal/walmart-price-checker-scraper` as an MCP server. Then ask, for example: "Check the Walmart price and pickup stock of item 985675140 at store 1011." The assistant fills in the input, runs the Actor and reads the rows.

You can also call it from the Apify API, the JavaScript or Python client, Make, Zapier or n8n, and export results as JSON, CSV or Excel.

### FAQ

**Is there a Walmart API for prices?**
Walmart's own APIs are for its sellers and affiliates. This Actor reads the public product and search pages a shopper sees and returns them as structured rows, without an API key.

**Why does the price differ from what I see on Walmart?**
Walmart prices by store and location. Compare with the row's `storeId` and `storePostalCode`, or set `storeId` or `deliveryZip` so both use the same store.

**What happens with a removed or unknown item ID?**
The input is reported as `not-found` in OUTPUT and is not charged. IDs in the wrong format are skipped before any request.

**Can I mix sites in one run?**
Item IDs and keywords run on the chosen `site`. Product links run on their own site, so links from walmart.com, walmart.ca and Bodega Aurrera can share a run. Your store context applies only to the chosen site.

**Can I schedule it for price monitoring?**
Yes. Save your input as a task in Apify Console and add a schedule. Keep the store context fixed so prices are comparable between runs.

Last verified: 2026-11-08

# Actor input Schema

## `site` (type: `string`):

Use this to choose the storefront that item IDs and keywords run on. Prices come in that site's currency (USD, CAD, MXN, CRC). Bodega Aurrera is Walmart's discount banner in Mexico. Keyword search works on walmart.com, walmart.ca and walmart.co.cr. walmart.com.mx and Bodega Aurrera take item IDs and product links only. Product links always run on their own site.

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

Use this when you have Walmart item IDs: the last part of a product link, for example 985675140 from walmart.com/ip/…/985675140. Formats per site: walmart.com 5 to 13 digits; walmart.ca 6 to 16 letters and digits (3NTDRV0WGFIE); walmart.com.mx and Bodega Aurrera 8 to 16 digits (00750105536750). walmart.co.cr has no item IDs, so use product links there. Up to 500 per run, together with product links. Entries in the wrong format are skipped before any request and never charged.

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

Use this when you have product page links instead of item IDs, for example https://www.walmart.com/ip/BLACK-DECKER-Programmable-12-Cup-Drip-Coffee-Maker/985675140 or https://www.walmart.co.cr/black-decker-cafetera-perm-calf-12-tz/p. Each link runs on its own site, so links from several Walmart countries can share a run. Search, category and store links are skipped before any request.

## `searchQueries` (type: `array`):

Use this to read Walmart search results: keywords as a shopper types them, for example coffee maker. Works on walmart.com, walmart.ca and walmart.co.cr. Up to 50 per run. A product found under several keywords is returned once.

## `storeId` (type: `string`):

Use this when prices, stock and pickup must match one store: the Walmart or Bodega Aurrera store number, for example 1011. Required when fulfillment is pickup. Left empty, Walmart picks a default store for each page, which can differ between rows; every row names the store it was priced for.

## `deliveryZip` (type: `string`):

Use this when prices and delivery dates must match a shopper location: a 5-digit ZIP code on walmart.com (10001), a postal code on walmart.ca (M5V 2T6) or a 5-digit código postal in Mexico (06600). Walmart serves it from the nearest store, and each row names that store.

## `fulfillment` (type: `string`):

Use this to read prices and availability for one way of buying: shipping, delivery (from a store; needs a store number or ZIP code) or pickup (needs a store number). Bodega Aurrera offers delivery and pickup. Left empty, the page's default is used.

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

Use this to cap the run: it stops after this many dataset rows (products and search results together), from 1 to 1,000. You pay only for rows delivered.

## `maxPagesPerQuery` (type: `integer`):

Use this to set how many search result pages to read for each keyword, from 1 to 25. A walmart.com or walmart.ca page lists about 40 to 60 products, a walmart.co.cr page about 10. Reading stops early at the last page or at Maximum rows.

## Actor input object example

```json
{
  "site": "walmart.com",
  "productIds": [
    "985675140"
  ],
  "maxResults": 20,
  "maxPagesPerQuery": 3
}
```

# Actor output Schema

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

Dataset rows: one per product page or search result tile.

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

The OUTPUT record: status, per-input results, skipped entries, stop reason, warnings and request counters.

# 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 = {
    "productIds": [
        "985675140"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/walmart-price-checker-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 = { "productIds": ["985675140"] }

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

```

## MCP server setup

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