DocumentationCapture API
Capture API
Reference for /v1/capture.
POST
/v1/captureCreate a capture
Render and return the result immediately.
Request body
Provide exactly one of url, html, or markdown.
{
"url": "https://example.com",
"format": "png",
"full_page": true
}
See Options reference for all fields.
Response types
JSON (default)
{
"request_id": "...",
"result": {
"format": "png",
"meta": { "width": 1440, "height": 3200 },
"storage": { "stored": true, "url": "https://..." },
"cache": { "hit": false }
}
}
Binary
Returns raw bytes with the correct Content-Type.
Empty
Returns HTTP 204 with no body.
Status codes
200success (json or binary)204success (empty)400invalid request401invalid access key429rate limit500internal error
Errors
Common errors: invalid_request, invalid_url, ssrf_blocked, timeout_error.
Updated 1 day ago