# Website Change Monitor (`vashiiq/website-change-monitor`) Actor

Watch web pages for changes on a schedule and get exactly which lines were added or removed, with sections, ignore rules and changes-only alerts.

- **URL**: https://apify.com/vashiiq/website-change-monitor.md
- **Developed by:** [anthony leblanc](https://apify.com/vashiiq) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 95.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 results

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

Watch web pages for changes. Run it on a schedule and get, for each page, whether it changed since the last run and exactly which lines were added or removed.

### What it does

- Checks each page with one fast request and keeps the last copy in your own Apify storage.
- Compares the visible text line by line and lists lines added and removed.
- Can watch just one section (a CSS selector) and ignore parts like ads, footers or timestamps.
- Optional: ignore number changes, or any text pattern you give it.
- "Only report changes" returns rows just for pages that changed, so a daily run costs almost nothing when nothing happens.

**Why this one:** Tells you exactly which lines were added and removed, not just "something changed", with a section selector, noise filters and a changes-only mode, at a fraction of the price of the leading monitor.

In our last check, 20 runs over varied inputs succeeded 100% of the time.

### Use cases

- Competitor pricing and plan changes
- Terms of service, privacy policy and legal page changes
- Job boards, product pages and announcements
- Government and regulation pages

### Input example

```json
{
  "urls": [
    {
      "url": "https://example.com"
    },
    {
      "url": "https://en.wikipedia.org/wiki/Special:Random"
    }
  ],
  "maxItems": 2
}
```

- urls: pages to watch
- selector: one section only
- ignoreSelectors, ignoreNumbers, ignorePatterns: noise filters
- onlyChanged: rows only for changed pages
- storeName: separate watch lists

### Output sample

Real results from a run of this Actor:

```json
[
  {
    "url": "https://en.wikipedia.org/wiki/Main_Page",
    "status": "first-check",
    "changed": false,
    "changeSummary": "First check: saved as the starting point",
    "addedLines": [],
    "removedLines": [],
    "title": "Wikipedia, the free encyclopedia",
    "statusCode": 200,
    "textLength": 755,
    "previousCheckAt": null,
    "checkedAt": "2026-10-27T20:33:34.699Z",
    "section": "#mp-itn",
    "sourceUrl": "https://en.wikipedia.org/wiki/Main_Page",
    "scrapedAt": "2026-10-27T20:33:35.786Z"
  }
]
```

**Fields:**

- url, status (first-check / changed / unchanged), changed, changeSummary
- addedLines, removedLines (up to 100 each)
- title, statusCode, textLength, previousCheckAt, checkedAt, section

### Pricing

Pay per result: **$5.00 per 1,000 results**. You pay only for results you get; Apify platform costs are included. Set a maximum charge for a run and the Actor stops cleanly when it's reached, keeping everything collected so far.

### Tips

- The first run saves each page as the starting point; changes show from the second run on.
- Schedule it daily or hourly, turn on "Only report changes", and connect an integration (Slack, email, Sheets) to get alerts.
- Use a different "Memory name" for each separate watch list.
- Pages built entirely in JavaScript may show little text; point the selector at server-rendered content.

### FAQ

**Do I need an account on each site?** No. It only reads public pages and data.

**Where is the previous copy kept?** In a named key-value store in your own Apify account (default name website-change-monitor). Delete it to start fresh.
**Something broke or a field is missing?** Open an issue on the Issues tab and include your run link. We fix scrapers quickly when sites change.

### Legal

This Actor collects publicly available data only. You're responsible for using it lawfully and in line with each site's terms.

# Actor input Schema

## `urls` (type: `array`):

Pages to check on each run, e.g. a competitor's pricing page or a terms page.

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

Optional CSS selector to watch just one part of the page, e.g. main or #pricing.

## `ignoreSelectors` (type: `array`):

CSS selectors to leave out, e.g. .ad, footer, .timestamp.

## `ignoreNumbers` (type: `boolean`):

Treat changes in numbers (counters, dates, prices) as no change. Leave off to catch price changes.

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

Text patterns (regular expressions) to ignore, e.g. Last updated.\*

## `onlyChanged` (type: `boolean`):

Return rows only for pages that changed. You are charged only for rows returned.

## `storeName` (type: `string`):

Where the last copy of each page is kept in your account (lowercase letters, numbers and dashes). Use different names for separate watch lists. If another tool already uses this name, the Actor uses <name>-wcm instead.

## `maxItems` (type: `integer`):

Stop after this many pages.

## `proxyConfiguration` (type: `object`):

Datacenter proxy works for most sites.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.apify.com/pricing"
    }
  ],
  "ignoreNumbers": false,
  "onlyChanged": false,
  "storeName": "website-change-monitor",
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `changes` (type: `string`):

One row per page: changed, unchanged or first check, with lines added and removed.

## `failedUrls` (type: `string`):

Pages that could not be checked.

# 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 = {
    "urls": [
        {
            "url": "https://www.apify.com/pricing"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("vashiiq/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 = {
    "urls": [{ "url": "https://www.apify.com/pricing" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("vashiiq/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 '{
  "urls": [
    {
      "url": "https://www.apify.com/pricing"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call vashiiq/website-change-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vashiiq/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/9rPaDKD44JbjUEWRA/builds/fd1JCrhBcVyhhdNYI/openapi.json
