# Website Screenshot API - Full Page, Mobile & Bulk URLs (`seungtaek94/website-screenshot-api`) Actor

Take full-page or viewport screenshots of any list of URLs. Desktop, laptop, tablet and mobile presets, PNG or JPEG, cookie banners auto-hidden, lazy-loaded images scrolled in. Pay only for successful screenshots.

- **URL**: https://apify.com/seungtaek94/website-screenshot-api.md
- **Developed by:** [seungtaek kim](https://apify.com/seungtaek94) (community)
- **Categories:** Developer tools, SEO 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 & Bulk URLs

Take screenshots of any list of web pages in one run. Get **full-page or viewport** captures as **PNG or JPEG**, from **desktop, laptop, tablet or mobile** viewports. Cookie banners are hidden automatically and lazy-loaded images are scrolled into view before the capture.

**You pay only for successful screenshots.** Pages that fail to load are retried twice, reported in the dataset with the error, and never charged.

### What can it do?

- 📸 **Bulk screenshots**: paste 1 or 10,000 URLs
- 📱 **Device presets**: Desktop 1920×1080, Laptop 1366×768, Tablet 820×1180 @2x, Mobile 390×844 @3x (retina, mobile user agent, touch), or any custom viewport
- 📜 **Full page** capture with automatic scrolling, so lazy images actually load (very long pages are cut at a height you choose)
- 🍪 **Cookie banners hidden**: OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast, Sourcepoint, Iubenda, Termly and more, plus your own CSS selectors (chat widgets, newsletter popups)
- ⏱️ **Wait options**: `load`, `domcontentloaded` or `networkidle`, plus an extra delay for animations
- 🌍 **Optional proxy** to capture a page as seen from another country
- 🔗 **Direct image links**: every result has a `screenshotUrl` you can open, embed or download

### Use cases

- Visual monitoring of your own or competitors' landing pages
- Archiving pages for compliance, evidence or SEO history
- Thumbnails and previews for directories, link lists and dashboards
- QA: check how a site renders on mobile vs desktop
- Feeding page images to AI / vision models

### Input

| Field | Description | Default |
|---|---|---|
| `urls` | List of URLs. `https://` is added if missing | required |
| `device` | `desktop`, `laptop`, `tablet`, `mobile` | `desktop` |
| `fullPage` | Capture the whole page instead of only the viewport | `true` |
| `format` | `png` or `jpeg` | `png` |
| `jpegQuality` | 1-100 | `80` |
| `waitUntil` | `load`, `domcontentloaded`, `networkidle` | `load` |
| `delaySeconds` | Extra wait before the capture (max 30) | `1` |
| `scrollToBottom` | Scroll first so lazy images load | `true` |
| `hideCookieBanners` | Hide common consent popups | `true` |
| `hideSelectors` | Extra CSS selectors to hide | `[]` |
| `viewportWidth` / `viewportHeight` | Custom viewport, overrides the preset | - |
| `maxHeight` | Max full-page height in px | `15000` |
| `timeoutSeconds` | Page load timeout | `45` |
| `maxConcurrency` | Pages captured in parallel | `5` |
| `proxyConfiguration` | Optional proxy | none |

Example:

```json
{
    "urls": ["https://apify.com", "example.com"],
    "device": "mobile",
    "fullPage": true,
    "format": "jpeg"
}
```

### Output

Each URL produces one dataset item. The image itself is stored in the run's key-value store and linked from `screenshotUrl`.

```json
{
    "url": "https://example.com/",
    "finalUrl": "https://example.com/",
    "statusCode": 200,
    "title": "Example Domain",
    "screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/screenshot-0000-example-com-b559c7edd3",
    "screenshotKey": "screenshot-0000-example-com-b559c7edd3",
    "format": "png",
    "device": "desktop",
    "width": 1920,
    "height": 1080,
    "fullPage": true,
    "bytes": 87284,
    "takenAt": "2026-11-23T13:44:47.754Z",
    "error": null
}
```

Download the results as JSON, CSV, Excel or HTML, or get them through the Apify API, webhooks, Make, Zapier, n8n or the Apify MCP server for AI agents.

### Pricing

Pay per event: you are charged **per successful screenshot** (see the price on the Pricing tab). Failed pages cost nothing. You can cap the cost of each run with the "Max cost per run" option.

### Tips

- Pages with heavy animations: set `delaySeconds` to 3-5.
- Single-page apps: use `waitUntil: networkidle`.
- Sites that block data-center traffic: enable the proxy.
- Smaller files: use JPEG at quality 70-80.

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

Capturing publicly available pages is generally fine. Respect the website's terms of service and copyright when you reuse the images. Don't use this Actor to capture pages behind a login or to collect personal data.

### Support

Found a page that doesn't render well, or need a feature? Open an issue on the Issues tab.

# Actor input Schema

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

Pages to screenshot. One URL per line. If the scheme is missing, https:// is added.

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

Viewport preset. Mobile and tablet use a mobile user agent, touch and retina scale.

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

Capture the whole scrollable page instead of only the visible viewport.

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

PNG is lossless. JPEG files are much smaller.

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

1-100. Used only when the format is JPEG.

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

When navigation counts as finished. 'networkidle' is the most complete but slowest.

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

Wait this long after the page loads, before the screenshot. Helps with animations and late content. Max 30.

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

Scroll through the page before a full-page screenshot so lazy-loaded images appear.

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

Hide common cookie / consent popups (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast and more) with CSS.

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

Additional elements to hide, e.g. '.newsletter-popup' or '#chat-widget'.

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

Overrides the device preset width. Max 3840.

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

Overrides the device preset height. Max 4320.

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

Very long pages are cut at this height.

## `timeoutSeconds` (type: `integer`):

Navigation timeout per page. Failed pages are retried twice and are not charged.

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

How many pages are captured in parallel.

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

Optional. Use a proxy for sites that block data-center IPs or to capture a page from a specific country.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "device": "desktop",
  "fullPage": true,
  "format": "png",
  "jpegQuality": 80,
  "waitUntil": "load",
  "delaySeconds": 1,
  "scrollToBottom": true,
  "hideCookieBanners": true,
  "hideSelectors": [],
  "maxHeight": 15000,
  "timeoutSeconds": 45,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `files` (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://en.wikipedia.org/wiki/Web_scraping"
    ]
};

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

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

```

## MCP server setup

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