Media
Screenshot a page
Capture a full-page PNG screenshot of a rendered page.
post/v1/web/screenshot
Request
- Base URL: https://api.hydrafetch.com
- URL: https://api.hydrafetch.com/v1/web/screenshot
- Auth: API key in header X-API-Key
Request body
Example request
{
"url": "https://example.com",
"fullPage": true,
"viewport": "desktop"
}Response
Example response
{
"data": {
"url": "https://example.com",
"finalUrl": "https://example.com/",
"status": 200,
"screenshot": "https://media.hydrafetch.com/screenshots/a1/a1b2c3.png",
"screenshotType": "viewport",
"width": 1920,
"height": 1080
}
}Changes
No recorded changes to this operation across all 1 revision of this API.