Rate Limiting Policy

To ensure the quality of Unit21's API services for all users, there will be a global rate limit of 200 requests per second, per IP, across all routes. All routes are currently subjected to this policy.

Status code indicating limit reached

Exceeding the limit will trigger a HTTP 429 (Too Many Requests) error. If your application has triggered the rate limit, please refrain from making additional requests until the appropriate amount of time has elapsed. You should add logic to handle cases in which a HTTP 429 code is received. If a retry is needed, it's best to allow for some back-off time to avoid going into an infinite retry loop.

Rate limit headers

For the most up-to-date information on rate limits, check the rate limit headers that will be returned in the HTTP response:

Header

Description

X-RateLimit-Limit

The total number of requests allowed for the active window

X-RateLimit-Remaining

The number of requests remaining in the active window

X-RateLimit-Reset

UTC seconds since epoch when the window will be reset


Did this page help you?