Website Screenshot API & URL to PDF: Bulk Full-Page Screenshots avatar

Website Screenshot API & URL to PDF: Bulk Full-Page Screenshots

Pricing

from $1.75 / 1,000 screenshots

Go to Apify Store
Website Screenshot API & URL to PDF: Bulk Full-Page Screenshots

Website Screenshot API & URL to PDF: Bulk Full-Page Screenshots

Take website screenshots in bulk: full-page or viewport (PNG, JPEG, WebP) and URL to PDF for a list of URLs or a sitemap, on desktop, tablet and mobile. Detect visual changes between runs with diff images. One row per page with a file link. No compute fees; failed pages are free.

Pricing

from $1.75 / 1,000 screenshots

Rating

0.0

(0)

Developer

Actor Factory

Actor Factory

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

This website screenshot tool takes screenshots of many web pages at once: a list of URLs, a sitemap, or both. Capture the visible screen or the full scrollable page, on desktop, tablet and mobile, as PNG, JPEG or WebP, or convert each URL to PDF (A4, Letter, Legal or A3). You can also capture a single element with a CSS selector, wait for an element to appear, use a retina pixel ratio, ask for the dark theme, and hide cookie banners and chat widgets. Schedule it with visual change detection to see which pages changed since the last run, with a diff image that marks the changed areas in red. Every page gets one clean row with a direct link to its file, image size, page title, HTTP status and load time. The price is all-in: no compute or usage fees on top, and failed or blocked pages are free.

What screenshot data you get

FieldDescription
url, final_urlThe page you asked for and where it ended up after redirects
devicedesktop, tablet or mobile
viewport_width, viewport_height, pixel_ratioScreen size in CSS pixels and the device pixel ratio
full_page, page_height, truncatedWhether the whole page was captured, its full height, and whether it was cut at the height limit
screenshot_url, screenshot_keyDirect link to the image and its key in the run's key-value store
image_format, image_width, image_height, image_size_kbFormat, pixel size and file size of the image
pdf_url, pdf_key, pdf_pages, pdf_size_kbDirect link to the PDF, its key, page count and file size
http_status, page_title, load_msHTTP status, the page's <title> and the time until it loaded
warningsNotes such as "did not finish loading" or "cut at the maximum height"
change_status, diff_percentWith change detection: new (first capture), unchanged or changed, and the share of pixels that changed
diff_url, diff_keyWith change detection, when changed: link to the diff image (changed pixels in red)
previous_screenshot_url, previous_captured_atWith change detection: the previous capture and when it was taken
status, error_code, errorok or error, with the reason (only ok rows are charged)
scraped_atWhen the page was captured (ISO 8601)

The image and PDF files themselves are saved in the run's key-value store. The Output tab shows a Screenshots table with previews, plus PDFs and Status & errors tables.

How to take website screenshots in bulk

InputDescription
urlsPages to capture, one per line
sitemapUrl, maxUrlsFromSitemapOptional sitemap to take pages from (XML, index, .xml.gz or text) and how many (default 50)
outputscreenshot (default), pdf or both
devicesAny of desktop (default), tablet (820 x 1180) and mobile (390 x 844). One row per device
fullPage, maxPageHeight, scrollToLoadCapture the whole page, up to a height (default 10,000 px), scrolling first so lazy images load
selectorCapture only one element, e.g. #pricing or header
imageFormat, imageQualitypng (default), jpeg or webp, and the JPEG/WebP quality (default 80)
viewportWidth, viewportHeight, pixelRatioDesktop window size (default 1440 x 900) and pixel ratio 1 to 3 (2 = retina)
pdfFormat, pdfLandscapePDF paper size and orientation
waitUntil, delayMs, navigationTimeoutSecsWhen the page counts as ready, an extra wait, and the load timeout (default 30 s)
waitForSelectorWait until an element (e.g. .product-grid) is visible before capturing; if it never appears the row is a free error
hideCookieBanners, hideSelectors, darkModeHide common consent banners (default on) or your own selectors, and ask for the dark theme
maxConcurrencyPages open at once (0 = automatic, one per GB of memory)
detectChanges, changeThreshold, monitorStoreNameCompare every screenshot with the previous capture of the same page and device; a page counts as changed from changeThreshold % of pixels (default 0.1)
maxCapturesStop after this many successful captures
{
"urls": ["https://crawlee.dev/", "https://www.w3.org/"],
"devices": ["desktop", "mobile"],
"fullPage": true,
"imageFormat": "jpeg",
"output": "both",
"maxCaptures": 100
}

How to monitor websites for visual changes

Turn on Detect visual changes and schedule the actor (hourly, daily or weekly). Each run compares every screenshot with the previous capture of the same page and device, which the actor keeps in a key-value store in your Apify account (monitorStoreName). Every row then says new (first capture), unchanged or changed, with diff_percent (the share of pixels that changed) and, for changed pages, a diff image: the new screenshot faded to grey with every changed pixel in red. The Visual changes tab in the Output shows the screenshot and the diff side by side.

{
"urls": ["https://www.example.com/pricing", "https://www.example.com/"],
"devices": ["desktop", "mobile"],
"fullPage": true,
"detectChanges": true,
"changeThreshold": 0.1
}

To keep the comparison fair, change detection asks pages for reduced motion and freezes CSS animations and transitions before each capture. Content that changes on every visit (rotating banners, ads, live counters, random logos) still counts: hide it with hideSelectors, or raise changeThreshold to 1 to 5. Comparing is free; you pay for the screenshot as usual. Use it to catch competitor price and copy changes, broken layouts after a deploy, or defaced pages.

Output example

{
"url": "https://www.w3.org/",
"final_url": "https://www.w3.org/",
"device": "desktop",
"viewport_width": 1440,
"viewport_height": 900,
"pixel_ratio": 1,
"full_page": true,
"http_status": 200,
"page_title": "W3C",
"screenshot_url": "https://api.apify.com/v2/key-value-stores/aBcD1234efGH5678i/records/www-w3-org-cccbd529-desktop.jpg",
"screenshot_key": "www-w3-org-cccbd529-desktop.jpg",
"image_format": "jpeg",
"image_width": 1440,
"image_height": 3317,
"image_size_kb": 412.6,
"page_height": 3317,
"truncated": false,
"pdf_url": "https://api.apify.com/v2/key-value-stores/aBcD1234efGH5678i/records/www-w3-org-cccbd529-desktop.pdf",
"pdf_key": "www-w3-org-cccbd529-desktop.pdf",
"pdf_pages": 8,
"pdf_size_kb": 500.9,
"load_ms": 335,
"warnings": [],
"status": "ok",
"error_code": null,
"error": null,
"scraped_at": "2026-11-16T11:30:14.167Z"
}

How much do website screenshots cost?

Pay per event, with no platform usage fees on top:

  • $2.50 per 1,000 screenshots (screenshot): one page on one device, viewport, full page or element, any format.
  • $2.50 per 1,000 PDFs (pdf): one PDF per page. With output: both, a page costs one screenshot per device plus one PDF.
  • Change detection is free: the comparison and the diff image cost nothing extra.
  • A tiny start fee per run. Failed pages are free: DNS errors, timeouts, pages that answer an error status (for example 403 from a bot blocker or 404), pages blocked by robots.txt, and selectors that match nothing. Volume discounts apply on higher Apify plans.

Examples: 1,000 desktop screenshots cost $2.50. 200 pages as desktop and mobile screenshots plus a PDF cost $1.50. Use maxCaptures to cap the cost of a run.

Use cases

  • Website thumbnails and previews for directories, catalogs, link previews and reports
  • Visual archives: save pages as PDF or full-page images for compliance, evidence or records
  • QA and monitoring: schedule daily screenshots of key pages on desktop and mobile, with visual change detection to flag the pages that changed
  • Agencies and SEO: before/after shots of client sites, competitor landing pages, whole sites from a sitemap
  • AI agents and LLM pipelines: give a vision model a picture of a page, or a PDF to read

Limits & notes

  • Real Chrome: pages are rendered by Google Chrome, so JavaScript, web fonts and single-page apps work. Each page opens in a fresh browser context: no cookies or logins carry over. Pages behind a login cannot be captured.
  • Full page: long pages are cut at maxPageHeight (default 10,000 CSS px, at most 16,000 device pixels, which is Chrome's limit); truncated tells you when. Very tall PNGs are large files: use jpeg or webp for long pages.
  • Devices: tablet and mobile change the screen size, pixel ratio and touch support. The user agent stays Chrome's own, so the few sites that choose their layout by user agent instead of screen width show their desktop layout.
  • Cookie banners of the common consent managers are hidden with CSS. Nothing is clicked or accepted, so content that only loads after consent stays hidden. Use hideSelectors for chat widgets and pop-ups.
  • PDFs use the page's print layout (what you get with "Save as PDF" in Chrome, backgrounds included), so they are the same for every device.
  • Speed: several pages are captured in parallel (one per GB of memory, at most 2 per site at a time). With the default 4 GB, about 1 second per page for screen-size captures and 2 to 3 seconds for full pages (36 captures took 44 s and 87 s in our tests). A run starts in a few seconds, so put many URLs in one run rather than one run per URL.
  • Polite by design: each site's robots.txt is checked first and disallowed pages are skipped (free). The browser keeps Chrome's own user agent and adds WebsiteScreenshot/1.0 with a link to this page. Sites that block automated visitors give an error row (free); nothing is done to get around blocks, CAPTCHAs or logins. Only capture pages you are allowed to use.
  • Files stay in the run's key-value store for your plan's data retention period; download them or copy them to your own storage if you need them longer.

Integrations and API

Run it from your own code with the Apify API or the official Python and JavaScript clients:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("actorfactory/website-screenshot").call(run_input={
"urls": ["https://crawlee.dev/"],
"devices": ["desktop", "mobile"],
"fullPage": True,
})
store = client.key_value_store(run["defaultKeyValueStoreId"])
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row["status"] == "ok":
record = store.get_record(row["screenshot_key"])
open(row["screenshot_key"], "wb").write(record["value"])
print(row["url"], row["device"], row["image_width"], "x", row["image_height"])
  • Schedule it (hourly, daily, weekly) in Apify Console to build a visual history of pages, and send results to Google Sheets, Slack, email or a webhook, or connect it to Make, Zapier or n8n.
  • Use it from AI agents (Claude, ChatGPT, Cursor) through the Apify MCP server, so an agent can look at a page or save it as a PDF.
  • Export the rows as JSON, CSV, Excel or HTML from the Output tab, or read them from the dataset API; the files are in the key-value store API.

FAQ

How do I download the files? Open screenshot_url or pdf_url (if your account restricts storage access, the link carries a signature or needs your API token), or read the record by its key from the run's key-value store, as in the Python example above. The Output tab also lists every file.

Why did a page fail? error_code says why: DNS_FAILURE, TIMEOUT, CONNECTION_FAILED, TLS_ERROR, HTTP_ERROR (the page answered 4xx or 5xx, often a bot blocker; the capture of that error page is still saved, for free), NOT_A_WEB_PAGE (the URL is a file download), BLOCKED_BY_ROBOTS_TXT, SELECTOR_NOT_FOUND, WAIT_FOR_SELECTOR_TIMEOUT (the element in waitForSelector never became visible) or CAPTURE_TIMEOUT. Failed pages are not charged.

Some images or sections are missing. Turn on fullPage with scrollToLoad (default) so lazy-loaded content appears, add a delayMs of 1,000 to 3,000 for animations, or set waitUntil to networkidle for single-page apps.

Can I capture a whole site? Yes: put its sitemap in sitemapUrl and set maxUrlsFromSitemap. To find pages that are not in the sitemap, crawl the site first with the SEO Site Audit Crawler & Broken Link Checker.

Is there a free trial? Apify's free plan includes monthly credit, enough for thousands of screenshots at this price.

Can I convert a web page to PDF? Yes. Set Output to PDF (or both, for a screenshot and a PDF) and pick the paper size (A4, Letter, Legal or A3) and orientation.

Can I monitor a website for visual changes? Yes. Turn on detectChanges and schedule the actor. Each page gets change_status (new, unchanged or changed), diff_percent and, when it changed, a diff image with the changed pixels in red. The comparison is free.

How do I capture a single-page app that loads slowly? Put a selector of the content you need in waitForSelector (for example .results or #chart canvas); the capture waits until it is visible. waitUntil: networkidle and delayMs help too.

Can I take mobile screenshots? Yes. Pick desktop, tablet and/or mobile under Devices; each URL is captured once per device.