# Website Screenshot Scraper (`piotrv1001/website-screenshot-scraper`) Actor

Take website screenshots in bulk from a list of URLs: full page or visible window, desktop or mobile, PNG or JPEG. Each row has a public image link, final URL, HTTP status, page title, image size and bytes. Hides cookie banners. Failed pages are free.

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

## Pricing

from $3.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 Scraper

Take **website screenshots in bulk** from a list of URLs. The **Website Screenshot Scraper** opens each page in a real browser and saves a **full page screenshot** or a screenshot of the visible window, on desktop or mobile, as PNG or JPEG. Every URL gives you a public image link plus the final URL after redirects, the HTTP status, the page title and the image size. Cookie banners are hidden for you. Use it to screenshot a website on a schedule, archive how pages looked, monitor competitors visually or turn a URL into an image for reports and link previews.

### 🎯 Use Cases

- **Full page screenshots of many websites**: paste hundreds of URLs and get one clean image per page, including everything below the fold.
- **Visual website monitoring**: schedule a daily run on your own or competitors' homepages, pricing pages and landing pages and keep a dated archive of how they looked.
- **Website to image for reports**: drop screenshots of SEO landing pages, ads destinations or client sites into decks, audits and spreadsheets.
- **Mobile website screenshots**: check how pages render on a phone without owning one.
- **Link previews and thumbnails**: turn a URL into an image for a directory, newsletter or internal tool.
- **Evidence and compliance**: capture what a page showed, with the time, final URL and status code next to the image.

### ✨ Features

- **Full page or visible window**: full-page mode scrolls the page once first so lazy-loaded images show up in the screenshot. Full-page images stop at 20,000 pixels tall.
- **Desktop or mobile**: any desktop window size from 320 to 3840 px wide, or a Pixel 7 phone at its real pixel density.
- **PNG or JPEG**: lossless PNG, or JPEG with adjustable quality for files several times smaller.
- **Cookie banners hidden**: consent pop-ups of OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast, Sourcepoint and other common tools, plus fixed cookie bars, are removed before the shot.
- **Waits the way you need**: page loaded, HTML ready (fastest) or network idle (slowest), plus an optional extra delay for animations.
- **Public image links**: every screenshot is stored with the run and its link is in the row, ready to open, download or embed.
- **Fair billing**: pages that fail to load, do not exist or answer with an error status (404, 403, 500…) are not charged. You still get a row that says why.
- **No duplicates**: the same URL listed twice is captured once.

### 🛠️ How It Works

1. **Paste the URLs** you want to capture, one per line. A missing `https://` is added for you.
2. **Pick the options**: full page or not, desktop or mobile, PNG or JPEG.
3. **Run the scraper**: open the images from the links in the results, download the dataset as JSON, CSV or Excel, or pull it through the API.

### ⚙️ Input

| Field                     | What it does                                                                                      |
| ------------------------- | ------------------------------------------------------------------------------------------------- |
| **URLs**                  | Pages to capture, one per line. Each page gives one screenshot and one row.                        |
| **Full-page screenshot**  | Capture the whole scrollable page instead of the visible window. Default off.                      |
| **Device**                | `desktop` (uses the viewport size) or `mobile` (Pixel 7, 412x839 at 2.6x, images 1082 px wide).    |
| **Viewport width/height** | Desktop window size in pixels. Default 1280x800.                                                   |
| **Image format**          | `png` (default) or `jpeg`.                                                                         |
| **JPEG quality**          | 1-100, JPEG only. Default 80.                                                                      |
| **Wait until**            | `load` (default), `domcontentloaded` (fastest) or `networkidle` (slowest).                         |
| **Extra delay (seconds)** | Wait this long after loading, for animations and late pop-ins. Default 1.                          |
| **Hide cookie banners**   | Remove cookie consent pop-ups before the screenshot. Default on.                                   |
| **Proxy configuration**   | Optional. Capture pages as seen from another country, or when a site refuses the default connection. |

```json
{
    "urls": ["https://apify.com", "https://www.wikipedia.org", "https://news.ycombinator.com"],
    "fullPage": true,
    "device": "desktop",
    "viewportWidth": 1440,
    "viewportHeight": 900,
    "format": "jpeg",
    "quality": 80,
    "waitUntil": "load",
    "delaySeconds": 1,
    "blockCookieBanners": true
}
```

### 💰 Pricing

Pay only for the screenshots you get. No monthly rental, and failed pages are free.

| Event           | Price                                       | What you get                                         |
| --------------- | ------------------------------------------- | ---------------------------------------------------- |
| **Screenshot**  | $0.003 per screenshot ($3.00 per 1,000)     | One image of the visible window with its row of page details |
| **Full-page screenshot** | $0.01 per screenshot ($10.00 per 1,000) | One image of the whole page, charged instead of Screenshot when full-page is on |
| **Actor start** | $0.00005 per run                            | Charged once when the run starts.                    |

Examples: 50 screenshots = $0.15 · 1,000 screenshots = $3.00 · 1,000 full-page screenshots = $10.00.

A full-page screenshot costs more because the page is scrolled to its end to load every image and the picture is often 5-25 times taller.

### 📊 Sample Output Data

```json
{
    "url": "https://apify.com/",
    "finalUrl": "https://apify.com/",
    "statusCode": 200,
    "title": "Apify: Marketplace of ready-to-run tools for AI",
    "screenshotUrl": "https://api.apify.com/v2/key-value-stores/aBcD1234EfGh5678/records/apify.com-5b3049b4f486.png",
    "screenshotKey": "apify.com-5b3049b4f486.png",
    "format": "png",
    "width": 1280,
    "height": 800,
    "bytes": 174899,
    "fullPage": false,
    "device": "desktop",
    "takenAt": "2026-10-24T11:03:49.556Z",
    "error": null
}
```

`screenshotUrl` opens the image directly; `screenshotKey` is its name in the run's key-value store, which also lets you download all images at once. `width` and `height` are the real pixel size of the image: a full-page screenshot is as tall as the page. A row with an `error` was not charged; if the site answered with an error status, the screenshot of that error page is still linked.

### 🔁 Schedule and Integrate

For visual monitoring, run it once a day on the same list of pages with Apify **Schedules**: each run keeps its own dated set of images. Send the rows to Google Sheets, Zapier, Make, n8n or your own webhook with Apify integrations, or call the actor through the API and read the image links from the dataset.

### 🤖 Use with AI Agents (MCP)

The scraper works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`), so an agent can look at any web page as an image. Minimal input:

```json
{ "urls": ["https://example.com"], "fullPage": true }
```

### ❓ FAQ

**How do I take a full page screenshot of a website?** Paste the URL, turn on **Full-page screenshot** and run. The image covers the whole scrollable page, not only the first screen.

**Can I screenshot many websites at once?** Yes. Paste as many URLs as you need, one per line; several pages are captured in parallel and each gets its own image and row.

**Is there a website screenshot API?** This actor is one: start it through the Apify API with a list of URLs and read the image links from the dataset. No browser setup, no servers.

**Do I need an account on the sites I capture?** No. Pages are opened as a first-time visitor; pages behind a login cannot be captured.

**Why is a row marked "The page stayed blank"?** Some sites first show an empty check page and only then load the real one. The scraper waits for it and tries again; if the page is still blank, the row is not charged.

**Why did a page fail or show an error page?** Some sites block automated browsers or only answer visitors from certain countries. Those rows are not charged. Try again with **Proxy configuration** turned on (residential, in the right country).

**Why is part of a full-page screenshot empty?** Some pages load content only while a person scrolls slowly, or have endless feeds. Raise **Extra delay** or choose **Network idle**.

**Is there a size limit for full-page screenshots?** Yes: images stop at 20,000 pixels tall (about 25 desktop screens; 7,600 page pixels on mobile, which has 2.6 image pixels per page pixel). Longer pages, such as endless news feeds, are cut at that point.

**Why does a video on the page show as a still image or an empty box?** Videos and audio are not loaded, since a screenshot is a still image; you see the video's cover image if the site sets one.

**Are cookie banners always removed?** The banners of the common consent tools and fixed cookie bars are. Other pop-ups, such as newsletter or sign-in prompts, stay.

### 🔗 Related Scrapers

- [Google Search Scraper](https://apify.com/piotrv1001/google-search-scraper): find the pages to capture, then screenshot the top results.
- [Similarweb Scraper](https://apify.com/piotrv1001/similarweb-scraper): pair traffic numbers with a screenshot of each competitor's homepage.
- [Website Screenshot Generator](https://apify.com/apify/screenshot-url): Apify's own screenshot tool.

# Actor input Schema

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

Web pages to capture, one per line. A missing https:// is added for you. Each page gives one screenshot and one result row.

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

Capture the whole scrollable page instead of only the visible window, up to 20,000 pixels tall. The page is scrolled first so lazy-loaded images appear. Charged as a full-page screenshot.

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

Desktop uses the viewport size below. Mobile captures the page as a Pixel 7 phone (412x839 at 2.6x pixel density, so images are 1082 px wide) and ignores the viewport size.

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

Browser window width for desktop screenshots.

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

Browser window height for desktop screenshots. With full-page on, the image is as tall as the page.

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

PNG is lossless; JPEG files are several times smaller.

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

1-100, used for JPEG only.

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

When the page counts as loaded. "Network idle" waits for late content but is slower. A page that never finishes loading is captured after about 20 seconds anyway.

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

Wait this long after loading before the screenshot, for animations and late pop-ins.

## `blockCookieBanners` (type: `boolean`):

Hide the consent pop-ups of the common cookie consent tools (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast and others).

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

Optional. Use a proxy to capture pages as seen from another country or when a site blocks the default connection.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org"
  ],
  "fullPage": false,
  "device": "desktop",
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "format": "png",
  "quality": 80,
  "waitUntil": "load",
  "delaySeconds": 1,
  "blockCookieBanners": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `screenshots` (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://www.wikipedia.org"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/website-screenshot-scraper").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",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/website-screenshot-scraper").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"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call piotrv1001/website-screenshot-scraper --silent --output-dataset

```

## MCP server setup

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

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/blUYojhVsjceWdQyN/builds/jiFOxeV1FmaygoQtN/openapi.json
