Website Screenshot & URL/HTML to PDF: Full Page, Mobile, API avatar

Website Screenshot & URL/HTML to PDF: Full Page, Mobile, API

Pricing

from $4.00 / 1,000 screenshot or pdfs

Go to Apify Store
Website Screenshot & URL/HTML to PDF: Full Page, Mobile, API

Website Screenshot & URL/HTML to PDF: Full Page, Mobile, API

Screenshot API for websites: full-page or viewport web page screenshots (PNG, JPEG, WebP), URL to image, webpage to PDF and raw HTML to PDF. Desktop, laptop, tablet and mobile screenshots, bulk URLs, dark mode, element screenshots, cookie banners hidden, lazy images loaded.

Pricing

from $4.00 / 1,000 screenshot or pdfs

Rating

0.0

(0)

Developer

Andriy Kuzmenko

Andriy Kuzmenko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 hours ago

Last modified

Features

Limited permissions

Share

Website Screenshot & URL/HTML to PDF: Full Page, Mobile, Bulk

Capture any web page as an image or a PDF - the whole page or just the first screen, on desktop or a phone - in bulk, with a download link for each file.

  • Screenshots: PNG, JPEG or WebP; full page (up to 20,000 px) or viewport; a single element by CSS selector.
  • PDF: save web pages or your own raw HTML (invoices, reports, templates) as PDF - A4, Letter, Legal, A3, A5, portrait or landscape, print or screen styles.
  • Devices: desktop 1920×1080, laptop 1366×768, iPad Pro 11, iPhone 15 Pro, Galaxy S24 (real pixel density), or a custom viewport; dark mode.
  • Clean captures: floating cookie and consent banners are hidden, lazy-loaded images are loaded by scrolling, and you can inject your own CSS (e.g. hide chat widgets).
  • Safe: requests to private network addresses are blocked.

Why this Actor

This ActorTypical alternatives
DevicesDesktop, laptop, iPad, iPhone and Android at real pixel density, dark modeOften desktop only
PDFWeb pages and your own raw HTML (invoices, reports) to PDF - A4/Letter, margins, print or screen stylesOften screenshot only, or a separate PDF tool
Clean capturesCookie banners hidden, lazy images loaded, custom CSS, element screenshotsBanners and empty placeholders in the shot
SafetyRequests to private networks blocked-
Price$4 per 1,000 captures$0.83-20 per 1,000

Input

{
"urls": [{ "url": "https://apify.com" }, { "url": "example.com" }],
"format": "png",
"device": "mobile",
"fullPage": true,
"hideCookieBanners": true,
"waitUntil": "load",
"delayMs": 0
}

HTML to PDF:

{
"html": "<h1>Invoice #42</h1><p>Total: €120</p>",
"format": "pdf",
"pdfFormat": "A4",
"pdfMargin": "15mm"
}
FieldMeaning
urlsPages to capture (https:// is added when missing)
htmlRaw HTML to render (optional)
formatpng, jpeg, webp or pdf
devicedesktop, laptop, tablet, mobile, android
fullPageWhole page or just the first screen
selectorCapture one element, e.g. #pricing
hideCookieBanners, scrollToBottom, cssClean-up before capturing
waitUntil, delayMs, timeoutSecsWhen to capture
viewportWidth, viewportHeight, darkMode, qualityLook of the capture
pdfFormat, pdfLandscape, pdfScreenMedia, pdfMarginPDF options

Output

{
"url": "https://apify.com",
"finalUrl": "https://apify.com/",
"status": 200,
"title": "Apify: Full-stack web scraping and data extraction platform",
"format": "png",
"device": "mobile",
"key": "0001-apify.com.png",
"fileUrl": "https://api.apify.com/v2/key-value-stores/.../records/0001-apify.com.png",
"width": 1179,
"height": 14820,
"bannersHidden": 1,
"blockedRequests": 0
}

Pages that answer with an HTTP error (e.g. 404) are captured as they look, with status showing the code. A page that does not load at all gets an error field instead and is not charged.

Pricing

EventPriceWhat counts
screenshot$4 per 1,000one screenshot or PDF

Plus a start fee of $0.005 per run ($0.0025 per GB of run memory, 2 GB by default), so that a run without results covers its platform cost. The run stops before it would exceed your maximum charge per run.

Open source: github.com/AndriyVK/-apify-document-tools

Use with AI agents and code

  • MCP (Claude, Cursor, VS Code, any MCP client): add https://mcp.apify.com?tools=ai_admin/website-screenshot as an MCP server - the agent gets one tool with this Actor's input schema and pays per use through your Apify account.
  • One HTTP call that returns the results:
curl -X POST "https://api.apify.com/v2/acts/ai_admin~website-screenshot/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls": [{"url": "https://apify.com"}], "format": "png", "device": "desktop", "fullPage": true}'

Limits

  • Pages behind a login, CAPTCHA or strong bot protection are captured as the visitor sees them (e.g. a login form).
  • Full-page screenshots are capped at 20,000 px height; longer pages are cut.
  • Some sites block data-centre IP addresses; such pages may load with an error or a block page.