# High-Resolution 2x Screenshot at a Custom 1440x900 Viewport

**Use case:** 

Captures a page at a custom 1440x900 viewport with a device scale factor of 2, giving a sharp 2880x1800 image for retina displays, slide decks and print.

## Input

```json
{
  "urls": [
    "https://www.python.org"
  ],
  "devices": [
    "custom"
  ],
  "format": "webp",
  "fullPage": false,
  "quality": 90,
  "selector": "#pricing",
  "viewportWidth": 1440,
  "viewportHeight": 900,
  "deviceScaleFactor": 2,
  "maxHeight": 20000,
  "waitUntil": "load",
  "delayMs": 500,
  "scrollToLoadLazyContent": true,
  "navigationTimeoutSecs": 45,
  "dismissCookieBanners": true,
  "hideSelectors": [
    "#chat-widget",
    ".newsletter-popup"
  ],
  "blockAds": false,
  "darkMode": false,
  "disableAnimations": true,
  "pdfFormat": "A4",
  "pdfLandscape": false,
  "pdfMargin": "0.5in",
  "pdfPrintBackground": true,
  "pdfMediaType": "screen",
  "pdfScale": 1,
  "captureErrorPages": false,
  "maxConcurrency": 4,
  "maxRetries": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "fileUrl": {
    "label": "Preview",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "device": {
    "label": "Device",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "bytes": {
    "label": "Bytes",
    "format": "integer"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "integer"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "totalMs": {
    "label": "Time (ms)",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free Actor is ready to run with the inputs already set for "High-Resolution 2x Screenshot at a Custom 1440x900 Viewport". [Sign up or log in](https://console.apify.com/create-task-from-example/QvTJChgKOgJZApIit) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "High-Resolution 2x Screenshot at a Custom 1440x900 Viewport" task

The Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free Actor will start running based on the input automatically. You can also change all the input fields, like URLs, devices, and more, to match your specific use case.

### 3. Receive the "High-Resolution 2x Screenshot at a Custom 1440x900 Viewport" 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 preview, status, URL, 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 "High-Resolution 2x Screenshot at a Custom 1440x900 Viewport" task via API](https://apify.com/tidewell/website-screenshot-pdf.md).

## FAQ

### How much does a capture cost?

$0.002 per PNG, JPEG or WebP screenshot and $0.003 per PDF, plus a small start fee per run. Pages that fail to load are not charged.

### Where are the files saved?

In the run's key-value store. Each dataset row has a public fileUrl you can download or pass to another tool, plus the size, dimensions and HTTP status.

### Does a 2x screenshot cost more?

No. The price is per capture, whatever the resolution. Larger images do take longer to save and use more storage.

### Which viewport sizes are allowed?

Width from 200 to 3840 and height from 200 to 4320 CSS pixels, with a scale factor from 0.5 to 4.

### Can I capture my own pages?

Yes. Replace the URLs with your own, one per line, or paste raw HTML into the html field to render a snippet without hosting it.

## About this Actor

This example demonstrates how to use [Website Screenshot & PDF API: Full Page, Mobile, Cookie-Free](https://apify.com/tidewell/website-screenshot-pdf.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/tidewell/website-screenshot-pdf.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/tidewell/website-screenshot-pdf.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`).
