Limits
Each limit is one budget per IP shared by every endpoint of that API, not one per endpoint. A quote,
a build and a status check each use one of the five Trade API requests.
The unauthenticated Trade API limit is low enough to hit during normal development: five requests a
minute in total, so a quote, a build and a few status checks can use it up. Use an API key while
iterating.
Response headers
Rate-limited responses carry:x-ratelimit-reset is an ISO-8601 timestamp, not a Unix epoch. x-ratelimit-window is the
window length in seconds.
When you hit a limit
You’ll get429 Too Many Requests:
retryAfter is in seconds. Retry with exponential backoff.
Best practices
- Batch where possible —
/v1/quotesaccepts an array indata. One request, many quotes. - Cache quotes briefly — quotes are short-lived; cache server-side if you re-render the same pair.
- Use an API key in production — per-key limits are higher and more predictable than per-IP.
Need more headroom?
Emailsupport@dzap.io with your projected req/sec and use case.