# Website Screenshot API – Full Page, Bulk URLs, PDF & Mobile (`awsystems/website-screenshot`) Actor

Website screenshot API for any list of URLs: full page screenshot or visible area, PNG, JPEG, WebP or PDF, desktop, laptop, tablet or mobile, dark mode, one element by CSS selector. Cookie banners and ads are removed. $0.75 per 1,000 screenshots, failed pages are not charged.

- **URL**: https://apify.com/awsystems/website-screenshot.md
- **Developed by:** [Manuel Rodriguez](https://apify.com/awsystems) (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 $0.80 / 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 – Full Page, Bulk, PDF, No Cookie Popups

Give it a list of web addresses and get a clean screenshot of each page: **the visible area or the full page, as PNG, JPEG, WebP or PDF**, on desktop, laptop, tablet or mobile. Cookie banners and ads are removed before the picture is taken.

Use it for website monitoring and visual archives, SEO and competitor reports, link previews and thumbnails, QA of responsive layouts, evidence of what a page showed on a given day, and AI agents that need to *see* a page.

### Why this Actor

- **Clean pictures.** Consent pop-ups of the common consent platforms (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast, Sourcepoint and many more) are hidden, scrolling locked by a pop-up is released, and ads and trackers are not loaded.
- **You don't pay for bad pages.** Pages that do not exist, time out completely, or show an anti-bot or "access denied" wall instead of the site are delivered with the reason and **not charged**.
- **Full pages that really are full.** The page is scrolled first so lazy images load, and very long pages are cut at a height you choose instead of failing.
- **Bulk and fast.** Up to 5,000 URLs per run, four pages at a time.
- **Every format.** PNG, JPEG or WebP with quality setting, or PDF with selectable text. Capture one element only with a CSS selector (a pricing table, a product card, a chart).
- **Any device.** Desktop 1920 × 1080, laptop, tablet or mobile (touch screen, high resolution, mobile browser), or your own width and height. Dark mode on request.
- **Ready for AI agents**: use it from Claude, ChatGPT or any MCP client through the Apify MCP server.

### How to use it

1. Paste your **URLs**, one per line. `example.com` works too.
2. Choose the **format**, **full page** or not, and the **device**.
3. Optional: hide more elements with CSS selectors, capture a single element, change the waiting time, or turn on a proxy for sites that block data centers.
4. Press **Start**. Each page takes a few seconds.

#### Input example

```json
{
    "urls": ["https://apify.com", "https://en.wikipedia.org/wiki/Tennis"],
    "format": "jpeg",
    "fullPage": true,
    "device": "desktop",
    "hideCookieBanners": true,
    "blockAds": true
}
```

### Output

One item per URL. The image or PDF is in the run's key-value store, and `screenshotUrl` is its direct link.

```json
{
    "url": "https://www.theguardian.com/uk",
    "status": "ok",
    "screenshotUrl": "https://api.apify.com/v2/key-value-stores/FhI9bKGE6UtnaaYrT/records/screenshot-0002-theguardian-com.jpg?signature=...",
    "key": "screenshot-0002-theguardian-com.jpg",
    "format": "jpeg",
    "fullPage": true,
    "device": "desktop",
    "width": 1920,
    "height": 10000,
    "sizeBytes": 1638396,
    "title": "Latest news, sport and opinion from the Guardian",
    "finalUrl": "https://www.theguardian.com/uk",
    "httpStatus": 200,
    "notes": ["The page is 24930 px tall; the screenshot stops at 10000 px."],
    "error": null,
    "seconds": 6.3,
    "charged": ["screenshot", "full-page"],
    "takenAt": "2026-11-22T02:30:47.176Z"
}
```

- `status`: `ok`, `blocked` (the site showed an anti-bot or access-denied page: not charged; the picture of that page is still kept) or `failed` (the page could not be opened: not charged; see `error`).
- `notes`: anything worth knowing, such as a hidden cookie banner, a page that was still loading at the timeout, or a page cut at the maximum height.
- The run's `SUMMARY` record counts the pages captured, blocked and failed.

### How you are charged

Pay per event. Every page captured counts one **Screenshot**; full-page images and PDFs add their own event because they take several times longer to draw.

| Event | Free | Starter | Scale | Business |
|---|---|---|---|---|
| Screenshot (visible area or one element) | $1.20 / 1,000 | $1.00 / 1,000 | $0.90 / 1,000 | $0.80 / 1,000 |
| Full page (added to the screenshot) | $2.00 / 1,000 | $1.50 / 1,000 | $1.35 / 1,000 | $1.20 / 1,000 |
| PDF (added to the screenshot) | $4.50 / 1,000 | $3.50 / 1,000 | $3.20 / 1,000 | $2.80 / 1,000 |

Plus **$0.002 per run**. Platform usage is included. Pages that fail or are blocked are not charged.

**Example:** on the Starter plan, 1,000 visible-area screenshots cost $1.00 in one run; 1,000 full-page screenshots cost $2.50.

### Good to know

- **Sites with strong anti-bot protection** (some news, retail and social sites) may show a block page from data-center addresses. Those pages are marked `blocked` and not charged; run them again with the **residential proxy** in the input.
- **Very long pages** are cut at *Maximum full-page height* (10,000 px by default, up to 20,000). Browsers cannot draw infinite pages in one picture.
- **Videos are not loaded**, so a video shows its poster image or an empty frame.
- **Pages behind a login** cannot be captured.
- Files stay in the run's storage for as long as your Apify plan keeps run data. Download them or copy them elsewhere if you need them for longer.

### FAQ

**Can I call it for one URL at a time from my app?** Yes, through the Apify API or client libraries. A run with one URL costs the screenshot plus $0.002.

**Can I get a mobile screenshot?** Yes: choose **Mobile** (390 × 844, touch, high resolution) or **Tablet**, or set your own width and height.

**Can I capture only part of a page?** Yes: write a CSS selector in **Capture only this element**, such as `#pricing`.

**What about pages that load content late?** Raise **Extra wait** or choose **Network almost idle** in **Wait until**.

# Actor input Schema

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

Web pages to capture, one per line (up to 5,000 per run). example.com works too: https:// is added.

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

PNG is sharpest; JPEG and WebP are much smaller for full pages; PDF keeps text selectable.

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

The whole page from top to bottom, with lazy images loaded. Off: only the visible area of the screen.

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

Screen size and type. Tablet and mobile use a touch screen, high resolution and a mobile browser.

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

Optional. Overrides the width of the device.

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

Optional. Overrides the height of the device (the visible area).

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

Removes consent pop-ups of the common consent platforms and other fixed cookie boxes.

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

Ads are not loaded, so pages are cleaner and faster.

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

Asks the site for its dark theme, if it has one.

## `hideSelectors` (type: `string`):

Optional. CSS selectors of anything else to hide, separated by commas, such as .newsletter-popup, #chat-widget.

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

Optional. CSS selector of one element, such as #pricing or .product-card. Pages without it are delivered as failed and not charged.

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

When the page counts as loaded. Network idle is slower but safer for pages that load content late.

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

Time to wait after loading, for animations or late content (0 to 30).

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

After this, the screenshot shows what has loaded so far (5 to 120).

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

1 to 100.

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

Very long pages are cut at this height (1,000 to 20,000).

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

Optional. Leave empty to set it from the memory of the run (2 pages per GB, up to 4).

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

Optional. Use it for sites that block data centers or show different content by country.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://en.wikipedia.org/wiki/Tennis"
  ],
  "format": "png",
  "fullPage": false,
  "device": "desktop",
  "hideCookieBanners": true,
  "blockAds": true,
  "darkMode": false,
  "waitUntil": "load",
  "delaySecs": 1,
  "timeoutSecs": 30,
  "quality": 80,
  "maxFullPageHeight": 10000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `screenshots` (type: `string`):

One item per URL with the link to the image or PDF, its size, the page title and any notes. Pages that could not be opened have status "failed" and were not charged.

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

All the images and PDFs of the run, in its key-value store.

## `summary` (type: `string`):

How many pages were captured, failed or skipped.

# 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://en.wikipedia.org/wiki/Tennis"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("awsystems/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://en.wikipedia.org/wiki/Tennis",
    ] }

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

```

## MCP server setup

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