Pagewright: Website/URL Screenshot API, Full Page & Verified
Pricing
from $10.00 / 1,000 verified pages
Pagewright: Website/URL Screenshot API, Full Page & Verified
Website screenshot API: full-page and viewport PNG screenshots, checked before they're returned. Blank renders, soft 404s served under HTTP 200, and error pages are refused with a reason instead of being passed off as successes. You aren't billed for a refused page.
Pricing
from $10.00 / 1,000 verified pages
Rating
0.0
(0)
Developer
WrenTools
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Pagewright: Verified Page Screenshots
Screenshots that are checked before they are returned, and refusals are never billed.
A screenshot Actor that hands back a blank image, a soft 404, or an error page has succeeded by every
metric the platform records: the run exits SUCCEEDED, the dataset has a row, the image is there. The
caller finds out later, usually by looking. Pagewright measures the render and refuses the ones that
are not worth having.
What it does
- Full-page or viewport PNG screenshots, configurable viewport width, height and device scale.
- Batch: 1–500 URLs per run, one dataset item per URL whatever the outcome.
- Wait strategy: network-idle (bounded, so it captures anyway if the network never settles, since plenty of ordinary pages hold a connection open indefinitely) or a fixed delay.
- Wait for an element (
waitForSelector): name a CSS selector for the part of the page that shows it is ready, such as#results. Each page is captured only once a matching element is visible. A page where it never appears withintimeoutMsis refused asTIMEOUT, no picture is taken, and it isn't billed. In our tests a page that fills itself in 8 seconds after loading came back blank and refused without it, and filled in with it. - Full-page captures include lazy-loaded images. Before a full-page capture the page is scrolled to its end, so images that load only as you scroll are in the picture, then back to the top.
- Six checks on every render, each reported separately.
- A refused page emits no billable event at all. You are not charged for a screenshot the Actor itself would not stand behind.
The checks
| Check | What it measures | Refuses? |
|---|---|---|
httpOk | the response status was below 400 | yes → HTTP_ERROR |
nonBlank | the image carries detail rather than being near-uniform | yes → BLANK_RENDER |
notErrorPage | the title and body lead carry no generic error-page wording | yes → ERROR_PAGE |
imagesLoaded | every image in the picture had loaded (or failed) when it was taken | yes → BLANK_RENDER |
bottomRendered | the picture's bottom shows the page's text there, not a plain band Chromium left unpainted | yes → BLANK_RENDER |
consentDetected | a known consent platform was present | no, flag only |
Two more refusals come from the browser itself: TIMEOUT and BLOCKED_BY_SITE. Those five are the
whole vocabulary, and nothing outside it is ever returned.
Images still loading are a gap, not a picture. Many long pages load their images only as you
scroll, and a full-page screenshot taken without scrolling shows white boxes where they belong, which a
blankness check can't see on a page with detail elsewhere. So a full-page capture scrolls the page to
its end first (up to 50,000 px or 10 seconds), returns to the top, and waits up to 5 seconds for the
images in the picture to load. imagesLoaded then counts any image in the picture that has still
neither loaded nor failed; an image that is hidden, clipped out of view or smaller than 16 px doesn't
count, and a broken image is the page as it is, so it doesn't count either. Measured on 13 public pages
at phone and desktop widths: without the scroll, 8 of 26 full-page pictures were missing 2 to 23
images; with it, none were, and none was refused. The scroll adds about a tenth of a second per screen
of page (0.8 s on a 6,400 px page at 390×844). Viewport captures don't scroll.
A plain band at the bottom of a picture is checked against the page. Chromium stops painting a
screenshot past about 100 million pixels and leaves the rest white, at full size and with no error, so a
very tall page used to come back with a white bottom that every check passed. A picture that big is now
taken in strips (below), and bottomRendered refuses a picture whose bottom rows are all one colour while
the page has visible text there, more than 200 CSS px below the picture's last detail. A page that really
ends in a plain footer passes.
Consent walls are flagged, not refused. They are common enough that refusing them would make the Actor useless, and you are better placed than we are to decide whether a cookie banner matters for your screenshot.
A check that could not run reports null, never true. If the response never arrived, or the image
could not be decoded, or the page text could not be read, the check says so. In strict mode a null
refuses, for the same reason a false does: neither one is evidence that the render is good.
Input
| Field | Type | Default | Notes |
|---|---|---|---|
urls | string[] | none | required, 1 to 500 |
fullPage | boolean | false | whole scrollable page instead of the viewport |
viewport | object | 1280×800 @1× | width, height, deviceScaleFactor |
waitStrategy | networkIdle | delay | networkIdle | |
waitMs | integer | 1000 | used by delay |
waitForSelector | string | none | CSS selector to wait for, up to 1,000 characters; never appears: TIMEOUT, unbilled |
timeoutMs | integer | 30000 | per page |
verification | strict | off | strict | see below |
A value outside its declared bound is refused, not clamped. If your input gets quietly corrected, what ran is no longer what you asked for.
verification: "off"
Every check still runs and every result is still reported. off only stops them refusing. Opting out
of enforcement is not opting out of information, so you can see exactly what a lenient run let through.
A browser-level failure (timeout, blocked fetch) is still not a success.
Output
One dataset item per URL. Items are written as each page finishes, up to four at a time, so the
dataset is in finishing order, not the order of urls: match items to your input by url.
{"url": "https://example.com","status": "ok","refusalReason": null,"errorText": null,"imageUrl": "https://api.apify.com/v2/key-value-stores/.../records/screenshot-0000.png","httpStatus": 200,"renderedAt": "2026-07-30T18:20:11+00:00","bytes": 48213,"dimensions": { "width": 1280, "height": 800 },"checks": {"httpOk": true,"nonBlank": true,"notErrorPage": true,"imagesLoaded": true,"bottomRendered": true,"consentDetected": false}}
status is ok, refused, or error. The checks object is present and complete on all three,
so you can always see what was actually measured rather than just the verdict.
A refusal looks like this, and costs nothing:
{"url": "https://example.com/missing","status": "refused","refusalReason": "ERROR_PAGE","errorText": null,"imageUrl": null,"httpStatus": 200,"checks": { "httpOk": true, "nonBlank": true, "notErrorPage": false, "imagesLoaded": true, "bottomRendered": true, "consentDetected": false }}
Note the httpStatus: 200. That case is the reason this Actor exists.
A render that failed outright says why, and also costs nothing:
{"url": "https://example.com/unreachable","status": "error","refusalReason": null,"errorText": "Page.goto: net::ERR_NAME_NOT_RESOLVED at https://example.com/unreachable ...","imageUrl": null,"httpStatus": null,"checks": { "httpOk": null, "nonBlank": null, "notErrorPage": null, "imagesLoaded": null, "bottomRendered": null, "consentDetected": null }}
On an error every measurement is absent, which is what makes it an error rather than a refusal, so
errorText is the whole of what you have to go on. Read it, don't parse it: the wording can change
between runs and carries no compatibility promise. Branch on status and refusalReason.
Pricing
Pay-per-event, two events, both charged only for a verified success. Refusals and errors don't emit a billable event at all, so there's nothing to charge for.
page-rendered, $0.01 per verified page. It covers a picture of up to 16 million pixels: any picture that fits one screenshot, and a 1,280 px wide page up to 12,500 px tall.extra-16-megapixels, $0.02 for each further 16 million pixels or part of them in a taller picture. A 1,280 x 30,000 px picture (38.4 million pixels) is $0.01 + 2 x $0.02 = $0.05.
Pixels are counted from the picture you get, its width x height in the item's dimensions (device
pixels, so a deviceScaleFactor of 2 counts four times the pixels). Why a size price: a tall picture's
compute grows with its pixels, so a flat price per page would make the tallest pages run at a loss.
Limits
- Render only pages you are entitled to capture. Pagewright captures exactly the URLs you give it and nothing else: it follows no links and crawls nothing. Some sites' terms forbid automated access or screenshots, and honouring those terms is up to you.
- PNG only. No JPEG, WebP or PDF.
- Consent walls are detected, not dismissed.
- No authenticated pages, no proxy rotation, no anti-bot evasion. You supply the URL; if the browser reports
the fetch blocked you get
BLOCKED_BY_SITE, and if the site answers with an error status you getHTTP_ERROR, and neither is charged. notErrorPagereads the title plus the first 600 characters of body text. An error page leads with its message. Scanning a whole long article for the same phrases would start refusing pages that simply discuss outages.- Tall pages. Past 16 million device pixels (a 1,280 px wide page about 12,500 px tall) the picture is
taken in strips and pasted together: the same pixels one screenshot holds, in our tests at scale 1 and 1.5
and with a fixed header and a sticky bar. How tall a page a run takes depends on its memory: at 1,280 px
wide and scale 1, up to about 69,900 px at 2,048 MB and 209,700 px at 4,096 MB, the default and the largest
memory a run may choose. A taller page is an
error, not charged, and itserrorTextnames the memory that would take it, or says that no memory this Actor runs with would. bottomRenderedreads the page's text, not its images: a page whose bottom is only pictures or a canvas is not checked by it.- The blankness check is a near-uniformity measure. At the default 1,280×800 viewport, a page whose entire content amounts to about ten pixels is treated as blank, because at that point you can't tell the two apart.
Development
py -3.14 -m venv .venv.venv\Scripts\pip install -r requirements.txt.venv\Scripts\python -m playwright install chromium.venv\Scripts\python tools\run_tests.py # the whole guard suite.venv\Scripts\python tools\ast_guard.py # structural guards over the AST.venv\Scripts\python tools\build_input_schema.py # regenerate .actor/input_schema.json.venv\Scripts\python tools\calibrate_entropy.py # re-measure the blankness band.venv\Scripts\python tools\live_sample.py # measure the live refusal rate.venv\Scripts\python tools\publication_gate.py # grade the retained sample
docs/ACCEPTANCE.md records which guard holds which clause of the governing contract, and what is deliberately not proven.