# Monitor a web page for visual changes

**Use case:** 

Screenshot a page on a schedule and get told when it changes. Each run compares the new capture with the previous one, reports how much of the page changed visually, plus the exact text that was added or removed. Use it to watch competitor pricing pages, terms of service, landing pages or anything you would otherwise check by hand.

## Input

```json
{
  "urls": [
    "https://crawlee.dev/blog"
  ],
  "format": "png",
  "fullPage": true,
  "device": "desktop",
  "hideCookieBanners": true,
  "blockAds": true,
  "hideFloatingBars": true,
  "darkMode": false,
  "detectChanges": true,
  "monitorName": "crawlee-blog",
  "changeThresholdPercent": 1,
  "changeBasis": "either",
  "scaleFactor": 1,
  "waitUntil": "load",
  "delaySecs": 1,
  "scrollToBottom": true,
  "maxFullPageHeight": 12000,
  "quality": 85,
  "pdfFormat": "A4",
  "pdfLandscape": false,
  "pdfUseScreenMedia": true,
  "maxConcurrency": 0,
  "navigationTimeoutSecs": 45,
  "maxRetries": 2
}
```

## Output

```json
{
  "screenshotUrl": {
    "label": "Capture",
    "format": "image"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Page title",
    "format": "text"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "number"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "device": {
    "label": "Device",
    "format": "text"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "fileSizeBytes": {
    "label": "Bytes",
    "format": "number"
  },
  "changeDetected": {
    "label": "Changed",
    "format": "boolean"
  },
  "visualDiffPercent": {
    "label": "Visual diff %",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Screenshot & PDF - Full Page, Mobile, Change Detection Actor is ready to run with the inputs already set for "Monitor a web page for visual changes". [Sign up or log in](https://console.apify.com/create-task-from-example/ae1hcsOohAtSaKeZT) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Monitor a web page for visual changes" task

The Website Screenshot & PDF - Full Page, Mobile, Change Detection Actor will start running based on the input automatically. You can also change all the input fields, like URLs, output format, and more, to match your specific use case.

### 3. Receive the "Monitor a web page for visual changes" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as capture, URL, page title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Monitor a web page for visual changes" task via API](https://apify.com/cuestadata/website-screenshot-pdf.md).

## FAQ

### How does the web page change monitor detect changes?

The web page change monitor compares each new screenshot and page text with the previous run and reports the percent changed visually and the text that was added or removed.

### How do I run the change monitor every day?

Save the web page change monitor task and add an Apify schedule, for example daily at 9 AM. Connect a webhook, Slack or email integration to get alerts.

### Can the change monitor ignore rotating banners?

Yes. The web page change monitor can capture only one element, hide selectors such as carousels, or count only visual or only text changes.

## About this Actor

This example demonstrates how to use [Website Screenshot & PDF - Full Page, Mobile, Change Detection](https://apify.com/cuestadata/website-screenshot-pdf.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cuestadata/website-screenshot-pdf.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cuestadata/website-screenshot-pdf.md

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`).
