---
schemaVersion: 1.1.0
title: "API rate limits"
audience: developers
canonical: https://sprachpass.com/docs/api/rate-limits
markdown: https://sprachpass.com/docs/markdown/api/rate-limits
---

# API rate limits

API keys share a per-client minute limit. Read quota headers, wait for Retry-After on a 429 response and resume requests with bounded concurrency.

## One limit per client

The limit belongs to the API client, not to an individual key. Active keys under the same client share one fixed one-minute window. Key rotation does not add capacity.

GET /api/v1/access shows the same window in its rate_limit object: limit, remaining, and resets_at. That request counts once, like any other request.

## Response headers

```http
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 1786601340
```

- X-RateLimit-Limit is the client's allowed requests per minute.
- X-RateLimit-Remaining is the allowance left in the current window.
- X-RateLimit-Reset is the Unix timestamp when the next database minute starts.

## Handle a 429

A rate_limit_exceeded response includes Retry-After in seconds. Stop requests for that client, wait at least that long, then resume with bounded concurrency.

```http
HTTP/1.1 429 Too Many Requests
Retry-After: 18
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 0
```
