# Full-page website screenshots, up to 4,000 px (JPEG)

**Use case:** 

Full-page JPEG screenshots of long, image-heavy pages such as Wikipedia articles: the page is captured screen by screen so lazy-loaded photos below the first screen are in the image, up to 4,000 CSS px tall. Longer pages are cut there and the row says so (pageHeight, truncatedAt). URLs that fail are listed and not charged. $0.80 per 1,000 screenshots.

## Input

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Cat",
    "https://zh.wikipedia.org/wiki/繪文字"
  ],
  "html": [
    "<!doctype html><html><head><title>Invoice</title></head><body><h1>Invoice #1001</h1><p>Total: $49.00</p></body></html>"
  ],
  "format": "jpeg",
  "pageSize": "A4",
  "landscape": false,
  "margin": 0,
  "printBackground": true,
  "fullPage": true,
  "device": "desktop",
  "viewportWidth": 1280,
  "viewportHeight": 800,
  "deviceScaleFactor": 1,
  "jpegQuality": 70,
  "waitUntil": "load",
  "delayMs": 1000,
  "hideCookieBanners": true,
  "hideSelectors": [],
  "darkMode": false,
  "blockAds": true,
  "timeoutSecs": 30,
  "maxConcurrency": 4
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "number"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "bytes": {
    "label": "Bytes",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "width": {
    "label": "width",
    "format": "number"
  },
  "height": {
    "label": "height",
    "format": "number"
  },
  "pageHeight": {
    "label": "pageHeight",
    "format": "integer"
  },
  "imagesPending": {
    "label": "imagesPending",
    "format": "integer"
  },
  "truncatedAt": {
    "label": "truncatedAt",
    "format": "integer"
  },
  "captureTiles": {
    "label": "captureTiles",
    "format": "integer"
  },
  "captureSeconds": {
    "label": "captureSeconds",
    "format": "number"
  },
  "loadState": {
    "label": "Load state",
    "format": "string"
  },
  "navigationRetries": {
    "label": "Redirect retries",
    "format": "integer"
  },
  "source": {
    "label": "source",
    "format": "string"
  },
  "htmlIndex": {
    "label": "htmlIndex",
    "format": "integer"
  },
  "name": {
    "label": "name",
    "format": "string"
  },
  "pageSize": {
    "label": "pageSize",
    "format": "string"
  },
  "landscape": {
    "label": "landscape",
    "format": "boolean"
  },
  "pages": {
    "label": "pages",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Screenshot API: Screenshot URL to PNG, JPEG or PDF Actor is ready to run with the inputs already set for "Full-page website screenshots, up to 4,000 px (JPEG)". [Sign up or log in](https://console.apify.com/create-task-from-example/ybbHc8psstyWxpy2T) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Full-page website screenshots, up to 4,000 px (JPEG)" task

The Website Screenshot API: Screenshot URL to PNG, JPEG or PDF Actor will start running based on the input automatically. You can also change all the input fields, like URLs, HTML strings, and more, to match your specific use case.

### 3. Receive the "Full-page website screenshots, up to 4,000 px (JPEG)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, final url, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Full-page website screenshots, up to 4,000 px (JPEG)" task via API](https://apify.com/hiver/bulk-website-screenshots.md).

## About this Actor

This example demonstrates how to use [Website Screenshot API: Screenshot URL to PNG, JPEG or PDF](https://apify.com/hiver/bulk-website-screenshots.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/hiver/bulk-website-screenshots.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/hiver/bulk-website-screenshots.md

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`).
