Website Screenshot API avatar

Website Screenshot API

Pricing

from $2.50 / 1,000 screenshots

Go to Apify Store
Website Screenshot API

Website Screenshot API

Capture screenshots of public web pages by URL: full page or first screen, PNG, JPEG or WebP. A capture that returned no readable image, timed out without a picture or hit an HTTP error page is reported as failed and is not billed.

Pricing

from $2.50 / 1,000 screenshots

Rating

0.0

(0)

Developer

Site Shot

Site Shot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Capture screenshots of public web pages by URL. Give the Actor a list of addresses and it returns an image for each page it could capture: the full scrollable page or just the first screen, as PNG, JPEG or WebP.

You pay per screenshot that was delivered. A capture that returned no readable image, timed out without producing a picture, or landed on an HTTP error page is reported as failed and is not billed.

What it is for

  • Keeping dated visual records of pages: prices, listings, terms, ads, search results.
  • Checking how pages look after a release, a migration or a content change.
  • Thumbnails and previews for directories, dashboards and reports.
  • Giving an AI agent a picture of a page next to its text.

How to use it

  1. Paste the page addresses into Page URLs, one per line. example.com is read as https://example.com.
  2. Leave Full page on to capture the whole page, or turn it off for the first screen only.
  3. Start the run. Every page the run got to becomes one row in the dataset: a captured page has a link to its image, a failed page has the reason.

From the API, send the same input as JSON:

{
"urls": ["https://apify.com", "https://example.com/pricing"],
"fullPage": true,
"width": 1280,
"format": "png"
}

Input

FieldWhat it doesDefaultRange
urlsPages to capture.required1 to 1,000 per run
fullPageWhole scrollable page instead of the first screen.true
widthBrowser window width in pixels.1280320 to 3840
heightBrowser window height in pixels.800200 to 4000
formatpng, jpeg or webp.png
delayMsExtra wait after the page has loaded, for content drawn by JavaScript.10000 to 20000
hideCookieBannersHide most cookie-consent banners. A banner the site draws itself can remain.true
blockAdsBlock ads from common ad networks.false
maxHeightCut a full-page capture at this height in pixels.16000200 to 20000
scaledWidthResize the finished image to this width.off50 to 3840

Output

One dataset row per page that was processed, in the order results arrive. Up to four pages are captured at a time, so the order can differ from your list; index is the page's position in urls, starting at 1.

{
"index": 2,
"url": "https://example.com/pricing",
"status": "succeeded",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/screenshot-0002.png?signature=<signature>",
"screenshotKey": "screenshot-0002.png",
"format": "png",
"bytes": 184302,
"pageStatusCode": 200,
"error": null,
"fullPage": true,
"width": 1280,
"height": 800,
"capturedAt": "2026-11-20T10:00:00.000Z"
}
  • The image is stored in the run's default key-value store under screenshotKey. The number in the key is the same as index. JPEG files have the .jpg extension.
  • Use screenshotUrl as it is given; it can carry a signature.
  • width and height are the window size you asked for, not the size of the image. url is the address as it was requested, so example.com appears as https://example.com/.
  • capturedAt is the time the capture finished.
  • A failed page has "status": "failed", no image, and the reason in error. Failed pages are rows too, so the number of rows is not the number of billed screenshots: count the rows with status succeeded.
  • An address listed twice is captured and billed twice.
  • Images are kept as long as the run's storage is kept under your plan's data retention. Copy the files you need to keep.

What counts as a failed capture

A failed row is never billed. A capture fails when:

  • the page did not finish loading within the time limit (about three minutes) and no picture of it was taken;
  • the page answered with an HTTP error, 400 or above, such as 403, 404 or 503;
  • the address is not a public web page (localhost, private network addresses, non-web schemes);
  • the result came back without a readable image or without the page's HTTP status;
  • the image is too large to deliver (lower maxHeight or set scaledWidth);
  • the address does not exist or the site could not be reached;
  • the capture service was busy or unreachable (a request that never got through is tried three times; one that broke off part-way is not repeated);
  • the screenshot could not be stored.

The result is checked before anything is saved: a page that answered with an HTTP error, and a time-out notice that the renderer marks as one, are not stored as your page. What is not checked is the picture itself: a page that loaded and answered normally is captured as it is. If the site shows a login wall, a consent screen, a bot check or an empty page, that is what the screenshot shows, and it is billed. If the page was still loading when time ran out but a picture of it was taken, that picture is delivered and billed.

A page that failed is not captured again in the same run. If the capture service refuses the Actor's requests altogether, the run stops and is marked failed; pages not yet started are not captured and not billed. If the service is only busy or unreachable, each affected page fails without a charge and the run carries on with the next page.

How full-page capture works

The page is opened in a Chromium browser and scrolled first, which brings in most images that load on scroll; endless feeds and slow images can still be missing. The whole page is then captured in one shot rather than stitched from pieces, so a header fixed to the top appears once. Very long pages are cut at maxHeight; WebP images cannot be taller than 16,383 px.

Pricing

The Actor uses pay-per-event pricing. Apart from the platform's small Actor start event, charged once per run, the only charge is the screenshot event: once for each page that ends with "status": "succeeded". Failed pages and pages that were never started add nothing.

If you set a maximum cost for the run, the Actor stops starting new captures when the limit is reached and says so in the run's status message. The pages it did not get to have no rows.

If the run is aborted, captures in progress are dropped and not billed; screenshots already delivered stay and are billed. If the platform restarts the run, it continues with the pages that have no row yet.

On the platform's free plan a run processes the first 25 pages of the list. The rest is skipped without rows.

Limits

  • Public pages only: nothing behind a login and no private network addresses.
  • No custom cookies, headers, scripts or user agent in this version.
  • One image per page; no video and no PDF.
  • Up to 1,000 pages per run. For larger lists, split them across runs.

FAQ

The screenshot is missing content that I see in my browser. Raise delayMs so the page has time to draw. Pages that build their content with JavaScript after loading often need 2,000 to 5,000 ms.

I got "The page answered with HTTP 403". The site refused the request. Nothing was billed.

Can I capture the mobile layout? Set width to 390 and height to 844. The page is laid out in a 390 px wide window, so responsive designs switch to their narrow layout. The browser still identifies itself as a desktop browser, so a site that picks its mobile version by user agent serves the desktop one.

Something else is wrong. Open an issue on the Issues tab with the run ID and the address that failed.