The following usage limits will apply per environment starting February 21, 2024.
Requests in excess of the posted limits will receive a 429
HTTP response. Within that response you will also receive a Retry-After
header that will contain a value detailing the number of seconds after which the request could be retried again.
Sandbox
Resource | Max Requests Per Minute |
---|---|
https://api-sandbox.astra.finance/* | 500 |
https://secure.api-sandbox.astra.finance/* | 500 |
Production
Resource | Max Requests Per Minute |
---|---|
https://api.astra.finance/* | 500 |
https://secure.api.astra.finance/* | 500 |
Implementation Recommendations
- For requests that receive a
429
HTTP response due to rate limiting, we recommend retrying that request with exponential backoff. - Ensure batched requests are evenly distributed
- For example, do not send the maximum amount of requests per minute within a period of a few seconds. Instead, space out the requests in a relatively even distribution across the entire minute.