> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domshot.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# API Overview

> DomShot API basics

## 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](/guides/authentication) for details.

## Quick example

```bash theme={null}
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](/api-reference/errors) for details.

## Further reading

* [Authentication](/guides/authentication) - Get your API key
* [GET /shot](/api-reference/endpoints/shot) - Full parameter reference
* [Core Concepts](/guides/core/credits) - How credits work
* [Error Codes](/api-reference/errors) - Error reference
