Rate limits

API rate limits

Not Diamond enforces rate limits to ensure fair usage and maintain service reliability for all users.

Limit typeValue
Requests per second15

Handling rate limits

When you exceed the rate limit, the API will return a 429 Too Many Requests response. To handle this gracefully, we recommend:

  • Implement exponential backoff: If you receive a 429 response, wait before retrying. Double the wait time with each subsequent retry.
  • Queue requests: If your application needs to make many requests, consider queuing them and processing at a rate below the limit.
  • Cache responses: Where possible, cache API responses to reduce the number of requests.

Need higher limits?

If your use case requires higher rate limits, contact us to discuss your needs.