# Website Change Monitor & Changelog Checker (`blithe_gambol_x3a/website-change-monitor`) Actor

Website change monitor and changelog checker for public pages. Fetch HTML, extract the main text or a CSS selector, compare it with the previous snapshot, and get a change flag, a short added/removed-line diff, a timestamp and a hash. Fast HTTP crawl, no browser and no proxy required.

- **URL**: https://apify.com/blithe_gambol_x3a/website-change-monitor.md
- **Developed by:** [Web Audit Lab](https://apify.com/blithe_gambol_x3a) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 url checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What this Actor does

The **Website Change Monitor & Changelog Checker** is a website change monitor and changelog checker for public web pages. Give it a list of URLs — for example a changelog, release notes or a pricing page — and an optional CSS selector. Each run fetches the HTML over HTTP (no browser, no proxy), extracts the main text, and compares it with the previous snapshot in a named key-value store.

For every URL it returns whether the page **changed**, a short **diff** of added and removed lines, a **timestamp** and a **SHA-256 hash** of the normalized text. The first time a URL is seen, the Actor stores a baseline snapshot and marks `isInitialSnapshot` as true (with `changed` false), so later runs have something to compare.

### Who it is for

- Teams who want a scheduled check on a public changelog or product updates page
- Operators who watch a pricing or status page and want a short, structured diff
- Developers and agents that need a simple website change monitor through the Apify API or MCP

### Features

- Checks a list of public http(s) URLs in one run
- Optional CSS selector to compare only part of the page (for example `main`, `article` or `.changelog`)
- Snapshots stored in a named key-value store that you reuse across runs
- Short added/removed line diff, plus full added/removed counts if the diff is truncated
- SHA-256 content hash and ISO timestamps for the current and previous snapshot
- Skips non-HTML resources (.md, .txt, .pdf, images and similar) and non-HTML responses
- Respects robots.txt; default memory is 512 MB; no proxy and no LLM

### How to use

1. Paste one or more public page URLs (changelog, pricing, release notes or any static HTML page).
2. Optionally set a CSS selector if you only want to compare a section of the page.
3. Keep the same **Snapshot key-value store** name on later runs (default `page-change-snapshots`).
4. Run the Actor, then open the **Page checks** dataset view. Schedule the same task if you want a recurring check.

### Screenshots

**Input** — a prefilled Try run, styled in the Web Audit Lab palette:

![Website Change Monitor & Changelog Checker input](https://api.apify.com/v2/key-value-stores/b90GJmcG9g7gn9fbP/records/website-change-monitor-input.jpg)

**Output** — sample dataset from a real platform run:

![Website Change Monitor & Changelog Checker output](https://api.apify.com/v2/key-value-stores/b90GJmcG9g7gn9fbP/records/website-change-monitor-output.jpg)

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `startUrls` | array of URLs | prefilled examples | Public http(s) pages to check. Each URL is fetched once per run. |
| `selector` | string | empty | Optional CSS selector. If it matches nothing, the Actor falls back to the main page text and sets `selectorMatched` to false. |
| `snapshotStoreName` | string | `page-change-snapshots` | Named key-value store for previous snapshots. Use the same name on later runs. |
| `maxDiffLines` | integer | 40 | Maximum added lines and maximum removed lines kept in the short diff (5–200). |

Example input:

```json
{
  "startUrls": [
    { "url": "https://web.dev/" },
    { "url": "https://docs.n8n.io/changelog/release-notes/" }
  ],
  "snapshotStoreName": "page-change-snapshots",
  "maxDiffLines": 40
}
```

### Output examples

Each dataset item is one URL. On the first run `isInitialSnapshot` is true and `changed` is false. On a later run, a real text change looks like this (illustrative shape; measured values come from the test runs recorded in `store-draft/`):

```json
{
  "url": "https://docs.n8n.io/changelog/release-notes/",
  "status": "checked",
  "changed": false,
  "isInitialSnapshot": false,
  "contentHash": "817e543d82c48f4f95d26821e0210feb3746da9cafbb6d037008e595ff0f4dfb",
  "previousHash": "817e543d82c48f4f95d26821e0210feb3746da9cafbb6d037008e595ff0f4dfb",
  "addedLines": [],
  "removedLines": [],
  "addedLineCount": 0,
  "removedLineCount": 0,
  "checkedAt": "2026-11-13T22:31:32.634Z"
}
```

Unchanged pages return `changed` false, empty diff arrays, and the same hash as `previousHash`.

### How snapshots work

The previous text is stored in a **named key-value store** in the account that runs the Actor. The store key is derived from the URL and the selector, so the same page can be tracked with or without a selector. After a successful check the current text becomes the next baseline. Failed or skipped URLs do not overwrite a snapshot.

### Pricing

This Actor uses **pay-per-event** pricing. You pay for finished work, not for a vague compute bundle:

| Event | When it is charged | Price |
| --- | --- | --- |
| **URL checked** (primary) | Each processed URL check, including initial snapshots and unchanged pages | **$1.00 per 1,000 checks** ($0.001 each) |
| **Actor start** | Automatically when the run starts (once at 512 MB or 1 GB) | **$0.00005** (Apify default; the first 5 seconds of compute are covered) |

Failed and skipped (non-HTML) URLs are not charged. Ten successful checks cost $0.01 + $0.00005 = **$0.01005** at these event prices.

Set a maximum cost per run in the Console or API if you want a hard spending cap. Schedule the same task for a recurring changelog or pricing-page check, or run it via the Apify API and export JSON, CSV or Excel.

### Privacy and robots.txt

Public pages only. The Actor respects robots.txt, does not use a proxy, and does not collect personal data as a goal. It stores only the extracted public page text (and its hash) so the next run can compare.

### Limitations

- Cheerio does not execute JavaScript. Pages that render all meaningful content only in the browser will look thin or empty.
- Non-HTML links and responses are skipped.
- Very large HTML is not fully kept in memory for analysis; extracted text is capped at 80,000 characters (`textTruncated` is then true).
- Default memory is 512 MB.
- A CSS selector that matches a volatile block (ads, timestamps in a sidebar) can create false changes. Narrow the selector to the changelog or price block when you can.

### Troubleshooting

- **Non-HTML is skipped.** URLs that look like `.md`, `.txt`, `.pdf`, images or similar, and responses that are not `text/html` or `application/xhtml+xml`, are not fetched as pages to compare. They appear as `status: skipped` and do not update the snapshot.
- **The page list is the cap.** The Actor checks each input URL once. It does not crawl further links. Duplicates are ignored.
- **Timeouts.** If a slow site stops the run, raise the run timeout (`timeoutSecs`) and keep the URL list modest. The default 512 MB is enough for typical documentation and changelog pages.
- **Blocked sites.** There is no proxy. Sites that block datacenter IP addresses, or that disallow the Actor in robots.txt, are skipped or failed. Check the `error` field and the run log.
- **No diff on the second run.** If `changed` is false, the normalized text is identical to the last snapshot (including whitespace normalization). If you expected a change, confirm you reused the same `snapshotStoreName` and selector, and that the change is in the extracted main text, not only in JavaScript-rendered content.
- **Costs.** Each successfully checked URL is one event ($0.001). Set a maximum cost per run for a hard cap.

### FAQ

#### Does the first run report a change?

No. The first successful fetch is the baseline (`isInitialSnapshot` true, `changed` false). Later runs compare against that snapshot.

#### Can I monitor more than one page in a run?

Yes. Add each URL to `startUrls`.

#### Will a scheduled run keep history?

It keeps the latest snapshot in the named key-value store and writes a new dataset item each run. Dataset history is the run history; the store is overwritten with the newest baseline after each successful check.

#### Can I watch a GitHub README or a Markdown changelog URL?

Only HTML pages are compared. Direct `.md` or `.txt` links are skipped. Use the HTML changelog or release-notes page instead.

### Related Actors

Other tools from the same developer that fit the same workflows:

- [SEO, GEO & AEO Audit: AI Search Readiness Checker](https://apify.com/blithe_gambol_x3a/website-ai-search-readiness-auditor) — Website audit for AI search readiness: SEO, GEO, AEO, robots.txt and an llms.txt checker.
- [On-Page SEO Audit & SEO Checker: Meta, Schema](https://apify.com/blithe_gambol_x3a/on-page-seo-audit) — Classic on-page SEO audit and SEO checker with a 0–100 score for titles, meta, headings and JSON-LD.
- [Lighthouse PageSpeed Audit: Core Web Vitals](https://apify.com/blithe_gambol_x3a/lighthouse-core-web-vitals) — Lab Lighthouse PageSpeed audit in real Chrome for Core Web Vitals and category scores. Does not call the PageSpeed Insights API.
- [Tech Stack Detector: Website Technology Lookup](https://apify.com/blithe_gambol_x3a/website-tech-stack-detector) — BuiltWith and Wappalyzer alternative: detect CMS, JavaScript frameworks, analytics and CDN from public HTML.
- [Greenhouse Scraper: Lever & Ashby Job Scraper](https://apify.com/blithe_gambol_x3a/ats-job-board-scraper) — Greenhouse scraper and job scraper for official Lever and Ashby board APIs.

### Changelog

- **2026-11-15** — Discoverability and visual update: sharper Store titles, README input and output screenshots, and clearer example inputs where needed.
- **2026-11-14** — First public release on Apify Store with pay-per-event pricing.

### Development

```bash
npm install
npm test
npm start
```

Default platform configuration uses 512 MB and no proxy.

# Actor input Schema

## `startUrls` (type: `array`):

Public http(s) pages to check, such as a changelog, pricing page or release notes. Each URL is checked once per run. Non-HTML links (.md, .txt, .pdf, images) are skipped.

## `selector` (type: `string`):

If set, only the text inside the first matching element is compared (for example main, article or .changelog). If the selector matches nothing, the Actor falls back to the main page text and records that.

## `snapshotStoreName` (type: `string`):

Named key-value store that holds the previous text snapshot for each URL. Use the same name on later runs to compare. The store is created in the account that runs the Actor.

## `maxDiffLines` (type: `integer`):

Maximum number of added lines and of removed lines to include in the short diff. Extra lines are counted but omitted.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://web.dev/"
    },
    {
      "url": "https://docs.n8n.io/changelog/release-notes/"
    }
  ],
  "snapshotStoreName": "page-change-snapshots",
  "maxDiffLines": 40
}
```

# Actor output Schema

## `checks` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://web.dev/"
        },
        {
            "url": "https://docs.n8n.io/changelog/release-notes/"
        }
    ],
    "snapshotStoreName": "page-change-snapshots",
    "maxDiffLines": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("blithe_gambol_x3a/website-change-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [
        { "url": "https://web.dev/" },
        { "url": "https://docs.n8n.io/changelog/release-notes/" },
    ],
    "snapshotStoreName": "page-change-snapshots",
    "maxDiffLines": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("blithe_gambol_x3a/website-change-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://web.dev/"
    },
    {
      "url": "https://docs.n8n.io/changelog/release-notes/"
    }
  ],
  "snapshotStoreName": "page-change-snapshots",
  "maxDiffLines": 40
}' |
apify call blithe_gambol_x3a/website-change-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blithe_gambol_x3a/website-change-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gHF7wxLhSvQNO0T6P/builds/PBVorgB9T14LDHgEp/openapi.json
