Website Change Monitor & Diff Alerts avatar

Website Change Monitor & Diff Alerts

Pricing

from $3.00 / 1,000 page checkeds

Go to Apify Store
Website Change Monitor & Diff Alerts

Website Change Monitor & Diff Alerts

Watch pages (terms, price lists, competitor sites, documentation) and report what changed between runs with a normalized text diff and severity.

Pricing

from $3.00 / 1,000 page checkeds

Rating

0.0

(0)

Developer

Daniel Michałek

Daniel Michałek

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

Watch any list of public pages — competitor pricing, terms and conditions, public price lists, documentation, job pages, regulatory notices — and get a precise answer to one question every run: what changed since last time? The Actor stores a normalized text snapshot of every page in a named key-value store, compares the current page with it and reports NEW, UNCHANGED, MINOR, CHANGED or ERROR together with the added and removed lines.

What it does

  • The prefilled example uses preview mode: one page is fetched and returned as PREVIEW with historySaved: false. No earlier snapshot is read or written, no comparison is claimed and no page-checked event is charged. Start and platform usage charges can still apply. Empty extracted content and wholly failed previews cause the run to fail. Disable preview before relying on monitoring.
  • To access an existing user-owned snapshot store, select its existing ID under existingSnapshotStore; this selection takes precedence over stateStoreName and requests read/write permission for that specific store. The selected store's ID and existence are checked, with no create-if-missing. Access control and cross-run behavior still depend on Apify and must be verified in Cloud.
  • Fetches each URL with timeouts, retries and polite per-host delays; no browser needed for server-rendered pages.
  • Extracts the main content: scripts, styles, navigation, header, footer, sidebars and cookie banners are removed automatically, or you pass a CSS selector such as main or #pricing.
  • Normalizes whitespace and removes volatile fragments you define as regular expressions (dates, counters, timestamps) so they never trigger false alerts.
  • Compares against the previous snapshot with a line diff and classifies the result; MINOR versus CHANGED is controlled by a configurable threshold.
  • Saves the new snapshot, pushes one dataset item per page and writes a Markdown REPORT with changed pages first, including the added and removed lines.
  • Works with Apify schedules and integrations: run it hourly or daily and connect the dataset to Slack, e-mail, Make, Zapier or a webhook; filter on status.

Input

FieldTypeDefaultDescription
urlsarray of stringsrequiredPages to watch (max 2000 per run).
previewOnlybooleanfalse; example prefilled truePreview one page without comparing or saving history; no page-checked event. Start/platform costs may apply.
existingSnapshotStorekey-value store IDomittedOptional existing snapshot store selected explicitly for read/write access; takes precedence over stateStoreName.
selectorstring""CSS selector to scope the comparison.
ignorePatternsarray of strings[]Regular expressions removed before comparing (dates, counters).
minorThresholdnumber0.02Changes below this share of lines are MINOR.
includeDiffbooleantrueInclude up to 20 added / 20 removed lines per changed page.
emitUnchangedbooleantrueWhen false, unchanged pages are not pushed (and not billed).
stateStoreNamestringwebsite-change-monitor-snapshotsNamed key-value store holding snapshots, created by this Actor. Use one store per schedule and avoid overlapping runs for the same comparison. If access is denied, restore access to the existing store; changing its name starts a different history and requires a migration plan.
maxItemsinteger200Hard cap on checked pages per run.

Output

One dataset item per page: status, changedRatio, added, removed, addedSample, removedSample, title, titleChanged, wordCount, textHash, previousHash, previousCheckedAt, httpStatus and error for failed fetches. The overview view lists changes first. The key-value store holds REPORT (Markdown) and OUTPUT with counts per status. In OUTPUT, version is the Apify build number when available (versionSource: apify_build); otherwise it is the application fallback (versionSource: application_fallback), including in local runs.

Example item (shortened):

{
"finalUrl": "https://competitor.example/pricing",
"status": "CHANGED",
"changedRatio": 0.18,
"added": 2,
"removed": 1,
"addedSample": ["Pro: 35 EUR / month", "Annual plans available"],
"removedSample": ["Pro: 30 EUR / month"],
"previousCheckedAt": "2026-10-20T06:00:03.120Z"
}

Pricing and cost control

Pay per event: Page checked (page-checked). An event is associated with each successfully emitted comparison result. Diagnostic ERROR items do not generate a page-checked event. Set emitUnchanged to false to omit and avoid item charges for unchanged comparisons. maxItems caps all checked pages, including errors and unchanged pages omitted from the dataset. The internal request limit counts each fetch attempt, including retries; redirects followed within a fetch can cause additional HTTP requests. When no checked page succeeds, the Actor attempts to retain diagnostic results and a report, then marks the run as failed. Actor-start events, platform usage, and storage costs may still apply to a failed run. The active Store listing specifies the event price; review the run budget and applicable platform charges before running.

Limitations and fair use

  • Server-rendered HTML only; content injected by JavaScript after load is not seen. Pages that are entirely client-rendered produce a low wordCount so you can spot them.
  • Hashing, comparison and stored text use the same first 200,000 UTF-8 bytes after extraction and normalization. textTruncated identifies limited coverage; comparisonBytes and sourceTextBytes show its size. A result of UNCHANGED covers that selected prefix, not omitted text. wordCount also describes the retained text.
  • A missing or invalid CSS selector produces an ERROR item with SELECTOR_NOT_FOUND or SELECTOR_INVALID. It preserves the previous snapshot instead of switching to the whole page.
  • Only URLs you are authorized to process should be provided. There is no login, paywall or CAPTCHA handling. The Actor fetches the supplied URLs and does not automatically evaluate robots.txt; confirm permission and the target site's access rules.
  • The diff is textual; image or layout changes are not detected.

Comparison history in version 0.1.4

Each URL and comparison policy has its own history. Changing the selector or the effective ordered ignore patterns creates a separate baseline and returns NEW with baselineReason = COMPARISON_BASELINE_CREATED. Switching back reuses the matching history. Comparison settings include the extraction format and text limit, so incompatible snapshots are never presented as changes.

The first run after upgrading from the older snapshot format creates a NEW baseline. Old records are retained for recovery and rollback and are not compared against the new format. No previous difference is inferred during this initialization. Run the new version once to establish the comparison before relying on later alerts.

The baseline advances after a result was accepted by the dataset, or after an intentionally omitted UNCHANGED comparison. If a state write fails after delivery, the run reports SNAPSHOT_WRITE_FAILED_AFTER_EMIT; the item may already exist. Inspect the run and storage before repeating it. Snapshot storage is not a distributed lock: avoid overlapping runs that use the same comparison history. A change to the title alone is reported as MINOR even when body text is unchanged.

Example

Input: three public pages with date patterns ignored. First run: three NEW items (snapshots created). Next run: UNCHANGED for untouched pages and CHANGED with the exact lines for a page whose price list moved. See examples/input.json and examples/output.json.

Use cases

  • Competitive intelligence: pricing, plans, feature pages, campaign landing pages.
  • Compliance: terms of service, privacy policies, supplier conditions, insurance terms.
  • Operations: public documentation and API changelogs that break integrations.
  • Sales: career pages and "news" pages of target accounts as buying signals.