Build a Walmart price tracker for price drops and stock alerts

· All my Apify Actors

Build a Walmart price tracker for price drops and stock alerts

Walmart prices move. Rollbacks come and go, marketplace sellers reprice, and stock runs out. If you sell the same products, buy for resale, or just want one thing at the right price, checking the product pages by hand doesn't scale past a handful of items.

What you want is a list of products, checked on a schedule, that tells you only what changed. Here's how I set that up, and what Walmart's data looks like up close.

What to watch for

Getting the data

I packaged this as an Apify Actor, Walmart Scraper. A tracked product URL comes back with full details, like this (trimmed):

{
  "usItemId": "20223605761",
  "name": "DAIVOS 5QT Air Fryer with Viewing Window, 12 Cooking Presets, 1500W Fast , Even Cooking",
  "brand": "DAIVOS",
  "price": 59.39,
  "wasPrice": 99.99,
  "currency": "USD",
  "rating": 4.6,
  "reviewCount": 112,
  "availability": "In stock",
  "inStock": true,
  "sellerName": "Hongti Technology",
  "isWalmartSeller": false,
  "sellerRating": 4.875,
  "badges": ["In 500+ people's carts", "Deal"],
  "upc": "731555379906",
  "model": "AFT05018",
  "returnPolicy": "Free 90-day returns",
  "changeType": null,
  "previousPrice": null
}

changeType and previousPrice are null on a normal run. In monitor mode they say what changed.

Tracking specific products

Paste the product URLs you care about and turn on changes mode:

curl -X POST "https://api.apify.com/v2/acts/rjmacarthy~walmart-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "productUrls": [
      "https://www.walmart.com/ip/Ninja-Crispi-Glass-Air-Fryer/20054074604",
      "https://www.walmart.com/ip/20223605761"
    ],
    "monitorMode": "changes",
    "stateKey": "my-tracked-products"
  }'

Then:

  1. The first run outputs every product and saves it as the baseline under stateKey.
  2. Schedule it in Apify, daily or hourly.
  3. Later runs output only products that changed, with changeType set to price_drop, price_increase, out_of_stock or back_in_stock, and previousPrice for price changes.
  4. Send the rows to Slack, email or a sheet with a webhook or a Make, Zapier or n8n step.

The datasets of your scheduled runs form a price history.

Tracking a search or category

You can monitor keywords or searchUrls the same way, with sort (best_match, price_low, price_high or best_seller) and minPrice / maxPrice in US dollars. The monitor watches the top maxItems positions, so set it to the range you care about (40 is page 1). Use new mode if you only want products that weren't there before.

Pricing

Pay per event, no run fee beyond Apify's $0.00005 start event:

On the free Apify plan each run is limited to 5 page requests (about 200 search products, or fewer with details). Any paid plan removes the limit. You can also set a maximum cost per run.

It reads public product pages only, with no login and no personal data.