All docs

post /v1/screenshot

Page screenshot, returns screenshot_url, a 24h pre-signed download URL

Request body

FieldTypeDescription
url * string uri (/^https?:///) Page URL to fetch (http or https).
format enum("png", "jpeg", "webp")
full_page boolean
viewport object
viewport.width * integer (≥200 ≤4096)
viewport.height * integer (≥200 ≤4096)
wait_for integer (≥0 ≤60) Extra wait after page load, in seconds (0–60). Use for slow JS-heavy pages.
timeout integer (≥1 ≤60) Page load budget in seconds (1–60). Default is provider default.
max_age integer (≥0 ≤172800) Serve a cached copy only if it is younger than this many seconds; 0 forces a fresh fetch. Default uses the platform cache policy.
Full request schema
{
  "$ref": "#/components/schemas/ScreenshotRequest"
}

Responses

StatusDescriptionBody
200OKapplication/json — object