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

# Rate Limits

> Learn about the rate limits for the identifAI API to ensure optimal performance and avoid service interruptions. The API enforces rate limits to maintain fair usage and ensure the stability of the service for all users. Understanding these limits will help you design your applications effectively and avoid hitting rate limit errors.

# API Rate Limits

To ensure fair usage and maintain optimal performance for all users, the identifAI API enforces rate limits on all endpoints. If you exceed these limits, you will receive a `429` error response.

## Default Rate Limits

By default, each API key is subject to the following limits:

<CardGroup>
  <Card title="Read Endpoints (GET)">
    <ul>
      <li><b>2 requests per second</b></li>
      <li><b>60 requests per minute</b></li>
    </ul>
  </Card>

  <Card title="Write Endpoints (POST)">
    <ul>
      <li><b>1 request per second</b></li>
      <li><b>30 requests per minute</b></li>
    </ul>
  </Card>
</CardGroup>

<Note>
  If you exceed these limits, your requests will be temporarily blocked and you will receive a response like:

  ```json theme={null}
  {
    "message": "Too Many Attempts."
  }
  ```
</Note>

## Best Practices

* Design your integration to handle `429` errors gracefully by implementing retries with exponential backoff.
* Monitor your usage and adjust your request rate to stay within the allowed limits.
* If you require higher or custom rate limits for your application, please <a href="https://identifai.net/contact/">contact us</a> and we will evaluate your request.
