---
title: "Inventory monitoring"
description: "Inventory monitoring from retailer pages: in stock, out of stock, restocks and store-level availability on Walmart, Target and Amazon, with change alerts."
canonical: https://www.zenrows.com/use-cases/inventory-monitoring
updated: 2026-10-26
---

# 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.

## Sample output: one availability check

```json
{
  "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.

| Job | Data you collect | Typical 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 breaks | What it looks like | How Zenrows handles it |
|---|---|---|
| Availability loaded after the page | No status in the raw HTML | Browser rendering waits for the stock element, or returns the stock XHR call itself |
| Blocks read as stockouts | A CAPTCHA page lacks "Add to cart", so it reads as out of stock | Zenrows' stealth gets through Akamai and PerimeterX; a failure returns an error status to retry |
| Stock depends on location | Availability differs by store, ZIP or postcode | Browser sessions pick the store; geotargeting sets the country |
| Variant-level stock | The default colour is in stock, yours is not | Render every variant, or fetch each variant's URL |
| Short-lived restocks | A restock sells out between daily checks | Batch rechecks large lists more often |

## 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.

```python Python
# 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)
```

```javascript Node.js
// npm install playwright
import { chromium } from "playwright";

const browser = await chromium.connectOverCDP(
  "wss://browser.zenrows.com?apikey=YOUR_ZENROWS_API_KEY"
);
const page = await browser.newPage();
await page.goto(PRODUCT_URL);

// Choose the store whose stock you want to read (example selectors)
await page.click("button.change-store");
await page.fill("input[name='zip']", "78704");
await page.click("button.store-search");
await page.click(".store-result:first-child button.select");

const status = await page.textContent(".fulfillment-pickup");
console.log({ zip: "78704", status });
await browser.close();
```

```bash CLI
npx -y @zenrows/cli init
# One product's availability as a field
zenrows extract PRODUCT_URL --css '{"availability":".availability-message"}'
# Every few hours: jobs.jsonl holds one {"url": "..."} line per SKU and variant
zenrows batch create jobs.jsonl --wait
zenrows batch results JOB_ID --out stock.jsonl
```

```text Claude Code (MCP)
# Connect once
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

# Then ask:
Use Zenrows to check these five Walmart and Target product pages and tell me, for each one, whether it is in stock online, which variants are out of stock, and any "Only N left" message shown.
```

## Which Zenrows product fits

| If you need to | Use | Why |
|---|---|---|
| Check online availability on a product page | [Fetch](/products/fetch) | A CSS selector returns the stock message as a field |
| Read stock for one store or postcode | [Browser](/products/browser) | Playwright or Puppeteer uses the store picker |
| Recheck thousands of SKUs every few hours | [Batch](/products/batch) | One job per run, results by webhook |
| Ask an agent whether items are available | [MCP Server](/mcp) | Claude and other MCP clients check pages on request |

## What success looks like

| Measure | What good looks like | How 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

### What is inventory monitoring on competitor websites?

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.

### How often should I check stock?

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.

### Can I see exact stock quantities?

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.

### How do I monitor store-level availability?

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.

### How do I avoid false out-of-stock alerts?

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.

### How do I set up restock alerts?

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.

## Related use cases

- [Competitor price scraping](https://www.zenrows.com/use-cases/price-scraping.md): Competitor prices, promotions, shipping and stock per SKU from retailers and marketplaces, refreshed on your schedule.
- [Dynamic pricing data](https://www.zenrows.com/use-cases/dynamic-pricing.md): Live competitor price, stock and demand inputs for a repricing engine, on demand or on a schedule.
- [Retail data scraping](https://www.zenrows.com/use-cases/retail-data.md): Store locations, store-level prices, promotions and click-and-collect stock from grocery and high-street chains.
- [Ecommerce web scraping](https://www.zenrows.com/use-cases/ecommerce-web-scraping.md): Product, price, stock, review and seller data from Amazon, Walmart, eBay and Shopify stores, as JSON.
- [Website change monitoring](https://www.zenrows.com/use-cases/website-change-monitoring.md): Pricing pages, policies, stock status and IR pages fetched on a schedule and diffed to catch real changes.
- [Supply chain intelligence](https://www.zenrows.com/use-cases/supply-chain-intelligence.md): Container milestones, supplier stock and disruption notices from carrier, supplier and port websites, as JSON.

Start free: https://app.zenrows.com/register. Docs: https://docs.zenrows.com

## Structured data



<script type="application/ld+json">
{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://www.zenrows.com/use-cases/inventory-monitoring#webpage","url":"https://www.zenrows.com/use-cases/inventory-monitoring","name":"Inventory monitoring","description":"Inventory monitoring from retailer pages: in stock, out of stock, restocks and store-level availability on Walmart, Target and Amazon, with change alerts.","isPartOf":{"@id":"https://www.zenrows.com/#website"},"inLanguage":"en","datePublished":"2026-10-26","dateModified":"2026-10-26","about":{"@type":"Thing","name":"inventory monitoring"},"keywords":"inventory monitoring, stock monitoring, availability monitoring, out of stock monitoring, competitor stock tracking, restock alerts, product availability tracking","publisher":{"@type":"Organization","name":"Zenrows","url":"https://www.zenrows.com/"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.zenrows.com/"},{"@type":"ListItem","position":2,"name":"Use cases","item":"https://www.zenrows.com/use-cases"},{"@type":"ListItem","position":3,"name":"Inventory monitoring","item":"https://www.zenrows.com/use-cases/inventory-monitoring"}]},{"@type":"FAQPage","@id":"https://www.zenrows.com/use-cases/inventory-monitoring#faq","mainEntity":[{"@type":"Question","name":"What is inventory monitoring on competitor websites?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"How often should I check stock?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Can I see exact stock quantities?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"How do I monitor store-level availability?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"How do I avoid false out-of-stock alerts?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"How do I set up restock alerts?","acceptedAnswer":{"@type":"Answer","text":"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."}}]}]}
</script>
