Skip to main content
API requests are rate-limited to ensure fair usage across all accounts. Current limits are returned in response headers on every request.

Rate limit headers

HeaderDescription
X-RateLimit-LimitMaximum requests allowed per window
X-RateLimit-RemainingRemaining requests in the current window
X-RateLimit-ResetUnix timestamp when the window resets

Exceeding the limit

If you exceed the rate limit, the API returns a 429 Too Many Requests response:
{
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Too many requests. Retry after 1709654400."
  }
}
Back off and retry after the time indicated in the X-RateLimit-Reset header.
Implement exponential backoff in your client to handle rate limits gracefully. The Tusky SDK handles this automatically.