Website Screenshot & Full Page PDF Capture API avatar

Website Screenshot & Full Page PDF Capture API

Pricing

from $5.00 / 1,000 screenshot or pdf takens

Go to Apify Store
Website Screenshot & Full Page PDF Capture API

Website Screenshot & Full Page PDF Capture API

Capture clean full page screenshots and PDFs (PNG, JPEG, WebP) with mobile/desktop presets, dark mode, retina display, and automatic cookie banner and ad blocking.

Pricing

from $5.00 / 1,000 screenshot or pdf takens

Rating

0.0

(0)

Developer

Abdul Basit

Abdul Basit

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Website Screenshot & PDF

Apify Store LICENSE Free Tier Supported

🚀 Run this Actor on Apify Store — Instant cloud execution with zero setup, zero proxies needed, and free monthly credits.

Take clean screenshots of any website as PNG, JPEG, WebP or PDF: the true full page or just the screen, on desktop, iPhone, Android or iPad. Cookie banners are declined automatically and ads are blocked, so you get the page itself, not popups. Capture one URL or thousands, from a list, a dataset, or automatically after another Actor.

What you get

  • 📄 True full page: scrolls through the page first so lazy-loaded images actually appear, then captures everything (up to about 16,000 pixels tall).
  • 🍪 No cookie banners: consent popups from OneTrust, Sourcepoint, Didomi, Cookiebot and many more are declined (never accepted) using DuckDuckGo's open-source autoconsent. Leftover cookie notices are hidden.
  • 🚫 No ads: ad and tracker requests are blocked and empty ad boxes removed, for cleaner and faster captures.
  • 📱 10 device presets: desktop sizes from 1366 to 2560 wide, iPhone 15, iPhone SE, Pixel 7, Galaxy S9+, iPad Pro 11 and iPad mini, with each phone's real screen density and mobile layout.
  • 🎯 Element capture: capture just one part of a page, such as #pricing or main article.
  • 🌙 Dark mode, retina, hide elements, custom size, extra delay for animations, and PDF paper size and orientation.
  • 💸 Failed pages are free. You pay only for screenshots that were taken.
  • 🤖 Bot checks aren't billed: when a site shows a recognised "verifying you are human" or "you have been blocked" page instead of the real one, the URL is marked failed, no file is saved and you aren't charged.
  • ⬜ Blank captures aren't billed: if a screenshot comes out as one flat colour, the Actor waits and retakes it (up to 10 extra seconds). If it's still flat, the URL is marked failed and you aren't charged.

How much does it cost?

Pay-per-event pricing: a small start fee per run (it grows with the memory you give the run) plus a fee per screenshot or PDF taken. Pages that fail to load aren't charged the screenshot fee. A page that loads but answers with an error code, such as 404, is captured as shown and is charged; its row says which code it returned. The Pricing tab shows current prices. You can set a maximum cost per run, and the Actor stops before going over it.

Input example

{
"urls": ["https://apify.com", "github.com"],
"format": "png",
"fullPage": true,
"device": "desktop-1366",
"blockCookieBanners": true,
"blockAds": true
}

Screenshot every URL in a dataset

Pick a dataset in Dataset with URLs. The Actor looks for common fields (url, website, link, loadedUrl...), or set URL field. This works well after scrapers such as Google Maps Scraper to capture every business website.

Use it as an integration or on a schedule

  • After another Actor: open it → Integrations → Connect Actor or Task → pick this Actor. The integration's input is pre-filled with "datasetId": "{{resource.defaultDatasetId}}", which captures the URLs from the run that triggered it. Check that the JSON tab still has this line: without it, the run isn't allowed to read the results.
  • Website monitoring: create a Task with your URLs and add a Schedule (for example daily) to keep a visual history of pages.

Output

Each file is saved in the run's key-value store, and the dataset has one row per URL:

{
"url": "https://www.theguardian.com/international",
"status": "captured",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/.../records/screenshot-0001-www-theguardian-com-international.png",
"finalUrl": "https://www.theguardian.com/international",
"statusCode": 200,
"title": "News, sport and opinion from the Guardian's global edition",
"width": 1366,
"height": 16000,
"cookieBanner": "sourcepoint-top",
"adsBlocked": 15,
"loadSeconds": 15.4
}

cookieBanner names the consent popup that was declined (or hidden-generic if a generic notice was hidden). Failed URLs have status: "failed" and a plain-English error. If a bot check or block page was the reason, blockedBy names it (for example Cloudflare or Radware).

Tips

  • Slow or heavy sites: set Wait until to Network quiet, or add an Extra delay. If a site keeps loading forever, the Actor still captures it once the page content is ready.
  • "The page was still one plain colour": the site is very slow to draw, so add an Extra delay. A page that really is a single colour is reported this way too. Single-element captures aren't checked, so an element such as a colour swatch is captured normally.
  • Chat widgets or sticky headers in the way: add their CSS selectors to Hide elements.
  • Sharper images: set Pixel density to 2 (retina). Files are about 4× larger.
  • Speed: each full-page image gets about 2 GB of memory, and each screen-sized image or PDF about 1 GB. Give the run more memory to capture more pages in parallel.

Limits and good use

  • No tool recognises every cookie banner or ad, so some pages can still show one. Use Hide elements to remove what's left.
  • Large batches: a run stops at the time limit set in its Run options. For hundreds of URLs or more, raise the timeout and memory. If a run stops early, resurrect it: URLs already finished (captured or failed) are skipped, so you aren't charged for them again.
  • Only public http and https pages. Private and local network addresses are refused for security.
  • Pages behind a login, bot checks, CAPTCHAs and paywalls are not bypassed. Common bot-check pages (Cloudflare, Radware, DataDome, HUMAN/PerimeterX, Imperva, Vercel, AWS WAF, Google) are detected and not charged. Detection can't cover every site's own design, so a page it doesn't recognise is captured as shown.
  • Make sure you have the right to capture and use the pages you screenshot, and respect each site's terms.

Credits

Cookie consent handling: DuckDuckGo autoconsent (MPL-2.0). Ad blocking: Ghostery adblocker (MPL-2.0). This Actor is independent and isn't affiliated with or endorsed by them or by any website or consent service named here. Browser: Chromium via Playwright.


Extend your automation workflows with our companion tools on the Apify Store: