# Screenshot & HTML file from Url — quick start

**Use case:** 

Ready-to-run example of Screenshot & HTML file from Url: From 1$/1000 results. Capture website screenshots &/or full-page HTML in one run, from $1/1000 URLs. PNG, JPEG & PDF — full-page, custom viewport, lazy-load scroll, cookie-banner hiding, batch mode. HTML files open correctly in any browser. RE

## Input

```json
{
  "urls": [
    {
      "url": "https://www.apify.com/"
    }
  ],
  "format": "png",
  "fullPage": true,
  "saveHtml": false,
  "viewportWidth": 1280,
  "viewportHeight": 720,
  "jpegQuality": 90,
  "waitUntil": "load",
  "delayBeforeScreenshotMs": 0,
  "scrollToBottom": false,
  "delayAfterScrollMs": 1000,
  "selectorsToHide": "",
  "navigationTimeoutSecs": 60,
  "maxRequestRetries": 1,
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "ok": {
    "label": "OK",
    "format": "boolean"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "screenshotUrl": {
    "label": "Screenshot",
    "format": "string"
  },
  "htmlUrl": {
    "label": "HTML",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "statusCode": {
    "label": "HTTP status",
    "format": "integer"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "errorMessage": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Screenshot & HTML file from Url Actor is ready to run with the inputs already set for "Screenshot & HTML file from Url — quick start". [Sign up or log in](https://console.apify.com/create-task-from-example/t1GsfWYv1kvot26zg) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Screenshot & HTML file from Url — quick start" task

The Screenshot & HTML file from Url Actor will start running based on the input automatically. You can also change all the input fields, like page urls, output format, and more, to match your specific use case.

### 3. Receive the "Screenshot & HTML file from Url — quick start" 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 OK, URL, screenshot, 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 & HTML file from Url — quick start" task via API](https://apify.com/leadsbrary/screenshot-html-file-from-url.md).

## About this Actor

This example demonstrates how to use [Screenshot & HTML file from Url](https://apify.com/leadsbrary/screenshot-html-file-from-url.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/leadsbrary/screenshot-html-file-from-url.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/leadsbrary/screenshot-html-file-from-url.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`).
