# Website Screenshot API & Visual Change Monitor: PNG, PDF (`pikoulas/screenshots`) Actor

Screenshots of any list of pages in a real Chrome (full page, screen or one element; PNG, JPEG, WebP or PDF; desktop to mobile, dark mode), or a visual change monitor: each page compared with its last shot, the change in % and the changed areas marked. Failed pages are free.

- **URL**: https://apify.com/pikoulas/screenshots.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/pikoulas) (community)
- **Categories:** Developer tools, Automation, SEO tools
- **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.
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 API & Visual Change Monitor: PNG, PDF

Give it a list of URLs, and get each page back as an image or a PDF, taken in a real Chrome, or schedule it to
watch the pages and tell you which changed since the last run:

- **Full page, screen or one element:** the whole page down to its end, what fits the screen, or the element a CSS
  selector names, such as `#pricing` or `header`.
- **PNG, JPEG, WebP or PDF,** with the quality you pick for JPEG and WebP; a PDF prints the page on A4 with its backgrounds.
- **Desktop, retina laptop, tablet or mobile,** or a screen size of your own, in light or dark mode.
- **Visual change monitoring:** each page compared with its last shot, whether it changed, by what share of its area,
  and a copy with the changed areas marked in red.
- **A link to each file** and its details in the dataset: final URL after redirects, title, HTTP status, size in pixels and bytes.

It costs **$3 per 1,000 screenshots** on Apify's paid plans and $5 on the free plan. A page that fails, refuses or
doesn't load costs nothing.

### What people use it for

- **Change monitoring:** competitors' pricing and landing pages, your own site after a deploy, terms pages and
  public notices, on a schedule, with the pages that changed and where.
- **Archives and evidence:** a dated copy of how a page looked, as an image or a PDF.
- **Previews and thumbnails:** link previews, directory listings and portfolio images.
- **QA:** how a page renders on desktop, tablet and mobile, in light and dark mode.
- **AI pipelines:** pages as images for vision models, or as PDFs.

### How to take screenshots of websites

1. Click **Try for free**; Apify's free plan covers a first run.
2. Enter the **URLs**.
3. Pick the **Format** and **Device**, and turn **Full page** off if you want only the screen.
4. Click **Start**, then open the files from the **Output** tab, or download the dataset as JSON, CSV or Excel.

An input with every option:

```json
{
  "urls": ["https://apify.com", "https://www.wikipedia.org"],
  "format": "webp",
  "quality": 80,
  "fullPage": true,
  "device": "mobile",
  "width": 390,
  "height": 844,
  "selector": "main",
  "waitUntil": "networkidle",
  "delaySeconds": 2,
  "darkMode": true
}
```

### Watch pages for changes

Turn on **Track changes** and schedule the run (daily, hourly). Each run compares every page with its shot from the
last run with the same **Memory name**, and the dataset's **Changes** view lists them:

- `change`: `new` the first time a page is seen, then `changed` or `unchanged`.
- `changePercent`: the share of the page's area that differs, past antialiasing noise. A page that grew or shrank
  counts its extra length as changed.
- `diffUrl`: the new shot with the changed areas tinted red, for pages that changed.
- `previousTakenAt`: when the shot it was compared with was taken.

**Change threshold** (1% by default) sets how much has to differ for a page to count as changed, so a moving clock or
a rotating banner can be let through; 0 counts any change. A page is compared only with a shot of the same device,
size, element and mode. Each watch list gets its own **Memory name**; the memory is kept in your account's key-value
store `screenshots-memory`, as small greyscale prints of the pages, and a page not captured for 90 days is forgotten.
The run's status message says how many pages changed. Change tracking works on images, not PDFs, and costs nothing
on top of the screenshot.

```json
{
  "urls": ["https://www.example.com/pricing", "https://www.example.com/terms"],
  "format": "jpeg",
  "trackChanges": true,
  "changeThreshold": 1,
  "memory": "competitors"
}
```

### Output

```json
{
  "url": "https://www.wikipedia.org",
  "finalUrl": "https://www.wikipedia.org/",
  "title": "Wikipedia",
  "status": 200,
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/fxnAsQF2oYMra2El0/records/00001-www.wikipedia.org.png?signature=1nb4AiR9l4zrxQFG1s7hY",
  "key": "00001-www.wikipedia.org.png",
  "format": "png",
  "width": 1280,
  "height": 1103,
  "sizeBytes": 244561,
  "takenAt": "2026-11-09T10:09:46Z",
  "error": null
}
```

With **Track changes**, each row also has:

```json
{
  "change": "changed",
  "changePercent": 6.25,
  "previousTakenAt": "2026-11-08T10:09:41Z",
  "diffUrl": "https://api.apify.com/v2/key-value-stores/fxnAsQF2oYMra2El0/records/00001-changes.jpg?signature=QbX2pPq1r0d7Ln3Wc8sTe"
}
```

`screenshotUrl` opens the file as long as the run's storage is kept; `key` names it in the run's key-value store.
`width` and `height` are the image's own pixels, so a retina shot is twice the screen's size. A page that gives no
shot comes with `url` and `error`, saying why.

### Use it as an API

Apify's API starts a run and returns its dataset as JSON; its Python and JavaScript clients, and
its Make, Zapier and n8n integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~screenshots/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://apify.com"], "format": "jpeg", "fullPage": false}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/screenshots`.

### How much does it cost?

A screenshot is $0.003, whatever the format. A shot wider than 1,600 pixels, as on the retina laptop and the tablet
or with a wide **Width**, counts as two, since it takes Chrome two to three times as long. A thousand desktop shots
cost $3. Set a spending limit on a run and it stops there, with what it has taken so far.

### Good to know

- **Full pages have a limit:** 16,000 pixels tall and 24 million pixels in all, so about 8,300 tall on the retina
  laptop. A longer page is cut there. The page is scrolled through first, so images that load as you scroll are in.
- **More memory is faster:** two desktop or mobile pages at a time per GB of memory, and one wide page per 2 GB.
- **A site's refusal is respected.** Its Chrome names itself in its User-Agent, and it reads each site's `robots.txt`,
  one page a second per site at most, or the site's crawl delay. A path `robots.txt` refuses isn't captured, and a site
  that answers 401, 403, 429 or 451 or shows a verification page is left alone for the rest of the run; the rest of
  your list goes on. It uses no proxy and doesn't try to get past any of this, so a page behind a check comes back with
  an `error`.
- **Only public addresses are reached,** by the page and everything it loads, not private networks.
- **Pages are seen logged out,** as a first-time visitor sees them, cookie banners included.
- **Contact.** The Actor keeps nothing itself: files and results sit in the storage of whoever ran it. Questions or
  requests go to spyridwn.pd@gmail.com.

### FAQ

#### Is it legal to take screenshots of websites?

It captures only the pages you point it at, as anyone could open them, without logging in, and it keeps to each site's
`robots.txt`. You are responsible for having the right to use the screenshots: pages are usually someone's copyrighted
work, a site's terms may limit how you use what it publishes, including using it with AI models, and personal data
shown on them is protected by laws such as the GDPR and the CCPA. If you're unsure, ask a lawyer; Apify's
[Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/) is a good start.

#### Can it capture pages behind a login?

No. It sees each page as a visitor who isn't logged in, and it doesn't take cookies or passwords.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

# Actor input Schema

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

The pages to capture.

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

Images come as PNG, JPEG or WebP; PDF prints the page as its print styles show it.

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

The whole page down to its end, in an image up to 16,000 pixels tall and 24 million in all (8,300 on the retina laptop), scrolled through first so lazy images load. Off: what fits the screen.

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

The screen and the browser the page sees. A shot wider than 1,600 pixels, as on the laptop and the tablet, counts as two screenshots.

## `width` (type: `integer`):

The screen's width, in place of the device's. Past 1,600 pixels in all, a shot counts as two.

## `height` (type: `integer`):

The screen's height, in place of the device's.

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

A CSS selector, such as #pricing or header: only the first element it matches is captured.

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

For JPEG and WebP.

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

When the page counts as ready for the shot.

## `delaySeconds` (type: `integer`):

More time before the shot, for animations or late content.

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

Pages that have a dark theme show it.

## `trackChanges` (type: `boolean`):

Compare each page with its shot from the last run with the same memory: whether it changed, by what share of its area, and a copy of the new shot with the changed areas marked in red. Schedule it to watch pages for changes. Images only, not PDF.

## `changeThreshold` (type: `integer`):

The share of a page's area that has to differ for it to count as changed; below it, the page is unchanged. 0 counts any change.

## `memory` (type: `string`):

One per watch list, so two schedules don't share a memory. Kept in your account's key-value store screenshots-memory; a page not captured for 90 days is forgotten.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org"
  ],
  "format": "png",
  "fullPage": true,
  "device": "desktop",
  "quality": 80,
  "waitUntil": "load",
  "delaySeconds": 0,
  "darkMode": false,
  "trackChanges": false,
  "changeThreshold": 1,
  "memory": "default"
}
```

# Actor output Schema

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

No description

## `files` (type: `string`):

No description

## `changes` (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://apify.com",
        "https://www.wikipedia.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/screenshots").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://apify.com",
        "https://www.wikipedia.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/screenshots").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://apify.com",
    "https://www.wikipedia.org"
  ]
}' |
apify call pikoulas/screenshots --silent --output-dataset

```

## MCP server setup

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

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/ZJSfGzEg0WVInKkTc/builds/aIpqefgA45f8F8Dmh/openapi.json
