# Website Screenshot - Bulk Full-Page PNG & JPEG, Cheap (`dennydevelops/website-screenshot`) Actor

Take screenshots of thousands of web pages: full page or viewport, desktop or mobile, PNG or JPEG, cookie banners hidden, lazy images loaded. Each screenshot gets a direct download URL. $2 per 1,000 screenshots.

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

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 – Bulk Full-Page PNG & JPEG, Cheap

Take screenshots of thousands of web pages in one run, with a real Chromium browser. Each screenshot is saved as an image file with a **direct download URL** in the results, ready for reports, archives, thumbnails, visual monitoring or AI vision models.

- **Full page or viewport**: whole scrollable page (lazy-loaded images are scrolled into view first) or just the visible part
- **Desktop, mobile or tablet**: real device sizes and user agents, retina resolution on mobile and tablet
- **PNG or JPEG**: JPEG with adjustable quality for much smaller files
- **Cookie banners hidden**: OneTrust, Cookiebot, TrustArc, Didomi, Usercentrics, Quantcast, Osano and other common consent pop-ups
- **Only successful screenshots are billed**: pages that fail to load are listed with the error, free of charge

### Input

| Field | Default | Meaning |
|---|---|---|
| `urls` | – | Pages to capture (bare domains work) |
| `fullPage` | true | Whole page, or the viewport only |
| `device` | desktop | `desktop`, `mobile` (390×844 @2x) or `tablet` (820×1180 @2x) |
| `viewportWidth` / `viewportHeight` | 1280 / 800 | Desktop viewport |
| `format` | png | `png` or `jpeg` |
| `jpegQuality` | 80 | 10–100 |
| `waitUntil` | load | `load`, `domcontentloaded` or `networkidle` |
| `delaySeconds` | 1 | Extra wait after loading |
| `hideCookieBanners` | true | Hide common consent pop-ups |
| `maxPageHeight` | 15000 | Very long pages are cut at this height (px) |
| `maxUrls` | 1000 | Cap per run |

### Output

```json
{
  "url": "https://www.bbc.com",
  "finalUrl": "https://www.bbc.com/",
  "statusCode": 200,
  "title": "BBC Home - Breaking News, World News, US News, Sports, Business, Innovation, Climate, Culture, Travel, Video & Audio",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/<store-id>/records/www-bbc-com-05e9df12.jpg?signature=…",
  "screenshotKey": "www-bbc-com-05e9df12.jpg",
  "format": "jpeg",
  "device": "desktop",
  "fullPage": true,
  "viewport": {"width": 1280, "height": 800},
  "bytes": 391168,
  "error": null,
  "takenAt": "2026-11-11T19:00:00Z"
}
```

Images are stored in the run's key-value store. `screenshotUrl` is a signed link that opens without an Apify token, so you can share it or feed it straight into other tools.

### Tips

- For thumbnails or AI vision, use `jpeg` with `fullPage: false`. Files are small and capture is fastest.
- Pages that keep loading forever (chat widgets, live feeds): keep `waitUntil: load` and add a few seconds of `delaySeconds`. Avoid `networkidle`.
- Schedule a daily run on the same URLs to keep a visual history of competitors' home and pricing pages.
- Run with 2–4 GB memory. More memory means more pages in parallel.

### Pricing (pay per event)

**$0.002 per successful screenshot** ($2 per 1,000), plus $0.001 per run, with platform usage passed through at cost. Failed pages are free.

# Actor input Schema

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

Pages to capture. Bare domains work too, e.g. "apify.com".

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

Capture the whole scrollable page. Off captures the visible viewport only.

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

Viewport size and user agent. Desktop uses the width and height below.

## `viewportWidth` (type: `integer`):

Used when the device is Desktop.

## `viewportHeight` (type: `integer`):

Used when the device is Desktop.

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

JPEG files are much smaller.

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

Only used for JPEG.

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

When the page counts as loaded.

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

Wait after loading, for animations and late content.

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

Hides common consent pop-ups (OneTrust, Cookiebot and others) before capturing.

## `maxPageHeight` (type: `integer`):

Very long pages are cut at this height.

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

Caps work and cost per run.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "fullPage": true,
  "device": "desktop",
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "format": "png",
  "jpegQuality": 80,
  "waitUntil": "load",
  "delaySeconds": 1,
  "hideCookieBanners": true,
  "maxPageHeight": 15000,
  "maxUrls": 1000
}
```

# Actor output Schema

## `results` (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://apify.com",
        "https://crawlee.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dennydevelops/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://crawlee.dev",
    ] }

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

```

## MCP server setup

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