# Walmart Price & Stock Monitor - Products, Ratings & Categories (`neverempty/walmart-price-stock-monitor`) Actor

Walmart price and stock monitor: get price, was-price, stock, seller, rating, review count and the 1-5 star breakdown for any walmart.com item ID or URL, or every product in a category. Monitor mode returns only price drops and stock changes since the last run. No API key or start fee.

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

## Pricing

from $2.89 / 1,000 product returneds

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 & Stock Monitor - Products, Ratings & Categories

**Walmart price tracker and back-in-stock alert for walmart.com:** give it item IDs, product links or category pages and get one row per product with the price, was-price, stock, seller, rating, review count and the 1 to 5 star breakdown. Turn on monitor mode and each scheduled run returns **only the price drops, restocks, stock-outs and newly listed products** since the last run, with the previous price next to the new one.

Use it like a Walmart product API: run it from the Apify API or on a schedule with IDs such as `10450114` or links such as `https://www.walmart.com/browse/electronics/3944`, and read the results as JSON, CSV or Excel. No Walmart account or API key is needed. You pay only for product rows; there is no start fee, and inputs that return nothing are free.

### What you get for each product

- **Price and was-price** in USD, as walmart.com shows them online. The was-price is only filled when the product is cheaper than its listed earlier price right now (for example a Rollback).
- **Stock**: `inStock` and Walmart's availability status (`IN_STOCK`, `OUT_OF_STOCK`).
- **Seller**: seller ID and offer ID on every row; the seller name on category rows and on products sold by Walmart.com.
- **Ratings in one row**: average rating, review count, the share of reviewers who recommend the product, and the number of 1, 2, 3, 4 and 5 star reviews.
- **Product details**: name, product type, Walmart's category path, image URL and the product page URL.
- **From category pages**: the category name, the product's position in Walmart's order (`rank`), the tile badge (`Rollback`, `Best seller`, `Only at Walmart`) and whether the tile is sponsored.

### Monitor mode: only what changed

Turn on `onlyChanges` and schedule the Actor (daily, or every few hours for deals):

- **First run**: records every product's price and stock as the starting point. Its dataset has no product rows, only one free `baseline-recorded` note; alerts start from the second run.
- **Later runs**: return only products whose **price dropped**, that went **out of stock** or came **back in stock**, and (for categories) **newly listed** products. Each row has `changeType`, `changeTypes`, `previousPrice`, `previousInStock` and `previousCheckedAt`.
- **Price increases** are remembered quietly, or returned too if you turn on `includePriceIncreases`.
- Products with no change are not returned and not charged.

Use `watchName` to keep separate memories for different schedules, and `resetMonitoringState` to start a watch again.

### Why this one

- **Stable prices.** Every product is read at Walmart's national online price, so a price does not jump because a run went through a different region. On 2026-11-08, 18 products read twice in a row came back with the same price and stock, and monitor mode reported 0 false changes.
- **Ratings you can check.** The 1 to 5 star counts add up to the review count shown on Walmart (PlayStation 5 Digital Slim: 15,344 reviews = 1,126 + 231 + 362 + 814 + 12,811).
- **No wrong prices sold.** A product that Walmart shows without a price comes back as a free `no-price` row, never with a guessed price. An item ID that does not exist comes back as a free `not-found` row.
- **One product, one charge per run.** A product that appears twice in a category, or in two of your categories, is returned and charged once.
- **Big lists.** On 512 MB, a 300-product category was read in 52 seconds and 250 item IDs in about 2 minutes (2026-11-08); times vary with Walmart's response.

### Input

```json
{
  "productIds": [
    "10450114",
    "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051"
  ],
  "categoryUrls": [
    "https://www.walmart.com/browse/electronics/3944"
  ],
  "maxItemsPerCategory": 200,
  "onlyChanges": false
}
```

| Field | What it does |
|---|---|
| `productIds` | Walmart item IDs or product links (`walmart.com/ip/...`), one per line, up to 2,000 per run. Each one comes back as one row. |
| `categoryUrls` | Walmart category pages (`walmart.com/browse/...`) copied from the address bar, up to 50 per run. Filters in the address (such as a brand or price filter) are kept. |
| `maxItemsPerCategory` | Products to read per category, in Walmart's order (default 200, up to 1,250). |
| `onlyChanges` | Monitor mode (see above). |
| `includePriceIncreases` | Monitor mode: also return price increases. |
| `watchName` | Monitor mode: a name for a separate memory. |
| `resetMonitoringState` | Monitor mode: forget this watch's memory and start again. |
| `concurrency` | Pages read at the same time (default 5, up to 10). |
| `requestTimeoutSecs` | Seconds to wait for one page before asking again (default 30). |

If both lists are empty, two example products are read.

### Output example

```json
{
  "status": "ok",
  "source": "product",
  "itemId": "17852302051",
  "name": "PlayStation 5 Digital Console Slim - 825GB",
  "price": 599,
  "wasPrice": null,
  "currency": "USD",
  "availability": "IN_STOCK",
  "inStock": true,
  "sellerName": "Walmart.com",
  "productType": "Video Game Consoles",
  "categoryPath": "Video Games > PlayStation > PlayStation 5 > PlayStation 5 (PS5) Consoles",
  "rating": 4.6,
  "reviewCount": 15344,
  "recommendedPercent": 85,
  "ratingCounts": { "1": 1126, "2": 231, "3": 362, "4": 814, "5": 12811 },
  "url": "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051"
}
```

| Column | Meaning |
|---|---|
| `price`, `wasPrice` | The current online price in USD, and the earlier price only when the current price is lower. |
| `inStock`, `availability` | Stock status as walmart.com shows it online. |
| `sellerName`, `sellerId`, `offerId` | Who sells the offer shown, and its IDs. |
| `rating`, `reviewCount`, `recommendedPercent`, `ratingCounts` | Average rating (as shown on the page, one decimal), number of reviews, share of reviewers who recommend it, and reviews per star. |
| `source`, `input` | `product` for a row from your ID list, `category` for a row from a category page, and what you typed. |
| `categoryUrl`, `categoryTitle`, `rank`, `badge`, `isSponsored` | Category rows: the category, the position in Walmart's order, the tile badge and the sponsored flag. |
| `changeType`, `changeTypes`, `previousPrice`, `previousInStock`, `previousCheckedAt` | Monitor mode only: `price-drop`, `out-of-stock`, `back-in-stock`, `new-product`, `price-increase`, and the values at the last check. |
| `status`, `note` | `ok` for a product row; other values are free rows that say why (below). |

#### Free rows (never charged)

| `status` | Meaning |
|---|---|
| `no-price` | Walmart shows the product without a price right now (usually out of stock or no seller). |
| `not-found` | Walmart has no product with this item ID, or no category at this address. |
| `no-products` | Walmart lists no products in that category right now. |
| `bad-input`, `duplicate-input` | Not a walmart.com product or category address (for example a search page or another country's store), or the same input twice. |
| `unreadable`, `blocked` | Walmart did not give a usable page for this input after several attempts. Run the same input again later. |
| `baseline-recorded`, `no-change`, `budget-reached` | Monitor mode and spending-limit notes. |

### Pricing

Pay per event, no start fee:

- `product-returned`: one per product row with a price from your ID list. These rows carry the full rating breakdown, product type and category path.
- `listing-returned`: one per product row with a price from a category page. It costs less per row than `product-returned`; the rates are on the Pricing tab.

In monitor mode, only the change rows you receive are charged, at the same two rates.

The first monitor run, products without a price, unchanged products in monitor mode and every note row are free. If you set a maximum charge for a run, the Actor stops before going over it and tells you so; in monitor mode, changes that did not fit are returned on the next run.

### Good to know

- Prices are walmart.com's national online prices. Prices in a specific store, for pickup at a chosen store, or for a chosen ZIP code can differ.
- On product rows from the ID list, the seller name is filled for products sold by Walmart.com; for Marketplace sellers you get the seller ID. Category rows carry the Marketplace seller's name as well.
- Search result pages are not read. Open the category in Walmart's menu and paste its `/browse/` address instead; filters in that address are kept.
- Walmart shows up to 25 pages of a category, so one category address gives up to 1,250 products. For a bigger department, add its sub-categories.
- Review texts are not included; the rows have the rating numbers.

### Use cases

- Walmart price-drop and restock alerts on the products you sell, resell or buy, delivered by Apify's schedule and integrations (email, Slack, Google Sheets).
- Competitor price monitoring for a brand or a Marketplace seller: watch their item IDs daily.
- Category snapshots for market research: price, rating, review count and seller for every product in a category, in Walmart's order.
- Rating tracking: follow the star breakdown and recommend share of your products over time.

### FAQ

**Is there a Walmart API for product prices?**
Walmart's own APIs are for its sellers and partners. This Actor gives you the price, stock, seller and ratings as JSON from an item ID or a category page, with no key or login.

**How do I get alerted when a Walmart price drops?**
Turn on `onlyChanges`, schedule the Actor daily, and connect the dataset to email or Slack. Only price drops and stock changes come through.

**How do I track when a Walmart product is back in stock?**
Put the item IDs in `productIds`, turn on `onlyChanges` and schedule it. A row with `changeType` `back-in-stock` comes through when the product returns.

**Where do I find the Walmart item ID?**
It is the number at the end of the product link: in `walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051` it is `17852302051`. You can also paste the whole link.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

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

Walmart item IDs or product links, one per line (up to 2,000 per run), like 10450114 or a walmart.com/ip/... link. Each one comes back as one row with price, stock, seller and ratings. If both lists are empty, two example products are read.

## `categoryUrls` (type: `array`):

Walmart category pages (walmart.com/browse/...), one per line (up to 50 per run), copied from the address bar, like https://www.walmart.com/browse/electronics/3944. Every product of the list comes back in Walmart's order with price, was-price, stock, seller and rating. Search pages cannot be used.

## `maxItemsPerCategory` (type: `integer`):

How many products to read from each category, in Walmart's order (1 to 1,250; Walmart shows up to 25 pages). Empty means 200.

## `onlyChanges` (type: `boolean`):

Remembers the price and stock of every product. The first run records the starting point (free, no product rows). Later runs with the same input return only products whose price dropped, that went out of stock or came back in stock, and (for categories) newly listed products, each with the previous price. Products with no change are not returned and not charged.

## `includePriceIncreases` (type: `boolean`):

Monitor mode only: also return products whose price went up. Off means price increases are remembered quietly and not returned.

## `watchName` (type: `string`):

Keeps a separate memory per name, so two schedules with different lists do not mix. Letters, digits, dot, dash and underscore, up to 40 characters. Empty means the watch called default.

## `resetMonitoringState` (type: `boolean`):

Monitor mode only: forget the remembered prices of this watch name first, so this run records a new starting point.

## `concurrency` (type: `integer`):

How many Walmart pages are read at the same time (1 to 10). Empty means 5.

## `requestTimeoutSecs` (type: `integer`):

How long to wait for one page before asking again (5 to 60). Empty means 30.

## Actor input object example

```json
{
  "productIds": [
    "10450114",
    "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051"
  ],
  "onlyChanges": false,
  "includePriceIncreases": false,
  "resetMonitoringState": false
}
```

# Actor output Schema

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

One row per Walmart product: item ID, name, price, was-price, stock, seller, rating, review count, star breakdown, image and product URL, with the category and rank it came from. In monitor mode only price drops and stock changes, with the previous price. An input that cannot be read comes back as a free row that says why.

# 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": [
        "10450114",
        "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/walmart-price-stock-monitor").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": [
        "10450114",
        "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("neverempty/walmart-price-stock-monitor").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": [
    "10450114",
    "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/17852302051"
  ]
}' |
apify call neverempty/walmart-price-stock-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neverempty/walmart-price-stock-monitor"
        }
    }
}
```

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/13G7vqZR5M1YclFzL/builds/IltWJTMLTUhpYQhUH/openapi.json
