Shopify & WooCommerce Price & Stock Monitor avatar

Shopify & WooCommerce Price & Stock Monitor

Pricing

from $10.00 / 1,000 store scanneds

Go to Apify Store
Shopify & WooCommerce Price & Stock Monitor

Shopify & WooCommerce Price & Stock Monitor

Competitor price and stock monitoring for Shopify and WooCommerce. Scan whole stores or product pages. Diff mode flags price drops, rises, sold out, back in stock, new and removed variants. Optional webhooks.

Pricing

from $10.00 / 1,000 store scanneds

Rating

0.0

(0)

Developer

Kayorama

Kayorama

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Track the price, compare-at price and stock of every product variant in a Shopify or WooCommerce store. Point it at a whole store, at single product pages, or both. Run it on a schedule in diff mode and it tells you what changed since the last run: price drops and rises (with the percentage), items that sold out, items that came back in stock, and variants that were added or removed.

It only reads public data that any shopper can see. No logins, no captcha solving, and it follows each store's robots.txt.

Use cases

  • Competitor price monitoring on Shopify and WooCommerce stores
  • Daily stock and sold-out alerts for key SKUs or whole catalogs
  • Tracking sale / compare-at prices across variants
  • Webhook alerts when a rival drops a price or comes back in stock
  • One-off catalog snapshots before a promo or a pricing review

What you get

One row per variant, for example a shoe in size 9:

FieldExample
storeAllbirds
productTitleWomen's Allbirds Flip Flop - Dusty Pink
variantTitle5
skuA12513W050
price50
compareAtPricenull (or the "was" price when on sale)
currencyUSD
inStockfalse
onSale, discountPcttrue when the compare-at price is higher than the price
urllink straight to that variant
scannedAtISO timestamp

Also included: storeUrl, platform, productId, variantId, vendor, productType, productUrl and source (which endpoint the data came from).

In diff mode each row also has:

  • changeType: first_scan, unchanged, price_drop, price_rise, sold_out, back_in_stock, new or removed
  • changeTypes: all changes for that variant (a variant can drop in price and sell out in the same run)
  • previousPrice, priceChangePct (for example -20.5), previousInStock

After the variant rows of each store there is one store-scanned summary row with product, variant and change counts, plus a plain message. Stores that robots.txt does not let us read get a store-skipped row, and stores that fail get a store-error row. The dataset has two ready-made views: Variants and Store summaries.

Input

FieldWhat it does
storeUrlsStore homepages to scan in full
productUrlsSingle product pages to watch
platformsauto (default), shopify or woo
scheduleModebaseline (default) lists everything. diff compares with the previous run
outputModeall (default) writes every variant. changesOnly writes only changed variants (diff mode only)
stateStoreNameNamed key-value store that keeps snapshots between runs (default shopify-woo-monitor-state)
webhookUrlOptional. We POST each change and each store summary as JSON
maxProductsProducts per store, default 500
requestDelayMsMinimum wait between requests to the same store, default 1000 ms
proxyConfigurationOptional Apify Proxy for WooCommerce shop page crawling

You need at least one store URL or product URL. Old inputs that only use storeUrls keep working.

Example: a store and one product page, changes only

{
"storeUrls": ["https://www.allbirds.com"],
"productUrls": ["https://fellowproducts.com/products/opus-gen-2-hopper-lid"],
"scheduleMode": "diff",
"outputMode": "changesOnly",
"maxProducts": 500
}

How diff mode works

  1. The first diff run has nothing to compare with. It writes every variant with changeType: "first_scan", saves a snapshot and charges no changes.
  2. Each later run compares with the saved snapshot, writes the result and saves the new snapshot.
  3. Snapshots live in a named key-value store (stateStoreName), so they survive between runs. Keys are baseline-<host> for whole stores and pages-<host> for product pages. If you run separate watch lists, give each one its own stateStoreName.

A few rules keep the alerts honest:

  • If a store has more products than maxProducts, we only saw part of the catalog, so new and removed are not reported for that run. Price and stock changes still are. Raise maxProducts above the catalog size if you want them.
  • For product pages, removed is only reported when the page loaded fine and the variant is gone. A page that fails to load keeps its old snapshot until next time.
  • Baseline mode also saves a snapshot, so you can start with a baseline run and switch the schedule to diff.

Where the data comes from

  • Shopify stores: the public /products.json feed, 250 products per page, plus /meta.json for the store name and currency.
  • Shopify product pages: the public <product-url>.js endpoint, which has stock per variant (prices there are in cents and converted). If that fails we read the schema.org data on the page.
  • WooCommerce stores: the public Store API (/wp-json/wc/store/v1/products). If it is off, we crawl the shop pages and then the product sitemap, reading schema.org data where possible. A WooCommerce variable product shows up as one row with its lowest price, since the Store API list does not include each variation.
  • Other product pages: schema.org Product data on the page.

Being a polite visitor

  • robots.txt is checked for every store before the first request. Paths it disallows are skipped and listed in skippedByRobots in the summary row. If robots.txt itself returns a server error, we treat the whole store as off limits for that run.
  • Requests to the same store are spaced by requestDelayMs (1 second by default). A longer Crawl-delay in robots.txt wins, up to 60 seconds.
  • On HTTP 429 we wait as long as the Retry-After header asks. Without that header we back off 2, 4, 8, 16 seconds (capped at 60), and give up after 4 retries. If a store asks us to wait more than 2 minutes we stop for that store and write a store-error row. The same retry logic covers 500, 502, 503 and 504.
  • A 403 or other block is recorded as a store-error. We do not try to get around it.

Pricing

This Actor uses pay per event:

EventPriceWhen
store-scanned$0.01Once per store per run. Product pages count by store, so 10 product pages on the same store cost the same as one. The variant rows for that store are included.
change-detected$0.002Once per change found in diff mode. A variant that drops in price and sells out in the same run counts as 2 changes.

Stores skipped because of robots.txt and stores that fail are not charged. The first diff run (the baseline) has no change charges. If you set a maximum cost per run, the Actor stops before going over it and says so in the summary.

Example: a daily diff run on 3 stores that finds 12 changes costs 3 x $0.01 + 12 x $0.002 = $0.054, plus normal platform usage.

Webhook

When webhookUrl is set, each change is sent as its own POST:

{
"type": "change-detected",
"changeType": "price_drop",
"legacyChangeType": "price_change",
"store": "Fellow",
"productTitle": "Opus Gen 2 Hopper Lid",
"variantTitle": "Black",
"sku": "1222BA-04",
"oldPrice": 10,
"newPrice": 7.95,
"priceChangePct": -20.5,
"currency": "USD",
"oldAvailable": true,
"newAvailable": true,
"url": "https://fellowproducts.com/products/opus-gen-2-hopper-lid?variant=48886080012388"
}

Each store summary (type: "store-scanned") is posted too. legacyChangeType carries the old names (price_change, stock_oos, stock_is, sku_new, sku_removed) so existing webhook receivers keep working.

Run summary

The run's own key-value store has a SUMMARY record with totals: stores charged, variant rows, changes and the status of each store.

Running locally

npm install
npm test
apify run

Put the input in storage/key_value_stores/default/INPUT.json.

Not sure what a site runs on? Website tech stack detector checks the homepage for Shopify, WooCommerce and the rest of the stack before you add the store here.

Changelog

  • 0.3.3: Related Actors link to the website tech stack detector.
  • 0.3
    • One row per variant in every mode, with compare-at price, currency, on-sale flag and a direct variant link.
    • Single product page URLs (productUrls), billed once per store.
    • Diff mode now keeps snapshots in a named key-value store, so changes are found across scheduled runs. The first diff run is a free baseline.
    • New change names: price_drop, price_rise (with %), sold_out, back_in_stock, new, removed. Webhooks still include the old names.
    • New outputMode input: all or changesOnly.
    • New stateStoreName input.
    • robots.txt support, calmer default pace (1 s), and proper 429 handling with Retry-After and capped backoff.
    • WooCommerce Store API rows now include currency and regular price.
  • 0.2: Store API and sitemap fallback for WooCommerce, pay per event.
  • 0.1: First release.