https://api.prod.ss.snapshot-site.com/api/v1/screenshotCapture a webpage screenshot with width, height, format and basic rendering options.
Request Body Schema
Field reference for this endpoint.
urlRequiredTarget webpage URL to capture.
formatOptionalOutput format. Default: png.
widthOptionalViewport width in pixels. Default: 1280.
heightOptionalViewport height in pixels. Default: 720.
delayOptionalDelay in seconds before capture. Default: 0.
fullSizeOptionalCapture the full page instead of the viewport only.
hideCookieOptionalHide common cookie banners before capture.
| Field | Type | Required | Description |
|---|---|---|---|
url | string (uri) | Required | Target webpage URL to capture. |
format | string (png | jpeg | jpg | webp | pdf) | Optional | Output format. Default: png. |
width | integer (100-8000) | Optional | Viewport width in pixels. Default: 1280. |
height | integer or null (100-20000) | Optional | Viewport height in pixels. Default: 720. |
delay | integer (0-10) | Optional | Delay in seconds before capture. Default: 0. |
fullSize | boolean | Optional | Capture the full page instead of the viewport only. |
hideCookie | boolean | Optional | Hide common cookie banners before capture. |
Example Response
Typical payload returned by the API.
{
"status": "success",
"fetchTime": "2026-03-26T18:42:34.138Z",
"message": "Screenshot successfully created!",
"url": "https://wikipedia.org",
"width": 1280,
"height": 720,
"link": "https://api-prod-eks.snapshot-site.com/screenshots/wikipedia.org/0a7b2bb1-a139-4bf1-80f3-ea41dae662e4/1774550554138.png"
}
Code Examples
Switch language and copy the request snippet.
curl --request POST \
--url https://api.prod.ss.snapshot-site.com/api/v1/screenshot \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-snapshotsiteapi-key: YOUR_API_KEY' \
--data '{"url":"https://wikipedia.org","format":"png","width":1280,"height":720,"delay":0,"fullSize":false,"hideCookie":false}'