Ploi API
Ploi API

Rate limiting

To protect our API we rate limit the incoming requests. Every plan itself has its own limit:

Basic Pro Unlimited
60 request per minute 120 requests per minute 240 requests per minute

You can keep track of the remaining allowed attempts by checking the headers the API is giving back to you:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 60

If you reach the rate limit you will get the following result back in the response:

{
    "message": "Too many requests, please slow down with sending requests."
}

In this case you will have to wait for 1 minute for the cooldown to disappear, you can also track how much seconds left before you can make a new valid request by reading out the headers:

Retry-After: 54