About this endpoint
What it does
Takes a screenshot of the web page at the specified URL and returns it as a JPEG image. width and height are the size of the browser viewport: the page is captured 1:1 at that size, so the text is sharp and small widths show the site's mobile layout.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| url | String | The webpage URL to capture. Maximum length: 1000 characters. |
| width | Integer | Viewport (and image) width in pixels. Minimum: 100, maximum: 1920; values outside the range are clamped. |
| height | Integer | Viewport (and image) height in pixels. Minimum: 100, maximum: 1920; values outside the range are clamped. |
Response
Returns the screenshot as a JPEG image (image/jpeg) of exactly width x height pixels.


