# Website Screenshot & PDF - Bulk Full-Page, Mobile & Desktop (`wood-between-studio/website-screenshot`) Actor

Take full-page screenshots (PNG, JPEG) or PDFs of hundreds of URLs at once. Desktop, laptop, tablet and mobile views, cookie banners hidden, lazy images loaded. Pay only per successful screenshot.

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

## Pricing

$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 & PDF: Bulk Full-Page Screenshots for Desktop, Tablet & Mobile

Capture **full-page screenshots or PDFs of hundreds of websites in one run**. Paste URLs, pick devices, and get PNG, JPEG or PDF files plus a table with a direct link to every file.

### Why use it?

- **Bulk:** hundreds of URLs per run, several pages in parallel.
- **Every screen size:** Desktop (1920×1080), Laptop (1366×768), Tablet (iPad, 2x) and Mobile (iPhone, 3x) in a single run. You can also set a custom width.
- **Clean shots:** common cookie banners and chat bubbles are hidden with CSS and common ad networks are blocked. Lazy-loaded images are scrolled into view first, so full-page shots aren't blank at the bottom.
- **PNG, JPEG or PDF.** PDFs can use A4, Letter, Legal, A3 or Tabloid, in portrait or landscape, with screen or print styles.
- **Element screenshots:** capture just `#pricing` or `.hero` with a CSS selector.
- **Dark mode, custom CSS, wait-for-selector, extra delay and browser language.**
- **Fair pricing:** you pay per successful screenshot. Failed pages are reported but never charged.

### Use cases

- Visual archives and proof of how a page looked on a given date (schedule it daily)
- Competitor and landing-page monitoring
- Design QA across desktop and mobile
- Thumbnails and previews for directories, link-in-bio pages and reports
- Converting web pages to PDF for offline reading or sharing

### Input

| Field | Default | Notes |
|---|---|---|
| `urls` | — | One per line |
| `devices` | `["desktop"]` | `desktop`, `laptop`, `tablet`, `mobile` |
| `format` | `png` | `png`, `jpeg`, `pdf` |
| `fullPage` | `true` | Whole scrollable page |
| `hideCookieBanners` | `true` | CSS-hides consent pop-ups and chat widgets |
| `scrollToLoadLazyContent` | `true` | Loads lazy images |
| `waitUntil` | `networkidle` | or `load`, `domcontentloaded` |
| `delaySeconds` | `1` | Extra wait |
| `selector` | — | Capture one element |
| `darkMode` | `false` | |
| `maxFullPageHeight` | `15000` | Very long pages are cut here |

#### Example

```json
{
  "urls": ["https://apify.com", "https://en.wikipedia.org/wiki/Web_scraping"],
  "devices": ["desktop", "mobile"],
  "format": "jpeg",
  "fullPage": true
}
```

### Output

Every file is saved in the run's key-value store. Each dataset row links to its file:

```json
{
  "url": "https://apify.com",
  "finalUrl": "https://apify.com/",
  "device": "mobile",
  "format": "jpeg",
  "status": "success",
  "httpStatus": 200,
  "title": "Apify: Full-stack web scraping and data extraction platform",
  "fileUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/apify-com-mobile-xxxx.jpg",
  "fileSizeBytes": 2108796,
  "loadTimeMs": 6120,
  "error": null
}
```

Failed URLs show up with `status: "failed"` and the reason, such as DNS errors, timeouts or a missing element.

### Pricing

**$2.00 per 1,000 successful screenshots** ($0.002 each). Platform usage is included. Failed pages are free. Set a maximum charge per run in the run options if you want a hard cap.

### Tips

- For very heavy pages, use `waitUntil: "load"` and `delaySeconds: 3` for speed.
- Raise memory (4 GB+) when you raise `maxConcurrency` above 3.
- Use a proxy only if a site shows different content by country.

### Responsible use

This tool loads public web pages the way a normal browser does. It doesn't log in, bypass paywalls or solve captchas. You're responsible for having the right to capture and use the pages you submit, including copyright and each site's terms.

### Support

Questions or feature requests? Open an issue on the **Issues** tab. We read every one.

### Call it from curl, JavaScript or Python

You can run this Actor in the [Apify Console](https://apify.com/wood-between-studio/website-screenshot) with no code, or call it as an API from curl, JavaScript or Python. Replace `YOUR_TOKEN` with an [Apify API token](https://console.apify.com/account/integrations).

#### curl

```bash
curl "https://api.apify.com/v2/acts/wood-between-studio~website-screenshot/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://apify.com"], "devices": ["desktop", "mobile"], "format": "jpeg"}'
```

#### JavaScript

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('wood-between-studio/website-screenshot').call({
  "urls": [
    "https://apify.com"
  ],
  "devices": [
    "desktop",
    "mobile"
  ],
  "format": "jpeg"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("wood-between-studio/website-screenshot").call(run_input={
  "urls": [
    "https://apify.com"
  ],
  "devices": [
    "desktop",
    "mobile"
  ],
  "format": "jpeg"
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

You can also schedule the Actor, cap the spend per run, and send the dataset to Google Sheets, Slack or a webhook from the Console. Store page: [apify.com/wood-between-studio/website-screenshot](https://apify.com/wood-between-studio/website-screenshot).

# Actor input Schema

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

Pages to capture, one per line. https:// is added if missing.

## `devices` (type: `array`):

One screenshot is taken per URL per device. Desktop 1920×1080, Laptop 1366×768, Tablet 820×1180 (2x), Mobile 390×844 (3x, iPhone).

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

PNG (lossless), JPEG (smaller files) or PDF (printable document).

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

Capture the whole scrollable page, not just the visible screen.

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

Hides common consent pop-ups and chat bubbles with CSS so they don't cover the page.

## `scrollToLoadLazyContent` (type: `boolean`):

Scrolls through the page first so lazy-loaded images appear in full-page shots.

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

Faster loads and cleaner screenshots.

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

When the page counts as loaded. 'Network idle' is most complete; 'Load' is faster.

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

Extra wait after loading, for animations or late content.

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

Optional. Wait until this element appears (up to 15 s) before capturing.

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

Optional. Screenshot a single element, e.g. #pricing or .hero.

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

Ask the site for its dark color scheme (prefers-color-scheme: dark).

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

10–100. Only used for JPEG.

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

Optional. Overrides the desktop viewport width.

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

Optional. Overrides the desktop viewport height.

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

Very long pages are cut at this height to keep files usable.

## `customCss` (type: `string`):

Optional CSS injected before capture, e.g. to hide a sticky header.

## `pdfPaperSize` (type: `string`):

Only for PDF output.

## `pdfLandscape` (type: `boolean`):

Only for PDF output.

## `pdfUsePrintCss` (type: `boolean`):

Off = PDF looks like the screen. On = uses the site's print stylesheet.

## `locale` (type: `string`):

e.g. en-US, de-DE, fr-FR.

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

Give up on a page after this long.

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

How many pages to capture at once. Raise memory if you raise this.

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

Optional. Use a proxy for sites that show a different page by country.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "devices": [
    "desktop"
  ],
  "format": "png",
  "fullPage": true,
  "hideCookieBanners": true,
  "scrollToLoadLazyContent": true,
  "blockAds": true,
  "waitUntil": "networkidle",
  "delaySeconds": 1,
  "darkMode": false,
  "jpegQuality": 80,
  "maxFullPageHeight": 15000,
  "pdfPaperSize": "A4",
  "pdfLandscape": false,
  "pdfUsePrintCss": false,
  "locale": "en-US",
  "timeoutSeconds": 60,
  "maxConcurrency": 3,
  "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("wood-between-studio/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://apify.com",
        "https://en.wikipedia.org/wiki/Web_scraping",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wood-between-studio/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/tOynSmSvdTcTrXgj0/builds/4mhJN4KF0MS3dwkEq/openapi.json
