# $2/1K | Website Screenshot - Full Page & Element (`scrapercompany/website-screenshot-scraper`) Actor

Take website screenshots from a list of URLs: viewport or full page, PNG, JPEG or WebP, any size and retina, one element by CSS selector, and waits for late content. Images saved with a link per page. No code. Pay per screenshot. Made by ScraperCompany.

- **URL**: https://apify.com/scrapercompany/website-screenshot-scraper.md
- **Developed by:** [ScraperCompany](https://apify.com/scrapercompany) (community)
- **Categories:** Developer tools, SEO tools, AI
- **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 website 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 - Full Page & Element Screenshots

**Website Screenshot Scraper** by ScraperCompany captures each URL you give it as an image: the **visible viewport or the whole page**, as **PNG, JPEG or WebP**, at **any viewport size** and up to **3x retina**, or just **one element** by CSS selector. It can **wait for late content**.

### ⭐ Like this Actor? Leave a review

If Website Screenshot Scraper saved you time, please [leave a review on the Store](https://apify.com/scrapercompany/website-screenshot-scraper/reviews). It takes a minute, helps other people find a scraper that works, and tells us what to build next.

> 🟢 **Nothing to set up:** no code, no login and no keys. Click **Try for free**, start a run, and export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.

### 📦 What you get

| What you get | Price | Per 1,000 |
| --- | --- | --- |
| One page captured as an image: viewport or full page, any size, retina, a single element, waits for content | $0.002 | $2.00 |

- 💵 **Price:** **$2 per 1,000** `screenshot` events ($0.002 each); failed and empty requests are free.
- ⚙️ **Setup:** none. No account on the site, no cookies, no keys.
- 📁 **Export:** JSON, CSV, Excel or HTML from the **Output** tab, or the Apify API.
- 🔁 **Automate:** schedules, webhooks, Make, Zapier, n8n and AI agents (MCP).

### ✨ What can this website screenshot scraper do?

Each image is saved to the run's storage with a **link in the dataset**. No code. Pricing is pay-per-event: **$0.002 per screenshot**, plus **$0.006** for a site that refuses a standard request; failed captures are free.

- **Viewport or full page**; PNG, JPEG (with quality) or WebP.
- **Any size**: 320-3840 x 240-2160 px viewport, scale 1-3 for retina.
- **One element** by CSS selector, e.g. a pricing table or a chart.
- **Wait** for DOMContentLoaded, load or network idle, for an element, or a fixed time.
- Each image saved to the key-value store, with **its link, size and the page's HTTP status** in the dataset.
- Failed captures, error pages and refused URLs are free.

### 🚀 Quick start: how to scrape website screenshots

1. Click **Try for free** (or open the Actor in Apify Console) and go to the **Input** tab.
2. Enter **Pages**, one URL per line. Optionally pick the format, full page, size, an element selector or a wait.
3. Adjust the options if needed.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

💡 **Tip:** run it once with the pre-filled input to see the output, then change the input to your own.

### ⚖️ What makes it different?

| | **Website Screenshot Scraper** | Many alternatives |
| --- | --- | --- |
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a request fails | Retried automatically, and never charged | Often an empty or failed run |

### 👥 Who uses website screenshot data?

- **Marketing and SEO teams**: Archive landing pages, competitors and search results over time.
- **QA and developers**: Check how pages render at desktop and phone sizes.
- **AI and monitoring**: Feed page images to vision models or keep visual records of changes.

### 🧭 Common jobs

#### Weekly competitor snapshots

Add the pages and schedule the run weekly.

#### Phone-size screenshots

Set width 390, height 844 and scale 3.

#### One part of a page

Set Element to a CSS selector such as #pricing.

### 📋 What website screenshot data can you extract?

| Field | Description |
| --- | --- |
| `url / final_url / status_code` | The page asked for, where it ended up, and its HTTP status |
| `image_url / image_key` | Link to the saved image, and its key in the run's key-value store |
| `format / media_type / image_bytes` | Image format and size |
| `width / height / full_page / selector` | How it was captured |

Every dataset item also carries `input` (the options used for that request), `request_id` (quote it to support), `billed` and `scraped_at`.

### ⌨️ Input

| Input | Name | What it does |
| --- | --- | --- |
| `urls` | Pages | .g..com`. Each line is one screenshot. |
| `format`| Format | Image format:`png`(default, lossless),`jpeg` (`jpg`accepted) or`webp`. |
| `quality`| Quality (JPEG and WebP) | JPEG or WebP quality, 1-100 (default 80). Not for`png`, which is lossless (422). |
| `full_page`| Full page | Capture the whole scrollable page instead of the viewport. Not with`selector`. |
| `width`| Viewport width (px) | Viewport width in CSS pixels, 320-3840 (default 1440). |
|`height`| Viewport height (px) | Viewport height in CSS pixels, 240-2160 (default 900). With`full_page`the image is as tall as the page. |
|`scale`| Scale (2 = retina) | Device pixel ratio, 1-3:`2`gives a retina image twice the viewport's size in pixels. |
|`selector`| Element (CSS selector) | .g.`#pricing`. Not with Full page. |
| `wait_until`| Wait until | When the page counts as loaded:`domcontentloaded`(HTML parsed),`load`(default: images and styles in) or`networkidle`(no requests for 500 ms). |
|`wait_for` | Wait for element (CSS selector) | .g..row`. Never appearing within `timeout_s` is a free 503: retry, or allow more time. |
| `wait_ms` | Extra wait (ms) | A further fixed wait, in milliseconds (0-10000), before the capture. |

### 📥 Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "urls": [
    "https://example.com"
  ],
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### 📤 Output example

One dataset item per request (trimmed here; real items contain all the fields):

```json
{
  "input": {
    "url": "https://example.com"
  },
  "url": "https://example.com/",
  "final_url": "https://example.com/",
  "status_code": 200,
  "format": "png",
  "media_type": "image/png",
  "image_key": "screenshot-1-example.com.png",
  "image_url": "https://api.apify.com/v2/key-value-stores/aBcD1234efGH5678i/records/screenshot-1-example.com.png",
  "image_bytes": 21873,
  "width": 1440,
  "height": 900,
  "full_page": false,
  "selector": null,
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### 💰 How much does it cost to scrape website screenshots?

This Actor uses **pay-per-event** pricing: you pay for successful requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `screenshot` | One captured page (PNG, JPEG or WebP), saved to the run's key-value store. Failed captures, error pages and refused URLs are free. | $0.002 | $2.00 |
| `protected-site` | Added to a screenshot when the site refuses a standard request and the capture has to take a costlier route. | $0.006 | $6.00 |

The **$2/1K** in the title is the price of 1,000 `screenshot` events.

#### Cost examples

| Job | Cost |
| --- | --- |
| 100 pages, once | **$0.20** |
| 1,000 pages, 50 of them protected | **$2.30** |

Apify's $5 of free monthly usage covers about **2,500** `screenshot` events.

- ✅ Failed requests (errors, invalid input, a site refusing after retries) are **free**.
- ✅ Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- ✅ Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### 🔌 Integrations

#### ⏰ Schedules and webhooks

Use Apify **Schedules** to repeat a run hourly, daily or weekly and compare results over time, and **webhooks** or the **Integrations** tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.

#### 🤖 AI agents and MCP

Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the [Apify MCP server](https://mcp.apify.com).

#### 💻 API: JavaScript and Python

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/website-screenshot-scraper').call({
    "urls": [
        "https://example.com"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/website-screenshot-scraper").call(run_input={
    "urls": ["https://example.com"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### ❓ FAQ

#### Do I need an account on the site, or an API key?

No. The Actor is ready to run as is, and you only pay the per-event prices above.

#### Where are the images?

In the run's key-value store; each dataset row has the image_url and image_key.

#### What is a protected site?

A site that refuses a standard request. The capture still works and is charged one extra event; you see it in the run's charges.

#### Is a 404 page charged?

No. Only a page that answered with a success status and produced an image is charged.

#### Can it log in?

No. It captures public pages.

#### Is it legal to scrape website screenshots?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request fails?

Failed attempts are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### 🔗 Related scrapers

- [Similarweb Scraper](https://apify.com/scrapercompany/similarweb-scraper): website traffic, ranks and similar sites
- [Google Search Scraper](https://apify.com/scrapercompany/google-search-scraper): organic results and SERP features
- [Google Maps Leads](https://apify.com/scrapercompany/google-maps-leads-scraper): businesses with emails and websites

### 📝 Tried it? Tell others

Once you have run Website Screenshot Scraper, a [short review on the Store](https://apify.com/scrapercompany/website-screenshot-scraper/reviews) helps the next person decide.

### 💬 Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request. We read every issue.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/website-screenshot-scraper/changelog.md

# Actor input Schema

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

One page URL per line, e.g. <code>https://example.com</code>. Each line is one screenshot.

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

Image format: <code>png</code> (default, lossless), <code>jpeg</code> (<code>jpg</code> accepted) or <code>webp</code>.

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

JPEG or WebP quality, 1-100 (default 80). Not for <code>png</code>, which is lossless (422).

## `full_page` (type: `boolean`):

Capture the whole scrollable page instead of the viewport. Not with <code>selector</code>.

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

Viewport width in CSS pixels, 320-3840 (default 1440).

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

Viewport height in CSS pixels, 240-2160 (default 900). With <code>full_page</code> the image is as tall as the page.

## `scale` (type: `number`):

Device pixel ratio, 1-3: <code>2</code> gives a retina image twice the viewport's size in pixels.

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

Capture only the first element matching this CSS selector, e.g. <code>#pricing</code>. Not with Full page.

## `wait_until` (type: `string`):

When the page counts as loaded: <code>domcontentloaded</code> (HTML parsed), <code>load</code> (default: images and styles in) or <code>networkidle</code> (no requests for 500 ms). <code>load</code> and <code>networkidle</code> are waited for as long as <code>timeout_s</code> allows; a page that never settles is captured as it stands.

## `wait_for` (type: `string`):

CSS selector to wait for before the capture, e.g. <code>#prices .row</code>. Never appearing within <code>timeout_s</code> is a free 503: retry, or allow more time.

## `wait_ms` (type: `integer`):

A further fixed wait, in milliseconds (0-10000), before the capture.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Example: <code>{"url":"https://example.org","full_page":true,"format":"jpeg","quality":70}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

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

How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

How many times a request that failed for a temporary reason is tried again right away. A request still failing then gets one more try at the end of the run, after a 30-second pause. Invalid input is never retried.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "format": "png",
  "full_page": false,
  "width": 1440,
  "height": 900,
  "scale": 1,
  "wait_until": "load",
  "wait_ms": 0,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

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

One dataset item per request.

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

Counts of succeeded, failed, skipped and charged requests.

# 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://example.com"
    ]
};

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

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

```

## MCP server setup

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