Skip to main content
You can call the Screenshotly API directly from the command line using cURL.

Capture a screenshot (binary)

The default response returns the image binary directly:

Capture with GET request

Use query parameters for a simple GET request:

Capture with JSON response

Set response_type to json to get metadata instead of binary:
Response:

Full-page JPEG with custom viewport

Check screenshot status

Mobile device emulation

Dark mode with ad blocking

Reusable shell script

Usage: