Website Screenshot API & URL to PDF: Full Page, Mobile, Dark
Pricing
from $2.00 / 1,000 screenshots
Website Screenshot API & URL to PDF: Full Page, Mobile, Dark
Turn URLs into full-page or viewport screenshots (PNG/JPEG) and PDFs (A4, Letter, Legal) with desktop, iPhone, Pixel and iPad presets, dark mode, cookie banners hidden and lazy images loaded. Bulk lists, CSV or dataset input; files with direct links.
Pricing
from $2.00 / 1,000 screenshots
Rating
0.0
(0)
Developer
Julian Genuario
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
Share
Turn a list of URLs into full-page or viewport screenshots (PNG or JPEG) and PDFs (A4, Letter, Legal, A3, Tabloid) with a real Chrome browser. Pick a device (desktop, Full HD, Retina, iPhone, Pixel, iPad or custom size), switch on dark mode, and get clean captures with cookie banners hidden and lazy-loaded images loaded.
Every file gets a direct download link in the results table, ready for Zapier, Make, n8n, Google Sheets or your own code.
What does Website Screenshot API do?
Website Screenshot API turns a list of URLs into full-page or viewport screenshots (PNG / JPEG) and PDFs (A4, Letter, Legal) with desktop, iPhone, Pixel and iPad presets, dark mode, cookie banners hidden and lazy-loaded images loaded. Each file comes with a direct link.
How to use Website Screenshot API
- Click Try for free on this page (a free Apify account is enough to start).
- Fill in the input (see the examples below) or keep the prefilled example.
- Click Start and wait for the run to finish.
- Download the results from the Output tab as JSON, CSV, Excel or HTML, or read them with the Apify API.
- Optional: create a Schedule to run it daily or weekly, and connect a webhook or an integration (Make, Zapier, n8n, Slack).
Use cases
- Website archiving and compliance: dated PDFs and screenshots of pages, terms, ads or prices.
- Client reports and audits: before/after captures of landing pages on desktop and mobile.
- Visual monitoring: schedule daily captures of competitor home pages or your own releases.
- Thumbnails and previews for directories, link-in-bio tools, dashboards and CMSs.
- Dark mode QA: see how a site renders with
prefers-color-scheme: dark.
Features
- Full page (scrolls first so lazy images load; the viewport is stretched to the page height so scroll-reveal sections render) or first screen only.
- PNG or JPEG with quality setting; maximum height cap for endless pages (
truncated: truewhen cut). - PDF with paper size, landscape, backgrounds, and "look like the screen" (ignores print stylesheets).
- Device presets with real mobile viewports, pixel density and touch.
- Cookie banners hidden with CSS (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast, TrustArc, Osano, Complianz, CookieYes, iubenda and generic cookie bars). Nothing is accepted or rejected on your behalf. Add your own selectors to hide chat widgets or popups.
- Wait options: load / DOM ready / network idle, extra delay, wait for a CSS selector.
- Bulk input: list, Apify dataset or CSV / Google Sheets.
Fair use
- The robots.txt of each site is checked for the requested and the final URL; disallowed pages are skipped and not charged.
- No proxies, no stealth plugins, no captcha solving. If a site answers with a bot check, HTTP 401/403/429 or an error page, the row says
blocked/http-errorand no file is stored or charged.
Input example
{"urls": ["https://apify.com", "https://crawlee.dev"],"device": "iphone-15","fullPage": true,"imageFormat": "jpeg","jpegQuality": 80,"pdf": true,"pdfFormat": "A4","darkMode": false,"hideCookieBanners": true,"hideSelectors": ["#intercom-container"]}
Output
Files are saved in the run's key-value store. One row per URL:
{"url": "https://crawlee.dev/","finalUrl": "https://crawlee.dev/","status": "ok","httpStatus": 200,"title": "Crawlee · Build reliable crawlers. Fast.","error": null,"screenshotUrl": "https://api.apify.com/v2/key-value-stores/cu81oAmXlyB0X4gEF/records/0001_crawlee.dev_bd74ed90.png","screenshotKey": "0001_crawlee.dev_bd74ed90.png","screenshotBytes": 81377,"width": 1366,"height": 2874,"truncated": false,"pdfUrl": "https://api.apify.com/v2/key-value-stores/cu81oAmXlyB0X4gEF/records/0001_crawlee.dev_bd74ed90.pdf","pdfKey": "0001_crawlee.dev_bd74ed90.pdf","pdfBytes": 117467,"device": "desktop-1366","darkMode": false,"loadTimeMs": 6952,"capturedAt": "2026-10-26T22:35:00.000Z"}
status is ok, blocked, http-error, robots-disallowed or error (DNS, timeout...). Files stay in the run storage for your plan's data-retention period; copy them elsewhere if you need them longer.
Pricing
Pay per event:
- USD 0.005 per run (start, covers launching the browser).
- USD 2 per 1,000 screenshots (USD 0.002 each).
- USD 3 per 1,000 PDFs (USD 0.003 each).
Failed, blocked, robots-disallowed and error pages are not charged. The Actor stops at your "max charge per run".
Tips
- Default memory is 1 GB (2 pages in parallel). For long lists, raise memory to 2-4 GB and "Pages in parallel" to 4-6.
- Very heavy pages (news sites with many ads) are slower; use JPEG and viewport-only captures when you only need a thumbnail.
- Sites behind logins, paywalls or aggressive bot protection cannot be captured.
Cost examples
Prices at the current pay-per-event rate: USD 0.005 per run, USD 2.00 per 1,000 screenshots and USD 3.00 per 1,000 PDFs (failed, blocked and robots.txt-disallowed pages are free). You can set a maximum charge per run in the run options.
| Job | Approximate cost |
|---|---|
| Test run: 1 full-page screenshot of apify.com (measured: 27 s) | about $0.007 |
| 100 homepage thumbnails (viewport only) | about $0.21 |
| 1,000 pages as screenshot + PDF | about $5.01 |
| Daily visual archive of 20 pages | about $0.045 per run |
Use it from your code, an integration or an AI agent
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("latamdatatools/screenshot-pdf-api").call(run_input={"urls": ["https://apify.com","https://crawlee.dev"],"fullPage": True,"imageFormat": "png","pdf": True})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["url"], item["screenshotUrl"], item["pdfUrl"])
JavaScript / Node.js (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('latamdatatools/screenshot-pdf-api').call({urls: ['https://apify.com','https://crawlee.dev'],fullPage: true,imageFormat: 'png',pdf: true});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.map((i) => [i.url, i.screenshotUrl, i.pdfUrl]));
No code:
- Schedules: save your input as a Task and run it daily or weekly from Apify Console (Schedules).
- Integrations: send the results to Google Sheets, Slack, email, Make, Zapier, n8n or Airbyte from the Integrations tab, or call your own webhook when a run finishes.
- AI agents: add it as a tool in Claude, Cursor, VS Code and other MCP clients through the Apify MCP server (
https://mcp.apify.com), so the agent can capture a page or save it as PDF on demand.
FAQ
Can I call it from my own code or from an AI agent? Yes. Start runs and fetch results with the Apify API or the JavaScript / Python clients, or use it as a tool from Claude, Cursor and other MCP clients through the Apify MCP server (mcp.apify.com).
Can I run it automatically? Yes. Create a Schedule in Apify Console (for example every morning) and add a webhook or an integration to get the results where you need them.
Which export formats are available? JSON, JSONL, CSV, Excel (XLSX), XML, RSS and HTML table, from the Output tab or the API.
What does it cost? See the Pricing section above. You only pay for the events listed there.
Changelog
- 0.1 (2026-10): first version.