# Website Screenshot: Full Page, PNG/JPEG, Bulk ($2.5/1K) (`tamnt67/website-screenshot`) Actor

Website screenshot capture with real Chrome: screenshot download link, page title, final URL, HTTP status, image size and format. Takes a list of URLs, full page or visible area, PNG or JPEG, any viewport width (desktop or mobile). Use it to archive web pages or check how sites render.

- **URL**: https://apify.com/tamnt67/website-screenshot.md
- **Developed by:** [Tam Ng.](https://apify.com/tamnt67) (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 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

## Website Screenshot: Full Page, PNG/JPEG, Bulk

Take screenshots of websites in bulk with a real Chrome browser, with no login and no API key, for $2.50 per 1,000 screenshots on the Free plan, down to $2 on higher plans.

Capture the visible area or the full page, as PNG or JPEG, at any viewport size (desktop, tablet or phone width; below 768 px the page is loaded as a mobile browser). Each screenshot gets a direct download link, plus the page title, final URL after redirects and HTTP status.

### What you can do with it

- **Monitor and archive pages visually.** Capture the same pages every day and keep a visual history of what changed.
- **Track competitors and landing pages.** Schedule screenshots of competitor home pages, pricing pages or campaign landing pages.
- **Make link previews and thumbnails.** Capture the visible area at 1280x800 and use the image as a preview.
- **QA many pages after a deploy.** Paste a list of URLs and check them all at desktop and phone widths.
- **Keep evidence of what a page showed.** Every record has a `takenAt` timestamp, the final URL and the HTTP status.
- **See a page from another country.** Turn on an Apify Proxy with a country to capture the page as visitors there see it.

### Output fields

Each screenshot is one record in the dataset. The image itself is saved in the run's key-value store. Example values below come from a real full-page JPEG run.

| Field | Example |
|-------|---------|
| `url` / `finalUrl` | https://apify.com/ / https://apify.com/ (URL after redirects) |
| `statusCode` | 200 |
| `pageTitle` | Apify: Marketplace of ready-to-run tools for AI |
| `screenshotUrl` | download link to the image in the run's key-value store |
| `screenshotKey` | screenshot-0001-apify.com |
| `format` / `fullPage` | jpeg / true (png, jpeg or pdf) |
| `viewportWidth` / `viewportHeight` | 1280 / 800 |
| `imageHeight` | 10072 (page height for full-page shots, element height for element shots, viewport height otherwise; CSS pixels) |
| `fileSizeBytes` | 736855 |
| `loadedFully` | true (false when the page was still loading after 45 s; the screenshot shows what had rendered) |
| `takenAt` | 2026-11-16T06:03:09.274Z |
| `device` | iPhone 15 (device preset used, null when none) |
| `deviceScaleFactor` | 1 (2 or 3 for retina images) |
| `elementSelector` | header (when only one element was captured, null otherwise) |
| `captureTimeMs` | 1835 (time to load and capture the page) |

### Example output

One real record from a full-page JPEG run (the link signature is shortened):

```json
{
  "url": "https://www.wikipedia.org/",
  "finalUrl": "https://www.wikipedia.org/",
  "statusCode": 200,
  "pageTitle": "Wikipedia",
  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/IdcqsjDHZzXf0TzRj/records/screenshot-0002-www.wikipedia.org?signature=...",
  "screenshotKey": "screenshot-0002-www.wikipedia.org",
  "format": "jpeg",
  "fullPage": true,
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "imageHeight": 1103,
  "fileSizeBytes": 165963,
  "loadedFully": true,
  "takenAt": "2026-11-16T06:03:11.327Z"
}
```

### How to use

1. Add **Website URLs**, one per line. `https://` is added when missing, so `example.com` works.
2. Choose **Viewport width** and **Viewport height** (1280x800 for desktop by default, 390x844 for a phone), **Full page** or visible area, **Image format** (PNG or JPEG) and an **Extra wait** after the page loads (1,500 ms by default). With a width below 768 px the page is opened as a phone: mobile user agent, touch support and mobile layout.
3. Keep **Skip error pages** on (default) to skip pages that answer with an HTTP error (4xx or 5xx). Turn it off if you want screenshots of error pages too.
4. Optional extras:
   - **Image format** PDF saves each page as a one-page PDF as it looks on screen; **JPEG quality** (1 to 100, default 80) sets JPEG compression.
   - **Device preset** (iPhone 15, iPhone SE, Pixel 7, Galaxy S9+, iPad Pro 11, iPad Mini, Desktop HiDPI) sets viewport, pixel density and mobile user agent in one step. **Device scale factor** 2 or 3 gives retina images.
   - **Color scheme** Dark captures sites that support dark mode in dark mode.
   - **Wait until** (load, DOM content loaded, network idle), **Page load timeout**, **Wait for CSS selector** and **Scroll to bottom first** help with slow or lazy-loading pages.
   - **Capture only this element** takes a screenshot of one element (for example `header` or `#pricing`) instead of the page.
   - **Hide elements**, **Hide cookie banners**, **Block ads and trackers** and **Custom CSS** give cleaner screenshots.
5. Click **Start**. Open `screenshotUrl` in the dataset to download each image, or read the images from the run's key-value store.

#### Example input

```json
{
  "urls": ["https://apify.com", "https://www.wikipedia.org"],
  "fullPage": true,
  "format": "jpeg",
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "waitMs": 1500,
  "skipErrorPages": true,
  "waitUntil": "load",
  "hideCookieBanners": true,
  "blockAdsAndTrackers": true,
  "maxItems": 100,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

Tips:

- JPEG files are much smaller than PNG. Use PNG when you need lossless images, for example for pixel comparison.
- Raise **Extra wait** for pages with animations, carousels or content that loads late.
- Check `loadedFully` in the dataset to spot slow pages. Error pages are skipped by default and listed in `FAILED_URLS` with their `statusCode`.
- Through the API, an input with no URLs captures the example page `https://apify.com` and says so in the log.

### Pricing and cost examples

You pay per screenshot saved ("Screenshot" event). Platform usage and proxy traffic are included in the per-screenshot price. Each run also has a one-time start charge of $0.00005.

| Apify plan | Price per 1,000 screenshots |
|------------|-----------------------------|
| Free (default price) | $2.50 |
| Bronze | $2.30 |
| Silver | $2.10 |
| Gold, Platinum, Diamond | $2.00 |

Cost examples on the Free plan:

- 100 screenshots ≈ $0.25
- 1,000 screenshots ≈ $2.50
- 10,000 screenshots ≈ $25.00 (≈ $20.00 on Gold and higher plans)

The Apify Free plan includes $5 of platform credit every month. If you spend it only on this Actor, that covers about 2,000 screenshots per month.

You are charged only for screenshots saved to the dataset. URLs that fail to open (for example DNS error or connection refused) or fail while the screenshot is taken save nothing, are listed in the key-value store record `FAILED_URLS` and are not charged. Invalid URLs are skipped with a warning. Duplicate URLs are captured once. With **Skip error pages** on (the default), a page that answers with an HTTP error status (4xx or 5xx, for example 404 or 503) is not saved and not charged; it is listed in `FAILED_URLS` with its `statusCode`. With it off, error pages are captured and charged like any page and keep their `statusCode` in the record. A page still loading after 45 seconds is captured and charged, with `loadedFully: false` and `statusCode: null`. To set a hard cap, enter a maximum total charge per run in the run options. The Actor stops as soon as that limit is reached.

### Use it via API, on a schedule, or from an AI agent

**JavaScript** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('tamnt67/website-screenshot').call({
    urls: ['https://apify.com', 'https://www.wikipedia.org'],
    fullPage: true,
    format: 'jpeg',
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => i.screenshotUrl));
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("tamnt67/website-screenshot").call(run_input={
    "urls": ["https://apify.com", "https://www.wikipedia.org"],
    "fullPage": True,
    "format": "jpeg",
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
print([i["screenshotUrl"] for i in items])
```

**cURL** (runs the Actor and returns the records with download links in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/tamnt67~website-screenshot/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://apify.com"], "fullPage": false, "format": "png"}'
```

The sync endpoint waits for the run to finish, so use it for a few URLs and the client libraries for large batches.

**Schedules:** create an Apify Schedule for this Actor or a saved task to capture the same pages daily or weekly and build a visual archive.

**AI agents:** the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

### FAQ

#### How much does Website Screenshot cost?

Website Screenshot costs $2.50 per 1,000 screenshots on the Free plan and $2.30, $2.10 or $2.00 per 1,000 on higher Apify plans. 100 screenshots cost about $0.25 on the Free plan. The Free plan's $5 monthly credit covers about 2,000 screenshots.

#### How many screenshots can I take in one run?

Website Screenshot captures one screenshot per URL, up to **Max screenshots** (default 100, maximum 5,000). Pages are captured one at a time, so very large lists take a while.

#### How can I take more screenshots?

Add more URLs and raise **Max screenshots** up to 5,000. For more than that, or for several viewport sizes, start several runs of Website Screenshot, for example one at 1280x800 and one at 390x844.

#### Can I run it on a schedule or through the API?

Yes. Website Screenshot works with Apify Schedules for daily or weekly captures, and with the Apify API through the JavaScript and Python clients or a single cURL call. See the API section above for working examples.

#### How fresh are the screenshots?

Website Screenshot opens each page live at the time of the run. Nothing is cached. Every record has a `takenAt` timestamp.

#### Who can open the screenshot links?

Website Screenshot saves the images in your run's key-value store. `screenshotUrl` is a link that opens the image without an API token, so anyone you share that link with can see the image. Screenshots are kept for the data retention period of your Apify plan.

### Limitations

- The Actor takes the screenshot as a normal visitor would see the page. It does not log in, click or accept cookie banners, or solve CAPTCHAs, so pages behind a login or a bot check are captured as they appear. **Hide cookie banners** only hides the banners of common consent tools with CSS; others stay visible. **Block ads and trackers** uses a short built-in list of ad and tracking hosts, not a full ad-blocker list.
- Very long pages are captured up to the browser's limit; extremely tall full-page screenshots can be cut. `imageHeight` is the page height the browser reported, which can be larger than a cut image.
- URLs that fail to open (DNS error, connection refused) and, by default, pages answering HTTP 4xx/5xx are listed in `FAILED_URLS` and not charged.
- Screenshots are kept in the run's key-value store for the data retention period of your Apify plan.
- Below 768 px width the browser uses an Android Chrome user agent with touch and mobile layout, so most sites serve their mobile version. It is still Chrome on Linux underneath, so a site that checks other device signals can tell it apart from a real phone. From 768 px up the browser is a normal desktop Chrome.
- Pages still loading after 45 seconds are captured and charged. Error pages (such as 404) are skipped by default; a site that shows an error message with HTTP status 200 is captured like any page.
- All URLs in one run share one browser session and, when a proxy is on, one proxy address, so cookies set by one page can affect the next page from the same site.
- PDF output is one page as wide as the viewport and as tall as the page (up to 14,400 px; longer pages are cut). WebP is not offered.
- Device presets use Chrome with the device size, pixel density and user agent; iPhone and iPad presets are not real Safari, so Safari-only rendering differences do not show.
- **Color scheme** changes only sites that support the prefers-color-scheme setting; it does not invert other sites.
- **Max screenshots** counts the URLs the Actor tries, including those that fail.

### Changelog

- 1.0 update (2026-11-23): new options: PDF output, JPEG quality, device presets (iPhone, Pixel, iPad), retina scale factor, dark mode, wait until network idle, page load timeout, wait for a CSS selector, scroll to bottom for lazy images, capture a single element, hide elements, hide cookie banners, block ads and trackers, custom CSS. New output fields `device`, `deviceScaleFactor`, `elementSelector`, `captureTimeMs`. Existing inputs and fields work as before.

- 1.0 (2026-11-19): pages answering HTTP 4xx/5xx are no longer saved or charged by default (new **Skip error pages** option, listed in `FAILED_URLS` with the status); viewports narrower than 768 px now load pages as a mobile browser (mobile user agent, touch).

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

### Support

Found a problem or missing field? Report problems in the Issues tab of this Actor.

# Actor input Schema

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

Pages to capture, one per line. https:// is added when missing, so example.com works. If you give no URL, the Actor captures the example page https://apify.com.

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

Capture the whole scrolling page instead of only the visible area.

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

PNG is lossless; JPEG files are smaller. PDF saves the page as a PDF document (one page, as it looks on screen, with backgrounds).

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

JPEG quality from 1 to 100. Lower values give smaller files. Used only for JPEG.

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

Browser window width. 1280 for desktop, 390 for a phone. Below 768 the page is loaded as a mobile browser (mobile user agent, touch, mobile layout).

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

Browser window height. 800 for desktop, 844 for a phone.

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

Capture as a real device size: viewport, pixel density, mobile user agent and touch. Leave empty to use Viewport width and height below.

## `deviceScaleFactor` (type: `integer`):

Pixel density: 2 or 3 gives sharp high-DPI (retina) images that are 2 or 3 times larger. Empty means 1, or the device preset value.

## `colorScheme` (type: `string`):

Tell the page the visitor prefers light or dark mode. Only sites that support prefers-color-scheme change. Empty keeps the browser default (light).

## `waitMs` (type: `integer`):

Wait this long after the page loads, so animations and late content can appear.

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

When the page counts as loaded before the screenshot. Load (default) waits for the load event; DOM content loaded is faster; Network idle waits until no requests run for 0.5 s (best for pages that load data late).

## `navigationTimeoutSecs` (type: `integer`):

How long to wait for the page to load. A page still loading after this is captured as it is, with loadedFully false.

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

Optional CSS selector to wait for (up to 15 s) before the screenshot, for example #main or .product-grid. If it does not appear, the page is captured anyway and the log says so.

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

Scroll down the page step by step before the screenshot, so lazy-loaded images and sections load. Useful with Full page.

## `elementSelector` (type: `string`):

Optional CSS selector, for example header or #pricing. Only the first matching element is captured. Pages where it is not found are listed in FAILED_URLS and not charged. Ignored for PDF.

## `selectorsToHide` (type: `array`):

CSS selectors of elements to hide before the screenshot, for example .chat-widget or #newsletter-popup.

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

Hide the consent banners of common cookie tools (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast, Funding Choices and others) with CSS. Nothing is clicked or accepted. Banners from other tools may stay visible.

## `blockAdsAndTrackers` (type: `boolean`):

Do not load requests to common ad and tracking hosts (Google Ads, DoubleClick, Google Analytics, Facebook pixel, Taboola, Outbrain, Criteo, Hotjar and others). Pages load faster and show fewer ads.

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

Optional CSS added to every page before the screenshot, for example to hide or restyle elements.

## `skipErrorPages` (type: `boolean`):

Do not save or charge pages that answer with an HTTP error (4xx or 5xx, for example 404 Not Found or 503). They are listed in the key-value store record FAILED_URLS with their status code. Turn off to capture error pages too.

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

Capture at most this many URLs.

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

Optional proxy, for example to see a page from another country.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org"
  ],
  "fullPage": false,
  "format": "png",
  "quality": 80,
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "device": "",
  "colorScheme": "",
  "waitMs": 1500,
  "waitUntil": "load",
  "navigationTimeoutSecs": 45,
  "scrollToBottom": false,
  "hideCookieBanners": false,
  "blockAdsAndTrackers": false,
  "skipErrorPages": true,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `screenshots` (type: `string`):

Dataset with one record per result.

## `screenshotsCsv` (type: `string`):

The same dataset exported as CSV.

# 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"
    ],
    "viewportWidth": 1280,
    "viewportHeight": 800,
    "waitMs": 1500,
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tamnt67/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://www.wikipedia.org",
    ],
    "viewportWidth": 1280,
    "viewportHeight": 800,
    "waitMs": 1500,
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("tamnt67/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://www.wikipedia.org"
  ],
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "waitMs": 1500,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call tamnt67/website-screenshot --silent --output-dataset

```

## MCP server setup

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