# Rate limits

The API gateway limits how many requests each client sends.

## The limit

|  |  |
|  --- | --- |
| Limit | **100 requests per second** |
| Counted per | `client_id`: all tokens and all processes that use the same credentials share the limit |
| Above the limit | `429 Too Many Requests` |


The `429` response has no `Retry-After` header.

## Handle a 429

Retry with **exponential backoff and jitter**: wait a little, then longer after each failure, with a random part so that your processes do not retry at the same time.

```python
import random
import time

def call_with_retry(send, max_attempts=5):
    for attempt in range(max_attempts):
        response = send()
        if response.status_code != 429 and response.status_code < 500:
            return response
        time.sleep(min(30, 0.5 * 2 ** attempt) + random.uniform(0, 0.5))
    return response
```

## Stay below the limit

- Limit the number of calls you run in parallel.
- Use batch reads and `pageSize=100` instead of many small calls. See [Coding practices](/getting-started/coding-practices).
- Cache reference data: it changes rarely.
- Reuse your token instead of requesting one per call. See [Authentication](/getting-started/authentication).


To ask for a higher limit, [contact us](/getting-started/support).