Skip to main content

API Overview

The DomShot API provides a simple REST interface for capturing website screenshots with a single GET request.

Base URL

https://api.domshot.com

Authentication

All requests require authentication via API key passed as a query parameter. See Authentication for details.

Quick example

curl "https://api.domshot.com/shot?key=YOUR_API_KEY&url=https://example.com" \
  --output screenshot.png

Response

Success

Returns binary image data with appropriate Content-Type header (image/png, image/jpeg, or image/webp).

Error

Returns JSON error object. See Error Codes for details.

Further reading