response_type
stringBasicDefault: image
How the screenshot should be returned:
image(default): Returns the raw image binary data with appropriate Content-Type headerfile: Same asimage, returns raw binary datajson: Returns a JSON object with the image URL, image dimensions, and the raw HTML content of the pageurl: Same asjson, returns{"url": "...", "width": 1280, "height": 800, "mime": "image/png", "html": "..."}redirect: Performs an HTTP redirect to the image URL
Accepted values
imagejsonurlredirectfileExample
curl "https://api.screenshotty.link/api/v1/screenshot?url=https://example.com&response_type=image" \-H "X-Api-Key: YOUR_API_KEY" \--output screenshot.png