# Walmart Product Scraper - Price, Stock & Seller Monitor (`pathready/walmart-product-scraper`) Actor

Scrape Walmart.com product data by URL or item ID: price, was-price, discount, rollback, stock, seller, rating, reviews, UPC, specs, variants, images. Clean JSON for price monitoring and AI agents. $4.50/1,000.

- **URL**: https://apify.com/pathready/walmart-product-scraper.md
- **Developed by:** [PathReady Data](https://apify.com/pathready) (community)
- **Categories:** E-commerce, Automation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.50 / 1,000 product results

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 – Price, Stock, Seller & Specs (Clean JSON)

Get Walmart product data as clean, normalized JSON: price, was-price and discount, stock status, rating and review count, seller (1P vs marketplace, seller rating), Walmart Fulfillment (WFS), category path, images, specs, variants and review "aspects". Paste product URLs or item IDs, get one tidy record per product.

### Use cases

- **Price & stock monitoring** – schedule runs to track price drops, rollbacks, clearance and out-of-stock events.
- **Competitor / MAP monitoring** – see who holds the buy box (Walmart vs 3P seller) and at what price.
- **Arbitrage & sourcing** – compare Walmart prices with Amazon, Target, etc.
- **Catalog enrichment** – UPC, brand, model, specs and images for your PIM.
- **AI agents & MCP** – flat, predictable fields (no HTML) that LLM agents can call through Apify's MCP server to answer "what does X cost at Walmart and is it in stock?".

### What is Walmart Product Scraper?

A Walmart scraper and Walmart API alternative that turns any walmart.com product page into structured JSON. Use it as a **Walmart price tracker**, **Walmart stock checker**, buy-box/seller monitor, or product data feed. No coding, no login, no Walmart API key.

### How to use

1. Paste Walmart product URLs (or item IDs).
2. Click **Start** (residential US proxy is preset).
3. Download results as JSON, CSV, Excel, or via the Apify API; schedule runs for daily price monitoring.

### Input

```json
{
  "productUrls": [{ "url": "https://www.walmart.com/ip/5113183757" }],
  "itemIds": ["10450114"],
  "searchQueries": [],
  "includeVariants": true,
  "includeSpecs": true,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US" }
}
```

`searchQueries` is experimental: Walmart bot-blocks most search pages, so use product URLs or item IDs for reliable results.

### Output (shortened)

```json
{
  "itemId": "17852302051",
  "name": "PlayStation 5 Digital Console Slim - 825GB",
  "brand": "Sony", "upc": "...",
  "price": 599, "wasPrice": null, "discountPercent": null, "currency": "USD",
  "isRollback": false, "isClearance": false,
  "inStock": true, "availability": "IN_STOCK",
  "rating": 4.6, "reviewCount": 15104,
  "seller": { "name": "Walmart.com", "isWalmart": true, "rating": null },
  "fulfilledByWalmart": false,
  "categoryPath": ["Video Games", "PlayStation", "PlayStation 5", "PlayStation 5 (PS5) Consoles"],
  "images": ["https://i5.walmartimages.com/..."],
  "specifications": { "Brand": "Sony", "...": "..." },
  "variants": [{ "dimension": "Configuration", "options": [{ "name": "PS5 Digital", "available": true }] }],
  "reviewAspects": [{ "name": "Value For Money", "mentions": 218 }],
  "scrapedAt": "2026-11-01T17:00:00.000Z"
}
```

Failed pages are returned as `{ "error": true, "url": ..., "message": ... }` and are **not charged**.

### Pricing

Pay per event: **$4.50 per 1,000 products** ($0.0045 per successfully scraped product). Errors and 404s are free. Proxy/compute costs are included.

### Use from AI agents (MCP)

Connect Claude, ChatGPT, Cursor or any MCP client to `https://mcp.apify.com?tools=pathready/walmart-product-scraper`. The agent can then answer prompts like *"What is the current Walmart price and stock for walmart.com/ip/10450114?"* by calling this Actor with:

```json
{ "itemIds": ["10450114"], "includeVariants": false, "includeSpecs": false }
```

Minimal input = fast, cheap answers (about $0.0045 per product).

### FAQ

- **How much does it cost?** $4.50 per 1,000 products; 100 products ≈ $0.45. Failed pages are free.
- **Can I monitor prices daily?** Yes — create an Apify Schedule and use webhooks or integrations (Google Sheets, Slack, Zapier, Make) for alerts.
- **Why a residential proxy?** Walmart blocks datacenter IPs. The Actor uses Apify Residential US proxy (included in the price), rotates browser fingerprints and sessions, and retries each page up to 4 times. In tests 10/10 product pages succeeded.
- **Is it legal?** It collects publicly available product information only — no personal data, no login. You are responsible for how you use the data.
- **Does it scrape reviews text?** Not yet — rating, count and review aspects only.

### Limitations

- US walmart.com only; prices reflect a default location (no store/ZIP selection yet).
- Keyword search is experimental and currently mostly blocked by Walmart.
- Walmart changes its pages often; we maintain the parser — report issues and they're fixed fast.

# Actor input Schema

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

List of Walmart.com product page URLs, each as an object {"url": "https://www.walmart.com/ip/<itemId>"}. Best and most reliable input. Example: \[{"url":"https://www.walmart.com/ip/10450114"}]. Provide productUrls and/or itemIds.

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

List of Walmart item IDs as strings — the numeric ID at the end of a /ip/ URL (e.g. "10450114" from walmart.com/ip/10450114). Use this when you know IDs instead of URLs.

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

EXPERIMENTAL keyword search (e.g. \["air fryer"]). Walmart blocks most search pages, so this often returns 0 items. AI agents: prefer productUrls or itemIds.

## `maxResultsPerSearch` (type: `integer`):

Maximum products returned per search keyword (1–500). Only used with searchQueries. Each product is billed.

## `includeVariants` (type: `boolean`):

If true, include variant options (size, color, configuration) with availability. Set false for faster, smaller output.

## `includeSpecs` (type: `boolean`):

If true, include the specifications table and long product description. Set false for price/stock-only monitoring.

## `maxRetries` (type: `integer`):

How many times to retry a blocked or failed page with a new proxy session (1–10). Default 4 is fine for most uses.

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

Leave as default. Apify Residential US proxy is required (Walmart blocks datacenter IPs); proxy cost is included in the price.

## Actor input object example

```json
{
  "productUrls": [
    {
      "url": "https://www.walmart.com/ip/10450114"
    }
  ],
  "itemIds": [],
  "searchQueries": [],
  "maxResultsPerSearch": 20,
  "includeVariants": true,
  "includeSpecs": true,
  "maxRetries": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

All scraped products (price, stock, seller, rating, specs, variants).

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

Counts of products scraped and failed.

# 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 = {
    "productUrls": [
        {
            "url": "https://www.walmart.com/ip/10450114"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("pathready/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 = {
    "productUrls": [{ "url": "https://www.walmart.com/ip/10450114" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("pathready/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 '{
  "productUrls": [
    {
      "url": "https://www.walmart.com/ip/10450114"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call pathready/walmart-product-scraper --silent --output-dataset

```

## MCP server setup

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