A powerful screenshot API that captures high-quality screenshots of websites or raw HTML content. Supports various output formats, custom viewports, JavaScript/CSS injection, element selection, geo-targeting, and more.
Get your API key from the dashboard and start capturing screenshots:
curl -X GET "https://api.screenshotty.link/api/v1/screenshot?url=https://example.com" \
-H "x-api-key: YOUR_API_KEY"
Rate limits depend on your subscription plan. Check your dashboard for details.
Include your API key in the request headers:
Security tip: Never expose your API key in client-side code. Always make API calls from your server.
/api/v1/screenshotCapture a screenshot of a URL or HTML content. This endpoint is recommended for complex requests, especially when using cookies, HTTP headers, or JavaScript/CSS injection.
Flexible parameter passing: All options can be passed either as query parameters (in the URL) or in the JSON request body — use whichever is more convenient for your use case. You can even mix both: parameters from the query string and body are merged, with body parameters taking precedence if the same option is specified in both places.
urlhtmlformat"image/png"response_type"image"viewport_width1920viewport_height1080crop_xcrop_ycrop_widthcrop_heightselectorfull_pagetruetransparent_backgroundfalseready_event"domcontentloaded"wait_msjavascript_codecss_codeuser_agentcookieshttp_headersadblockfalsecountryblock_cookie_bannerfalselight_mode"default"viewport_presetdevice_scale_factor1language"en-US"scroll_to_bottomfalseprintedfalsewebhook_urlwebhook_method"POST"webhook_headers