Capture any webpage as PNG or JPEG with a single API call. Custom viewport, full page capture, element selectors.
POST https://api.16761.tech/screenshot
curl -X POST https://api.16761.tech/screenshot \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com","fullPage":true}' \
-o screenshot.png
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | โ | URL to capture |
| width | int | Viewport width (default 1280, max 3840) | |
| height | int | Viewport height (default 800, max 2160) | |
| fullPage | bool | Capture full scrollable page | |
| format | string | png or jpeg | |
| quality | int | JPEG quality 1-100 | |
| delay | int | Wait ms after load (max 10000) | |
| selector | string | CSS selector to capture |