Website Screenshot
Turn any public URL into a PNG, JPEG, WebP, or PDF asset rendered by BrowserSolver. No local Chromium fleet to operate.
Credit cost: 2 credits per call
Autorización
ApiKeyAuth Your API key. Include it in the x-api-key header for every request.
In: header
Parámetros de consulta
Page address to render into an image or PDF. Must include a protocol.
Sample targets:
https://www.amazon.com/s?k=pokemonhttps://www.cdiscount.com/sante-mieux-vivre/materiel-medical/soin-domicile/l-1650608.htmlhttps://github.com/seaweedfs/seaweedfsFile type returned in the response body.
Choose one of:
webpjpeg
jpgpngpdf"png"Value in
- "jpeg"
- "jpg"
- "pdf"
- "png"
- "webp"
Swap the desktop viewport for a preset handset or tablet fingerprint.
Presets:
iphone_14_pro_maxiphone_14_proiphone_13_pro_maxiphone_13_miniiphone_12iphone_xipadgalaxy_s23_ultragalaxy_s23galaxy_s8galaxy_fold4pixel_7_propixel_6apixel_5redmi_note_12_pro
redmi_note_11huawei_p60_prohuawei_mate_50_proValue in
- "galaxy_fold4"
- "galaxy_s23"
- "galaxy_s23_ultra"
- "galaxy_s8"
- "huawei_mate_50_pro"
- "huawei_p60_pro"
- "ipad"
- "iphone_12"
- "iphone_13_mini"
- "iphone_13_pro_max"
- "iphone_14_pro"
- "iphone_14_pro_max"
- "iphone_x"
- "pixel_5"
- "pixel_6a"
- "pixel_7_pro"
- "redmi_note_11"
- "redmi_note_12_pro"
Extend the capture beyond the viewport so the entire scrollable document is included.
"false"Drive a scroll pass first so deferred content mounts before a tall capture.
"false"Milliseconds spent scrolling prior to a full-height capture.
"400"Width of the synthetic desktop window, in pixels.
"1280"Height of the synthetic desktop window, in pixels.
"1024"Pixel density multiplier. Raise it for retina-quality output; files grow accordingly.
"1"Lossy compression level for soft formats.
Applies when format is:
jpegwebp"80"Limit the shot to one DOM node matched by this CSS selector.
Serve a stored capture on repeat requests when caching is enabled.
"false"Lifetime of cached captures in seconds.
3600 <= value <= 2592000"2592000"Hide matching CSS selectors (modals, promo bars, etc.) before shooting.
Best-effort stripping of ad slots before capture.
"false"Resource kinds to discard during load, as a comma list (example: image,stylesheet,font).
Kinds:
documentstylesheetimagemediafontscripttexttrackxhrfetcheventsourcewebsocketmanifestotherHelps shorten load time on media-heavy pages.
Value in
- "document"
- "eventsource"
- "fetch"
- "font"
- "image"
- "manifest"
- "media"
- "other"
- "script"
- "stylesheet"
- "texttrack"
- "websocket"
- "xhr"
Substring patterns that should never be fetched (example: analytics,tracking,advertisement). Hosts, paths, or fragments such as .example.com/ work.
Additional settle time in seconds after the readiness event.
0 <= value <= 10"0"Which browser lifecycle event marks the page ready.
Values:
networkidle2loaddomcontentloadednetworkidle0
Value in
- "domcontentloaded"
- "load"
- "networkidle0"
- "networkidle2"
Hold capture until this CSS node is present.
Route the browser through an intermediate proxy.
Protocols: HTTP, HTTPS, SOCKS5.
Shape: http://username:password@proxy.com:PORT.
Handy for region-specific views or IP rotation.
Secret key used to authenticate uploads.
Access key used to authenticate uploads.
Destination bucket for the binary asset.
Key under which the object is stored (generated automatically if blank).
Cloud region of the bucket.
Override the default AWS endpoint for S3-compatible backends. Leave blank for AWS. R2 example: https://<accountId>.r2.cloudflarestorage.com.
Upload the binary and include the public object URL in the API response.
"false"Cuerpo de la respuesta
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/website/screenshot?url=string"{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}