# Website Screenshot API - Full Page, Mobile & PDF Capture (`sndzcc/website-screenshot`) Actor

Take screenshots of any list of websites in bulk: full page or viewport, desktop, tablet or mobile, PNG, JPEG, WebP or PDF. Cookie banners and ads hidden, dark mode, element capture. Pay per screenshot.

- **URL**: https://apify.com/sndzcc/website-screenshot.md
- **Developed by:** [Sndz Data](https://apify.com/sndzcc) (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

from $2.00 / 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/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 API: Full Page, Mobile & PDF Capture

Take **screenshots of any list of websites in bulk**: **full page** or just the visible screen, as **desktop, laptop, tablet or mobile**, in **PNG, JPEG, WebP or PDF**. Cookie banners, chat bubbles and ads are hidden for clean captures, and you can capture a single element, wait for content or use dark mode.

Every screenshot gets a direct download link. Pages that are blocked or broken (404, 403, 500) are skipped and **not charged**.

### Why this one?

- **Clean screenshots:** consent pop-ups (OneTrust, Cookiebot, Didomi, Usercentrics and sites' own banners) and chat widgets are hidden.
- **Real devices:** iPhone-size mobile and retina tablet, not just a narrow desktop.
- **Full page done right:** lazy-loaded images are loaded before the capture.
- **PNG, JPEG, WebP or PDF** from the same tool.
- **You only pay for good screenshots:** failed and error pages are free.
- **Cheap:** $2 per 1,000 screenshots.

### Use cases

- **Agencies and designers:** before/after captures, client reports and portfolios.
- **SEO and marketing:** monitor competitors' homepages and landing pages over time.
- **QA and developers:** check how pages render on mobile and desktop after each release.
- **AI agents:** give your agent "eyes" on any web page.
- **Archiving and compliance:** keep dated captures or PDFs of pages, terms and ads.

### Input

| Field | What it does |
|---|---|
| **Website URLs** | One per line; domains without https:// work. |
| **Device** | Desktop, Desktop HD, Laptop, Tablet or Mobile. |
| **Full page** | Whole page or only the first screen. |
| **Format** | PNG, JPEG, WebP or PDF. |
| **Hide cookie banners and chat widgets** | On by default. |
| **Block ads** | On by default. |
| **Dark mode** | For sites that support it. |
| **Capture only this element** | A CSS selector, e.g. `#pricing`. |
| **Wait for element / Extra delay** | For pages that load content late. |

```json
{
  "urls": ["https://www.apify.com", "python.org"],
  "device": "mobile",
  "fullPage": true,
  "format": "webp"
}
```

### Output

```json
{
  "url": "https://www.python.org",
  "finalUrl": "https://www.python.org/",
  "statusCode": 200,
  "title": "Welcome to Python.org",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/.../records/0002-www-python-org.png",
  "format": "png",
  "device": "desktop",
  "fullPage": true,
  "width": 1440,
  "height": 2756,
  "fileSizeKb": 458.9,
  "loadTimeMs": 2140
}
```

Failed pages are listed in the `FAILED_URLS` record with the reason.

### Good to know

- Very long pages are cut at "Max full-page height" (15,000 px by default).
- Some sites block automated browsers and show an "access denied" page; those come back as errors and are not charged.

### Integrations

Schedule daily captures of competitor pages and send the links to Slack, Google Drive, Make, Zapier or n8n.

### How to use it

1. Click **Try for free** (or **Start**) at the top of this page.
2. Fill in the input, or keep the example to see it working in seconds.
3. Click **Start** and wait for the run to finish.
4. Download the results as **Excel, CSV, JSON or HTML**, or get them through the Apify API.

### How much does it cost?

**$0.002 per screenshot** ($2.00 per 1,000). No start fee, no monthly fee, and pages that are blocked or broken are not charged.

| Example | Cost |
|---|---|
| Screenshots of 100 competitor homepages | about $0.20 |
| Daily capture of 50 pages for a month | about $3.00 |

Apify's free plan includes monthly credit, so you can try it for free.

### FAQ

**Can it take full-page screenshots?**

Yes. The whole scrollable page is captured, after loading lazy images, up to 15,000 px tall by default.

**Does it hide cookie banners?**

Yes. Consent pop-ups from OneTrust, Cookiebot, Didomi, Usercentrics and sites' own banners, plus chat bubbles, are hidden.

**Which formats and devices?**

PNG, JPEG, WebP or PDF, as desktop, desktop HD, laptop, tablet or mobile (iPhone size, retina).

**What if a page is blocked?**

Pages that answer with an error or block automated browsers are listed as failed and not charged.

### More tools from Sndz Data

- [BORME Scraper API - Spain New Company Leads Daily](https://apify.com/sndzcc/borme-spain-companies): every new company registered in Spain, daily
- [App Store & Google Play Reviews Scraper API](https://apify.com/sndzcc/app-reviews-scraper): App Store and Google Play reviews in one run
- [Job Scraper API - Greenhouse, Lever, Ashby & Workable](https://apify.com/sndzcc/ats-jobs-scraper): all open jobs from Greenhouse, Lever, Ashby and more
- [Google News Scraper API - Articles with Real URLs](https://apify.com/sndzcc/google-news-scraper): news by keyword or topic, with real article URLs
- [Email & Contact Scraper API - Emails, Phones & Socials](https://apify.com/sndzcc/contact-details-scraper): emails, phones and social profiles from any website
- [Telegram Scraper API - Channel Posts, Views & Media](https://apify.com/sndzcc/telegram-channel-scraper): posts, views and media from public Telegram channels
- [Brand Monitoring API - Mentions Radar for News & Reddit](https://apify.com/sndzcc/brand-mentions-radar): brand mentions across 9 sources, with sentiment
- [AI Image Upscaler API - Upscale & Enhance Photos 4x](https://apify.com/sndzcc/ai-image-upscaler): upscale and enhance photos 4x with AI
- [Keyword Research API - Google, YouTube & Amazon Ideas](https://apify.com/sndzcc/keyword-ideas-machine): hundreds of keyword ideas from 5 search engines
- [Tech Stack Detector API - Wappalyzer & BuiltWith Alternative](https://apify.com/sndzcc/tech-stack-detector): the technologies behind any website, in bulk
- [Polymarket & Kalshi API - Prediction Market Odds](https://apify.com/sndzcc/prediction-markets-scraper): live odds from Polymarket and Kalshi in one dataset
- [WHOIS & Domain Lookup API - DNS, SSL & Availability](https://apify.com/sndzcc/domain-intel): WHOIS, availability, DNS and SSL for any list of domains
- [Bluesky Scraper API - Posts, Profiles & Followers](https://apify.com/sndzcc/bluesky-scraper): posts, profiles and followers from Bluesky, no login
- [SEO Audit API - Broken Links, Meta Tags & Site Crawler](https://apify.com/sndzcc/seo-audit): SEO audit and broken link checker for any website
- [OCR API - Image & PDF to Text Extractor, 100+ Languages](https://apify.com/sndzcc/image-pdf-to-text): text from images and scanned PDFs, 100+ languages
- [Podcast Transcription API - Whisper Speech to Text & SRT](https://apify.com/sndzcc/speech-to-text): audio, video and podcasts to text and subtitles with Whisper AI
- [Remote Jobs Scraper API - 6 Job Boards in One](https://apify.com/sndzcc/remote-jobs-scraper): remote jobs from 6 job boards in one dataset
- [Substack Scraper API - Newsletter Posts, Stats & Full Text](https://apify.com/sndzcc/substack-scraper): posts, engagement and full text from any Substack
- [Y Combinator Companies Scraper API - Startups & Founders](https://apify.com/sndzcc/yc-companies-scraper): every YC startup with its founders and LinkedIn links
- [Phone Number Validator API - Format, Country & Mobile Check](https://apify.com/sndzcc/phone-number-validator): validate, format and classify phone numbers in bulk

### Support

Need another device size or option? Open an issue on the **Issues** tab.

If this Actor saves you time, a quick ⭐ review helps a lot and keeps it maintained. Thank you!

# Actor input Schema

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

Pages to capture, one per line. Domains without https:// work too.

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

Screen size and type the page is rendered for.

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

Capture the whole scrollable page. Off = only the visible screen.

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

PNG (sharp), JPEG or WebP (smaller files), or PDF (A4 document of the page).

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

10-100. Lower = smaller files.

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

Hides consent pop-ups (OneTrust, Cookiebot, Didomi, Usercentrics...) and chat bubbles so they don't cover the page.

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

Blocks the main ad networks for cleaner, faster screenshots.

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

Render the page with the dark color scheme (for sites that support it).

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

Optional. Example: header, #pricing, .product-card

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

Optional. Wait until this element appears before capturing.

## `delayMs` (type: `integer`):

Wait this long after the page loads, for animations or late content.

## `maxHeight` (type: `integer`):

Very long pages are cut at this height.

## `keepErrorPages` (type: `boolean`):

By default, pages that answer with an error (404, 403, 500...) are skipped and not charged. Turn on to capture them anyway, e.g. for monitoring.

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

Give up on a page that takes longer than this to load.

## `concurrency` (type: `integer`):

How many pages are captured at the same time. More is faster but needs more memory.

## Actor input object example

```json
{
  "urls": [
    "https://www.apify.com",
    "https://www.python.org"
  ],
  "device": "desktop",
  "fullPage": true,
  "format": "png",
  "quality": 80,
  "hideCookieBanners": true,
  "blockAds": true,
  "darkMode": false,
  "delayMs": 0,
  "maxHeight": 15000,
  "keepErrorPages": false,
  "timeoutSecs": 45,
  "concurrency": 3
}
```

# Actor output Schema

## `overview` (type: `string`):

One row per page with a preview and download link of the screenshot.

## `allData` (type: `string`):

Every field, including final URL, load time and capture time.

# 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://www.apify.com",
        "https://www.python.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sndzcc/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://www.apify.com",
        "https://www.python.org",
    ] }

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

```

## MCP server setup

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