# Bulk Website Screenshot & PDF: Full Page, Mobile, No Cookies (`snapeandco/website-screenshot`) Actor

Capture screenshots of many URLs at once: full-page or viewport, desktop/laptop/tablet/mobile, PNG, JPEG or PDF, with cookie banners and ads hidden. Each result has a direct file URL. Fast, cheap, MCP-ready.

- **URL**: https://apify.com/snapeandco/website-screenshot.md
- **Developed by:** [TATSUYA WATANABE](https://apify.com/snapeandco) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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

## Bulk Website Screenshot & PDF — Full Page, Mobile, No Cookie Banners

Take screenshots of **hundreds of web pages in one run**. Paste a list of URLs, pick the devices, and get
**full-page or viewport screenshots as PNG, JPEG or PDF** — with **cookie banners and ads hidden** so the
images are clean. Every result comes with a **direct file URL**, ready for spreadsheets, reports, Zapier/Make,
or AI agents via MCP.

### What it does

- 📸 **Bulk screenshots** – any number of URLs, captured in parallel in headless Chrome
- 📱 **Desktop, laptop, tablet & mobile** – 1920×1080, 1366×768, iPad and iPhone 13 (real mobile user agent and touch)
- 📄 **PNG, JPEG or PDF** – lossless PNG, small JPEG (quality setting), or the whole page as a PDF
- 🍪 **No cookie banners** – hides consent pop-ups from 40+ platforms (OneTrust, Cookiebot, Usercentrics, Didomi,
  Quantcast, TrustArc, Sourcepoint…). Nothing is clicked or accepted
- 🚫 **Ad blocking** – blocks major ad networks for cleaner, faster captures
- 🖼️ **Lazy-loaded images** – scrolls the page first so images below the fold appear in full-page screenshots
- 🎯 **Element screenshots** – capture just one element with a CSS selector (e.g. `#pricing`)
- 🌙 **Dark mode**, custom elements to hide (chat widgets, sticky headers), wait-for-selector and extra delay
- 💸 **Failed pages are free** – you pay only for screenshots that were actually captured

### Use cases

- Visual monitoring of websites, landing pages and competitors (schedule it daily)
- SEO and web-design audits across desktop and mobile
- Archiving pages as PDF or images for compliance and evidence
- Thumbnails / previews for link directories and dashboards
- Giving AI agents "eyes": an agent sends URLs and gets back image links

### Input example

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

All options are in the **Input** tab. URLs without `https://` are fine.

### Output

One dataset row per URL and device. Files are stored in the run's key-value store; `screenshotUrl` is a
direct link to the image or PDF.

```json
{
  "type": "screenshot",
  "url": "https://apify.com",
  "finalUrl": "https://apify.com/",
  "device": "mobile",
  "format": "png",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/apify-com-1a2b3c4d-mobile.png",
  "bytes": 845123,
  "viewportWidth": 390,
  "viewportHeight": 664,
  "pageHeight": 9120,
  "truncated": false,
  "httpStatus": 200,
  "title": "Apify: Full-stack web scraping and data extraction platform",
  "loadSecs": 3.4,
  "capturedAt": "2026-12-03T05:00:00+00:00"
}
```

Pages that cannot be loaded appear as `"type": "error"` rows with the reason, and are not charged.
Export the dataset to Excel, CSV or JSON, or fetch it through the Apify API.

### Pricing

Pay per event, platform usage included:

- **$2.50 per 1,000 screenshots** ($0.0025 per URL per device; a PDF counts as one screenshot)
- A tiny Actor start fee set by Apify

Set **Max cost per run** to cap spending — the Actor stops cleanly when the limit is reached.

### Use with AI agents (MCP)

Add this Actor to Claude, Cursor or any MCP client through the [Apify MCP server](https://mcp.apify.com)
and ask: *"Take mobile screenshots of these 5 landing pages and tell me which one has the clearest call to action."*
The agent receives direct image URLs it can open.

### Tips

- Very long or infinite-scroll pages are cut at **Max full-page height** (default 20,000 px; `truncated: true`).
- For single-page apps use **Wait for element** or a few seconds of **Extra delay**.
- Use **Hide elements** for chat widgets or sticky bars that cover content.
- Raise **Parallel pages** and memory for large batches.

### Notes

Captures only publicly accessible pages; it does not log in or bypass paywalls or CAPTCHAs. Make sure you have
the right to capture and use the pages you submit.

### Related Actors

- [App Store Reviews Scraper](https://apify.com/snapeandco/app-store-reviews)
- [App Store Search, Top Charts & Keyword Rank Tracker](https://apify.com/snapeandco/app-store-search-charts)

# Actor input Schema

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

Web pages to capture. One per line. "https://" is added if missing. Duplicates are removed.

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

Capture each URL on these devices: desktop (1920x1080), laptop (1366x768), tablet (iPad), mobile (iPhone 13, touch + mobile user agent). One screenshot is charged per URL per device.

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

PNG (lossless), JPEG (smaller files) or PDF (whole page as a single-width PDF with backgrounds).

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

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

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

Hide cookie/consent pop-ups of 40+ common consent platforms (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast, TrustArc, Sourcepoint…). Nothing is clicked or accepted; the banners are only hidden.

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

Block requests to major ad networks (Google Ads, Amazon, Taboola, Outbrain, Criteo…) for cleaner and faster screenshots.

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

Emulate prefers-color-scheme: dark (sites that support dark mode will render dark).

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

JPEG quality 10-100 (only used when format is JPEG).

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

Optional. Screenshot only the first element matching this CSS selector, e.g. "#pricing" or "main". Ignored for PDF.

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

Optional. Extra elements to hide before capturing, e.g. chat widgets or sticky headers: "#intercom-container", ".sticky-header".

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

Page load event to wait for. 'load' fits most sites; 'networkidle' waits for background requests to finish (slower; falls back to capturing anyway on timeout).

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

Optional. Wait until this element appears before capturing (useful for single-page apps).

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

Extra wait after the page loads, for animations and late content (0-30).

## `scrollToLoad` (type: `boolean`):

For full-page captures, scroll down the page first so lazy-loaded images appear.

## `maxFullPageHeight` (type: `integer`):

Full-page screenshots taller than this are cut at this height (protects against endless-scroll pages).

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

Maximum time to load a page before it is reported as failed (failed pages are not charged).

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

How many pages to capture at the same time (1-10). Use more memory for higher values.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org"
  ],
  "devices": [
    "desktop"
  ],
  "format": "png",
  "fullPage": true,
  "hideCookieBanners": true,
  "blockAds": true,
  "darkMode": false,
  "jpegQuality": 80,
  "waitUntil": "load",
  "delaySecs": 1,
  "scrollToLoad": true,
  "maxFullPageHeight": 20000,
  "navigationTimeoutSecs": 45,
  "maxConcurrency": 4
}
```

# Actor output Schema

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

One record per capture (type=screenshot) with a direct screenshotUrl, plus error records (type=error) for pages that failed.

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

Key-value store holding the PNG / JPEG / PDF files.

# 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("snapeandco/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://www.wikipedia.org",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snapeandco/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/qShGudJkNHxEhz39E/builds/A7LabY4FJNyEA7zMG/openapi.json
