Website Screenshot and PDF avatar

Website Screenshot and PDF

Pricing

from $3.00 / 1,000 captures

Go to Apify Store
Website Screenshot and PDF

Website Screenshot and PDF

Capture full-page or viewport screenshots (PNG, JPEG) or PDFs of any list of URLs, with device presets, dark mode and cookie banner hiding.

Pricing

from $3.00 / 1,000 captures

Rating

0.0

(0)

Developer

ParkVille LLC

ParkVille LLC

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

Capture screenshots (PNG or JPEG) or PDFs of any list of web pages. Give it URLs, get back one image or PDF per URL plus a dataset row with the file link, HTTP status, page title, size and timing.

It runs a real Chromium browser, waits for the page to load, scrolls through it so lazy images appear, hides cookie consent banners and then captures. Each wait has a time limit, so a page that never stops loading is still captured instead of stalling the run.

What you can do with it

  • Archive how pages looked on a given day (compliance, legal records, change tracking).
  • Make thumbnails and previews for link directories, CMS entries or reports.
  • Check how a site renders on phones and tablets.
  • Turn articles, invoices or documentation pages into PDF files.
  • Feed page images to visual testing or AI tools.

Features

  • PNG, JPEG or PDF output. JPEG quality, PDF paper size (A4, Letter, Legal, A3), orientation, margins and background graphics are configurable.
  • Full page or viewport. Full-page images are cut at 16384 pixels tall; the result says so when this happens.
  • Single element capture with a CSS selector (PNG and JPEG).
  • Device presets: iPhone 15, iPhone 15 Pro Max, iPhone SE, Pixel 7, Galaxy S24, iPad Pro 11 (portrait and landscape), or a custom desktop viewport with a scale factor up to 3.
  • Cookie banner hiding with CSS for OneTrust, Cookiebot, Didomi, Quantcast, Usercentrics, TrustArc, Osano, CookieYes, Complianz, iubenda, Sourcepoint and other common platforms. Nothing is clicked, so no consent is given on your behalf.
  • Lazy-load scrolling before full-page captures, limited to 8 seconds.
  • Dark mode (prefers-color-scheme: dark) for sites that support it.
  • Hide elements with CSS selectors, or inject your own CSS.
  • Wait options: load event, DOM ready or network idle, an extra delay, and an optional selector to wait for.
  • Error pages are captured too. A 404 or 500 page is saved with its status code. URLs that cannot be loaded at all get a row with the error message, and one bad URL never stops the run.
  • Every input entry is captured in order, duplicates included, so row N always matches line N of your list.
  • Proxy support through Apify Proxy or your own proxies.

Input example

Only urls is required.

{
"urls": ["https://apify.com", "wikipedia.org", "https://news.ycombinator.com"],
"format": "png",
"fullPage": true,
"device": "Desktop",
"viewportWidth": 1280,
"viewportHeight": 800,
"waitUntil": "load",
"delaySecs": 1,
"hideCookieBanners": true,
"hideSelectors": ["#chat-widget"],
"darkMode": false
}

A PDF of an article in Letter size:

{
"urls": ["https://en.wikipedia.org/wiki/Web_page"],
"format": "pdf",
"pdfFormat": "Letter",
"pdfMarginMm": 15
}

All options with their defaults are listed on the Input tab.

Output

Each file is stored in the run's default key-value store under a key such as capture-00001-apify-com.png, where the number is the position of the URL in your list. The dataset gets one row per input URL:

{
"index": 1,
"url": "https://apify.com/",
"loadedUrl": "https://apify.com/",
"httpStatus": 200,
"title": "Apify: Full-stack web scraping and data extraction platform",
"format": "png",
"key": "capture-00001-apify-com.png",
"fileUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/capture-00001-apify-com.png",
"bytes": 812345,
"width": 1280,
"height": 6230,
"capturedAt": "2026-11-09T12:00:00.000Z",
"durationMs": 3420,
"warnings": [],
"error": null
}
  • width and height are the image size in pixels (they include the scale factor) and are null for PDF.
  • warnings lists things that did not stop the capture, for example a page cut at 16384 pixels or a wait that hit its time limit.
  • When a URL fails after all retries, error holds the reason and fileUrl is null.
  • durationMs covers the whole capture of that URL, retries included.

A SUMMARY record in the key-value store counts captured, failed and skipped URLs.

Use it over the API

Replace <YOUR_API_TOKEN> with your Apify API token and <ACTOR_ID> with this Actor's ID (shown in the API tab, in the form username~actor-name).

Run and get the results in one call (curl)

The synchronous endpoint starts a run, waits for it to finish and returns the dataset rows. It suits small batches that finish within the endpoint's time limit (5 minutes); use an asynchronous run for larger lists.

curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://apify.com", "https://example.com"], "format": "png", "fullPage": false}'

Each returned row has a fileUrl you can download directly.

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('<ACTOR_ID>').call({
urls: ['https://apify.com', 'https://example.com'],
format: 'jpeg',
device: 'iPhone 15',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) {
console.log(item.url, item.error ?? item.fileUrl);
}

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("<ACTOR_ID>").call(run_input={
"urls": ["https://apify.com", "https://example.com"],
"format": "pdf",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["url"], item["error"] or item["fileUrl"])

Pricing

The Actor is currently free to use: you only pay for the Apify platform usage of your runs (compute and storage), which is typically a fraction of a cent per capture.

If pay-per-capture pricing is introduced later, only successful captures will be charged, and the maximum cost per run setting will be respected.

Limits

  • Full-page images are cut at 16384 pixels tall (divided by the scale factor for retina and phone presets, so a 3x iPhone capture covers about 5460 CSS pixels of page). PDFs are not cut.
  • Waits are capped: up to 30 s for the load event, 15 s more for network idle, 30 s for waitForSelector, 15 s for the element in selector, 8 s of lazy-load scrolling. The navigation itself (DOM ready) uses navigationTimeoutSecs.
  • Pages behind a login, CAPTCHA or strong bot protection may be captured as the login or challenge page. A proxy can help with region blocks; logins are not supported.
  • Cookie banners from platforms not on the built-in list may still appear. Use hideSelectors for those.
  • Content inside cross-origin iframes is captured as rendered, but CSS options do not reach into it.
  • Video and canvas animations are captured at a single frame.
  • The language and regional version of a site can depend on where the request comes from. Use a proxy in the country you need.

FAQ

Why is my screenshot cut off at the bottom? The page is taller than 16384 pixels. The row's warnings field says how tall the page was. Use PDF for very long pages, or capture an element with selector.

Some images on the page are blank. Keep scrollToBottom on and raise delaySecs to 3 to 5 seconds. For sites that keep loading content, try waitUntil: networkidle.

A cookie banner is still visible. Find its container in your browser's developer tools and add its selector to hideSelectors.

Does it accept or reject cookies for me? No. Banners are hidden with CSS only. Nothing on the page is clicked.

Can I get a 404 page captured? Yes. Error pages are captured like any other page and the status code is in httpStatus.

Are duplicate URLs removed? No. Every entry is captured, in order, so the output lines up with your input list.

How do I download all files at once? Open the run's key-value store in Apify Console, or read each fileUrl from the dataset with the API.

Can it capture pages that need a login? No. It opens each URL in a fresh browser context without cookies.