services / screenshot
visualoperational · 2230 ms
Screenshot API
Capture any URL as a PNG screenshot. Returns image_base64 (base64 PNG — decode to get raw bytes). Full JS rendering via Playwright, works on SPAs and dynamic content. Params: url (required), width px (default 1280), height px (default 800), full_page boolean, wait_ms.
Run free trial ↗1 free call per day with the example input. Paid: $0.005 USDC, no limit.
Call it
Input
| Field | Type | Description |
|---|---|---|
| url * | string | The URL to capture |
| width | integer = 1280 | Viewport width in pixels |
| height | integer = 800 | Viewport height in pixels |
| full_page | boolean = false | Capture full page height |
| wait_ms | integer = 1000 | Wait time after page load in ms |
Output
| Field | Type | Description |
|---|---|---|
| image_base64 | string | Base64-encoded PNG image (decode to get raw bytes) |
| width | integer | Actual image width in pixels |
| height | integer | Actual image height in pixels |
| url | string | The URL that was captured |
| captured_at | string | ISO 8601 timestamp of when screenshot was taken |
Example response (data)
{
"image_base64": "iVBORw0KGgoAAAANSUhEUgAABQAAAASwCAYAAACPT...",
"width": 1280,
"height": 800,
"url": "https://example.com",
"captured_at": "2026-04-07T12:00:00.000Z"
}