# Extract webpage Markdown with a screenshot

**Use case:** 

Extract readable text from a public webpage as Markdown alongside a PNG screenshot. Replace the example URL with your page. Get the text and file links for research notes; navigation and hidden text can be omitted.

## Input

```json
{
  "urls": [
    {
      "url": "https://example.com"
    }
  ],
  "formats": [
    "png"
  ],
  "viewports": [
    "desktop"
  ],
  "colorScheme": "light",
  "fullPage": true,
  "deviceScaleFactor": 1,
  "maxHeight": 16000,
  "imageQuality": 80,
  "returnMarkdown": true,
  "waitUntil": "load",
  "delayMs": 0,
  "scrollToBottom": false,
  "blockCookieBanners": true,
  "blockAds": false,
  "pdfFormat": "A4",
  "pdfMedia": "print",
  "timeoutSecs": 60,
  "maxItems": 1,
  "concurrency": 1,
  "maxRetries": 1
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "markdown": {
    "label": "Markdown",
    "format": "text"
  },
  "markdown_url": {
    "label": ".md file",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Website Screenshot & PDF: Mobile, Dark Mode, Markdown](https://apify.com/grit-77/website-screenshot-pdf-markdown.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/grit-77/website-screenshot-pdf-markdown.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/grit-77/website-screenshot-pdf-markdown.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`).
