Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Inventory monitoring

Inventory monitoring is tracking whether products are in stock, out of stock or back in stock on retailer and competitor websites, per variant and per store. Zenrows reads availability from protected product pages, sets the store or postcode when stock is local, and rechecks your SKU list on a schedule, so you can alert on every change.

Updated

Sample output: one availability check
{
  "url": "https://www.example-retailer.com/ip/air-fryer-5qt/30411",
  "sku": "30411",
  "checked_at": "2026-10-17T07:00:12Z",
  "online": {
    "status": "out_of_stock",
    "previous_status": "in_stock",
    "changed_at": "2026-10-17T07:00:12Z",
    "message": "Out of stock online"
  },
  "variants": [
    { "variant": "Black", "status": "out_of_stock" },
    { "variant": "White", "status": "limited", "message": "Only 3 left" }
  ],
  "stores": [
    { "store_id": "1873", "zip": "78704", "pickup": "today", "status": "in_stock" },
    { "store_id": "2210", "zip": "78745", "pickup": null, "status": "out_of_stock" }
  ],
  "price": 79.0,
  "currency": "USD"
}
Illustrative: a stockout online while one nearby store still offers same-day pickup.

What inventory monitoring teams track

Pricing teams want competitor stockouts; brands, their availability per retailer; buyers, restock alerts.

JobData you collectTypical sources
Competitor stockout detection Out-of-stock status and duration per SKU Walmart, Target, Best Buy, Amazon, Home Depot
Retail availability for brands Whether your products are buyable, per retailer and region Retailer product pages per market
Store-level stock Availability and pickup per store or postcode Target, Walmart, Kroger, Currys, MediaMarkt store pages
Restock and drop alerts Unavailable to available, timestamped Sneaker, toy, console and collectible pages
Distributor stock and lead times Quantity on hand, lead time, minimum order Mouser, Digi-Key
Low-stock signals "Only N left" and quantity limits Product pages, cart quantity selectors

Why stock monitoring gives false readings

The costly error is a false out-of-stock: a blocked or half-loaded page logged as unavailable, firing needless alerts and repricing.

What it looks like

No status in the raw HTML

How Zenrows handles it

Browser rendering waits for the stock element, or returns the stock XHR call itself

How to monitor inventory with Zenrows

  1. List what to watch: URL, variant and, for local stock, store IDs or postcodes.
  2. Read the status with Adaptive Stealth Mode and a CSS selector.
  3. Set the location when stock is local: pick a store or postcode in a Browser session.
  4. Recheck on a schedule in Batch every few hours; compare with the last status.
  5. Alert on changes only, treating a failed request as unknown, never out of stock.
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": PRODUCT_URL,
    "mode": "auto",  # Adaptive Stealth Mode
    # example selectors: replace them with the retailer's own
    "css_extractor": json.dumps({
        "availability": "[data-testid='fulfillment']",
        "add_to_cart": "button.add-to-cart",
    }),
}
r = requests.get("https://api.zenrows.com/v1/", params=params)
if r.ok:
    print(r.json())  # status text and whether the button exists
else:
    print("unknown, retry later:", r.status_code)

What success looks like

MeasureWhat good looks likeHow to check it
Detection lag Changes appear within one check interval Change timestamps against the schedule
False out-of-stock rate Recorded stockouts are real on the page Weekly manual check of a sample
Unknown rate Failed checks stay small, visible and retried Unknown checks per retailer
Variant and store coverage Every tracked variant and store fresh each cycle Missing rows per run
Alert precision Alerts on real flips, not flicker Alerts reversed by the next check
Run time per cycle The full list done well inside the interval Batch job duration against the gap to the next run

Inventory monitoring FAQ

  • Tracking availability on other stores: in stock, out, limited or back, and where. Retailers reprice on competitor stockouts, brands check they are buyable, resellers get restock alerts.

  • As fast as stock moves: daily for furniture or industrial parts, every few hours for electronics, toys and grocery promotions, every few minutes for a limited release on a small URL list.

  • Only when shown: "Only 3 left", cart limits, a distributor's quantity on hand. Capture those as fields; otherwise record the status and when it changed.

  • Stock follows the session's store. In a Browser session, pick the store or postcode and read pickup status, per store. Where the URL or a cookie sets the store, plain Fetch works.

  • Log failed requests as unknown and retry. Confirm an element only real product pages have before reading status. For high-value items, alert after two consecutive readings.

  • Recheck your URLs often: minutes for limited releases, hours for everyday items. Store timestamped statuses; alert on two consecutive unavailable-to-available readings, with URL and variant, so the buyer acts before it sells out.

Turn the live web into usable data.