Screenshot
Lookups
Screenshot
Capture a full-page screenshot of any URL as a PNG or JPEG image.
POST
Screenshot
Authentication
Requires an API key in theAuthorization header.
Request
The URL to capture. Must be a valid
http:// or https:// URL.Capture the entire scrollable page rather than just the viewport. Default:
true.Image format —
png (default) or jpeg.Optional CSS selector to capture a single element instead of the full page.
Render the page in a headless browser before capturing. Default:
true.Block ad networks while loading. Default:
true.Block tracking scripts while loading. Default:
true.CSS selector to wait for before capturing (useful for lazy-loaded content).
Page load timeout in milliseconds. Default:
30000. Maximum: 60000.Optional custom request headers to send with the page load.
Example request
Response
Whether the screenshot succeeded.
The final URL that was captured (after redirects).
HTTP status code returned by the target page.
The captured image as a base64-encoded data string.
The image format of the returned screenshot (
png or jpeg).Page metadata such as
title and dimensions.Machine-readable error code when
success is false.Human-readable error message when
success is false.Credits consumed.
0 on a failed (refunded) capture.Total processing time in milliseconds.