# Website Screenshot & PDF ($5/1K) - Full Page, Any Site (`carabain-digital/website-screenshot-pdf`) Actor

Full-page screenshots (PNG, JPEG) and real text PDFs of any web page, also behind Cloudflare and other bot walls. Cookie banners and popups removed. Built-in residential proxy fallback.

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

## Pricing

from $3.75 / 1,000 captured pages

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

#### What is Website Screenshot & PDF?

**Website Screenshot & PDF** captures **any web page as a full-page PNG or JPEG screenshot, or as a real PDF document with selectable text**, for one URL or 100,000. It works where other screenshot tools return a "Just a moment..." page: pages load in a stealth browser, and a page behind **Cloudflare, DataDome or another bot wall** is retried through a **residential proxy that is built in**, so you need no proxy of your own. **Cookie banners are accepted and popups removed** before the capture, in English, German, Dutch, French, Spanish, Italian and more. Built for **website archiving, compliance records, visual monitoring, competitor and ad tracking, reports and AI agents** that need to see a page. Costs **$5 per 1,000 pages**.

- 📸 **Full-page screenshots** with lazy images loaded, or just the first screen
- 📄 **PDF with selectable text**: A4, Letter, Legal, A3, A5, portrait or landscape, margins, backgrounds
- 🛡️ **Works behind bot walls**: automatic residential proxy retry, only paid when it was needed
- 🍪 **Clean captures**: cookie banners accepted, newsletter modals and sign-in prompts closed
- 📱 **Desktop, Full HD, tablet, mobile** or any custom size
- 🌍 **Capture from a country** (US, UK, Germany, Netherlands and more) for local versions of a site
- 🔌 **Connect anywhere**: API, schedules, webhooks, Make, Zapier, MCP / AI agents

#### Use it from AI agents

This Actor has an agent skill for Claude Code, Codex, Cursor and other agents that read `SKILL.md`: it tells the agent when to use the Actor, every input field and the output. Install it with:

```bash
npx skills add carabain-digital/apify-agent-skills --skill website-screenshot-pdf
```

Or read the skill on GitHub: [carabain-digital/apify-agent-skills/skills/website-screenshot-pdf](https://github.com/carabain-digital/apify-agent-skills/tree/main/skills/website-screenshot-pdf).

#### What do I get?

<table>
<tr><td>🖼️ PNG or JPEG screenshot per page</td><td>📄 PDF per page, with real text and page breaks</td></tr>
<tr><td>🔗 Download link of each file</td><td>🏷️ Page title, final URL after redirects, HTTP status</td></tr>
<tr><td>📐 Viewport and file size</td><td>🛡️ Whether the page needed the residential proxy</td></tr>
</table>

#### How do I take screenshots of websites?

1. [Create a free Apify account](https://console.apify.com/sign-up) and open this Actor.
2. Paste the **page URLs**, or upload a text or CSV file with them.
3. Pick the **format** (PNG, JPEG or PDF) and, if you like, the device or paper size.
4. Click **Start**. Open the **Output** tab and click a file link, or download all files from the run's key-value store.

#### How much does it cost?

You pay per captured page: **$5 per 1,000 pages**, plus a small start fee per run, no subscription. Pages that fail are not charged. A page that had to go through the built-in residential proxy, because it blocked the direct load (Cloudflare, DataDome, HTTP 403) or because you chose **Capture from country**, adds **$5 per 1,000 pages** (Unblocked page); most sites load directly and never cost this. The monthly credit of Apify's Free plan ($5) covers about 900 pages. Paid plans get volume discounts.

#### ⬇️ Input

| Field | Description |
|---|---|
| **Page URLs** (`startUrls`) | The pages to capture |
| **Format** (`format`) | `png`, `jpeg` or `pdf` |
| **Full page** (`fullPage`) | Whole page or only the first screen (screenshots) |
| **Device** (`device`), `viewportWidth`, `viewportHeight` | `desktop` 1366x768, `laptop` 1920x1080, `tablet`, `mobile`, or a custom size |
| **PDF options** | `pdfFormat` (A4, Letter, Legal, A3, A5), `pdfLandscape`, `pdfMarginInches`, `pdfBackground` |
| **Page clean-up** | `dismissCookieBanners`, `hidePopups`, `hideSelectors`, `waitForSelector`, `waitSeconds` |
| **Capture from country** (`proxyCountry`) | Residential IP in that country for every page (Unblocked page add-on) |

```json
{
    "startUrls": [{ "url": "https://www.capterra.com/customer-relationship-management-software/" }],
    "format": "png",
    "fullPage": true,
    "device": "desktop"
}
```

#### ⬆️ Output

One item per captured page. The file itself is in the run's key-value store, behind `fileUrl`.

```json
{
    "url": "https://www.capterra.com/customer-relationship-management-software/",
    "finalUrl": "https://www.capterra.com/customer-relationship-management-software/",
    "title": "Best CRM Software 2026 | Capterra",
    "statusCode": 200,
    "format": "png",
    "fileUrl": "https://api.apify.com/v2/key-value-stores/<store id>/records/0001-capterra.com-customer-relationship-management-software.png",
    "fileKey": "0001-capterra.com-customer-relationship-management-software.png",
    "fileSizeBytes": 2913824,
    "viewport": "1366x768",
    "fullPage": true,
    "viaResidentialProxy": true,
    "capturedAt": "2026-11-11T13:18:02+00:00"
}
```

#### What can I do with website screenshots and PDFs?

- 🗄️ **Website archiving**: keep a dated PDF of terms, prices, ads or claims as they were shown
- 🔁 **Visual regression**: schedule screenshots per device size of your own or competitors' pages and compare them
- 🔍 **SEO SERP proof**: capture search results and landing pages as evidence for clients and audits
- 🌍 **Ad and localization checks**: see ad placements and local site versions from different countries
- 📊 **Client reports**: add page captures to reports, audits and presentations
- 🧠 **AI agents**: give a vision model the rendered page instead of raw HTML

#### ⚠️ Good to know

- **Bot walls**: each page is loaded directly first. When a site blocks it (HTTP 403/429/503 or a challenge page such as Cloudflare's "Just a moment..."), it is loaded again through a US residential IP, and then a second one. Sites that need a login, or show a captcha that must be solved by hand, cannot be captured.
- **Very long pages** are cut at 30,000 pixels; browsers cannot paint more in one image.
- **PDFs** are printed by the browser, like "Save as PDF" in Firefox: real text and links, laid out for the paper size. Pages with a print stylesheet look like their printed version.
- **Files** stay in the run's key-value store as long as the run's data is kept (7 days on the Free plan, longer on paid plans). The links work without an API token (signed links when your account restricts access to storages).
- **Cookie banners** that are not closed by a click are hidden; if one remains, add its CSS selector to **Hide elements**.

#### Frequently asked questions

#### Can I use it with the Apify API?

Yes. Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("carabain-digital/website-screenshot-pdf").call(run_input={
    "startUrls": [{"url": "https://www.bbc.com/news"}], "format": "png"})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["url"], item["fileUrl"])
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('carabain-digital/website-screenshot-pdf').call({
    startUrls: [{ url: 'https://en.wikipedia.org/wiki/Web_scraping' }],
    format: 'pdf',
    pdfFormat: 'Letter',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].fileUrl);
```

#### Can I use it through an MCP server or with AI agents?

Yes. Add it to an AI agent through the [Apify MCP server](https://mcp.apify.com) (`https://mcp.apify.com?tools=carabain-digital/website-screenshot-pdf`). Example prompt: *"Take full-page screenshots of the pricing pages of Pipedrive, HubSpot and Attio and tell me how their plans differ."*

#### Is it legal to take screenshots of websites?

The Actor opens pages that anyone can see without logging in, as a browser does. What you do with the captures is up to you: screenshots of copyrighted pages, or of pages with personal data, can be restricted in how you may store or publish them. Check the site's terms for your use case. More background: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### Not working? Feedback

Open an issue on the **Issues** tab with the run link and we will look at it. Ideas are welcome there too.

#### Other tools by us

| Actor | Does |
|---|---|
| [Google Sheets Export](https://apify.com/carabain-digital/google-sheets-export) | Any Apify dataset to a Google Sheet: replace, append or only new rows |
| [Capterra Scraper](https://apify.com/carabain-digital/capterra-scraper) | Software products, pricing and reviews from Capterra |
| [G2 Scraper](https://apify.com/carabain-digital/g2-scraper) | G2 software products per category, pricing plans and user reviews |

⭐ **Does it work well for you?** A review on the Store page helps others find this Actor and helps us keep it maintained.

# Actor input Schema

## `startUrls` (type: `array`):

The pages to capture, one file per page. Paste a list, upload a text or CSV file, or link a file with URLs. `example.com` without https:// also works.

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

Screenshot as PNG or JPEG, or a PDF printed by the browser with real, selectable text and page breaks.

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

Capture the whole page down to the footer (lazy images are loaded first). Off = only the first screen. Very long pages are cut at 30,000 pixels. Screenshots only.

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

Screen size the page is rendered at. Screenshots only; a PDF is laid out for its paper size.

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

Overrides the device width. Example: `1440`.

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

Overrides the device height (the first screen when Full page is off). Example: `900`.

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

Lower = smaller files. JPEG only.

## `pdfFormat` (type: `string`):

Paper size of the PDF.

## `pdfLandscape` (type: `boolean`):

Print the PDF in landscape orientation.

## `pdfMarginInches` (type: `number`):

Page margin on all sides. Example: `0` for edge to edge.

## `pdfBackground` (type: `boolean`):

Keep background colours and images, as on screen.

## `dismissCookieBanners` (type: `boolean`):

Click the "Accept all" button of cookie banners (OneTrust, Cookiebot, Didomi, Usercentrics and others, in many languages) and hide what remains.

## `hidePopups` (type: `boolean`):

Close newsletter modals, sign-in prompts and dimmed overlays that cover the page. Small fixed headers and chat buttons stay.

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

Extra elements to hide before capturing. Example: `.ad-banner`, `#chat-widget`.

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

Wait until this element appears (up to 30 seconds), for pages that load content late. Example: `.results-table`.

## `waitSeconds` (type: `number`):

Pause before capturing, after the page has loaded and banners are closed. Raise it for animations or charts.

## `proxyCountry` (type: `string`):

Load every page through a residential IP in this country, to capture the local version of a site (language, prices, geo-blocked pages). Each page through the residential IP costs the Unblocked page add-on, $5.00 per 1,000. Empty = pages load directly, and only a page that blocks the run is retried through a US residential IP automatically (and charged as Unblocked page when that works).

## `maxItems` (type: `integer`):

Capture at most this many of the URLs. Example: `100`.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.capterra.com/customer-relationship-management-software/"
    },
    {
      "url": "https://en.wikipedia.org/wiki/Web_scraping"
    }
  ],
  "format": "png",
  "fullPage": true,
  "device": "desktop",
  "jpegQuality": 80,
  "pdfFormat": "A4",
  "pdfLandscape": false,
  "pdfMarginInches": 0.4,
  "pdfBackground": true,
  "dismissCookieBanners": true,
  "hidePopups": true,
  "waitSeconds": 1
}
```

# Actor output Schema

## `captures` (type: `string`):

One item per captured page with the download link of its screenshot or PDF.

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

The screenshots and PDFs themselves, in the run's key-value store.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.capterra.com/customer-relationship-management-software/"
        },
        {
            "url": "https://en.wikipedia.org/wiki/Web_scraping"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("carabain-digital/website-screenshot-pdf").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 = { "startUrls": [
        { "url": "https://www.capterra.com/customer-relationship-management-software/" },
        { "url": "https://en.wikipedia.org/wiki/Web_scraping" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("carabain-digital/website-screenshot-pdf").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 '{
  "startUrls": [
    {
      "url": "https://www.capterra.com/customer-relationship-management-software/"
    },
    {
      "url": "https://en.wikipedia.org/wiki/Web_scraping"
    }
  ]
}' |
apify call carabain-digital/website-screenshot-pdf --silent --output-dataset

```

## MCP server setup

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

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/zr1wE6d7FbGKNQkzk/builds/orBu4VbAxU8uFm82N/openapi.json
