```yaml
product: AlterLab
title: "Screenshot API: Full-Page Captures and PDF | AlterLab"
comparison_context: "AlterLab is an alternative to Firecrawl, ScrapingBee, and Bright Data."
source_url: https://alterlab.io/screenshot-api
```

Screenshot API

# Capture any page as an image or PDF, *rendered* like a real browser sees it.

One request returns the page and a screenshot_url. Full page or viewport, plus PDF. $0.0002 for the capture on top of the browser tier.

[Start building free](https://alterlab.io/signin)[Read the screenshots guide](https://alterlab.io/docs/guides/screenshots)

- [Docs](https://alterlab.io/docs/guides/screenshots)
- Pricing

- Up to 5,000 free requests
- No card required
- Pay only for what came back

Teams building on AlterLab

- ![Walmart](https://alterlab.io/home/customers/walmart-k.png)
- ![Microsoft](https://alterlab.io/home/customers/microsoft-k.png)
- ![Groupon](https://alterlab.io/home/customers/groupon-k.png)
- ![Alpiq](https://alterlab.io/home/customers/alpiq-k.png)
- ![AgentMail](https://alterlab.io/home/customers/agentmail-k.png)
- ![AgainstData](https://alterlab.io/home/customers/againstdata-k.png)
- ![Revel Street](https://alterlab.io/home/customers/revelstreet-k.png)

api.alterlab.io/v1/scrapeRequest

Request

```
curl -X POST https://api.alterlab.io/api/v1/scrape \
  -H "X-API-Key: $ALTERLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/pricing", "advanced": {"render_js": true, "screenshot": true}}'
```

- $0.0002per screenshot, on top of the page priceADDON_MICROCENTS.screenshot in shared/pricing.py
- $0.0004per PDF, on top of the page priceADDON_MICROCENTS.generate_pdf in shared/pricing.py
- $0.004full browser rendering tier, required for capturesPRICING_MODES.browser in shared/pricing.py

## A screenshot is a scrape with a browser

### What is a screenshot API?

A screenshot API renders a web page in a browser and returns the result as an image or PDF. With AlterLab you send one scrape request with [advanced.screenshot](https://alterlab.io/docs/guides/screenshots) set to true. The page is rendered, captured in full and returned as a screenshot_url, billed $0.0042 per capture at list price.

- **Full page or viewport**The whole scrolled page by default, or the visible viewport with a screenshot action.
- **Image or PDF**Get a `screenshot_url`, a `pdf_url`, or both, alongside markdown, text or JSON.
- **REST, SDK, CLI and MCP**The `alterlab_screenshot` MCP tool and the CLI call the same endpoint.

## One request, a rendered capture

Ask for the page and turn on the screenshot. The capture comes back with the content.

api.alterlab.io/v1/scrapeRequest

Request

```
curl -X POST https://api.alterlab.io/api/v1/scrape \
  -H "X-API-Key: $ALTERLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/pricing", "advanced": {"render_js": true, "screenshot": true}}'
```

response.jsonexample shape

Response

```
{
  "url": "https://example.com/pricing",
  "screenshot_url": "https://…/screenshot.png",
  "...": "content, tier and cost fields"
}
```

The response shape, trimmed to the screenshot field.

1. 01
   ### Send the URL
   POST the url to `/api/v1/scrape` with advanced.`render_js` set to true and advanced.screenshot set to true.
2. 02
   ### The page is rendered
   A browser loads the page, dismisses consent overlays by default and captures the full page.
3. 03
   ### Read the screenshot_url
   The response carries `screenshot_url`. Add `generate_pdf` for a `pdf_url`, or a screenshot action with `full_page` false for the viewport.

## What you get from one capture call

Rendering, capture and the page data on one key and one balance.

- ### Full-page capture
  advanced.screenshot captures the whole page for $0.0002 on top of the $0.004 browser tier.
- ### Viewport capture
  Use a screenshot action with `full_page` false at any point in a browser action sequence, for example after a click.
- ### PDF output
  advanced.`generate_pdf` returns a `pdf_url` for $0.0004 on top of the browser tier.
- ### Cookie banners handled
  Consent overlays are dismissed before capture by default, and you can change that behaviour per request.
- ### Failed captures are free
  A capture from a screenshot action that fails is not billed.
- ### Built for agents
  The `alterlab_screenshot` MCP tool returns the image URL, so an agent can look at a page it just fetched.

## What teams build with it

Each row is a request shape: the parameters you set and the fields you read back.

| Use case | Parameters you set | Fields you get |
| --- | --- | --- |
| Visual evidence and archivesKeep a dated image of a page next to its extracted text.[Screenshots guide](https://alterlab.io/docs/guides/screenshots) | render_jsscreenshot | screenshot_urlcontent |
| Reports and PDFs from live pagesTurn a rendered page into a PDF for a report or an invoice archive.[PDF and OCR guide](https://alterlab.io/docs/guides/pdf-ocr) | render_jsgenerate_pdf | pdf_url |
| Visual checks after an actionClick, scroll or fill a form, then capture the state with a screenshot action.[Browser actions guide](https://alterlab.io/docs/guides/browser-actions) | actionsscreenshot action | action_results |
| Page change monitoringSchedule a capture and compare it with the last one.[Monitors guide](https://alterlab.io/docs/guides/monitors) | schedulescreenshot | screenshot_url |

## The same request in cURL and Python

One POST to one endpoint. The Python and Node.js SDKs and the CLI wrap it.

api.alterlab.io/v1/scraperequest

```
curl -X POST https://api.alterlab.io/api/v1/scrape \
  -H "X-API-Key: $ALTERLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/pricing", "advanced": {"render_js": true, "screenshot": true}}'
```

response.jsonexample shape

Response

```
{
  "url": "https://example.com/pricing",
  "screenshot_url": "https://…/screenshot.png",
  "...": "content, tier and cost fields"
}
```

**200***$0.0042*list price, one capture

- [MCP server](https://alterlab.io/docs/integrations/mcp)Hosted at [`mcp.alterlab.io/mcp`](https://alterlab.io/integrations/mcp-server); Claude, Cursor, Windsurf, Codex, Gemini CLI
- [LangChain](https://alterlab.io/docs/integrations/langchain)Document loader
- [LlamaIndex](https://alterlab.io/docs/integrations/llamaindex)Web data connector for RAG
- [CrewAI](https://alterlab.io/docs/integrations/crewai)Scrape, search and extract tools
- [n8n](https://alterlab.io/docs/integrations/n8n)Community node with a template library
- [Supabase](https://alterlab.io/docs/integrations/supabase)Store and query results in Postgres
- [Browser extension](https://alterlab.io/docs/integrations/extension)Capture your own authenticated sessions (BYOS)
- [REST](https://alterlab.io/docs/api/rest)Any language, OpenAPI at `/openapi.json`

[Get your API key](https://alterlab.io/signin)[Screenshots guide](https://alterlab.io/docs/guides/screenshots)

## Pay per capture. No subscription.

A screenshot is $0.0002 on top of the $0.004 browser tier, $0.0042 in total. A PDF is $0.0004 on top, $0.0044 in total.

### How much does a screenshot API cost?

A screenshot needs browser rendering, so the request is billed at the full browser rendering tier ($0.004) plus $0.0002 for the capture, $0.0042 in total. A PDF adds $0.0004 instead, $0.0044 in total. Up to 5,000 free requests come with a new account, no card required.

### Base

- Full browser rendering**$0.004**per pageTier 4

### Add-on

- Screenshot**$0.0002**per capture
- PDF**$0.0004**per PDF

Up to 5,000 free requests: about 5,000 direct fetch, 500 managed sessions or 250 full browser rendering requests. Prices are list prices from the pricing page.

Prices as of 2026-11-29.

[Start with the free requests](https://alterlab.io/signin)

- [Full pricing](https://alterlab.io/pricing)

## Which capture option fits

The three ways to get an image or document, and what each costs on top of the page.

| Option | How | Add-on price |
| --- | --- | --- |
| Full-page screenshot | advanced.screenshot | $0.0002 |
| Viewport screenshot | screenshot action, full_page false | $0.0002 |
| PDF | advanced.generate_pdf | $0.0004 |

Every option needs browser rendering, so the $0.004 browser tier applies to the page. Read 2026-11-29. Sources: .

## Screenshot API questions, answered

**What is the AlterLab Screenshot API?**

It is a scrape request with advanced.screenshot set to true. AlterLab renders the page in a full browser, captures the whole page and returns a `screenshot_url` next to the page content. The same call works from the REST API, the Python and Node.js SDKs, the CLI and the `alterlab_screenshot` MCP tool.

**How much does a screenshot cost?**

A screenshot needs browser rendering, so the request is billed at the full browser rendering tier ($0.004) plus $0.0002 for the capture, $0.0042 in total. A PDF adds $0.0004 instead, $0.0044 in total. Up to 5,000 free requests come with a new account, no card required.

**Can I capture only the visible viewport?**

Yes. advanced.screenshot captures the full page. To capture the viewport only, add a screenshot action with `full_page` set to false to your browser actions. Each captured image from an action costs the same capture fee, and a failed capture is free.

**Can I get a PDF instead of an image?**

Yes. Set advanced.`generate_pdf` to true with `render_js` true and the response carries a `pdf_url`. The PDF add-on is $0.0004.

**Why does a screenshot require render_js?**

A capture needs a real rendered page, so advanced.screenshot and advanced.`generate_pdf` require `render_js` set to true. The API rejects `render_js` set to auto for these options, because auto may fetch the page without a browser.

**Are cookie banners in the capture?**

Consent overlays are dismissed on the live page before a screenshot or PDF is captured, free and on by default. A request option lets you leave consent state unchanged or choose accept or reject.

Last updated 2026-11-29.

## Screenshots are one part of the scrape request

The same key and balance cover the rest of the job.

- [**Search**Find pages, then capture them](https://alterlab.io/search-api)
- [**Crawl**Walk a whole site](https://alterlab.io/crawl)
- [**Map**List every URL on a site](https://alterlab.io/map-api)

- [Screenshots guide](https://alterlab.io/docs/guides/screenshots)
- [Browser actions guide](https://alterlab.io/docs/guides/browser-actions)
- [PDF and OCR guide](https://alterlab.io/docs/guides/pdf-ocr)
- [Pricing](https://alterlab.io/pricing)

## Capture your first page in one call.

Up to 5,000 free requests, no card. One key covers scrape, screenshot, search, crawl and research.

[Start building free](https://alterlab.io/signin)

- [Read the docs](https://alterlab.io/docs/guides/screenshots)
- [Read the screenshots guide](https://alterlab.io/docs/guides/screenshots)

about 5,000 direct fetch, 500 managed sessions or 250 full browser rendering requests.

- Machine-readable:
- [llms.txt](https://alterlab.io/llms.txt)
- [agent-setup.md](https://alterlab.io/agent-setup.md)
- [auth.md](https://alterlab.io/auth.md)
- [openapi.json](https://alterlab.io/openapi.json)
- [mcp server card](https://alterlab.io/.well-known/mcp/server-card.json)
- [ai-catalog](https://alterlab.io/.well-known/ai-catalog.json)
- [agent card](https://alterlab.io/.well-known/agent-card.json)
- [this page as markdown](https://alterlab.io/screenshot-api.md)