Rate limited
Last updated
Was this helpful?
Last updated
Was this helpful?
The API has been deprecated and is no longer in use.
The rate limit system is implemented to prevent abuse and spam requests reaching our endpoints, For example malicious software can be used to constantly request an endpoint and overload the server, Stopping other from using it. This is the reason why we have introduced a rate limit system, Below you can view the global rate limit and specific endpoints rate limit (Any endpoint not specified follows the global rate limit).
X-RateLimit-Limit
The amount of requests you can make
X-RateLimit-Remaining
The amount of remaining requests you can make
X-RateLimit-Reset
Epoch (Millisecond) timestamp at which the rate limit resets
The global rate limit is set at 20 requests per second, This is reasonable for any minor actions or projects that don't require many requests to be called simultaneously.
Exact rate limit affects any direct endpoint route, For example /civilian
and /firearm
have routed endpoints making them apart of the exact rate limit. The exact rate limit is currently set to 10 requests per second as these endpoints complete direct requests to the database.
If your project is constantly getting rate limited due to the amount of requests then please get in contact with , We may be able to increase your rate limit.