# Mobile screenshot as an iPhone sees it

**Use case:** 

Loads the page as an iPhone (mobile user agent, retina scale) and captures the mobile layout, to check responsive design.

## Input

```json
{
  "urls": [
    "https://stripe.com"
  ],
  "captureScreenshot": true,
  "capturePdf": false,
  "device": "iphone",
  "fullPage": false,
  "imageFormat": "png",
  "imageQuality": 80,
  "maxPageHeight": 15000,
  "pdfFormat": "A4",
  "pdfLandscape": false,
  "pdfMargin": "1cm",
  "pdfPrintBackground": true,
  "pdfMediaType": "screen",
  "hideCookieBanners": true,
  "closePopups": true,
  "hideFixedBottomBars": true,
  "darkMode": false,
  "blockAds": true,
  "waitUntil": "load",
  "delaySecs": 0,
  "scrollToLoadLazyContent": true,
  "navigationTimeoutSecs": 45
}
```

## Output

```json
{
  "index": {
    "label": "#",
    "format": "number"
  },
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "image"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Page title",
    "format": "text"
  },
  "screenshotWidth": {
    "label": "Width (px)",
    "format": "number"
  },
  "screenshotHeight": {
    "label": "Height (px)",
    "format": "number"
  },
  "pdfUrl": {
    "label": "PDF",
    "format": "link"
  },
  "pdfPages": {
    "label": "PDF pages",
    "format": "number"
  },
  "error": {
    "label": "Error (not charged)",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Bulk Website Screenshot & URL to PDF Converter](https://apify.com/oldjard/screenshot-pdf.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/oldjard/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/oldjard/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`).
