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

# API Reference

> A REST API for generating visual attention heatmaps, clarity scores, and excitingness scores for images, web pages, and video.

The EyeQuant API is a REST API that runs machine-perception models on your designs and returns visual attention heatmaps, clarity scores, and excitingness scores. Use it to analyze a live web page, an uploaded image, or a video.

## Base URL

All endpoints are served under a single versioned base URL:

```text theme={null}
https://api.eyequant.com/v2
```

## Authentication

Every request must include your API key as a bearer token in the `Authorization` header:

```bash theme={null}
Authorization: Bearer $apikey
```

You can confirm your credentials and that the service is reachable with [Check API status](https://developers.eyequant.com/api-reference/status.md). For full details, see [Authentication](https://developers.eyequant.com/authentication.md).

## How analyses work

Analyses are processed asynchronously, so working with the API follows a three-step lifecycle:

**1. Submit**

Create an analysis with [Create an analysis](https://developers.eyequant.com/api-reference/create-analysis.md) (image or URL) or [Create a video analysis](https://developers.eyequant.com/api-reference/create-video-analysis.md). The response returns an `id` immediately.

**2. Poll**

Retrieve the analysis by its `id` until `status` is `success` or `failed`. Poll every few seconds rather than in a tight loop.

**3. Download**

On success, download the output maps from the URLs in the `outputs` object and store them on your own infrastructure — the links are time-limited. See [Result expiry](https://developers.eyequant.com/concepts/result-expiry.md).

> [!TIP]
>
> Every endpoint page below includes an interactive playground. Enter your API key once and send a real request straight from the docs.

## Endpoints

> [card] [Create an analysis](https://developers.eyequant.com/api-reference/create-analysis.md)
>
> Submit a web page URL or an uploaded image for analysis.

> [card] [Get an analysis](https://developers.eyequant.com/api-reference/get-analysis.md)
>
> Poll for status and retrieve the output maps and scores.

> [card] [Video analysis](https://developers.eyequant.com/api-reference/create-video-analysis.md)
>
> Run per-frame visual saliency analysis on a video.

> [card] [Check API status](https://developers.eyequant.com/api-reference/status.md)
>
> Verify your credentials and service availability.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.