> For the complete documentation index, see [llms.txt](https://docs.channex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.channex.io/api-v.1-documentation/rate-limits.md). Agents can also search and read this documentation through its [MCP server](https://docs.channex.io/~gitbook/mcp).

# API Rate Limits

{% hint style="warning" %}
**Planned limits.** The limits described on this page are planned to take effect in the near future. The exact date is not set yet.

Until then, the current limits apply:

* **10 Restrictions & Price Requests** (`POST /api/v1/restrictions`) per minute per property.
* **10 Availability Requests** (`POST /api/v1/availability`) per minute per property.
  {% endhint %}

## Introduction

To prevent system abuse and ensure API stability, the Channex API limits how many requests you can send. This page explains how the limits work, what the limits are, how to read your remaining quota from response headers and what happens when you reach a limit.

## How Rate Limits Work

### Scopes

Each request counts against more than one counter at the same time. Counters exist at three scopes:

* **API key** - requests made with one API key.
* **Account** - all requests of one billing account, from all its API keys together.
* **Route** - requests of one API key, or of one account, to one endpoint.

A request made with an API key (`user-api-key` header) counts against both the API key scope and the account scope.

The API rejects a request when **any one** counter that applies to it is at its limit. For example, if your account has several API keys, each key can be within its own limit while the account as a whole has reached the account limit.

### Windows

Most limits have three windows: per minute, per hour and per day.

## Endpoint Groups

### Booking and Messaging Endpoints

Each of these endpoints has its own counter. Requests to one endpoint do not use the limit of another endpoint in this group. The limits allow about one request per second to each endpoint, with a small allowance for bursts within a minute.

* `GET /api/v1/booking_revisions/feed`
* `GET /api/v1/booking_revisions`
* `GET /api/v1/bookings`
* `GET /api/v1/message_threads`
* `GET /api/v1/message_threads/:message_thread_id/messages`
* `GET /api/v1/bookings/:booking_id/messages`
* `POST /api/v1/bookings/:booking_id/messages/pull`
* `GET /api/v1/live_feed`

### Standard Endpoints

All other API endpoints share one counter. In addition, each standard endpoint has its own per-route limit.

### ARI Updates

`POST /api/v1/restrictions` and `POST /api/v1/availability` have an additional limit per property. Each of these two endpoints has its own counter, so requests to one endpoint do not use the limit of the other. The API checks this limit for each property in the request body.

These requests also count as standard endpoints, so the standard limits apply to them too.

## Limits

| Group                                              | Scope        | Per minute | Per hour | Per day |
| -------------------------------------------------- | ------------ | ---------- | -------- | ------- |
| Standard endpoints (shared)                        | API key      | 600        | 18,000   | 216,000 |
| Standard endpoints (shared)                        | Account      | 1,800      | 54,000   | 648,000 |
| One standard endpoint (route)                      | API key      | 300        | 3,600    | —       |
| One standard endpoint (route)                      | Account      | 900        | 10,800   | —       |
| One booking and messaging endpoint                 | API key      | 100        | 3,600    | 86,400  |
| One booking and messaging endpoint                 | Account      | 300        | 10,800   | 259,200 |
| Restrictions updates (`POST /api/v1/restrictions`) | One property | 10         | —        | —       |
| Availability updates (`POST /api/v1/availability`) | One property | 10         | —        | —       |

Contact support if your integration needs higher limits.

## Response Headers

Authenticated responses carry the rate limit headers defined in the IETF draft [RateLimit header fields for HTTP](https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/). Each window has one entry, named `<scope>-<window>`:

```
RateLimit-Policy: "api-key-minute";q=600;w=60, "api-key-hour";q=18000;w=3600, "account-minute";q=1800;w=60
RateLimit: "api-key-minute";r=597;t=42, "api-key-hour";r=17950;t=1800, "account-minute";r=1790;t=42
```

`RateLimit-Policy` describes each window:

* `q` - the limit of the window.
* `w` - the window length in seconds.

`RateLimit` shows the current state of each window:

* `r` - the requests that remain.
* `t` - the seconds until the window resets.

Policy names you can see include:

* `api-key-minute`, `api-key-hour`, `api-key-day`
* `account-minute`, `account-hour`, `account-day`
* `api-key-route-minute`, `api-key-route-hour`
* `account-route-minute`, `account-route-hour`

{% hint style="warning" %}
Other policy names can appear. Parse the headers generically and do not hard-code this list.
{% endhint %}

## When a Limit Is Reached

When a request hits a limit, the API returns status `429 Too Many Requests` with a `Retry-After` header that contains the number of seconds to wait.

```json
{
  "errors": {
    "title": "Too Many Requests",
    "code": "http_too_many_requests"
  }
}
```

For an ARI update, the response body also names the property that hit the limit:

```json
{
  "errors": {
    "title": "Too Many Requests: retry after Thu, 05 Nov 2026 10:15:00 GMT",
    "code": "http_too_many_requests",
    "details": {
      "retry_after": 30,
      "id": "<property_id>"
    }
  }
}
```

## Best Practices

**1: Watch the Headers**

Read the `RateLimit` header on each response and slow down before `r` reaches 0.

**2: Respect Retry-After**

When you receive a `429` response, wait for the number of seconds in the `Retry-After` header before the next attempt. Do not retry at once in a loop.

**3: Use the Booking Revisions Feed**

Use the [Booking Revisions Feed](https://docs.channex.io/api-v.1-documentation/bookings-collection.md#booking-revisions-feed) instead of polling `GET /api/v1/bookings`.

**4: Batch ARI Changes**

Group ARI changes into fewer, larger requests per property. See [Availability and Rates](https://docs.channex.io/api-v.1-documentation/ari.md) for request formats.
