# Screenshot: Website Image and Video Capture (`yeyo/screenshot`) Actor

Capture high-quality screenshots and videos of any website. Perfect for design verification, content creation, and website snapshots. Compatible across diverse device resolutions. Instant results.

- **URL**: https://apify.com/yeyo/screenshot.md
- **Developed by:** [yeyo](https://apify.com/yeyo) (community)
- **Categories:** Videos, Developer tools, Automation
- **Features:** Full permissions
- **Stats:** 304 total users, 2 monthly users, 100.0% runs succeeded, 10 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 image screenshots

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

### Introduction

This actor allows users to capture screenshots of any website. With a user-friendly interface and a diverse set of output formats, capturing a website's current state has never been more streamlined.

### Use Cases

- **Website Snapshot**: Instantly capture the look and feel of any website for archival or reporting purposes.
- **Design Verification**: Validate a website's design across different devices to ensure optimal user experiences.
- **Content Creation**: Use screenshots in content pieces, presentations, and more.

### Input

1. **URL**: The specific website URL you wish to capture.
2. **Device**: Opt for your preferred device resolution from a comprehensive list, ensuring compatibility and design responsiveness.
3. **Output**: Decide on the desired output format: whether an `Image (jpeg)`, a `Video (mp4)`, or a `Video (gif)`.
4. **Full Page**: Capture the entire page, or just the visible area. This is a boolean value, with `true` capturing the full page and `false` capturing the visible area (viewport). Note that the full page option is only available for `jpeg` output format.

### Output

Based on the provided schema, the actor provides an "overview" of the captured data, structured as:

- **URL**: Direct link to the captured website.
- **Output**: The chosen output format, which could be `jpeg`, `mp4`, or `gif`.
- **Screenshot**: A direct link to the captured screenshot.

A sample output would look like this:

```json
{
    "url": "https://samplewebsite.com",
    "output": "jpeg",
    "screenshot": "https://path.to/screenshot.jpeg"
}
```

### Pricing

Starting in November 2026, this Actor uses **pay-per-event** pricing (Apify retired monthly rentals). Platform usage is included, so you only pay for what you get:

| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.001 per GB of memory | Once per run (default 2 GB = $0.002) |
| Image (jpeg) | $0.02 | When the screenshot is saved |
| Video (mp4 or gif) | $0.06 | When the video is saved |

A run that fails before saving a result is charged only the start fee. Example: 25 images and 5 videos a month cost about $0.86.

### Miscellaneous

Built with efficiency and precision in mind, this actor is designed to deliver the best results without compromising on quality.

### Setup and Usage

2. **Set the Inputs**: Ensure the correct URL, Device, and Output are set before execution.
3. **Run and Fetch**: Execute the actor and retrieve the results seamlessly.

### FAQ

**Q**: Can the actor handle dynamic content on websites?\
**A**: The actor is optimized for capturing static content. Dynamic or frequently changing content might lead to varied results.

**Q**: Is there a limit on the number of screenshots I can take?\
**A**: There's no hard limit set. Each run produces one screenshot or video.

**Q**: How long are the videos?\
**A**: The video scrolls through the page until it reaches the bottom, for at most about 60 seconds, so pages with infinite scrolling still finish.

**Q**: How does the actor handle different device resolutions?
**A**: The actor is optimized to handle all device resolutions and compatibility with appropriate viewport settings and user agents.

**Q**: Do I need to worry about watermarks on the screenshot?\
**A**: No, the screenshots are watermark-free.

### Credits

Developed by [yeyo](https://apify.com/yeyo).

# Actor input Schema

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

URL of the screenshot

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

Resolution of the screenshot

## `output` (type: `string`):

Output format of the screenshot

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

Capture full page screenshot, if false only visible part (viewport) of the page will be captured

## Actor input object example

```json
{
  "url": "https://apify.com",
  "device": "Laptop (1920x1080)",
  "output": "jpeg",
  "fullPage": true
}
```

# 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",
    "device": "Laptop (1920x1080)",
    "output": "jpeg",
    "fullPage": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("yeyo/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 = {
    "url": "https://apify.com",
    "device": "Laptop (1920x1080)",
    "output": "jpeg",
    "fullPage": True,
}

# Run the Actor and wait for it to finish
run = client.actor("yeyo/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 '{
  "url": "https://apify.com",
  "device": "Laptop (1920x1080)",
  "output": "jpeg",
  "fullPage": true
}' |
apify call yeyo/screenshot --silent --output-dataset

```

## MCP server setup

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