Skip to main content
The ChatGrid API uses a sliding-window rate limiter to protect the platform from abuse and ensure fair usage.

Limits

API key rate limits can be customized when the key is created. Contact support if you need higher limits.

Rate limit headers

Every response includes rate limit headers so you can track your usage: Example response headers:

Exceeding the limit

When you exceed your rate limit, the API returns a 429 status code with a Retry-After header indicating how many seconds to wait:

Best practices

  1. Check headers proactively. Monitor X-RateLimit-Remaining and slow down before hitting the limit.
  2. Implement exponential backoff. On 429 responses, wait at least Retry-After seconds, then retry with increasing delays.
  3. Use batch endpoints. The batch nodes endpoint lets you perform up to 100 operations in a single request.
  4. Cache responses. For data that does not change often (board metadata, node positions), cache locally to reduce request volume.