# Bulk Website Screenshot & PDF (`probekit/bulk-website-screenshot`) Actor

Capture full-page screenshots or PDFs of many URLs at once, on desktop, tablet and mobile. Hides cookie banners, loads lazy images, and returns a public file link, page title and HTTP status for every page.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## 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

## Bulk Website Screenshot & PDF

Capture full-page screenshots or PDFs of many web pages in one run. Paste a list of URLs, pick the screen sizes, and get a public file link for every page, together with the page title and HTTP status.

Built for people who need **a lot of captures that just work**: agencies auditing client sites, QA teams checking releases, marketers archiving landing pages, and AI workflows that need a visual of a page.

### Quick start

1. Paste your URLs into **URLs**, one per line.
2. Choose one or more **Devices** (desktop, laptop, tablet, mobile).
3. Click **Start**. Each row of the results table has a link to the file.

### What you get

| Field | Description |
|---|---|
| `url` | The URL you asked for |
| `finalUrl` | Where the page ended up after redirects |
| `device` | `desktop`, `laptop`, `tablet` or `mobile` |
| `status` | `ok`, `failed` or `invalid_url` |
| `fileUrl` | Public link to the PNG, JPEG or PDF |
| `pageTitle` | The page's title |
| `httpStatus` | HTTP status code of the page |
| `width`, `height` | Size of the captured image in pixels |
| `truncated` | `true` when a very long page was cut at 20,000 pixels |
| `warning` | Set when the page answered with an error status |
| `fileSizeBytes` | File size |
| `error` | Short reason when a capture did not succeed |

Files are stored in the run's key-value store, so you can also download them all at once from the **Storage** tab or through the API.

### Features

- **Bulk input**: hundreds of URLs per run.
- **Multiple devices per URL**: desktop 1440x900, laptop 1280x720, tablet 768x1024, mobile 390x844.
- **PNG, JPEG or PDF** output.
- **Full page or visible area only.** Visible-area captures are several times faster.
- **Lazy images loaded**: the page is scrolled before the capture.
- **Cookie banners hidden** on a best-effort basis, including on sites with a strict content security policy.
- **Dark mode** capture for sites that support it.
- **One bad URL never breaks the run**: failures are listed as rows with a reason.

### Input example

```json
{
    "urls": ["https://apify.com", "https://example.com"],
    "devices": ["desktop", "mobile"],
    "format": "png",
    "fullPage": true
}
```

### Pricing

You pay per successful capture. Failed pages and invalid URLs are not charged. If you set a maximum cost for a run, the Actor stops as soon as that limit is reached.

### Good to know

- Full-page captures of very long pages are cut at 20,000 pixels of height and marked as `truncated`.
- Full-page PNG files of long pages can be large. Choose JPEG when file size matters.
- Device presets change the screen size only. Sites that serve a different page based on the browser's user agent may still return their desktop layout.
- Some sites refuse automated browsers. Those captures fail with a clear reason and are not charged.
- Cookie-banner hiding covers the most common consent tools. Unusual banners can remain visible.
- Pages that require a login are captured as an anonymous visitor would see them.
- For security, private and local network addresses are not captured.
- Please capture only pages you are allowed to access and respect each site's terms.

### Support

Found a page that does not capture well? Open an issue in the **Issues** tab with the URL and the settings you used.

# Actor input Schema

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

Pages to capture, one per line. Only http and https URLs are accepted.

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

Screen sizes to capture. Each URL is captured once per selected device.

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

PNG is lossless, JPEG is smaller, PDF produces a printable document of the page.

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

Capture the whole scrollable page instead of only the visible area. Ignored for PDF.

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

Quality from 1 to 100. Used only when the format is JPEG.

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

When the page is considered loaded. 'networkidle' is the safest for pages that load content with JavaScript.

## `delaySecs` (type: `integer`):

Additional wait after the page loads, for animations and lazy content.

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

Scroll through the page before capturing so lazy-loaded images appear.

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

Best-effort removal of common cookie and consent banners before capturing.

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

Ask the page for its dark color scheme, when it has one.

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

Maximum number of pages captured in parallel.

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

Optional proxy. Leave off for most sites.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://example.com"
  ],
  "devices": [
    "desktop"
  ],
  "format": "png",
  "fullPage": true,
  "jpegQuality": 80,
  "waitUntil": "load",
  "delaySecs": 1,
  "scrollToBottom": true,
  "hideCookieBanners": true,
  "darkMode": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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",
        "https://example.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("probekit/bulk-website-screenshot").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://example.com",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("probekit/bulk-website-screenshot").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://example.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call probekit/bulk-website-screenshot --silent --output-dataset

```

## MCP server setup

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

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/FPwRByMM6GqDykbBB/builds/JJNPY5uXa0vL7yXtf/openapi.json
