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

# Rate limits

> How many requests the Xenia API accepts, and what to do if you hit the limit.

## Limits

Limits are counted per IP address over a rolling 5-minute window.

| Request type | Limit |
| - | - |
| All API requests | 10,000 per 5 minutes |
| Login, sign-up, and password reset | 100 per 5 minutes |

These limits also apply to the [MCP server](https://docs.xenia.team/guides/integrations/mcp-server.md).

## When you exceed a limit

Requests from that IP address are rejected with a `403 Forbidden` error until the volume drops back under the limit. The response doesn't say how long to wait.

> [!NOTE]
>
> The API also returns `403` for permission errors. If you get a `403` after sending a high volume of requests, it's most likely a rate limit.

## Handling limit errors

If you get a `403` after sending a lot of requests, slow down and retry, waiting a little longer between each attempt (exponential backoff). For example, wait 1 second, then 2, then 4, and so on.

To stay under the limits:

* Spread large syncs out over time instead of sending everything at once
* Use bulk endpoints, like [Bulk Upsert Attribute Values](https://docs.xenia.team/api-reference/endpoints/enterprise-locations/bulk-upsert-attribute-values.md), instead of many single requests where available


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