# Website Screenshot API - Full Page & Mobile Screenshots (`rel8ble/website-screenshot-api`) Actor

Website screenshot API: page URLs in, PNG or JPEG screenshots out, one row per URL with a direct image link. Full page or viewport, desktop / tablet / mobile, dark mode, cookie banners hidden. Bulk lists, failures free. $0.40 per 1,000 screenshots.

- **URL**: https://apify.com/rel8ble/website-screenshot-api.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Developer tools, Automation, SEO tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/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 Screenshots

**Website screenshot API** for bulk URL lists: paste page URLs (one or 50,000) and get a **PNG or JPEG screenshot of every page**, with a **direct image link**, page title, HTTP status and file size on one dataset row per URL. **Viewport or full-page** captures, **desktop, laptop, Full HD, tablet and mobile** presets (iPhone / iPad user agents at 2-3x pixel density), **dark mode**, and **cookie banners hidden** automatically.

Built for **visual monitoring, website archiving, competitor and ad landing-page tracking, SEO reports, QA of deployments, link previews and AI agents that need to "see" a page**. Real headless Chromium (Playwright), so JavaScript-heavy sites render like in a browser.

**$0.40 per 1,000 screenshots + Apify usage**, no start fee. Failed URLs and HTTP 4xx / 5xx pages are saved for you but **never charged**.

### What you get

- One row per URL: `screenshotUrl` (direct link to the image), `title`, `statusCode`, `finalUrl` after redirects, `device`, `viewportWidth` x `viewportHeight`, `imageWidth` in real pixels, captured and full page height, `bytes`, `loadTimeMs`, `charged`, `takenAt`.
- The image files themselves in the run's key-value store (download all of them from the **Storage** tab or the API).
- A `RUN_SUMMARY` record: saved / charged / failed counts, every failure with its reason, input warnings.

### Sample output

Real rows from the prefilled input (3 URLs, desktop 1280x800, PNG), Apify cloud run on 3 Dec 2026, **3 screenshots in 3.7 s of crawling** (25 s total run time incl. browser start):

| url | title | statusCode | bytes | loadTimeMs |
|---|---|---|---|---|
| https://www.python.org/ | Welcome to Python.org | 200 | 136,831 | 2,196 |
| https://apify.com/ | Apify: Marketplace of ready-to-run tools for AI | 200 | 162,572 | 3,306 |
| https://en.wikipedia.org/wiki/Web_scraping | Web scraping - Wikipedia | 200 | 226,374 | 1,006 |

One row (local test run, 3 Dec 2026):

```json
{
  "url": "https://news.ycombinator.com/",
  "finalUrl": "https://news.ycombinator.com/",
  "statusCode": 200,
  "title": "Hacker News",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/news.ycombinator.com-108fc7cbbc.png",
  "key": "news.ycombinator.com-108fc7cbbc.png",
  "format": "png",
  "device": "desktop",
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "fullPage": false,
  "imageWidth": 1280,
  "capturedHeightCss": 800,
  "pageHeightCss": 1217,
  "heightTruncated": false,
  "bytes": 107850,
  "loadTimeMs": 3723,
  "charged": true,
  "takenAt": "2026-12-03T17:47:54.515Z"
}
```

### Quick start (3 steps)

1. Paste your URLs into **Page URLs** (bare domains like `example.com` work too).
2. Pick a **Device**, and switch on **Full-page screenshot** if you want the whole page.
3. Click **Start**. Open the **Screenshots** view: every row shows the image inline with a link to the file.

### How to use

| Goal | Input |
|---|---|
| First-screen screenshots of a URL list | `{"urls": ["https://stripe.com", "https://vercel.com"]}` |
| Full-page mobile screenshots | `{"urls": ["https://stripe.com"], "device": "mobile", "fullPage": true}` |
| Small JPEG thumbnails for link previews | `{"urls": [...], "format": "jpeg", "quality": 60}` |
| Wait for a chart before capturing | `{"urls": [...], "waitForSelector": "#chart", "delayMs": 2000}` |
| Hide a chat widget or newsletter popup | `{"urls": [...], "hideSelectors": [".intercom-launcher", "#newsletter-popup"]}` |
| Dark-mode version of a site | `{"urls": [...], "darkMode": true}` |
| Daily visual monitoring | Save the input as a task and add a **Schedule** (e.g. every morning); compare `bytes` or the images over time |

Options: `viewportWidth` / `viewportHeight` (custom size, up to 3840 x 4320), `waitUntil` (`load`, `domcontentloaded`, `networkidle`), `maxFullPageHeight` (long pages are cut here, default 15,000 px), `scrollToBottom` (loads lazy images; on for full-page shots), `blockTrackers` (on: analytics, ad and chat scripts are skipped, which makes pages faster and cheaper without changing how they look), `blockMedia`, `maxConcurrency`, `pageTimeoutSecs`, `maxRetries`, `proxyConfiguration`.

**Why captures do not fail on slow sites:** the page is opened as soon as its HTML is ready, then the actor waits for the `load` event for at most 10 s (15 s for `networkidle`). One slow ad server can delay a capture, but never kill it.

### Pricing

**$0.40 per 1,000 screenshots** (`result` event, $0.0004 each) **plus Apify platform usage** (the browser's compute time, billed by Apify to your account like on any actor). No start fee.

| Screenshots | Event price |
|---|---|
| 100 | $0.04 |
| 1,000 | $0.40 |
| 10,000 | $4.00 |
| 100,000 | $40.00 |

Measured usage on 3 Dec 2026 (default 4 GB memory): the prefilled 3-URL run used **$0.0061** of platform usage; a 40-URL list of heavy brand home pages (BBC, CNN, Nike, IKEA, Airbnb ...) took 201 s and used **$0.052** ($1.30 per 1,000 of these heavy pages). Light pages cost less. The first run on the Apify free plan costs about **$0.007 in total**.

Not charged: URLs that fail to load (DNS errors, timeouts, file downloads), and pages that answer HTTP 4xx / 5xx (they are still saved so you can see the error page, with `charged: false`).

### Price compared (Apify Store, checked 3 Dec 2026)

| Actor | Users (30 days) | Price per 1,000 | Notes |
|---|---|---|---|
| **This actor** | new | **$0.40 + usage** | full page, 5 device presets, dark mode, cookie banners hidden, failures and 4xx/5xx free |
| cheapapi/website-screenshot-api | 360 | $0.89 + usage | |
| moonweil/url-screenshot-api | 163 | $4.00 + $0.001 start | |
| i-scraper/website-screenshot | 67 | $6.00 + usage | |
| apify/screenshot-url | 2,049 | free actor, you pay usage only | 3.9 stars, 96.4% of runs succeeded in the last 30 days (4,103 timed out) |

Rival speed was not measured.

### Use cases

- **Visual monitoring**: schedule daily screenshots of your own or competitors' pages and keep a dated archive.
- **Ad and landing-page tracking**: capture every landing page from an ads export.
- **SEO and client reports**: above-the-fold and full-page shots for audits, decks and proposals.
- **QA after deploys**: desktop + mobile captures of key pages after every release.
- **Lead generation**: thumbnails of prospects' websites for personalised outreach.
- **AI agents and LLM vision**: give a vision model what a page actually looks like.

### Integrations

Run it from the Apify API, Make, Zapier, n8n or the Apify MCP server. Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("rel8ble/website-screenshot-api").call(run_input={"urls": ["https://stripe.com"], "fullPage": True})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["url"], row["screenshotUrl"])
```

Image links need your Apify token (or open them from the console) unless you make the run's storage public.

### Related actors

- [URL to PDF Converter](https://apify.com/rel8ble/url-to-pdf-converter) - the same browser engine, saving pages as PDF files.
- [Website Tech Stack Detector](https://apify.com/rel8ble/website-tech-stack-detector) - CMS, e-commerce platform, analytics, hosting.
- [Contact Details Scraper](https://apify.com/rel8ble/website-contact-extractor) - emails, phones and social links per domain.

### FAQ

**Can it screenshot pages behind a login?** No. It opens public pages only, without cookies or accounts.

**Some big shops show an error page.** A few sites (Amazon, eBay ...) block data-centre IPs. You get their error page with `charged: false`. Turn on Apify Proxy (residential) in **Proxy** for those.

**Does it click "Accept" on cookie banners?** No. Common consent tools are hidden with CSS; nothing is accepted on your behalf.

**How long can a full-page screenshot be?** Up to `maxFullPageHeight` (15,000 CSS px by default, max 30,000). Longer pages are cut and flagged with `heightTruncated: true`.

**PNG or JPEG?** PNG is lossless and sharp for text; JPEG at quality 60-80 is 3-5x smaller for thumbnails.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

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

Pages to capture, one per line (1 to 50,000). Bare domains like example.com get https:// added. Duplicates are skipped.

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

Viewport preset. desktop 1280x800, laptop 1440x900, fullhd 1920x1080, tablet 820x1180 @2x (iPad user agent), mobile 390x844 @3x (iPhone user agent).

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

Capture the whole scrollable page instead of only the first screen. Lazy images are loaded by scrolling first.

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

PNG (lossless) or JPEG (smaller files; set quality below).

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

10-100, used only for JPEG.

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

Overrides the device width (200-3840).

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

Overrides the device height (200-4320).

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

When to capture. load (default) and networkidle are waited for at most 10-15 s after the HTML is ready, so one slow ad script never fails a capture.

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

Wait this long after loading, before the capture (animations, charts). 0-30000.

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

Optional: wait up to 15 s for this element to appear before capturing (e.g. #chart).

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

Very long pages are cut at this height (CSS pixels). 1000-30000.

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

Hide common consent popups (OneTrust, Cookiebot, Didomi, Quantcast, Usercentrics, CookieYes, ...) with CSS. Nothing is clicked or accepted.

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

CSS selectors to hide before capturing, e.g. .chat-widget or #newsletter-popup.

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

Emulate prefers-color-scheme: dark.

## `scrollToBottom` (type: `boolean`):

Scroll down the page before capturing (on by default for full-page shots, off for viewport shots).

## `blockMedia` (type: `boolean`):

Skip loading video / audio files (faster, poster images stay).

## `blockTrackers` (type: `boolean`):

Skip analytics, ad and chat-widget scripts (Google Analytics / Tag Manager, Facebook pixel, Hotjar, Intercom, ...). Faster and cheaper; the page looks the same.

## `maxResults` (type: `integer`):

Stop after this many URLs (0 = all).

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

Pages rendered at the same time (1-20). Memory limits it automatically.

## `pageTimeoutSecs` (type: `integer`):

Navigation timeout per page (5-180).

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

Retries per failed URL (0-5). Failed URLs are never charged.

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

Optional. Off by default (direct datacenter connection). Turn on Apify Proxy for geo-specific pages.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.python.org",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "device": "desktop",
  "fullPage": false,
  "format": "png",
  "quality": 80,
  "waitUntil": "load",
  "delayMs": 500,
  "maxFullPageHeight": 15000,
  "hideCookieBanners": true,
  "darkMode": false,
  "blockMedia": false,
  "blockTrackers": true,
  "maxResults": 0,
  "maxConcurrency": 5,
  "pageTimeoutSecs": 30,
  "maxRetries": 2
}
```

# Actor output Schema

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

One row per URL: direct image link, title, HTTP status, device, size.

## `images` (type: `string`):

The PNG / JPEG files themselves.

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

Saved / failed counts, failures with reasons, input warnings.

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

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/website-screenshot-api").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.python.org",
        "https://en.wikipedia.org/wiki/Web_scraping",
    ] }

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

```

## MCP server setup

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

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/SVX3CG0Gg27fdcDpo/builds/q9YzzXGvyH28Kd6Q2/openapi.json
