Website Screenshot API - Full Page, Element, PDF
Pricing
from $5.00 / 1,000 screenshot captureds
Website Screenshot API - Full Page, Element, PDF
Capture screenshots of any list of public web pages as PNG, JPEG or PDF. Full page or a single element, desktop or phone presets, dark mode, cookie banners hidden. Instant failures are free.
Pricing
from $5.00 / 1,000 screenshot captureds
Rating
0.0
(0)
Developer
Birchline Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
Website Screenshot API
Capture screenshots of any list of public web pages as PNG, JPEG or PDF. Give it URLs; get back one file per page plus a table with the file link, page title, HTTP status and image size.
You pay per page captured. URLs that fail instantly (bad address, unknown domain) are free.
What it does
- Full page or viewport. The whole scrollable page, or just what a visitor sees first.
- Single element. Pass a CSS selector such as
#pricingto capture only that block. - Phone, tablet or desktop. Use a device preset (
iPhone 15,Pixel 7,iPad Pro 11, and about 200 more) or set your own viewport size. - Dark mode. Asks the site for its dark theme.
- Cleaner captures. Common cookie banners are hidden, and you can hide any other element (chat widgets, ads) by selector.
- Lazy-loaded images. The page is scrolled before a full-page capture so images further down are loaded.
- PDF. Prints the page on A4 with backgrounds.
- Bulk. Hundreds of URLs in one run, several pages captured at once.
Input
Only urls is required.
{"urls": ["https://apify.com", "https://en.wikipedia.org/wiki/Screenshot"],"format": "png","fullPage": true}
| Field | Default | Meaning |
|---|---|---|
urls | required | Pages to capture. A missing scheme is treated as https. |
format | png | png, jpeg or pdf. |
fullPage | true | Whole page (true) or visible viewport (false). |
selector | none | CSS selector of one element to capture instead of the page. |
device | none | Playwright device name, for example iPhone 15. Overrides the viewport size. |
viewportWidth, viewportHeight | 1366, 768 | Browser window size in pixels. |
colorScheme | light | light or dark. |
waitUntil | domcontentloaded | domcontentloaded: the page is captured once its HTML is ready plus up to 8 seconds for the load event, whether or not the event arrives. load: wait for the load event for the whole timeout; a page that never finishes is captured as it is and marked partial. networkidle: slowest, for JavaScript-heavy pages. |
delayMs | 500 | Extra wait before capturing. |
scrollToBottom | true | Scroll through the page before a full-page capture. |
hideCookieBanners | true | Hide common consent banners with CSS. |
hideSelectors | none | Extra CSS selectors to hide. |
jpegQuality | 80 | 1-100, JPEG only. |
maxHeight | 20000 | Taller pages are cut at this height. |
timeoutSecs | 30 | Per-page load timeout. A page that has drawn something by then is captured as it is and marked partial. Each page also has a hard limit of this plus 30 seconds for the whole capture. |
maxConcurrency | 4 | Upper limit on pages captured at once. Also limited to 1 page per GB of run memory. |
proxyConfiguration | none | Optional proxy, for country-specific content. |
Capture one element on a phone, in dark mode
{"urls": ["https://example.com/pricing"],"selector": "#plans","device": "iPhone 15","colorScheme": "dark","format": "jpeg"}
Output
Files are saved to the run's key-value store. The dataset has one row per URL:
{"url": "https://en.wikipedia.org/wiki/Screenshot","status": "ok","finalUrl": "https://en.wikipedia.org/wiki/Screenshot","httpStatus": 200,"title": "Screenshot - Wikipedia","format": "png","width": 1280,"height": 800,"bytes": 102893,"key": "0001-en-wikipedia-org-wiki-screenshot.png","fileUrl": "https://api.apify.com/v2/key-value-stores/<store-id>/records/0001-en-wikipedia-org-wiki-screenshot.png","partial": false,"error": null,"capturedAt": "2026-11-11T18:12:22.976Z","durationMs": 1474,"charged": "screenshot"}
A failed URL has "status": "failed" and a plain-language error, for example Timed out while loading the page or Domain name could not be resolved. The run continues with the remaining URLs.
A site that turns the visit away (HTTP 401, 403 or 429, or a "checking your browser" page) is reported as failed with a message saying so, for example The site showed a bot check instead of the page (HTTP 403). The Actor does not try to get around such blocks.
partial is true when the page had not finished loading at the timeout and was captured as it was, or when a very heavy page could not be captured in full in the time available and only the visible part was captured (the error field says which). charged shows what the row cost you: screenshot, failed-page or null (free).
Limits to know about
- Public pages only. Pages behind a login are not supported, and local or internal addresses are refused.
- Cookie banners. Widely used consent tools are hidden. A site with a custom banner may still show it; add its selector to
hideSelectors. - Very tall pages are cut at
maxHeight(20,000 px by default) to keep files a usable size. - Sites that block automated visitors. The Actor opens pages like an ordinary desktop Chrome browser (Linux, English), with no tricks to hide that it is automated. Some sites still refuse requests that come from data-center addresses, such as Stack Overflow (a Cloudflare bot check) and sec.gov (HTTP 403, rate limit). Those are reported as failed, and fast refusals are free. The proxy option, with residential addresses, may get through; the Actor never solves CAPTCHAs.
- Speed and memory. The Actor runs with 1 GB by default (1 page at a time) and at most 2 GB (2 pages at a time). The platform gives a run CPU in proportion to its memory, so at 1 GB a large, script-heavy page can take 20 to 50 seconds to render and capture, while simple pages take 2 to 5 seconds. A larger memory setting gives the run more CPU and is the way to speed these up.
Tips
- For pages that draw content with JavaScript after loading, set
waitUntiltonetworkidleor raisedelayMs. - For the fastest bulk runs of simple pages, use
delayMs: 0and turnscrollToBottomoff. - Long, heavy pages are the slowest. Setting
fullPagetofalse, or a lowermaxHeight, makes them much quicker. - Set a maximum cost per run in the run options. The Actor stops cleanly when that limit is reached.
Cost
| What | Charged |
|---|---|
| Page captured (including a partial capture) | the screenshot price |
| Page the browser worked on for 5 seconds or more but could not capture (for example it never answered) | the smaller failed-page price |
| URL that fails instantly: invalid, private or unknown address, or a site that refuses the visit straight away | free |
| Starting a run | the small Actor start price, once per GB of memory |
Current prices are shown on the Pricing tab. Capturing many URLs in one run is cheaper than one run per URL, because the start price is paid once.
Questions or problems
Open an issue on the Issues tab with the URL and the input you used. Reports with a reproducible URL are fixed fastest.