Website Screenshot API - Full Page, Mobile, Element & PDF avatar

Website Screenshot API - Full Page, Mobile, Element & PDF

Pricing

from $2.20 / 1,000 screenshots

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

Website Screenshot API - Full Page, Mobile, Element & PDF

Website screenshot API for bulk URLs: full-page, visible-screen, element or PDF captures on desktop, laptop, tablet or mobile, with cookie banners hidden, sticky headers fixed, lazy images loaded and a crop height. Failed pages are never charged.

Pricing

from $2.20 / 1,000 screenshots

Rating

0.0

(0)

Developer

Sonic Scraper

Sonic Scraper

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 hours ago

Last modified

Features

Limited permissions

Share

Capture clean screenshots of any number of web pages: full page, visible screen, a single element or a PDF, on desktop, laptop, tablet or mobile. Cookie banners are hidden, sticky headers appear once instead of repeating, lazy images are loaded, and you can crop to any height. Pages that fail are never charged.

Use it for website monitoring and visual archives, client reports, competitor and landing-page tracking, link previews and thumbnails, QA of responsive layouts, and as a screenshot tool for AI agents.

Website Screenshot API output: laptop-size screenshots of Wikipedia, Stripe, Apify and GitHub captured in one run

Real output from a run of Website Screenshot API: four pages captured at laptop size, cropped to 2,000 px.

What it fixes

Generic screenshot tools often give you pictures you cannot use. This Actor handles the usual problems:

ProblemWhat this Actor does
A cookie banner covers half the pageHides banners of the common consent platforms (OneTrust, Cookiebot, Didomi, Quantcast, Usercentrics, CookieYes, TrustArc, iubenda and more) and consent bars found by their text, in English, French, German, Spanish and Italian. It hides them; it never clicks "accept" for you.
The sticky header repeats down a full-page screenshotSticky and fixed headers are put back into the page flow, so they appear once at the top. Chat bubbles and bottom bars are hidden.
Images further down are blankThe page is scrolled through first (at most 8 seconds) so lazy images load.
A 40,000-pixel page you only need the top ofmaxHeight crops from the top, for example 1080 for the first screen or 3000 for the top sections.
You need just one part of the pagecaptureMode: "element" with a CSS selector such as #pricing or main.
Emoji and Asian scripts show as boxesColour emoji and Chinese, Japanese and Korean fonts are installed.
A page never finishes loadingAfter the page timeout it is captured as it is, marked loadedFully: false, instead of failing.
You paid for screenshots that failedOnly successful captures are charged. Failures are listed in the ERRORS record with the reason.

Quick start

{
"urls": ["https://apify.com", "https://www.wikipedia.org"]
}

Mobile screenshots of the first two screens, as JPEG:

{
"urls": ["https://stripe.com", "https://www.bbc.com"],
"device": "mobile",
"maxHeight": 1700,
"format": "jpeg"
}

Just the pricing table, in dark mode:

{
"urls": ["https://example-saas.com/pricing"],
"captureMode": "element",
"elementSelector": "#pricing",
"darkMode": true
}

Input

FieldDefaultWhat it does
urls / urlsText–Pages to capture. Paste hundreds at once in urlsText.
captureModefullPagefullPage, viewport (visible screen) or element.
elementSelector–CSS selector for element mode.
formatpngpng, jpeg (with jpegQuality) or pdf.
maxHeight15000Crop full-page captures from the top; 0 = whole page (up to 30,000 px).
devicedesktopdesktop 1920x1080, laptop 1366x768, tablet (iPad, 2x), mobile (iPhone, 3x) or custom with viewportWidth / viewportHeight.
darkModefalseAsk the page for its dark theme.
hideCookieBannerstrueHide consent banners.
fixStickyElementstrueSticky headers once at the top in full-page captures.
loadLazyImagestrueScroll through the page first.
selectorsToHide–Your own CSS selectors to hide (pop-ups, ads, chat widgets).
waitUntil, waitForSelector, delayMsload, –, 1000When to capture.
pageTimeoutSecs45Capture whatever has loaded after this long.
maxConcurrency3Pages in parallel (about 500 MB of memory per heavy page).
proxyConfigurationnoneOptional proxy, for example for a country-specific page.

Output

Each successful capture is one dataset row, and the file is saved in the run's key-value store:

{
"url": "https://stripe.com/",
"finalUrl": "https://stripe.com/",
"title": "Stripe | Financial Infrastructure to Grow Your Revenue",
"httpStatus": 200,
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/stripe-com-1-a33a7da0.png",
"key": "stripe-com-1-a33a7da0.png",
"format": "png",
"captureMode": "fullPage",
"device": "desktop",
"width": 1920,
"height": 6000,
"bytes": 3857850,
"loadedFully": true,
"durationMs": 7412,
"capturedAt": "2026-11-21T14:20:03.511Z"
}

The Screenshots view shows a preview of every image next to its URL. Download files from the screenshotUrl links or from the run's key-value store, or send them on with Apify integrations, Make, Zapier or n8n. Files stay in the run's storage for the retention period of your Apify plan.

Use it from code or an AI agent

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("sonic_scraper/website-screenshot-api").call(run_input={
"urls": ["https://apify.com", "https://www.wikipedia.org"],
"device": "laptop",
"maxHeight": 3000,
})
for row in client.dataset(run.default_dataset_id).iterate_items():
print(row["url"], row["screenshotUrl"])

AI agents can call it through the Apify MCP server at https://mcp.apify.com?tools=sonic_scraper/website-screenshot-api.

Pricing

Pay per screenshot saved; see the Pricing tab for the current rate. Pages that fail (errors, timeouts with nothing rendered, invalid URLs, HTTP 4xx/5xx answers) are not charged, and the Actor stops before it would exceed your run's maximum charge.

Limits

  • Sites with bot protection may refuse to load. Some sites (for example parts of Cloudflare-protected or large news sites) answer an automated browser with 403 or a challenge page. Those pages fail and are not charged. The Actor does not solve CAPTCHAs or bypass bot checks.
  • Logins are not supported. It captures what a logged-out visitor sees.
  • Banner hiding covers the common platforms, not every custom banner. Add the banner's CSS selector to selectorsToHide if one slips through.
  • Very long pages are capped at 30,000 px (browser limit); use maxHeight or element mode for the part you need.
  • PDFs are one page wide with the screen styling (what you see), not the site's print stylesheet.

FAQ

Add the URL and keep "Hide cookie and consent banners" on (the default). Banners from the main consent platforms and consent bars found by their text are hidden before the capture.

How do I screenshot only part of a page?

Use maxHeight to crop from the top, or set captureMode to element with a CSS selector to capture one section.

Can I take mobile screenshots?

Yes: set device to mobile (iPhone size, 3x pixel density) or tablet, or set a custom width and height.

Am I charged for pages that fail?

No. Only successful captures are saved to the dataset and charged; failures are listed in the ERRORS record with the reason.

Can I get a PDF instead of an image?

Yes: set format to pdf.

Support

Open an issue on the Issues tab with the URL and your run ID if a page does not look right. This is an independent tool and is not affiliated with the websites you capture.