POST /v1/tools/screenshot with the target url, and the API returns the captured image as a PNG.
The tool can run standalone or against an existing browser session — pass an optional sessionId query parameter to execute it on a running session (for example, to capture a page behind authentication).
PDF URLs are not supported by the screenshot tool.
Request options
url: The URL of the webpage to capture.width/height: Browser viewport dimensions in pixels.image_quality: Quality of the output image, on the range 1-100. 100 will not perform any compression.wait: Duration in milliseconds to wait after the page has loaded, mainly used for sites with JS animations.scroll_all_content: If true, scrolls the page and captures all visible content.capture_full_height: If true, captures the entire height of the page, ignoring the viewport height.s3_target_address: Presigned S3 url target to upload the image to.

