# Website Screenshot Crawler (`pumpkinapi/website-screenshot-crawler`) Actor

Screenshot a whole website from one domain or sitemap: every page in desktop and mobile view, as PNG, JPEG, WebP or PDF, with cookie banners and ads hidden. On a schedule it flags which pages changed since the last run and links before, after and difference images.

- **URL**: https://apify.com/pumpkinapi/website-screenshot-crawler.md
- **Developed by:** [Pumpkin Farm](https://apify.com/pumpkinapi) (community)
- **Categories:** Developer tools, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.20 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 screenshot crawler for whole sites: paste a domain or a sitemap link, and one run captures its pages in desktop and mobile view, up to your page limit. Run it on a schedule and each page is flagged as new, changed or unchanged since the last run.

- **Price:** $6.00 per 1,000 screenshots on the Free plan, $4.20 on Gold. Platform usage is included. Failed and blocked pages are free.
- **Input:** a domain, a section such as example.com/blog, a sitemap link, or a plain list of pages.
- **Output:** one row per page and device with the image link, size, title and change status, plus an HTML report of the whole site.
- **Measured:** 240 screenshots of 120 pages from 4 sites in 561 seconds on Apify.

Found a bug, need a field, or want a new Actor? Open an issue on the **Issues** tab. If it works well for you, a short review helps others find it.

### How to screenshot a whole website

1. Add a domain, a section, a sitemap link or a list of pages to **Websites, pages or sitemaps**.
2. Set **Maximum pages per website**. Each page costs one screenshot per device.
3. Optional: give the run a **Monitor name** to compare it with the next run.
4. Click **Start**, then open **Visual report** in the Output tab.

No login, cookies, proxy or API key are needed.

Example input:

```json
{
    "urls": ["https://docs.apify.com/academy"],
    "maxPagesPerSite": 3,
    "monitorName": "docs-demo"
}
```

#### How pages are found

| You paste | What the Actor does |
| --- | --- |
| `example.com` | Reads the sitemap named in robots.txt or at the usual addresses. Without a sitemap it follows links from the home page. |
| `example.com/blog` | The same, but keeps only pages under `/blog`. |
| `example.com/sitemap.xml` | Takes the pages listed in that file, including sitemap indexes and gzip files. |
| A list of pages, with **Listed pages only** | Captures exactly these pages, nothing else. |

When a sitemap holds more pages than your limit, pages with the shortest paths go first. A limit of 50 keeps the home page and the main sections, not 50 old blog posts.

### What data do you get?

Each row is one page on one device. The image itself is in a key-value store, and the row links to it. Fields without a value are `null`.

| Field | What it holds |
| --- | --- |
| `url`, `finalUrl` | The page address, and the address after redirects |
| `title` | Page title |
| `device` | `desktop`, `tablet` or `mobile` |
| `status` | `ok` for a saved screenshot. `failed`, `blocked`, `blank` and `removed` rows are free |
| `screenshotUrl` | Link to the image |
| `format`, `width`, `height`, `fileSizeBytes` | The image file |
| `pageHeight`, `truncated` | Full page height, and if the image was cut at the height limit |
| `changeStatus` | `new`, `changed`, `unchanged` or `removed`. Empty without a monitor name |
| `changePercent` | Share of pixels that changed since the last run |
| `previousScreenshotUrl` | The image from the last run, for changed pages |
| `diffImageUrl` | A picture with the changed pixels in red, for changed pages |
| `source`, `httpStatus`, `capturedAt`, `error` | How the page was found, its HTTP status, the time, and why there is no image |

A real row, shortened:

```json
{
    "url": "https://news.ycombinator.com/",
    "title": "Hacker News",
    "device": "desktop",
    "status": "ok",
    "httpStatus": 200,
    "format": "jpeg",
    "width": 1440,
    "height": 1181,
    "truncated": false,
    "fileSizeBytes": 155927,
    "screenshotUrl": "https://api.apify.com/v2/key-value-stores/Tx24dHRO9tAH4lmyy/records/news-ycombinator-com-7caff9e64d-desktop-bSgRPglV.jpg?signature=1OKXwBGwlMeWQWp6JFJa3",
    "changeStatus": "changed",
    "changePercent": 2.9396,
    "previousScreenshotUrl": "https://api.apify.com/v2/key-value-stores/Tx24dHRO9tAH4lmyy/records/news-ycombinator-com-7caff9e64d-desktop-6QvCpit2.jpg?signature=ULMYYJAdb5IEEW2MxX9p",
    "diffImageUrl": "https://api.apify.com/v2/key-value-stores/Tx24dHRO9tAH4lmyy/records/news-ycombinator-com-7caff9e64d-desktop-bSgRPglV-diff.jpg?signature=13WSyQEj4QJSwfZPb3TUD",
    "capturedAt": "2026-11-06T03:23:57.114Z",
    "error": null
}
```

The Output tab also holds **Visual report**, an HTML page with changed pages first, and **Run summary** with the counts.

### How much does it cost?

You pay per screenshot, and platform usage is included. One page on two devices is two screenshots.

| Event | Free | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| Screenshot, per 1,000 | $6.00 | $5.40 | $4.80 | $4.20 |
| Actor start, per GB of memory | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

Example: 100 pages on desktop and mobile are 200 screenshots, which cost $1.20 on the Free plan. A run uses 4 GB of memory by default, so its start costs $0.0002. Pages that fail, are blocked or come back blank are not charged. Set **Maximum cost per run** in the run options, and the run stops at that amount.

### How to find which pages changed

1. Fill in **Monitor name**, for example `my-site`.
2. Run the Actor once. Every page is `new`.
3. Schedule the same input in Apify, for example weekly.
4. Filter the rows by `changeStatus`. Open `diffImageUrl` to see where a page changed and `previousScreenshotUrl` to see the old version.

A page that is gone from the site comes back as a free `removed` row. This needs a complete crawl, so it does not happen in a run stopped by the page limit.

On 6 November 2026 a news front page came back as `changed` on both devices, with 2.9396% of the pixels different on desktop. In a repeat test, a blog of 32 screenshots was captured twice in a row: 28 came back `unchanged`, and 4 were `changed` by a comments box that loads late.

The default threshold is 0, so one changed digit counts. Content that moves on every visit, such as a slider, a clock or a comments box that loads late, marks a page as changed too. Add its selector to **Elements to hide**, or raise **Change threshold**.

### How to capture part of a site or part of a page

- **Only the blog:** paste `example.com/blog`, or set **Only pages matching** to `/blog/*`.
- **Skip tag pages:** set **Skip pages matching** to `/tag/*`.
- **Only the first screen:** turn off **Full page**. **Desktop height** then sets the image height.
- **Only one element:** set **Capture one element** to a CSS selector such as `#pricing`.

### What the browser does to a page

- Hides cookie and consent banners without clicking them, so no consent is given.
- Blocks common ad and tracker networks.
- Scrolls through the page so lazy images load, then returns to the top, so a sticky header shows once.
- Removes popups, and fixed bars and chat buttons that would float in the middle of a full page image.
- Ends running animations and pauses scripts during the capture.
- Shows emoji, Japanese, Korean and Arabic text with bundled fonts.

Cookie banners, ads, floating bars and scrolling have a switch in the input.

### Limits

- It does not bypass bot checks. A site that shows one or refuses the browser gives a free `blocked` row. After 6 refused pages in a row, the run skips the rest of that site. On 6 November 2026 a test of 50 well-known home pages from Apify servers gave 34 screenshots, 15 refusals and 1 timeout, so try your own site with a small limit first.
- Public pages only. There is no login and no cookie input.
- The browser runs on Apify servers, so a site may show the language or prices of that location.
- Video files are blocked, so a video shows its poster image or stays empty.
- Pages taller than 20,000 CSS pixels are cut at that height, and `truncated` is true. You can raise this to 60,000. WebP images stop at 16,383 pixels.
- `robots.txt` is respected by default. Pages it disallows are skipped, except in **Listed pages only** mode.
- PDF output has no change detection, because every PDF file carries its own creation time.
- The monitor keeps the last two images of each page in a named key-value store in your account, and Apify bills that storage to your plan. Delete the store when you stop monitoring.

### API and integrations

Run the Actor from the API tab, from the Apify client for JavaScript or Python, or from an MCP client. Images in a run are kept as long as your plan keeps run storage, while monitor images stay until you delete them.

### FAQ

**Which sizes do the devices have?**
Desktop is 1440 x 900 and you can change it. Tablet is 820 x 1180. Mobile is 390 x 844 at double pixel density, with a mobile browser identity.

**Why is a page blocked here but fine in my browser?**
Many sites treat traffic from a data center as a bot. This Actor stops there and does not charge you.

**How do I download all images at once?**
Export the dataset and fetch each `screenshotUrl`, or read the records of the key-value store through the API.

**Which format should I use?**
JPEG is the default. PNG is exact, but a page with many photos can take 10 MB or more. WebP is the smallest. PDF gives A4 pages for printing.

**Can I capture thousands of pages?**
Yes. Raise **Maximum pages per website** and the run timeout. More memory also makes a run faster.

**Is it legal to take screenshots of websites?**
This Actor opens public pages like a normal browser and saves what they show. A screenshot can hold copyrighted content or personal data, so you decide what you capture and how you use it.

*This Actor is an independent tool with no connection to the websites it captures. All trademarks belong to their owners.*

# Actor input Schema

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

One address per line. A domain such as example.com covers the whole site. An address with a path such as example.com/blog covers that section. A link to a sitemap .xml file takes the pages listed in it.

## `crawlMode` (type: `string`):

Whole website reads the sitemap and follows links only if there is no sitemap. Sitemap only never follows links. Follow links ignores the sitemap. Listed pages only captures exactly the addresses above.

## `maxPagesPerSite` (type: `integer`):

Stops adding pages after this many for each address above. With a long sitemap the pages with the shortest paths go first, so the home page and main sections are kept. Each device of a page is one screenshot. Listed pages only ignores this limit.

## `devices` (type: `array`):

Each page is captured once per device. Desktop is 1440 x 900 by default, tablet is 820 x 1180, mobile is 390 x 844 with double pixel density and a mobile browser identity.

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

Use the same name on every run to compare with the previous one: each row then says new, changed or unchanged, and changed rows link to the old image and a picture of the difference. The last two images of each page stay in a named key-value store in your account. Leave empty to skip this. Does not work with PDF.

## `changeThresholdPercent` (type: `number`):

A page counts as changed when more than this share of its pixels moved. 0 catches a single changed digit. Raise it, or use Elements to hide, if rotating content marks pages as changed.

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

Capture the whole page from top to bottom. Turn off to capture only the first screen.

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

JPEG is the default: fast and small. PNG is exact, but a page with many photos can take 10 MB. WebP is the smallest and stops at 16,383 pixels of height. PDF gives a printable document with A4 pages.

## `quality` (type: `integer`):

From 1 to 100, for JPEG and WebP only.

## `desktopWidth` (type: `integer`):

Browser width for the desktop device.

## `desktopHeight` (type: `integer`):

Browser height for the desktop device. With Full page turned off this is also the height of the image.

## `maxHeight` (type: `integer`):

Taller pages are cut at this height and the row says truncated. It keeps endless pages from growing without limit.

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

CSS selector. When set, only the first matching element is captured, for example #pricing. Pages without it give a free row with an error.

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

Ask the page for its dark theme. Sites without one look the same.

## `locale` (type: `string`):

Language the browser asks for, such as en-US or de-DE. Sites with several languages may answer with that one.

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

Hide cookie and consent banners. No button is clicked, so no consent is given.

## `blockAds` (type: `boolean`):

Do not load common ad and tracker networks. Pages load faster and ads do not show up as changes.

## `hideFloatingElements` (type: `boolean`):

In full page images, hide fixed bars and chat buttons that would otherwise float in the middle of the image. Headers at the top stay.

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

CSS selectors, one per line. Good for clocks, sliders and banners that change on every visit.

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

Load suits most sites. Network idle waits up to 10 seconds longer for pages that keep fetching data. DOM ready is the fastest and may miss images.

## `extraWaitSecs` (type: `integer`):

Wait this long after the page is ready, for example for a slow chart.

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

CSS selector to wait for before the image is taken. If it never appears, the image is still taken and the row says so.

## `scrollPage` (type: `boolean`):

Scroll down and back up before a full page image, so lazy images load.

## `pageTimeoutSecs` (type: `integer`):

How long one page may take to respond. A page that fails gets one more try at the end of the run.

## `includePatterns` (type: `array`):

Keep only pages that match one of these. Use \* as a wildcard, as in /blog/\*. Text without \* matches any part of the address. In Follow links mode this also limits which links are followed.

## `excludePatterns` (type: `array`):

Skip pages that match one of these, such as /tag/\* or ?page=.

## `respectRobotsTxt` (type: `boolean`):

Skip pages that the robots.txt file of the site disallows. Addresses you list yourself in Listed pages only mode are always opened.

## Actor input object example

```json
{
  "urls": [
    "https://docs.apify.com/academy"
  ],
  "crawlMode": "site",
  "maxPagesPerSite": 3,
  "devices": [
    "desktop",
    "mobile"
  ],
  "monitorName": "docs-demo",
  "changeThresholdPercent": 0,
  "fullPage": true,
  "format": "jpeg",
  "quality": 80,
  "desktopWidth": 1440,
  "desktopHeight": 900,
  "maxHeight": 20000,
  "darkMode": false,
  "locale": "en-US",
  "hideCookieBanners": true,
  "blockAds": true,
  "hideFloatingElements": true,
  "waitUntil": "load",
  "extraWaitSecs": 0,
  "scrollPage": true,
  "pageTimeoutSecs": 30,
  "respectRobotsTxt": true
}
```

# Actor output Schema

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

No description

## `report` (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 = {
    "urls": [
        "https://docs.apify.com/academy"
    ],
    "maxPagesPerSite": 3,
    "monitorName": "docs-demo"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pumpkinapi/website-screenshot-crawler").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": ["https://docs.apify.com/academy"],
    "maxPagesPerSite": 3,
    "monitorName": "docs-demo",
}

# Run the Actor and wait for it to finish
run = client.actor("pumpkinapi/website-screenshot-crawler").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": [
    "https://docs.apify.com/academy"
  ],
  "maxPagesPerSite": 3,
  "monitorName": "docs-demo"
}' |
apify call pumpkinapi/website-screenshot-crawler --silent --output-dataset

```

## MCP server setup

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

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/1Ov4tt5hwwc2lHygc/builds/PXWGxbbcbjjULvVFu/openapi.json
