# Screenshot a website as it looks on iPhone 15

**Use case:** 

Renders a page with an iPhone 15 viewport and touch emulation, full page, and returns a PNG link. Good for mobile layout checks.

## Input

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "format": "png",
  "fullPage": true,
  "device": "iPhone 15",
  "width": 1280,
  "height": 800,
  "deviceScaleFactor": 1,
  "delayMs": 0,
  "darkMode": false,
  "hideCookieBanners": true,
  "quality": 80,
  "timeoutSecs": 45,
  "selfCheck": false
}
```

## Output

```json
{
  "url": {
    "label": "Page",
    "format": "link"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "screenshotUrl": {
    "label": "File",
    "format": "link"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "bytes": {
    "label": "Bytes",
    "format": "number"
  },
  "title": {
    "label": "Page title",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

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

The Website Screenshot, PDF and OG Image API Actor is ready to run with the inputs already set for "Screenshot a website as it looks on iPhone 15". [Sign up or log in](https://console.apify.com/create-task-from-example/Qt7tmotpyV8dX6y0L) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Screenshot a website as it looks on iPhone 15" task

The Website Screenshot, PDF and OG Image API Actor will start running based on the input automatically. You can also change all the input fields, like URLs, output format, and more, to match your specific use case.

### 3. Receive the "Screenshot a website as it looks on iPhone 15" 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 page, status, format, 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 "Screenshot a website as it looks on iPhone 15" task via API](https://apify.com/pretty_theory/screenshot-url-api.md).

## FAQ

### What does the screenshot a website as it looks on iphone 15 task return?

The task returns one row with the page URL, status, a public file link to a mobile PNG rendered as an iPhone 15, its size in bytes and the page title.

### Can I change the URL?

Yes. Replace the prefilled URL, or add more URLs to the list, in Apify Console or through the API. Each URL gives one file.

### How much does it cost?

The task runs a pay per event Actor at $0.002 per successful screenshot. Failed pages are not charged. There is no monthly fee for the Actor.

### Do I need a login or API key for the target site?

No. It loads one public page per URL with a headless browser. It does not log in or crawl.

### How do I run it on a schedule or from the API?

Open the task in Apify Console and add a schedule, or call the run endpoint with your token. Results land in a dataset and key-value store.

## About this Actor

This example demonstrates how to use [Website Screenshot, PDF and OG Image API](https://apify.com/pretty_theory/screenshot-url-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pretty_theory/screenshot-url-api.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/pretty_theory/screenshot-url-api.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`).
