# Website Change Monitor - Detect Page Text Changes & Diffs (`wood-between-studio/website-change-monitor`) Actor

Watch web pages for changes. Each run compares the page text (or a CSS selector) with the last run and outputs what was added and removed. Schedule it for price, policy, job or news page alerts. $1 per 1,000 page checks.

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

## Pricing

$1.00 / 1,000 page 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

## Website Change Monitor: Detect Page Text Changes and See Exactly What Changed

**Watch any list of web pages and find out what changed since the last run**, line by line. Each run fetches the pages, extracts the visible text (or just the part you pick with a CSS selector), compares it with the saved snapshot and outputs the **added and removed lines**. Schedule it hourly, daily or weekly and connect it to email, Slack or a webhook through Apify integrations.

### Why use it?

- **Real diffs, not just "something changed".** `added` and `removed` lists show the exact text.
- **Watch only what matters.** A CSS selector like `#price`, `.job-list` or `main` ignores menus, ads and footers.
- **Ignore noise.** Regex patterns drop lines with dates, view counters or rotating banners.
- **Separate watch lists.** Each `monitorName` keeps its own snapshots in a named key-value store on your account.
- **Cheap.** $1 per 1,000 page checks, **no start fee**. Failed pages are free.

### Use cases

- Competitor pricing, plans and feature pages
- Terms of service, privacy policy and legal page changes
- Careers pages (new jobs), product availability and back-in-stock pages
- Government notices, grant pages, documentation and changelogs
- Your own sites: catch accidental content changes or defacement

### Input

| Field | Default | Notes |
|---|---|---|
| `startUrls` | (required) | Pages to watch |
| `monitorName` | `default` | Snapshots are kept per name |
| `cssSelector` | (whole body) | e.g. `main`, `#price`, `.job-list` |
| `ignorePatterns` | none | Regexes; matching lines are ignored |
| `onlyOutputChanges` | `false` | Only changed or failed pages go to the dataset |
| `maxConcurrency` | `5` | |

```json
{ "startUrls": [{ "url": "https://www.example.com/pricing" }], "monitorName": "competitors", "cssSelector": "main", "ignorePatterns": ["\\d+ (minutes|hours) ago"] }
```

### Output (one row per page)

```json
{
  "url": "https://www.example.com/pricing", "status": "success", "changed": true, "firstSnapshot": false,
  "addedCount": 1, "removedCount": 1, "added": ["Pro plan $29/month"], "removed": ["Pro plan $25/month"],
  "previousCheckAt": "2026-11-12T09:00:03.120Z", "lastChangeAt": "2026-11-13T09:00:02.884Z"
}
```

The first run for a page saves a baseline (`firstSnapshot: true`). Changes show from the second run on.

### Pricing

Pay per event: **$0.001 per page checked** ($1 per 1,000). Pages that fail to load are not charged.

### Notes

Pages are fetched with a normal HTTP request (no browser), so text that only appears after JavaScript runs is not seen. Please only monitor pages you are allowed to access, at a reasonable schedule. Built by Wood Between Studio. Questions or ideas? Use the Issues tab.

# Actor input Schema

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

The pages to check for changes.

## `monitorName` (type: `string`):

Snapshots are kept per monitor name in a named key-value store on your account. Use different names for separate watch lists.

## `cssSelector` (type: `string`):

Only watch this part of each page, e.g. main, #price, .job-list. Empty = the whole page body.

## `ignorePatterns` (type: `array`):

Lines matching any of these regular expressions are ignored (dates, counters, etc.).

## `onlyOutputChanges` (type: `boolean`):

Skip unchanged pages in the dataset (they are still checked and charged).

## `maxConcurrency` (type: `integer`):

Pages fetched in parallel.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.iana.org/help/example-domains"
    }
  ],
  "monitorName": "default",
  "onlyOutputChanges": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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://www.iana.org/help/example-domains"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wood-between-studio/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://www.iana.org/help/example-domains" }] }

# Run the Actor and wait for it to finish
run = client.actor("wood-between-studio/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://www.iana.org/help/example-domains"
    }
  ]
}' |
apify call wood-between-studio/website-change-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wood-between-studio/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/gdZxygud2sVqPvdEs/builds/7XKfLzVWhcJyLYGyb/openapi.json
