# Website Screenshot API: Full-Page, Mobile & Desktop (`lowcountrytech/website-screenshot`) Actor

Take screenshots of any list of web pages: full-page or viewport, desktop, laptop, tablet or mobile, PNG or JPEG, light or dark mode, cookie banners hidden. Each image gets a direct download link, plus the page title, final URL and status code. Real Chrome browser. Pay only per screenshot.

- **URL**: https://apify.com/lowcountrytech/website-screenshot.md
- **Developed by:** [Lowcountry Tech Solutions LLC](https://apify.com/lowcountrytech) (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 $1.40 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Take screenshots of any list of web pages in one run, full-page or first screen, as desktop, laptop, tablet or mobile, and get a direct download link for each image.

**No login · Real Chrome browser · PNG or JPEG with download links · Tested daily**

Sample output from the default input:

| URL | Title | Screenshot URL | Device | Full page |
|---|---|---|---|---|
| crawlee.dev/ | Crawlee · Build reliable crawlers. Fast. | api.apify.com/v2/key-value-stores/REPLAY/record… | desktop | no |

### What does Website Screenshot API do?

Website Screenshot API opens each page you list in a real Chrome browser, waits for it to load, optionally scrolls it so lazy-loaded images appear, hides common cookie banners and chat widgets, and captures the first screen or the whole page as PNG or JPEG. Every image is saved in the run's key-value store with a direct link, and each record also carries the page title, the URL the browser ended on and the HTTP status code, so you can spot broken or redirected pages while you collect screenshots.

- Full-page or viewport screenshots, with lazy-loaded images scrolled into view
- Desktop, laptop, tablet and mobile presets, or any custom size
- PNG or JPEG, light or dark mode
- Cookie banners and chat bubbles hidden from the image (nothing is clicked)
- A download link, page title, final URL and status code for every screenshot

### Who is it for?

- Visual monitoring: a scheduled screenshot of your homepage, pricing page or a competitor's
- Website thumbnails for directories, link previews and dashboards
- Before-and-after evidence for redesigns, SEO changes and migrations
- Archiving how landing pages and ads looked on a given day
- Checking how pages render on mobile versus desktop

### How much does it cost?

This actor uses **pay-per-event** pricing, so you pay only for what you get:

| Event | Price |
|---|---|
| Screenshot (per screenshot) | $0.002 ($2.00 per 1,000) |
| Actor start (per run) | $0.001 |

Paid Apify plans get the Store's discount tiers on the screenshot price: $1.80 per 1,000 at Bronze, $1.60 at Silver, and $1.40 at Gold and above.

The default input returns up to 20 screenshots, which costs about $0.041. Apify's free plan includes monthly credit that covers thousands of screenshots. Set **Maximum screenshots** or a maximum cost per run to cap spending.

### How to use it

1. Click **Try for free**.
2. Paste the page URLs, one per line, and choose the device, full page or not, and the format.
3. Click **Start**. Each screenshot takes a few seconds; pages on the same site are taken about one per second.
4. Open the `screenshotUrl` links in the results, or download the images from the run's key-value store.

### Input

| Field | Type | Description | Default |
|---|---|---|---|
| `urls` | array | Pages to capture, one per line, e.g. `https://example.com/pricing`. A bare domain like `example.com` becomes `https://example.com/`. | `["https://crawlee.dev/"]` |
| `device` | string | Screen to emulate. `desktop` 1920x1080, `laptop` 1366x768, `tablet` 820x1180 (touch), `mobile` 390x844 (touch, 3x pixel density), or `custom` with the width and height below. | `"desktop"` |
| `width` | integer | Viewport width when Device is `custom`. | `1280` |
| `height` | integer | Viewport height when Device is `custom`. | `800` |
| `fullPage` | boolean | Capture the whole scrollable page instead of only the first screen. The page is scrolled first so lazy-loaded images appear. Very long pages are cut at 15,000 px. | `false` |
| `format` | string | `png` is lossless; `jpeg` files are much smaller. | `"png"` |
| `jpegQuality` | integer | 1-100, used only for JPEG. | `80` |
| `darkMode` | boolean | Ask the page for its dark color scheme (`prefers-color-scheme: dark`), where the site supports one. | `false` |
| `hideCookieBanners` | boolean | Hide common cookie-consent and chat widgets in the image (purely cosmetic: nothing is clicked or accepted). | `true` |
| `waitUntil` | string | When the page counts as loaded: `load` (default), `domcontentloaded` (fastest), or `networkidle` (no network activity for 0.5 s; best for pages that keep loading data). | `"load"` |
| `delayMs` | integer | Wait this long after the page has loaded, for animations or late content. At most 10,000. | `500` |
| `maxItems` | integer | Stop after this many screenshots. You are charged per screenshot, so this also caps the cost of a run. Use 0 for no limit. | `20` |
| `proxyConfiguration` | object | Optional. The target is a public page or API and normally works without a proxy. | `{"useApifyProxy":false}` |

Example input:

```json
{
  "urls": [
    "https://crawlee.dev/"
  ],
  "device": "desktop",
  "width": 1280,
  "height": 800,
  "fullPage": false,
  "format": "png",
  "jpegQuality": 80,
  "darkMode": false,
  "hideCookieBanners": true,
  "waitUntil": "load",
  "delayMs": 500,
  "maxItems": 20
}
```

### Output

Each screenshot is one record in the dataset:

| Field | Type | Description |
|---|---|---|
| `url` | string | The page URL as you entered it (normalized). |
| `finalUrl` | string | The URL the browser ended on after redirects. |
| `statusCode` | integer or null | HTTP status code of the page. |
| `title` | string or null | The page title after loading. |
| `screenshotUrl` | string | Direct link to the image in the run's key-value store. |
| `screenshotKey` | string | The image's key in the run's default key-value store. |
| `format` | string | png or jpeg. |
| `device` | string | The device that was emulated. |
| `width` | integer | Viewport width in CSS pixels. |
| `height` | integer | Height of the image in CSS pixels (the viewport, or the page height for a full-page capture). |
| `fullPage` | boolean | True for a full-page capture. |
| `bytes` | integer | Image file size in bytes. |
| `scrapedAt` | string | When this record was scraped (ISO 8601). |

Sample:

```json
[
  {
    "url": "https://crawlee.dev/",
    "finalUrl": "https://crawlee.dev/",
    "statusCode": 200,
    "title": "Crawlee · Build reliable crawlers. Fast.",
    "screenshotUrl": "https://api.apify.com/v2/key-value-stores/REPLAY/records/screenshot-crawlee-dev-desktop-bf5f45a9.png",
    "screenshotKey": "screenshot-crawlee-dev-desktop-bf5f45a9.png",
    "format": "png",
    "device": "desktop",
    "width": 1920,
    "height": 1080,
    "fullPage": false,
    "bytes": 151555,
    "scrapedAt": "2026-10-20T12:00:00.000Z"
  }
]
```

### Limitations

- Public pages only: no logins, cookies or form filling.
- robots.txt is respected; pages a site disallows for crawlers are skipped and logged.
- Sites that block automated browsers may show an error page; the status code tells you.
- Full-page captures stop at 15,000 px.

### FAQ

**Where are the images?**

In the run's default key-value store. Each dataset record has `screenshotUrl`, a direct link to the image, and `screenshotKey`, its key in the store. Images are kept as long as your Apify plan keeps run storage.

**Can it screenshot pages behind a login?**

Website Screenshot API opens public pages only, with no cookies or logins, so pages behind a login cannot be captured. It respects robots.txt and refuses sites whose terms forbid automated access.

**Does it click cookie banners away?**

Website Screenshot API never clicks cookie banners. It only hides common consent banners and chat widgets from the picture with CSS; nothing is clicked, accepted or declined on the site.

**How long can a full-page screenshot be?**

Pages are captured up to 15,000 pixels tall; longer pages are cut at that height.

**Is it legal to scrape this data?**

Website Screenshot API reads only publicly available, non-personal page screenshots data from the public web pages you list, without logging in and at a polite request rate. It respects robots.txt. You are responsible for how you use the results; check the target's terms and the laws that apply to you. If you are unsure, ask a lawyer.

**Can I call it from my own code, Make, Zapier, n8n, or an AI agent?**

Website Screenshot API has an HTTP API, official JavaScript and Python clients, and integrations with Make, Zapier, n8n and LangChain. AI agents can run it as a tool through the Apify MCP server: add `https://mcp.apify.com?tools=lowcountrytech/website-screenshot` to your MCP client and the actor becomes the tool `lowcountrytech--website-screenshot`. Set `maxTotalChargeUsd` in the call options to cap what one run can cost.

**Something broke or a field is missing. What now?**

Open an issue on the Issues tab with the input you used. The actor is tested daily and repaired quickly when the source site changes.

***

# Actor input Schema

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

Pages to capture, one per line, e.g. `https://example.com/pricing`. A bare domain like `example.com` becomes `https://example.com/`.

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

Screen to emulate. `desktop` 1920x1080, `laptop` 1366x768, `tablet` 820x1180 (touch), `mobile` 390x844 (touch, 3x pixel density), or `custom` with the width and height below.

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

Viewport width when Device is `custom`.

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

Viewport height when Device is `custom`.

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

Capture the whole scrollable page instead of only the first screen. The page is scrolled first so lazy-loaded images appear. Very long pages are cut at 15,000 px.

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

`png` is lossless; `jpeg` files are much smaller.

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

1-100, used only for JPEG.

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

Ask the page for its dark color scheme (`prefers-color-scheme: dark`), where the site supports one.

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

Hide common cookie-consent and chat widgets in the image (purely cosmetic: nothing is clicked or accepted).

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

When the page counts as loaded: `load` (default), `domcontentloaded` (fastest), or `networkidle` (no network activity for 0.5 s; best for pages that keep loading data).

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

Wait this long after the page has loaded, for animations or late content. At most 10,000.

## `maxItems` (type: `integer`):

Stop after this many screenshots. You are charged per screenshot, so this also caps the cost of a run. Use 0 for no limit.

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

Optional. The target is a public page or API and normally works without a proxy.

## Actor input object example

```json
{
  "urls": [
    "https://crawlee.dev/"
  ],
  "device": "desktop",
  "width": 1280,
  "height": 800,
  "fullPage": false,
  "format": "png",
  "jpegQuality": 80,
  "darkMode": false,
  "hideCookieBanners": true,
  "waitUntil": "load",
  "delayMs": 500,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `summary` (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://crawlee.dev/"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lowcountrytech/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://crawlee.dev/"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("lowcountrytech/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://crawlee.dev/"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call lowcountrytech/website-screenshot --silent --output-dataset

```

## MCP server setup

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