# Save web pages as PDF in bulk

**Use case:** 

Turn a list of web pages into PDF files in one run. This example saves a Wikipedia article and an MDN docs page as PDFs, after scrolling so lazy-loaded images appear and hiding cookie banners. Use it to archive articles, documentation or receipts, keep records of web pages for compliance, or build offline reading packs. Pay per page, no subscription.

## Input

```json
{
  "urls": [
    {
      "url": "https://en.wikipedia.org/wiki/Web_scraping"
    },
    {
      "url": "https://developer.mozilla.org/en-US/docs/Web/HTML"
    }
  ],
  "device": "desktop",
  "deviceScaleFactor": 1,
  "fullPage": true,
  "format": "pdf",
  "jpegQuality": 80,
  "darkMode": false,
  "hideCookieBanners": true,
  "fixStickyElements": false,
  "scrollToBottom": true,
  "maxScrollSecs": 10,
  "waitUntil": "load",
  "delaySecs": 1,
  "pageTimeoutSecs": 60,
  "maxConcurrency": 5
}
```

## Output

```json
{
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "image"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Page title",
    "format": "text"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "number"
  },
  "partial": {
    "label": "Partial (timed out)",
    "format": "boolean"
  },
  "bytes": {
    "label": "Size (bytes)",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

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

The Website Screenshot Pro — Bulk, Full Page, Mobile & PDF Actor is ready to run with the inputs already set for "Save web pages as PDF in bulk". [Sign up or log in](https://console.apify.com/create-task-from-example/ifVj1awJo3FngeiUh) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Save web pages as PDF in bulk" task

The Website Screenshot Pro — Bulk, Full Page, Mobile & PDF Actor will start running based on the input automatically. You can also change all the input fields, like URLs, device, and more, to match your specific use case.

### 3. Receive the "Save web pages as PDF in bulk" 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 screenshot, URL, page title, 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 "Save web pages as PDF in bulk" task via API](https://apify.com/newbeeer/website-screenshot-pro.md).

## About this Actor

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