# Website Screenshot - Full Page, Mobile & PDF, Bulk (`radarweb/website-screenshot-pro`) Actor

Screenshots of any list of pages or a whole site (from a sitemap or dataset): full page or viewport, desktop/tablet/mobile, PNG/JPEG/PDF. Loads lazy images, hides common cookie banners, survives slow pages.

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

## Pricing

from $2.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/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: full page, mobile, PDF

Take **clean screenshots of any number of web pages** on desktop, laptop, tablet and mobile, as PNG, JPEG or PDF, with a **public link** for each.

### Features

- **Full page** (the whole scroll, up to 16,000 px on desktop; about 8,000 px on tablet and 5,300 px on mobile, where images are 2–3× sharper) or just the visible area.
- **Devices**: desktop 1440×900, laptop 1280×800, tablet 820×1180 (retina), mobile 390×844 (iPhone, 3× sharp, mobile user agent).
- **Lazy-loaded images appear**: the page is scrolled before capture so images that load on scroll are not left blank.
- **Common cookie banners hidden** (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast and others) with CSS only: nothing is clicked or accepted. For a site's own custom banner or popup, add its CSS selector in *Hide these elements*.
- **Animations frozen** for sharp, consistent shots.
- **Slow pages don't fail**: after the timeout the page is captured as it is, with a `warning`.
- **Dark mode**, **wait for an element**, extra delay.
- **Clear errors** such as `domain not found (DNS)` or `connection refused`. Pages that fail to load are listed and not charged. Pages that load with an error code (e.g. 404) are captured and charged, with `httpStatus` showing the code.

### Visual change monitoring

Turn on **Compare with the previous run** and schedule it: each run tells you **how much of each page changed** (`changedPercent`) and gives an image with the **changes highlighted in red** (`diffUrl`), next to the previous screenshot. Watch competitors' homepages and prices, or catch broken layouts on your own site after a deploy. Tiny changes (clocks, rotating ads) are ignored below a threshold you set.

### Screenshot a whole site

Run **Sitemap URL Extractor** first, then pass its run here as *Dataset*: you get a screenshot of every page of the site. Any scraper output with a `url` field works the same way.

### Output per screenshot

`url`, `viewport`, `screenshotUrl` (public link), `title`, `httpStatus`, `finalUrl` (after redirects), `bytes`, `warning`, `error`.

### Uses

Visual archives and monitoring (schedule it weekly), competitor pages, client reports, before/after for redesigns, link previews, evidence of how a page looked on a given day.

### Pricing

Pay per screenshot: one page on one device (see the Pricing tab). Failures are free.

# Actor input Schema

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

One URL per line.

## `datasetId` (type: `string`):

E.g. the output of Sitemap URL Extractor or any scraper. Accepts a dataset ID, a run ID, a dataset name, or a link copied from the Apify Console.

## `urlField` (type: `string`):

Name of the dataset field that contains the page URL.

## `maxUrls` (type: `integer`):

0 = all.

## `viewports` (type: `array`):

desktop 1440×900, laptop 1280×800, tablet 820×1180 @2x, mobile 390×844 @3x (iPhone).

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

Whole scrollable page (up to 16,000 px) instead of only the visible area.

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

JPEG is much smaller for photo-heavy pages.

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

Only for JPEG.

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

Hides banners of common consent tools (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast…) with CSS. Nothing is clicked or accepted. Custom banners: add their selector below.

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

E.g. .chat-widget, #newsletter-popup, .fc-dialog.

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

'networkidle' waits for all requests to finish (slower, best for heavy apps).

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

CSS selector that must appear before the shot.

## `delaySecs` (type: `number`):

Pause before capturing, for animations and late content.

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

Ask the page for its dark theme (prefers-color-scheme).

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

Remember each screenshot and, on the next run, show how much of the page changed plus an image with the changes highlighted in red. Schedule it to watch competitors' pages, prices or your own site.

## `minChangePercent` (type: `number`):

Changes smaller than this share of the page are marked 'no visible change'. The default 0.01% still catches a changed price; raise it (e.g. 1) for pages with clocks or rotating ads.

## `memoryName` (type: `string`):

Use a different name per project. Stored in your key-value store 'screenshot-memory'.

## `timeoutSecs` (type: `integer`):

After this, the page is captured as loaded so far, with a warning.

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

More is faster but needs more memory.

## `outputStoreName` (type: `string`):

Keep screenshots beyond the run's retention period.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com"
  ],
  "urlField": "url",
  "maxUrls": 0,
  "viewports": [
    "desktop"
  ],
  "fullPage": true,
  "format": "png",
  "jpegQuality": 85,
  "hideCookieBanners": true,
  "hideSelectors": [],
  "waitUntil": "load",
  "delaySecs": 1,
  "darkMode": false,
  "compareWithPrevious": false,
  "minChangePercent": 0.01,
  "memoryName": "default",
  "timeoutSecs": 45,
  "maxConcurrency": 3
}
```

# Actor output Schema

## `results` (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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("radarweb/website-screenshot-pro").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"] }

# Run the Actor and wait for it to finish
run = client.actor("radarweb/website-screenshot-pro").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"
  ]
}' |
apify call radarweb/website-screenshot-pro --silent --output-dataset

```

## MCP server setup

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

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/2EZDB0bdJdD6lRH3k/builds/ySazcCm61HTmGGUAX/openapi.json
