Website Screenshot API avatar

Website Screenshot API

Pricing

from $1.00 / 1,000 screenshots

Go to Apify Store
Website Screenshot API

Website Screenshot API

Turn a list of public URLs into full-page, mobile or element screenshots (PNG/JPEG) with a download link for each. Hides cookie banners. Billed only for screenshots delivered: $1 per 1,000.

Pricing

from $1.00 / 1,000 screenshots

Rating

0.0

(0)

Developer

Brandon Ob

Brandon Ob

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 hours ago

Last modified

Features

Limited permissions

Share

Website Screenshot API: full page screenshot of any URL (PNG or JPEG)

Take a full page screenshot of any URL, or of hundreds of URLs in one run. This website screenshot API turns a list of public web pages into one screenshot per page, each with a download link you can paste into a sheet, a report or another tool. You can capture the full page, just the first screen, or a single element, at phone, tablet or desktop size, in dark mode or retina, with cookie banners hidden. You are charged only for screenshots that were delivered, never for a page that failed.

What does Website Screenshot API do?

  • Takes a full-page screenshot (up to 16,000 pixels tall) or just the first screen of every URL you give it.
  • Captures one element instead of the whole page when you pass a CSS selector such as #pricing or .hero.
  • Uses desktop, tablet or mobile presets (1280×800, 820×1180, 390×844), or your own width and height.
  • Hides cookie banners from common consent tools (OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast, TrustArc, CookieYes and similar) without clicking or accepting anything.
  • Hides any other elements you list, skips common ad and analytics requests, and can wait extra seconds for animations.
  • Saves PNG or JPEG (with a quality setting), optionally at double pixel density (retina) and in the page's dark color scheme.
  • Gives each screenshot a public screenshotUrl and stores the image in the run's key-value store.
  • Skips pages that time out instead of failing the whole run, and lists them in a SUMMARY record.

Full page screenshot of any webpage

A full page screenshot captures the whole scrollable page, top to bottom, not only the part that fits on your screen. That is the default here: paste a URL, click Start, and you get a PNG of the entire webpage (up to 16,000 pixels tall) with a download link. Untick Full page to get only the first screen (above the fold) instead.

URL to screenshot, in bulk

Paste one URL or a list of 1,000 URLs; each becomes its own image and its own row. Each row has the page title, the HTTP status and a screenshotUrl link, so you can export the list to Excel, CSV or Google Sheets and keep every webpage screenshot next to its URL. Pages that fail are skipped and not charged.

Use cases

  • Agencies and freelancers: capture client and competitor home pages for audits, proposals and monthly reports.
  • Marketing teams: archive landing pages and pricing pages before and after a launch or an A/B test.
  • QA and developers: check how pages render at mobile, tablet and desktop sizes after a deploy.
  • SEO and content teams: build visual inventories of a site's key pages for a migration or redesign.
  • Compliance and research: keep a dated visual record of what a public page showed on a given day.
  • No-code workflows: add a screenshot step after a scraper, then send the image links to Google Sheets, Slack or Notion.

How to use it

  1. Open the Actor in Apify Console and add your URLs, one per line. https:// is added if you leave it out.
  2. Pick a device (desktop, tablet, mobile), full page or first screen, and PNG or JPEG.
  3. Optional: add a CSS selector to capture one element, selectors to hide, a delay, dark mode, retina or a proxy.
  4. Click Start. When the run finishes, open the Screenshots view and use the screenshotUrl column, or export the dataset.
  5. To repeat it, save the input as a task and run it on a schedule, or call it from the API (see below).

Input

FieldWhat it does
urlsPublic web pages, one per line. Pages behind a login are not supported.
devicedesktop (default), tablet or mobile.
fullPageCapture the whole scrollable page (default) or only the first screen.
formatpng (default) or jpeg; jpegQuality 1–100 for JPEG.
selectorOptional CSS selector: screenshot only the first matching element.
hideSelectorsOptional list of elements to hide before the shot.
hideCookieBannersHide common cookie consent pop-ups (on by default).
delaySeconds, waitUntilExtra wait time, and when the page counts as loaded (load, domcontentloaded, networkidle).
darkMode, retina, blockAdsDark color scheme, 2× pixel density, skip ad and analytics requests.
width, heightOptional overrides for the device size.
timeoutSecondsA page slower than this is skipped and not charged (default 45).
maxItemsStop after this many screenshots (default 100).
proxyConfigurationOptional proxy, for example to see a page from another country.

Example input:

{
"urls": ["https://apify.com", "https://news.ycombinator.com"],
"device": "mobile",
"fullPage": true,
"format": "jpeg",
"jpegQuality": 80,
"hideCookieBanners": true,
"delaySeconds": 2
}

Output

One row per page in the dataset, and the image itself in the run's key-value store. Example row:

{
"url": "https://apify.com",
"finalUrl": "https://apify.com/",
"httpStatus": 200,
"title": "Apify: Marketplace of ready-to-run tools for AI",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/screenshot-001-apify-com.png",
"storageKey": "screenshot-001-apify-com.png",
"format": "png",
"device": "desktop",
"viewportWidth": 1280,
"viewportHeight": 800,
"fullPage": true,
"imageBytes": 962969,
"capturedAt": "2026-11-04T18:20:11+00:00"
}

The key-value store record SUMMARY shows how many URLs were requested, how many screenshots were delivered and every URL that could not be captured, with the reason. You can download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the API.

Pricing

Pay per event: $1.00 per 1,000 screenshots delivered, plus a $0.00005 charge per Actor start. Pages that time out or fail to load are not charged. You can set a maximum cost per run and the Actor stops cleanly when it is reached.

Example: 500 full-page screenshots cost about $0.50.

Integrations and API

Run it and get the rows back in one call:

curl -X POST "https://api.apify.com/v2/acts/adhistory~website-screenshot-api/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://apify.com"], "device": "desktop", "fullPage": true}'

Python, with the apify-client package:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("adhistory/website-screenshot-api").call(run_input={
"urls": ["https://apify.com", "https://news.ycombinator.com"],
"device": "mobile",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["url"], item["screenshotUrl"])

Like every Apify Actor, it also works with Make, Zapier and n8n, with webhooks and schedules, and as a tool for AI agents through the Apify MCP server.

Examples

  • Full-page screenshots of a URL list: {"urls": ["https://apify.com", "https://news.ycombinator.com"], "fullPage": true}.
  • Mobile view check: {"urls": ["https://github.com"], "device": "mobile", "fullPage": false}.
  • One element only (pricing table, hero): {"urls": ["https://example.com"], "selector": "#pricing"}.
  • Dark mode and retina: {"urls": ["https://github.com"], "darkMode": true, "retina": true}.
  • Small JPEG files for reports: {"urls": [...], "format": "jpeg", "jpegQuality": 70}.

FAQ

Can it screenshot pages behind a login? No. It sees what a logged-out visitor sees. Pages behind a login, a paywall or a CAPTCHA show that screen or fail.

How do I take a full page screenshot of a website? Add the URL to URLs to screenshot, keep Full page ticked (the default) and click Start. The PNG of the whole page appears in the Screenshots view with a download link. No browser extension or code needed.

Is there a URL to screenshot tool that works without code? Yes. This Actor runs from the Apify Console form: paste URLs, click Start, download the images or export the links. Developers can call the same thing as a screenshot API.

How tall can a full-page screenshot be? Up to 16,000 pixels. Pages that scroll forever, or load content only as you scroll, may not match what you see in your own browser. The delay option gives them more time.

Am I charged for pages that failed? No. Only delivered screenshots are charged. Failed URLs are listed in the SUMMARY record.

Does it accept cookie banners? No. It hides the banner with CSS; nothing is clicked or accepted.

What if a site blocks the request? Some sites block datacenter traffic. Turn on the proxy option and try again.

Can I reuse screenshots of other sites? Check that you are allowed to. Screenshots of other people's pages can be protected by copyright.

How do I take a screenshot of many websites at once? Put the URLs in the URLs to screenshot list (one per line), click Start, and use the screenshotUrl column from the dataset. Pages that fail are not charged.

Can I use it as a screenshot API from my own code? Yes. Call the Actor with the run-sync-get-dataset-items endpoint shown above; each row has the image link, page title and HTTP status.

Can it capture the same pages every day? Yes. Save the input as a task and put it on a schedule; each run stores new images with a capture time.

Found a bug or need a feature? Open an issue on the Issues tab — I usually reply within a day.