Rate limits and reliability (v2)
Rate limits
Section titled “Rate limits”| Route | Per integrator | Per IP |
|---|---|---|
GET /v2/quote |
120 / minute | 600 / minute |
POST /v2/build |
60 / minute | 300 / minute |
GET /v2/params |
— | 600 / minute |
GET /v2/orders |
— | 600 / minute |
POST /v2/orders/{orderId}/cancel |
— | 600 / minute |
Each route has its own IP bucket. Public single-order reads and health are not rate limited.
- The per-IP limit is checked before API-key lookup, so other traffic from a shared egress IP can use up your allowance.
- IPv6 clients are counted per /64 network, not per address, so every host in a /64 shares one per-IP allowance.
- Requests from a Cloudflare Worker in another zone are counted per calling zone (the
CF-Workerheader), not by the IP that all such Workers share. - Limits are counted per edge location and are approximate.
- A
429carries noRetry-Afterheader. Back off and retry.
Maintenance
Section titled “Maintenance”During maintenance, /v2/quote and /v2/build return 503 with Retry-After: 300:
{ "name": "MaintenanceException", "message": "SystemMaintenance" }The two routes pause together, so a quote never advertises an order that the next build would refuse. GET /v2/params, order reads and cancels keep working.
What an outage can affect
Section titled “What an outage can affect”An API outage delays quotes, builds, order reads and settlement. It cannot change an order’s terms: the rate, the recipients and the deadline are signed when the order is built, and the contracts enforce them when it publishes and settles. A filled unit always settles at no less than the order’s rate.
If the API is unavailable when an order’s deadline passes, settlement normally runs once service resumes. Meanwhile the funds stay in the hub contract under the order’s signed terms. If an order has not settled after service is back, contact Khalani with the orderId.
Readiness and health
Section titled “Readiness and health”GET /v2/paramsis your readiness check. It reflects your account and keeps working during maintenance.GET /v2/healthreports the order pipeline across all integrators. It returns200withstatus: "ok", or503withstatus: "degraded"when the order store cannot be read. Use it for monitoring, not for logic.
Getting help
Section titled “Getting help”Contact Khalani through your onboarding channel. Include the orderId if there is one, the x-request-id of the response, and the time of the call. Contact Khalani in particular when:
- an order stays at
deposited, or - an order reaches
delivery_failed.