200 | { "ok": true, ... } | Success | |
400 | { "error": "Invalid quote parameters" } | Malformed address or amount | Fix the request |
400 | { "error": "Same token: in and out must differ ..." } | in and out are the same token (native and wrapped count as one) | Fix the request |
400 | { "error": "Parameter not available for this key: ..." } | Unknown parameter, or a swap parameter on a quote-only key | Remove it, or ask for swap permission |
401 | { "error": "Unauthorized" } | Wrong or revoked key | Check the Authorization header |
403 | { "error": "Not available for this key" } | Endpoint or feature not switched on for this key | Ask @rapidssh |
404 | { "error": "Not available on the public tier. ..." } | Endpoint needs a partner key | Use a partner key |
405 | { "error": "GET required" } | Wrong method | Check the method |
422 | { "ok": false, "error": "no admitted route" } | No route for this pair or size | Try another size or pair |
422 | { "ok": false, "error": "execution check failed" } | The route did not pass the check through Route’s contract | Retry; do not send an older transaction |
422 | { "ok": false, "error": "minOut above the quoted output" } | Your minOut is higher than the quote | Lower minOut |
429 | { "error": "Rate limit exceeded for this key" } | Over your per-minute limit | Wait for retry-after seconds |
429 | { "error": "Too many concurrent requests for this key" } | Over your concurrency cap | Wait for an in-flight request to finish |
429 | { "error": "public tier rate limit; ..." } | Over the public tier’s per-IP limit | Wait for retry-after, or get a partner key |
503 | { "error": "Pool state not fresh" } | Route is catching up with the chain | Retry after a second |
503 | { "error": "Busy, retry shortly" } | Service at capacity | Retry after retry-after |