Rate Limits

In this guide, we'll look at how rate limits are managed, enforced, and modified.

How rate limits work

Every request you make to the Cake Slice API counts against your limit. Any request over the limit will be rejected with a 429 Too Many Requests status code. Counts are reset every minute.

A Retry-After response header will be included for any rejected requests. Its value will indicate the number of seconds until your count will reset and requests will be accepted again.

How rate limits are set

There's no one size fits all rate limit. Instead, they're set based on your needs when you sign up with us. If you need to increase your rate limit, either temporarily or permanently, please reach out to us.