Website Screenshot API - Bulk Full Page, Mobile, PDF avatar

Website Screenshot API - Bulk Full Page, Mobile, PDF

Pricing

from $0.80 / 1,000 screenshots

Go to Apify Store
Website Screenshot API - Bulk Full Page, Mobile, PDF

Website Screenshot API - Bulk Full Page, Mobile, PDF

Bulk website screenshot API. Send a list of URLs and get one PNG, JPEG or WebP per URL (plus optional PDF) with a direct file link. Full page or viewport, desktop or mobile, dark mode, element crop, cookie-banner hiding and ad blocking. You pay only for screenshots that succeed.

Pricing

from $0.80 / 1,000 screenshots

Rating

0.0

(0)

Developer

Chris Lucas

Chris Lucas

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

Share

Website Screenshot API: bulk, full page, mobile, PDF

Send a list of URLs. Get back one PNG, JPEG or WebP per URL (and a PDF if you want one), each with a direct file link, plus one flat row per URL with the HTTP status, page title, image size, file size and load time.

You pay $0.0008 per successful screenshot. Failed, blocked and timed-out URLs cost nothing, and screenshots of error pages (HTTP 404, 403, 500) are saved for you but are free.

What you get per URL

{
"url": "https://en.wikipedia.org/wiki/Screenshot",
"finalUrl": "https://en.wikipedia.org/wiki/Screenshot",
"status": 200,
"title": "Screenshot - Wikipedia",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/6QD8WCc8jrRhj515D/records/shot-0002-en-wikipedia-org-ce96fea4.png",
"screenshotKey": "shot-0002-en-wikipedia-org-ce96fea4.png",
"pdfUrl": null,
"format": "png",
"width": 1280,
"height": 800,
"bytes": 237863,
"loadMs": 350,
"device": "desktop",
"fullPage": false,
"error": null,
"scrapedAt": "2026-11-11T22:15:41Z"
}

screenshotUrl opens the image directly in a browser, an <img> tag or a download script. The files live in the run's key-value store; screenshotKey is the record name if you prefer the Apify API or SDK.

Every URL you send produces exactly one row, with the same fields on success and on failure. When something goes wrong, error says why in plain words (timeout after 20 s, dns: host not found, selector not found, HTTP 404) and screenshotUrl is empty unless an error page was captured.

Input

Only urls is required. A run with the default input finishes in well under a minute.

{
"urls": ["https://example.com", "https://en.wikipedia.org/wiki/Screenshot"],
"format": "png",
"fullPage": false,
"device": "desktop"
}
FieldDefaultWhat it does
urlsrequiredPages to capture, one per line. example.com is read as https://example.com. Duplicates are captured once. Up to 5,000 per run.
formatpngpng, jpeg or webp.
fullPagefalseCapture the whole scrollable page instead of the viewport. Cut at 20,000 px height.
devicedesktopdesktop 1280x800, laptop 1440x900, fullhd 1920x1080, tablet 820x1180, mobile 390x844. Tablet and mobile use touch and a mobile user agent.
width, heightfrom deviceCustom viewport, 240 to 3840 by 240 to 2160.
darkModefalseRequests the dark theme (prefers-color-scheme: dark).
selectornoneCSS selector of one element to capture instead of the page, for example #pricing.
waitUntilloadload, domcontentloaded (fastest) or networkidle (most complete).
waitForSelectornoneWait until this element is visible before the capture.
delayMs0Fixed pause before the capture, up to 10,000 ms.
scrollPagefalseScroll down and back up first so lazy-loaded images appear.
timeoutSecs20Page load timeout, 5 to 30 seconds.
hideCookieBannerstrueHides common consent banners with CSS (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast, Sourcepoint and about 80 more selectors). Nothing is clicked.
blockAdstrueBlocks requests to about 120 well-known ad, analytics and chat-widget domains.
hideSelectorsnoneYour own CSS selectors to hide, for example .newsletter-popup.
pdffalseAlso save an A4 PDF of each page. The row gets a pdfUrl.
quality80JPEG and WebP quality, 1 to 100.
deviceScaleFactor12 for retina-sharp images (twice the pixels per side).
maxConcurrency2Pages in parallel, 1 to 3.
maxRetries1Extra attempts after a dropped connection or a crashed page. Timeouts are not retried.
proxyConfigurationoffOptional proxy, for example to load a page from a specific country.

Recipes

Mobile full-page WebP with a PDF copy:

{ "urls": ["https://en.wikipedia.org/wiki/Screenshot"], "device": "mobile", "fullPage": true, "format": "webp", "pdf": true }

Crop one element in dark mode:

{ "urls": ["https://en.wikipedia.org/wiki/Screenshot"], "selector": "#firstHeading", "darkMode": true }

Wait for a chart, then hide a chat widget:

{ "urls": ["https://example.com/dashboard"], "waitForSelector": ".chart-ready", "delayMs": 500, "hideSelectors": ["#chat-widget"] }

Pricing

Pay per event. No subscription, no rental fee.

EventPriceWhen
Screenshot$0.0008Each screenshot of a page that loaded with an HTTP status below 400
PDF$0.0004Each PDF, only with pdf: true and only next to a successful screenshot
Actor start$0.00005Once per run, per GB of memory
JobCost
1 screenshot in its own run$0.00085
1,000 screenshots in one run$0.80
1,000 screenshots plus PDFs$1.20
10,000 screenshots$8.00

Not charged: invalid URLs, blocked URLs, DNS failures, timeouts, missing selectors, crashed pages, and screenshots of HTTP 4xx/5xx error pages. If you set a maximum cost per run, the actor stops starting new captures when the limit is reached.

Use cases

  • Visual checks after a deploy: capture your key pages on desktop and mobile and compare.
  • Link previews and thumbnails for directories, dashboards and reports.
  • SEO and competitor monitoring: keep dated captures of landing pages and pricing pages.
  • Archiving pages as PNG plus PDF for compliance or client reports.
  • Feeding page images to vision models.

Safety limits

This actor only loads public web pages.

  • Only http:// and https:// URLs. file:, data:, javascript:, ftp: and browser-internal URLs are rejected.
  • Hostnames are resolved before the browser starts. Loopback, private (10.x, 172.16-31.x, 192.168.x), link-local and cloud metadata (169.254.169.254) addresses, carrier-grade NAT ranges, and the IPv6 equivalents are refused, including when a public-looking domain resolves to one of them.
  • The same check runs inside the browser on every request the page makes. If a page redirects to, embeds or navigates to a private address, the capture is dropped and the row says blocked: ....
  • URLs with embedded credentials (user:pass@host) are rejected.

FAQ

How long are the files kept? They are stored in the run's default key-value store, which follows your Apify plan's data retention (7 days on the free plan). Download them or copy them to a named store if you need them longer.

Can I open screenshotUrl without an API token? Yes, for accounts with the standard storage access setting. The link points to the record in the run's key-value store.

Why is my full-page screenshot missing images? Many sites load images only when they scroll into view. Turn on scrollPage, and add a delayMs of 500 to 1500 if needed.

The cookie banner is still there. Banner hiding uses a fixed CSS list and covers the common consent tools. For a custom banner, add its selector to hideSelectors.

A page shows a bot check or "access denied". Some sites refuse visits from cloud data centers. The capture is saved so you can see what happened, and it is not charged when the site answers with an HTTP error status. This actor does not try to get around bot protection.

How do I make bulk runs faster? Give the run more memory. Apify assigns CPU in proportion to memory: 1 GB runs 1 to 2 pages at a time, 4 GB runs 3 with a full CPU core.

A heavy page timed out. Large, script-heavy pages (news homepages, animated marketing sites) with fullPage or scrollPage can need more CPU than the default 1 GB run provides. Start the run with 2 to 4 GB of memory, or use waitUntil: domcontentloaded. Timeouts are never charged.

Does it log in or fill forms? No. It captures pages as an anonymous visitor.

Limits

  • Page load timeout is capped at 30 seconds. Timeouts are reported, not retried.
  • With the default 1 GB of memory, full-page, scroll, PDF and scale-2 captures run one page at a time. Simple viewport captures run two at a time.
  • Full-page captures are cut at 20,000 px height. WebP files are limited to 16,383 px per side by the format; taller captures are scaled down to fit.
  • One set of options per run. To capture the same URL on desktop and mobile, start two runs.
  • PDFs use the page's screen styles on A4 paper; very long or app-like pages can paginate awkwardly.
  • Cookie banners inside cross-origin iframes or shadow DOM are not always hidden.
  • Pages that need a login, a CAPTCHA or a specific region are captured as an anonymous visitor from the Apify cloud sees them.