> For the complete documentation index, see [llms.txt](https://docs.listenlayer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.listenlayer.com/api-reference/readme.md).

# API Reference

The ListenLayer API allows you to programmatically interact with your tracking data, manage users, and configure your account.

## Base URL

```
https://api.listenlayer.com/v1
```

## Authentication

All API requests require authentication using an API key:

```bash
curl -X GET "https://api.listenlayer.com/v1/events" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Rate Limits

| Plan       | Requests per minute |
| ---------- | ------------------- |
| Free       | 60                  |
| Pro        | 600                 |
| Enterprise | Custom              |

## Response Format

All responses are returned in JSON format:

```json
{
  "success": true,
  "data": { ... },
  "meta": {
    "page": 1,
    "total": 100
  }
}
```

## Error Handling

Errors include a descriptive message and error code:

```json
{
  "success": false,
  "error": {
    "code": "invalid_api_key",
    "message": "The provided API key is invalid"
  }
}
```

## Quick Start

1. [Get your API key](/api-reference/authentication/api-keys.md)
2. Make your first request
3. Explore available [endpoints](/api-reference/endpoints/events.md)
