# API Reference (/docs/api)



The endpoint pages in this section are generated directly from Trackee's OpenAPI specification during the build, so request and response details stay aligned with the API implementation.

**Base URL:**

```text
https://api.trackee.dev
```

## Authentication [#authentication]

Protected endpoints require an organization access key in the `x-access-key` header.

```http
x-access-key: YOUR_ACCESS_KEY
```

## Endpoints [#endpoints]

* **[Health](/docs/api/health/healthCheck)** — check API availability.
* **[Usage](/docs/api/usage/getUsage)** — credit balance and usage history (free).
* **[Brands](/docs/api/brands/listBrands)** — create and manage the brands you track, with their prompts and competitors (free).
* **[Rank](/docs/api/rank/getRank)** — Google organic rank and AI Overview presence for a keyword.
* **[Keywords](/docs/api/keywords/getKeywords)** — search volume, CPC, and competition for keywords.
* **[Visibility](/docs/api/visibility/getVisibility)** — whether ChatGPT, Claude, Gemini, and Perplexity mention a brand for a prompt.
* **[Prompts](/docs/api/prompts/runPrompt)** — run any prompt across the AI models and get their answers plus cited sources.
* **[Snapshots](/docs/api/snapshots/querySnapshots)** — query stored visibility history, filterable by brand, engine, and date (free).
* **[Mentions](/docs/api/mentions/getMentions)** — web pages that mention a brand for a query.
* **[Competitors](/docs/api/competitors/getCompetitors)** — SERP competitors for a set of keywords.

## Interactive reference [#interactive-reference]

Open [`https://api.trackee.dev/docs`](https://api.trackee.dev/docs) for the Scalar reference. The OpenAPI document is available at [`https://api.trackee.dev/openapi.json`](https://api.trackee.dev/openapi.json).
