# Website Screenshot & Visual Change Monitor (`web_pulse/website-screenshot-monitor`) Actor

Take bulk website screenshots (full page, mobile, tablet, PDF, dark mode) with cookie banners hidden, and optionally detect visual changes since the last run. Pay only for successful screenshots.

- **URL**: https://apify.com/web_pulse/website-screenshot-monitor.md
- **Developed by:** [Web Pulse](https://apify.com/web_pulse) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 screenshots

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/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 Screenshot & Visual Change Monitor

> **Bulk screenshots. Pixel-level change detection. Fair pay-per-success pricing.**
>
> Capture any list of public pages as PNG, JPEG or PDF — desktop, laptop, tablet or phone — then schedule runs to see exactly what changed since last time.

<p align="center">
  <img src="https://api.apify.com/v2/key-value-stores/KpKoQAQstpVq6X2If/records/website-screenshot-monitor-banner.png" alt="Website Screenshot & Visual Change Monitor banner" width="100%" />
</p>

### Why this Actor

Most screenshot tools only give you an image. This one is built for **monitoring**:

| | What you get |
|---|---|
| 📸 Bulk capture | Hundreds of URLs in one run, parallel browser workers |
| 🔍 Visual diffs | `% changed` + red-highlighted diff image vs the previous run |
| 🍪 Clean shots | Cookie / consent banners hidden (OneTrust, Cookiebot, CookieYes…) |
| 📱 Real devices | Desktop, laptop, iPad, iPhone with correct UA, DPR and touch |
| 💸 Fair billing | Failed URLs are free; stop cleanly at your max spend |

Perfect for competitor pages, pricing tables, ToS pages, landing-page QA, SEO reports, and compliance archives.

### Quick start

1. Paste URLs (or upload a `.txt` / `.csv`, one URL per line).
2. Pick **Device** + **Output format**. Keep **Full-page** on for the whole page.
3. (Optional) Enable **Detect visual changes since last run**, then create a daily **Schedule**.
4. Click **Start** → open the **Output** tab for image previews and download links.

#### Input example

```json
{
  "urls": [
    { "url": "https://apify.com" },
    { "url": "https://www.bbc.com/news" }
  ],
  "device": "mobile",
  "fullPage": true,
  "format": "png",
  "hideCookieBanners": true,
  "compareWithPrevious": true,
  "changeThresholdPercent": "0.5"
}
```

#### Output example

```json
{
  "url": "https://www.bbc.com/news",
  "status": "ok",
  "httpStatus": 200,
  "title": "BBC News",
  "device": "desktop",
  "format": "png",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/screenshot-….png",
  "changePercent": 2.698,
  "changed": true,
  "diffImageUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/diff-….png",
  "takenAt": "2026-11-22T04:08:25.120Z"
}
```

Failed items look like `{ "status": "failed", "error": "…" }` and **cost nothing**. Export as JSON / CSV / Excel / HTML, or pull via Apify API, webhooks, Make, Zapier, n8n or MCP.

### Features in detail

- **Full-page capture** — scrolls first so lazy-loaded images and sections render.
- **Element screenshots** — CSS selector (pricing block, chart, hero).
- **Dark mode** — emulates `prefers-color-scheme: dark`.
- **URL → PDF** — A4 with backgrounds.
- **Baseline store** — named key-value store (default `screenshot-monitor-baselines`) so schedules compare against yesterday’s shot.
- **Spending limit** — respects the user’s max charge; stops cleanly.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| Actor start | **$0.003** | Once per run |
| Screenshot | **$0.003** | Each successful PNG / JPEG / PDF |
| Visual diff | **$0.002** | Only when change detection finds a previous baseline |

≈ **$3 per 1,000 screenshots**. Monitoring 20 pages daily with diffs ≈ **$0.10 / day**. Free-plan Apify credits work with this Actor.

### Change monitoring — how it works

Baselines are stored in your account’s named KV store, keyed by URL + device + full-page + selector + dark mode. Each run compares the new shot, writes `changePercent` / `changed` / a red diff image, then updates the baseline. Use a different **Baseline store name** for independent monitors. Tip: filter `changed = true` and fire a webhook to Slack / email.

### Tips

- Live tickers / ads / carousels change every run — raise the threshold (3–5%) or capture a stable **selector**.
- Heavy SPAs → **Network idle**; speed runs → **DOM content loaded**.
- Very long pages scroll up to ~30,000 px.

### Legal

Capturing public pages is generally fine, but you are responsible for the pages you capture and how you use them. Respect each site’s terms, copyright and privacy laws. Do not capture login-walled or personal data you have no right to process. This Actor does not log in, solve CAPTCHAs, or bypass access controls.

### Support

Built and maintained by [Web Pulse](https://apify.com/web_pulse). Open an issue on the Actor page or email via the Apify Console if something breaks — we aim to fix fast.

***

**Related:** schedule this Actor → add a webhook on `changed: true` → get alerted the moment a competitor page moves.

# Actor input Schema

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

Web pages to capture. One screenshot is taken per URL. Only capture pages you are allowed to access.

## `device` (type: `string`):

Viewport, user agent and pixel ratio to emulate.

## `fullPage` (type: `boolean`):

Capture the whole scrollable page instead of only the visible viewport.

## `format` (type: `string`):

PNG is lossless, JPEG is smaller, PDF saves an A4 document.

## `jpegQuality` (type: `integer`):

Only used for JPEG output.

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

Optional. If set, only the first element matching this selector is captured, e.g. <code>#pricing</code>.

## `hideCookieBanners` (type: `boolean`):

Hides common consent managers (OneTrust, Cookiebot, Usercentrics, Quantcast, Didomi, Osano...) with CSS. Nothing is clicked or accepted on your behalf.

## `hideSelectors` (type: `array`):

Elements to hide before capturing, e.g. chat widgets or sticky headers.

## `scrollToBottom` (type: `boolean`):

Scrolls through the page before capturing so lazy-loaded images and sections appear.

## `darkMode` (type: `boolean`):

Emulates prefers-color-scheme: dark.

## `waitUntil` (type: `string`):

Which page event to wait for before capturing.

## `delayMs` (type: `integer`):

Extra wait after the page is loaded, for animations or late content.

## `waitForSelector` (type: `string`):

Optional. Wait until this element is visible before capturing.

## `compareWithPrevious` (type: `boolean`):

Compares each screenshot with the one saved by your previous run (same URL + settings) and reports the % of changed pixels and a highlighted diff image. Schedule the Actor to monitor pages. Requires PNG format.

## `changeThresholdPercent` (type: `string`):

A page is marked as changed when more than this % of pixels differ. Example: 0.5

## `baselineStoreName` (type: `string`):

Named key-value store in your account where baseline screenshots are kept between runs. Use different names for independent monitors.

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

How many pages are captured in parallel.

## `navigationTimeoutSecs` (type: `integer`):

How long to wait for a page to load before giving up.

## `maxRetries` (type: `integer`):

How many times a failed URL is retried.

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

Optional. Use a proxy for geo-specific versions of a page.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://apify.com"
    },
    {
      "url": "https://crawlee.dev"
    }
  ],
  "device": "desktop",
  "fullPage": true,
  "format": "png",
  "jpegQuality": 80,
  "hideCookieBanners": true,
  "scrollToBottom": true,
  "darkMode": false,
  "waitUntil": "load",
  "delayMs": 1000,
  "compareWithPrevious": false,
  "changeThresholdPercent": "0.5",
  "baselineStoreName": "screenshot-monitor-baselines",
  "maxConcurrency": 4,
  "navigationTimeoutSecs": 45,
  "maxRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset with one item per URL, shown with the Overview view: screenshot preview, URL, status, changed %, diff preview, error.

## `screenshots` (type: `string`):

PNG/JPEG/PDF files, one per successfully captured URL (keys start with screenshot-).

## `diffs` (type: `string`):

Diff images with changed pixels in red, only when change detection is on and a previous baseline exists (keys start with diff-).

# 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://apify.com"
        },
        {
            "url": "https://crawlee.dev"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("web_pulse/website-screenshot-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://apify.com" },
        { "url": "https://crawlee.dev" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("web_pulse/website-screenshot-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://apify.com"
    },
    {
      "url": "https://crawlee.dev"
    }
  ]
}' |
apify call web_pulse/website-screenshot-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,web_pulse/website-screenshot-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/2py5GIIQLhf9yZsnw/builds/Cv6zwesnRmMzOmAyV/openapi.json
