# Website Screenshot API: Full Page, Mobile, PNG, JPEG (`redfoxscout/screenshot-api`) Actor

Screenshots of a list of URLs as PNG or JPEG: full page or viewport, desktop, laptop, tablet or mobile size, with cookie banners hidden. Images are saved to the key-value store with public links. $2.50 per 1,000 screenshots, compute included. Failed pages are free.

- **URL**: https://apify.com/redfoxscout/screenshot-api.md
- **Developed by:** [Red Fox Scout](https://apify.com/redfoxscout) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.88 / 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

Capture **website screenshots in bulk**: give it up to 1,000 page URLs and get a **PNG or JPEG for each one**, full page or viewport, at desktop, laptop, tablet or phone size, with cookie banners hidden. Each image is saved to the run's key-value store with a public link, and each dataset row says what happened to its page.

**Price: $2.50 per 1,000 screenshots**, compute included. Failed, blocked and refused pages are free. Apify's free plan includes $5 of credit a month, which covers about 2,000 screenshots.

![Output preview: dataset table of website screenshots with links, sizes and page titles](https://raw.githubusercontent.com/TikTop-Data/apify-store-assets/main/images/screenshot-api-output.png)

### Questions it answers

- What does my homepage look like on a phone, a tablet and a laptop?
- Can I capture the full length of a list of pages as PNG files in one run?
- What did a competitor's pricing page look like on a given day?
- Can I get a link to each screenshot to share or embed?

### Who uses this

- 🎨 **Designers and web agencies:** check client layouts at desktop, tablet and phone sizes in one run.
- 📈 **Marketing and competitor teams:** keep dated images of competitor homepages and pricing pages.
- 🛠️ **Developers and QA:** capture a page list before and after a release and compare the images.

### Why this Website Screenshot API

- 📦 **Bulk in one run:** up to 1,000 URLs, with the same settings for every page.
- 🧹 **Clean captures:** common cookie banners are hidden with CSS. Nothing is clicked and no consent is given.
- 📜 **Full pages that load:** lazy images are scrolled into view before a full-page capture.
- 💸 **Pay for results:** failed, blocked or refused pages are free, and each error row says why.
- 🔗 **Works with other Actors:** feed it URLs from another Actor's dataset, or run it on a schedule.

### How to use the Website Screenshot API

1. Click **Try for free** (a free Apify account is enough).
2. Paste the page URLs, one per line. A bare domain such as `apify.com` opens over https.
3. Choose a device size, PNG or JPEG, and whether to capture the full page. The defaults give a 1920 x 1080 desktop PNG.
4. Click **Start**. Each page takes a few seconds.
5. Open the dataset to see the screenshots, then download the results as JSON, CSV or Excel.

### Input

| Field | Default | What it does |
|---|---|---|
| `urls` | – | Pages to capture, one per line: full URLs or bare domains. Up to 1,000 per run. |
| `device` | `desktop` | Screen size: desktop 1920 x 1080, laptop 1366 x 768, tablet 768 x 1024 (touch) or mobile 390 x 844 (phone browser). |
| `width` / `height` | preset | Override the device size in px (width 320 to 3840, height 240 to 2160). |
| `fullPage` | `false` | Capture the whole page instead of the first screen. |
| `maxPageHeight` | `16000` | Full-page captures stop at this height in px. A cut page has `truncated: true`. |
| `format` | `png` | `png` (lossless) or `jpeg` (smaller files). |
| `quality` | `80` | JPEG quality from 1 to 100. Ignored for PNG. |
| `waitUntil` | `load` | `load` (page load event) or `networkidle` (waits at most 15 s for network activity to stop). |
| `delaySecs` | `1` | Extra wait after the page loads, 0 to 30 s, for late images and animations. |
| `hideCookieBanners` | `true` | Hides common cookie banners before the capture. It never clicks Accept or any other button. |
| `publicLinks` | `true` | Lets anyone with a screenshot link open it without an Apify token. Turn off to keep images private to your account. |
| `maxConcurrency` | `4` | Pages captured in parallel (up to 8). Each page uses browser memory, so higher values need more. |
| `requestTimeoutSecs` | `30` | Give up on a page after this long. |

Example (the input behind the output row below):

```json
{
  "urls": ["https://apify.com", "https://www.wikipedia.org", "https://example.com/this-page-does-not-exist"]
}
```

### Output

One row per URL. The real row for apify.com from the run with the input above, shortened:

```json
{
  "inputUrl": "https://apify.com",
  "url": "https://apify.com/",
  "domain": "apify.com",
  "httpStatus": 200,
  "finalUrl": "https://apify.com/",
  "status": 200,
  "title": "Apify: Marketplace of ready-to-run tools for AI",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/.../records/apify.com-b2cbecea-1791448701534.png",
  "screenshotKey": "apify.com-b2cbecea-1791448701534.png",
  "format": "png",
  "device": "desktop",
  "width": 1920,
  "height": 1080,
  "fullPage": false,
  "truncated": false,
  "bytes": 178915,
  "takenAt": "2026-10-08T08:38:21.534Z",
  "error": null,
  "checkedAt": "2026-10-08T08:38:21.546Z"
}
```

`screenshotUrl` opens the image. A page that fails keeps the same fields, set to null, and gets an `error` message. The missing page in the example returned `"error": "HTTP 404: the page does not exist, so there is nothing to capture. Not charged."`

### Example tasks

Ready-made inputs you can open, change and run:

- [Capture full-page screenshots of competitor homepages](https://apify.com/redfoxscout/screenshot-api/examples/screenshot-competitor-homepages-full-page)

### Full pages, device sizes and cookie banners

- **Full page:** turn on `fullPage` to capture the whole page. Images that load as you scroll are loaded before the capture. Pages taller than `maxPageHeight` are cut and flagged with `truncated: true`.
- **Device sizes:** desktop, laptop, tablet and mobile presets. `width` and `height` override the preset.
- **Cookie banners:** `hideCookieBanners` hides common consent banners and their overlays. Consent walls that block the article itself are not removed.

### Scheduled captures and dated archives

Put the Actor on an Apify schedule with the same URLs, for example daily. Each run saves new images with the time in the file name, so the archive grows by one dated image per page. The Actor does not compare images, so compare the dated files yourself.

### Use URLs from another Actor

Pick its dataset under **Websites from another Actor**, or add this input to an Actor-to-Actor integration:

```json
{ "datasetId": "{{resource.defaultDatasetId}}", "datasetUrlField": "website" }
```

This reads the `website` field (or the field you name) from each row. Rows without a website are skipped.

### Limits

- Some sites block automated browsers, especially traffic from cloud servers, and answer with a bot check or an error. These rows are free and say why.
- Pages behind a login are not captured. The Actor never logs in and never sends cookies.
- PDFs and file downloads are refused. Only HTML pages are captured.
- Very tall pages are cut at `maxPageHeight` and flagged `truncated: true`.

### How much does it cost?

- **Screenshot saved:** $0.0025 each, $2.50 per 1,000. Compute is included in that price.
- **Run start:** Apify adds a small start fee per run for its memory: $0.0002 at the default 4 GB.
- **Free:** pages that fail, are blocked or are refused.

| Screenshots | Cost |
|---|---|
| 100 | $0.25 |
| 1,000 | $2.50 |
| 10,000 | $25 |

Apify's free plan includes $5 of credit every month, enough for about 2,000 screenshots. Paid Apify plans get Store discounts. You can set a maximum cost per run; the Actor stops cleanly when it is reached.

### FAQ

**Is this legal?** It opens each public page once in a headless Chromium browser, like a visitor, and saves what it shows. It never logs in, sends cookies, clicks buttons, solves CAPTCHAs or collects personal data. Screenshots can contain copyrighted material, so check your rights before you publish them.

**Why did a site fail?** The row's `error` field gives the reason. Common ones: `HTTP 404` (the page does not exist), a bot check or `HTTP 403` or `429` (the site blocks automated browsers), a redirect to a sign-in page, a PDF or file download, a domain that does not resolve, or a timeout. Failed rows are free.

**How long do screenshot links last?** For as long as Apify keeps the run's storage. Apify removes unnamed run storage automatically, and on the free plan it keeps only your 10 most recent runs, for 4 months. Download the images you need to keep them longer.

### Related Actors

- [SEO Meta Tag & Schema Checker](https://apify.com/redfoxscout/seo-meta-checker): titles, meta descriptions and schema tags for the same pages.
- [Bulk URL Status & SSL Checker](https://apify.com/redfoxscout/url-status-ssl-checker): status codes, redirects and SSL expiry.
- [Website Tech Stack Detector](https://apify.com/redfoxscout/tech-stack-detector): what a site is built with.

# Actor input Schema

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

Full page URLs, one per line, e.g. https://apify.com/pricing (bare domains open over https). Or use "Websites from another Actor" below.

## `datasetId` (type: `string`):

Check the websites in another Actor run's results, e.g. Google Maps Scraper or any lead list. Pick the dataset here, or in an Actor-to-Actor integration set it to {{resource.defaultDatasetId}}. Its websites are added to the list above.

## `datasetUrlField` (type: `string`):

The dataset field that holds the website or URL, e.g. website (Google Maps Scraper), url or domain. Dot paths like contact.website work. If it is empty, website, url and domain are tried.

## `maxDatasetItems` (type: `integer`):

Read at most this many rows from that dataset.

## `monitorName` (type: `string`):

Name this list (e.g. "clients-weekly") to compare each run with the previous run of the same name. Every row then gets changeStatus (new, changed or unchanged) and changedFields. Best on an Apify schedule.

## `onlyChanges` (type: `boolean`):

Needs a change alert name. Unchanged sites are still checked and charged as usual, but left out of the results, so each run's dataset is your change report.

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

Screen size and browser type for each capture. Mobile is 390 x 844 with a phone user agent.

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

Overrides the device width. Leave empty to use the preset. Example: 1280.

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

Overrides the device height. Leave empty to use the preset. Example: 800.

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

Capture the whole scrollable page instead of only the first screen.

## `maxPageHeight` (type: `integer`):

Full-page captures stop at this height; a cut page is flagged as truncated in the output. Example: 8000.

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

PNG keeps text and interface sharp. JPEG gives smaller files, useful for thumbnails.

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

JPEG quality from 1 (smallest file) to 100 (best). Ignored for PNG. Example: 70.

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

When the page counts as loaded: after the load event, or once network activity stops.

## `delaySecs` (type: `number`):

Pause after the page loads, so late images and animations can finish. Example: 3.

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

Hides common cookie consent banners before the capture. It never clicks Accept or any other button.

## `publicLinks` (type: `boolean`):

Lets anyone with a screenshot link open it without a token. Turn off to keep the images private to your account.

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

How many sites to check at once.

## `requestTimeoutSecs` (type: `integer`):

Give up on a site after this long.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org"
  ],
  "datasetUrlField": "website",
  "maxDatasetItems": 10000,
  "onlyChanges": false,
  "device": "desktop",
  "fullPage": false,
  "maxPageHeight": 16000,
  "format": "png",
  "quality": 80,
  "waitUntil": "load",
  "delaySecs": 1,
  "hideCookieBanners": true,
  "publicLinks": true,
  "maxConcurrency": 4,
  "requestTimeoutSecs": 30
}
```

# Actor output Schema

## `results` (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://www.wikipedia.org"
    ]
};

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

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

```

## MCP server setup

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