Documentation

API URL


GET /api/v1/web-screenshot

Headers
Code
Content-Type: application/json
Query Parameters


Example GET Request

Code
GET /api/v1/web-screenshot?url=https://example.com&width=1280&height=800&quality=90&crop=800x600

Successful Response

Status
HTML
200 OK
Body
Code
Returns a binary JPEG image representing the screenshot of the requested URL, sized to 800x600 pixels and encoded with JPEG quality 90.

Error Response

Example
Code
- 400 INVALID_URL – If the URL is missing or invalid
- 400 INVALID_DIMENSIONS – If width, height, or crop values are invalid
- 500 CAPTURE_FAILED – If Puppeteer or rendering fails

Last Updated:  May 4, 2026