Rate Limit

Each endpoint allows 60 requests per minute from a single IP address. If these limits are exceeded, an HTTP 429 response will be sent in lieu of the usual success response.

On the bright side, you can know the available requests you have at all time. On every response Snapsbrew will attach the headers:

Rate limit max requests per minute

X-RateLimit-Limit: 60

Remaining requests in current minute

X-RateLimit-Remaining: 40

This headers will explicitely say the amount of available request per minute and the available requests for the current minute.

And once, the rate limit has been reached Snapsbrew will provide headers with information about when you can submit your next successful request. Those headers are:

Seconds you need to wait before retrying

Retry-After: 11

Timestamp of when you will be able to submit the next request

X-Ratelimit-Reset: 1669844631