429 Too Many RequestsRequest
RATE_LIMITED
Too many requests The client went over its rate limit, or the account has used today’s allowance for address lookups and pricing (saving and confirming addresses, fresh quotes, creating deliveries). The response carries Read more: Rate limitsWhen it happens
Retry-After; for the daily allowance it counts down to midnight, Lagos time, and the message says so.How to fix it
Retry-After seconds, then retry with the same key.X-RateLimit-Remaining, and cache quotes and tokens.
RetryingRetry with the same Idempotency-Key.How idempotency works
Example response
HTTP 429 Too Many Requests
{
"status": "failed",
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after 12 seconds.",
"doc_url": "https://developer.getreeds.co/errors/RATE_LIMITED"
}
}