# Website Screenshot Tool (Bulk URL to Image) (`sitehealth-tools/website-screenshot`) Actor

Take full-page or viewport screenshots of any list of URLs as PNG or JPEG. Desktop or mobile, custom size, cookie banners hidden, lazy images loaded. Direct image links in the output. $0.002 per screenshot; failed URLs are free.

- **URL**: https://apify.com/sitehealth-tools/website-screenshot.md
- **Developed by:** [SiteHealth Tools](https://apify.com/sitehealth-tools) (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

from $2.00 / 1,000 screenshot captureds

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 Tool (Bulk URL to Image)

**Screenshot hundreds of web pages in one run: full-page or viewport, desktop or mobile, PNG or JPEG.** Every row in the output has a direct link to its image, ready to drop into reports, spreadsheets or archives.

- **Full-page captures that look right:** lazy-loaded images are scrolled into view first, and common cookie-consent pop-ups (OneTrust, Cookiebot, Usercentrics, Didomi and more) are hidden automatically.
- **Desktop or mobile:** 1280×800 desktop or iPhone-sized 390×844 with a mobile user agent, or any custom viewport up to 3840 px wide.
- **Reliable on slow sites:** if a page never finishes loading, whatever has rendered is still captured instead of the run failing.
- **Simple price:** **$0.002 per screenshot.** URLs that fail to load are free. 1,000 screenshots = $2.

**Who uses it:** marketers and SEO agencies capturing client and competitor pages, QA and web teams checking layouts after a release, compliance teams archiving how a page looked on a date, and researchers building visual datasets.

### How much does it cost?

**$0.002 per screenshot delivered** (plus Apify's $0.00005 run-start fee). No charge for URLs that fail.

| Screenshots | Cost |
| --- | --- |
| 100 | $0.20 |
| 1,000 | $2.00 |
| 10,000 | $20.00 |

Your maximum charge limit is respected: the Actor stops once it is reached.

### How to use it

1. Paste full URLs into **URLs** (or upload a text/CSV file), or bare domains into **URLs (plain list)**.
2. Choose **Full-page screenshot**, **Device** and **Image format**.
3. Click **Start**. The **Output** tab shows a thumbnail for each URL; `screenshot_url` is a direct link to the file in the run's key-value store.

#### Example input

```json
{
  "startUrls": [{ "url": "https://www.python.org" }],
  "urls": ["books.toscrape.com"],
  "fullPage": true,
  "device": "desktop",
  "format": "jpeg"
}
```

#### Example output

```json
{
  "url": "https://books.toscrape.com",
  "final_url": "https://books.toscrape.com/",
  "status": 200,
  "title": "All products | Books to Scrape - Sandbox",
  "screenshot_url": "https://api.apify.com/v2/key-value-stores/<store-id>/records/screenshot-books-toscrape-com-20534b.jpg",
  "format": "jpeg",
  "device": "desktop",
  "width": 1280,
  "height": 2549,
  "full_page": true,
  "error": null
}
```

### FAQ

**How tall can a full-page screenshot be?** Up to 16,000 px; longer pages are cut at that height.

**Can it screenshot pages behind a login?** No. It captures publicly accessible pages only.

**How long are images kept?** In the run's default key-value store, for as long as your Apify plan keeps run storage. Download them or copy them to your own storage if you need them long-term.

**How do I go faster?** Raise **Pages in parallel** together with run memory (about one page per 512 MB).

**Can I run it on a schedule or via API?** Yes: Apify Schedules (great for daily visual monitoring), the API, Make, Zapier, n8n.

### Related tools from the same developer

| Tool | What it does | Price |
| --- | --- | --- |
| [Broken Link Checker & SEO Site Audit](https://apify.com/sitehealth-tools/website-health-audit) | Crawl a site for broken links, 404s, redirect chains and on-page SEO issues; HTML report + CSV fix list | $0.015 per page |
| [Website Email & Contact Extractor](https://apify.com/sitehealth-tools/website-contact-extractor) | Emails, phone numbers and social profiles from a list of company websites | $0.004 per website with contacts |
| [Tech Stack Detector](https://apify.com/sitehealth-tools/tech-stack-detector) | CMS, ecommerce, analytics, marketing tools, frameworks, CDN and hosting behind any list of websites | $0.002 per website |
| [Website Screenshot Tool](https://apify.com/sitehealth-tools/website-screenshot) | Full-page or viewport screenshots of many URLs, desktop or mobile, PNG or JPEG | $0.002 per screenshot |

# Actor input Schema

## `startUrls` (type: `array`):

Pages to screenshot. Full URLs such as https://acme.com/pricing. You can also upload a CSV/text file of URLs.

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

Optional. Paste bare domains or URLs, one per line (acme.com, www.acme.com, https://acme.com). Combined with the list above; duplicates are removed.

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

Capture the whole scrollable page (up to 16,000 px tall) instead of only the visible viewport. Lazy-loaded images are scrolled into view first.

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

Desktop (1280x800 by default) or mobile (iPhone-sized 390x844, mobile user agent).

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

PNG is lossless. JPEG files are much smaller.

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

1-100. Only used for JPEG.

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

Leave empty for the device default (desktop 1280, mobile 390).

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

Leave empty for the device default (desktop 800, mobile 844).

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

Hide common cookie-consent pop-ups (OneTrust, Cookiebot, Usercentrics, Didomi and others) before capturing.

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

When the page counts as loaded. 'load' suits most sites; 'networkidle' waits for slow dashboards and charts.

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

Wait this long after loading, for animations and late content.

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

If the page hasn't finished loading by then, whatever has rendered is captured.

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

Raise together with memory (about 1 page per 512 MB).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.python.org"
    },
    {
      "url": "https://books.toscrape.com"
    }
  ],
  "fullPage": false,
  "device": "desktop",
  "format": "png",
  "jpegQuality": 80,
  "hideCookieBanners": true,
  "waitUntil": "load",
  "delayMs": 1000,
  "pageTimeoutSecs": 45,
  "maxConcurrency": 1
}
```

# Actor output Schema

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

One row per URL with a direct link to its screenshot.

## `files` (type: `string`):

All image files in the key-value store.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.python.org"
        },
        {
            "url": "https://books.toscrape.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sitehealth-tools/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 = { "startUrls": [
        { "url": "https://www.python.org" },
        { "url": "https://books.toscrape.com" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sitehealth-tools/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 '{
  "startUrls": [
    {
      "url": "https://www.python.org"
    },
    {
      "url": "https://books.toscrape.com"
    }
  ]
}' |
apify call sitehealth-tools/website-screenshot --silent --output-dataset

```

## MCP server setup

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