Website Change Monitor — Price and Content Diff
Pricing
from $1.00 / 1,000 page checkeds
Website Change Monitor — Price and Content Diff
Monitor any public web page for price, stock, or content changes. Runs on a schedule, stores a persistent snapshot, and reports only real differences with a diff and timestamp. Useful for competitor pricing, product availability, and policy pages. Pay per check, no browser setup.
Pricing
from $1.00 / 1,000 page checkeds
Rating
0.0
(0)
Developer
uzi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Website Change Monitor — Price, Stock & Content Diff Tracker
Monitor any web page and get structured change events: price drops and increases, restocks, out-of-stock alerts, and exact added/removed content lines. Each run compares the live page with the snapshot stored by the previous run — state persists across runs in a named key-value store, so you just schedule it daily/hourly and read the dataset.
No browser needed — fast, cheap HTTP fetching with browser-like headers (got-scraping).
What it does
- Fetches every target URL (30s timeout, redirects followed, 2 retries on 429/5xx).
- Extracts comparable content in
TEXT,HTML, orJSONmode (optionalcssSelectorscoping). - Removes lines matching your
ignorePatterns(timestamps, CSRF tokens, view counters) so they don't trigger false changes. - Detects price (JSON-LD
offers.price→meta[property=product:price:amount]→ microdata[itemprop=price]→ currency-symbol regex) and stock status (JSON-LDavailability→ visible-text patterns like "sold out" / "add to cart"). - Compares with the previous snapshot (hash + order-aware line diff) and pushes one record per
target:
FIRST_RUN,CHANGED,UNCHANGED, orERROR. Errors are always reported.
Input
| Field | Type | Default | Description |
|---|---|---|---|
targets | array | required | One entry per page: url (required), label, cssSelector, checkPrice (default true) |
mode | select | TEXT | TEXT visible text · HTML raw markup · JSON pretty-printed parsed JSON (falls back to TEXT on parse failure) |
onlyReportChanges | boolean | false | Skip UNCHANGED records; change events and ERRORs are still saved |
ignorePatterns | string list | — | Regexes; any line matching one is dropped before comparison |
stateNamespace | string | default | Isolates snapshot stores when several monitors share one Apify account |
maxDiffLines | integer | 40 | Cap per side on addedLines / removedLines |
proxyConfiguration | object | — | Optional Apify proxy; enable if targets rate-limit datacenter traffic |
Tips
cssSelectorscopes both comparison and price/stock detection to the first matching element — e.g.div.product_mainto ignore the footer. If it stops matching (page redesign), the run reportsERRORinstead of silently wiping your baseline.- In
JSONmode the DOM is not parsed, so price/stock detection falls back to the text regex. - A price counts as changed at ±0.5% or more (no alerts for rounding noise).
Output fields (dataset)
| Field | Description |
|---|---|
_type | Always "change" |
url, label | The monitored target and your label |
status | FIRST_RUN | UNCHANGED | CHANGED | ERROR |
changed | true for every record that is not UNCHANGED |
changeTypes | PRICE_DROP, PRICE_INCREASE, RESTOCK, OUT_OF_STOCK, CONTENT_ADDED, CONTENT_REMOVED, CONTENT_CHANGED |
firstSeenAt, previousCheckedAt, lastCheckedAt, scrapedAt | ISO timestamps |
priceCurrent, pricePrevious, priceChangePct, currency | Price now vs. previous run |
stockStatus | IN_STOCK | OUT_OF_STOCK | UNKNOWN |
addedLines, removedLines | Line-level diff, capped at maxDiffLines per side |
contentLength, contentHash | Characters compared and hash of normalized content |
summary | One-line human-readable summary |
errorMessage | Detail when status is ERROR, else null |
Example change event
{"_type": "change","url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","label": "priced product","status": "CHANGED","changed": true,"changeTypes": ["PRICE_DROP", "RESTOCK"],"firstSeenAt": "2026-11-04T09:00:00.000Z","previousCheckedAt": "2026-11-03T09:00:04.112Z","lastCheckedAt": "2026-11-04T09:00:02.540Z","priceCurrent": 47.18,"pricePrevious": 51.77,"currency": "GBP","priceChangePct": -8.87,"stockStatus": "IN_STOCK","addedLines": ["<p class=\"availability\">In stock (25 available)</p>"],"removedLines": ["<p class=\"availability\">In stock (19 available)</p>"],"contentLength": 1521,"contentHash": "9c3fce8a1b2d4e5f6a7b8c9d0e1f2a3b4c5d6e7f","summary": "Change detected: price dropped 51.77 GBP -> 47.18 GBP; 1 line(s) added, 1 line(s) removed.","errorMessage": null,"scrapedAt": "2026-11-04T09:00:02.540Z"}
Scheduling advice
- Daily 1–2×: competitor prices, landing pages, compliance pages.
- Every 1–4 hours: stock status and restocks on fast-moving products.
- Always on:
onlyReportChanges: true— the dataset then contains only events, one run per day keeps storage small. AddignorePatternsfor anything volatile (counters, session IDs, dates). - The first run stores a baseline (
FIRST_RUN); meaningful events start from the second run. - State lives in the named key-value store
change-monitor-state-v1. To re-baseline a page, delete its key, or use a newstateNamespace.
Use cases
- Competitor price tracking — schedule over 50 competitor product URLs; get
PRICE_DROPevents with the exact percentage the same day, without visiting each site. - Restock alerts — monitor sold-out SKUs; a
RESTOCKevent (OUT_OF_STOCK → IN_STOCK) tells your team to buy before stock disappears again. - Compliance & brand protection — watch reseller/marketplace pages for unauthorized price or claims changes; the line diff gives you exactly what was edited, when.
- Change-aware scraping pipelines — run this first; only re-scrape pages whose
changeTypesinclude a content change, saving crawl budget on stable pages.
Fair use & ethics
- Monitor pages you are allowed to access; respect robots.txt and the target site's terms. Do not use this Actor to bypass paywalls, logins, or access controls — it only fetches publicly reachable pages and never submits credentials.
- Keep schedules reasonable (hourly is plenty for most sites) and use
proxyConfigurationresponsibly; aggressive polling can get your IP blocked and burdens the target. - Price/stock detection uses published structured data and visible text; verify critical alerts (e.g. a big price drop) before acting on automated detection.