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

# API Reference

> Complete reference for all Clustr public API endpoints

> [!NOTE]
>
> All endpoints require Bearer token authentication. See [Authentication](https://docs.clustr-ai.com/authentication.md).

## Response format

All responses are wrapped in a standard envelope:

```json theme={null}
{
  "success": true,
  "data": { ... }
}
```

Error responses:

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Description of the error",
    "code": "ERROR_CODE"
  }
}
```

## Record ids

Every record the API returns carries its [Clustr ID](https://docs.clustr-ai.com/clustr-ids.md) in a field that starts with
`clustr_`, such as `clustr_competitor_id` or `clustr_tag_ids`. Use it whenever a route asks for a
record: in the path, in a query parameter or in the body. The other ids you see next to it, such
as `id` or `company_id`, are kept for integrations built before Clustr IDs, and routes still
accept them.

## Rate limits

API requests are rate-limited per API key. Contact support if you need higher limits.


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