# Website Screenshotter (`eunit/website-screenshotter`) Actor

Capture high-quality website screenshots. Features full-page capture, mobile emulation, custom resolutions, and export to JPG, PNG, or PDF. Fast and reliable. Export your result in any format of your choosing.

- **URL**: https://apify.com/eunit/website-screenshotter.md
- **Developed by:** [Emmanuel Uchenna](https://apify.com/eunit) (community)
- **Categories:** Integrations, Other, Developer tools
- **Stats:** 41 total users, 7 monthly users, 96.9% runs succeeded, 5 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.009 / screenshot captured successfully.

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Screenshotter Actor

A powerful, easy-to-use Actor for taking high-quality screenshots of websites.

### Features

- **Full Page Screenshots**: Capture the entire height of a webpage.
- **Device Emulation**: Simulate various devices (Desktop, iPhone, Galaxy, iPad, etc.) to check responsiveness.
- **Custom Resolution**: Define exact width and height in pixels.
- **Zoom & Scale**: Adjust the zoom level and scaling factor.
- **Multiple Formats**: Save screenshots as JPG, PNG, or PDF.
- **Delay**: Add a delay before capturing to ensure all content loads.

### Usage

You can run this Actor on the Apify Platform or locally.

#### Input Parameters

The input for this Actor is a JSON object with the following fields:

| Field | Type | Description | Default |
|---|---|---|---|
| `url` | String | **Required**. The URL of the website to screenshot. | - |
| `resolution` | String | Preset resolution (e.g., "1920x1080 (FHD)") or "Custom". | "1280x1024 (SXGA)" |
| `width` | Integer | Width in pixels (used if Resolution is Custom). | 1280 |
| `height` | Integer | Height in pixels (used if Resolution is Custom). | 1024 |
| `fullSize` | Boolean | If true, captures the full height of the page. | false |
| `format` | String | Output format: `jpg`, `png`, or `pdf`. | "jpg" |
| `zoom` | Integer | Zoom percentage (0-100). | 100 |
| `scale` | Integer | Scale percentage (0-100). | 100 |
| `delay` | Integer | Delay in milliseconds before taking the screenshot. | 0 |

##### Example Input

```json
{
    "url": "https://www.example.com",
    "resolution": "1920x1080 (FHD)",
    "fullSize": true,
    "format": "png",
    "delay": 2000
}
````

#### Output

The Actor saves the result in the default dataset. Each record contains:

| Field | Description |
|---|---|
| `date` | Timestamp of the screenshot. |
| `ourl` | The original URL that was captured. |
| `iurl` | Direct link to the screenshot image. |
| `durl` | Direct download link for the screenshot. |
| `curl` | Link to the screenshot landing page. |

##### Example Output

```json
{
    "date": "14.12.2025 11:00",
    "ourl": "https://www.example.com",
    "iurl": "https://api.provider.com/web/xyz.png",
    "durl": "https://api.provider.com/xyz",
    "curl": "https://provider.com/web/xyz"
}
```

### Related Actors

Expand your data collection capabilities with these other powerful Apify Actors developed by the same author:

#### [Zillow Scraper](https://apify.com/eunit/zillow-scraper)

- **URL:** <https://apify.com/eunit/zillow-scraper>
- **Description:** This general Zillow Scraper extracts data for properties **for sale**, **for rent**, or **recently sold** on Zillow. Use this Actor for broad market research or historical data collection across all property types.

#### [LinkedIn Job Postings Scraper](https://apify.com/eunit/linkedin-job-postings-scraper)

- **URL:** <https://apify.com/eunit/linkedin-job-postings-scraper>
- **Description:** Designed for lead generation and career intelligence, this scraper extracts tailored **job titles, company names, locations, and job URLs** from LinkedIn. Essential for matching job market trends with real estate data (e.g., analyzing local economic activity).

#### [Target Product Reviews Scraper](https://apify.com/eunit/target-reviews-scraper)

- **URL:** <https://apify.com/eunit/target-reviews-scraper>
- **Description:** A tool for market research and e-commerce analysis. Scrape **product reviews, star ratings, and consumer sentiment** from Target.com, useful for businesses analyzing the retail landscape in target neighborhoods.

### Your feedback

We are always working on improving the performance of our Actors. So if you’ve got any technical feedback for the [Website Screenshotter](https://apify.com/eunit/website-screenshotter) Actor or simply found a bug, please create an issue on the [Actor’s Issues tab](https://console.apify.com/actors/liTyoAxe0i1ukoY3a/issues) in [Apify Console](https://console.apify.com/actors/liTyoAxe0i1ukoY3a).

# Actor input Schema

## `url` (type: `string`):

The URL of the website to screenshot.

## `resolution` (type: `string`):

Select a preset resolution or Custom.

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

Width in pixels (used if Resolution is Custom).

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

Height in pixels (used if Resolution is Custom).

## `fullSize` (type: `boolean`):

Capture the full height of the page.

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

Output image format.

## `zoom` (type: `integer`):

Zoom percentage (0-100).

## `scale` (type: `integer`):

Scale percentage.

## `delay` (type: `integer`):

Wait time before taking screenshot.

## Actor input object example

```json
{
  "url": "https://apify.com",
  "resolution": "1280x1024 (SXGA)",
  "width": 1280,
  "height": 1024,
  "fullSize": false,
  "format": "jpg",
  "zoom": 100,
  "scale": 100,
  "delay": 0
}
```

# 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 = {
    "url": "https://apify.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("eunit/website-screenshotter").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 = { "url": "https://apify.com" }

# Run the Actor and wait for it to finish
run = client.actor("eunit/website-screenshotter").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://apify.com"
}' |
apify call eunit/website-screenshotter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=eunit/website-screenshotter",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Website Screenshotter",
        "description": "Capture high-quality website screenshots. Features full-page capture, mobile emulation, custom resolutions, and export to JPG, PNG, or PDF. Fast and reliable. Export your result in any format of your choosing.",
        "version": "0.0",
        "x-build-id": "bO4JQUYRQppjmTiRD"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/eunit~website-screenshotter/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-eunit-website-screenshotter",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/eunit~website-screenshotter/runs": {
            "post": {
                "operationId": "runs-sync-eunit-website-screenshotter",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/eunit~website-screenshotter/run-sync": {
            "post": {
                "operationId": "run-sync-eunit-website-screenshotter",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "title": "URL",
                        "type": "string",
                        "description": "The URL of the website to screenshot."
                    },
                    "resolution": {
                        "title": "Resolution",
                        "enum": [
                            "Custom",
                            "320x240 (QVGA)",
                            "640x480 (VGA)",
                            "800x600 (SVGA)",
                            "1280x720 (HD)",
                            "1280x1024 (SXGA)",
                            "1600x900 (HD+)",
                            "1920x1080 (FHD)",
                            "2048x1080 (2K)",
                            "3840x2160 (4K UHD)",
                            "360x640 (Galaxy S7/S7edge/S6)",
                            "360x740 (Galaxy S8/S8+/Note8/S9)",
                            "360x760 (Galaxy S10)",
                            "411x731 (Google Pixel, Pixel 2)",
                            "427x240 (Google Glass)",
                            "800x1280 (Kindle Fire)",
                            "375x812 (iPhone X, XS)",
                            "414x736 (iPhone 6+, 6s+, 7+, 8+)",
                            "414x896 (iPhone XR, iPhone XS Max)",
                            "768x1024 (iPad 3, 4, Air, Air2, Pro 9.7)",
                            "1024x1366 (iPad Pro 12.9)"
                        ],
                        "type": "string",
                        "description": "Select a preset resolution or Custom.",
                        "default": "1280x1024 (SXGA)"
                    },
                    "width": {
                        "title": "Width",
                        "minimum": 100,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Width in pixels (used if Resolution is Custom).",
                        "default": 1280
                    },
                    "height": {
                        "title": "Height",
                        "minimum": 100,
                        "maximum": 50000,
                        "type": "integer",
                        "description": "Height in pixels (used if Resolution is Custom).",
                        "default": 1024
                    },
                    "fullSize": {
                        "title": "Full Page Screenshot",
                        "type": "boolean",
                        "description": "Capture the full height of the page.",
                        "default": false
                    },
                    "format": {
                        "title": "Format",
                        "enum": [
                            "jpg",
                            "png",
                            "pdf"
                        ],
                        "type": "string",
                        "description": "Output image format.",
                        "default": "jpg"
                    },
                    "zoom": {
                        "title": "Zoom",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Zoom percentage (0-100).",
                        "default": 100
                    },
                    "scale": {
                        "title": "Scale",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Scale percentage.",
                        "default": 100
                    },
                    "delay": {
                        "title": "Delay (ms)",
                        "minimum": 0,
                        "maximum": 60000,
                        "type": "integer",
                        "description": "Wait time before taking screenshot.",
                        "default": 0
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
