API

.mdOpenAPI

Guide

Rate limits

Token buckets per endpoint: per IP without a key, per key with one. Over the limit you get 429 with Retry-After.

Each endpoint has a token bucket: a burst you can spend at once, refilled at a steady rate. Without a key the bucket is per IP address (per /64 for IPv6); with an API key it is per key, whatever IP the call comes from, and 5× larger on optional-key endpoints. Over the limit you get 429 rate_limited with a Retry-After header in seconds; wait that long and retry.

With a key, answers carry X-RateLimit-Limit (the burst) and X-RateLimit-Remaining (what's left now).

429
HTTP/1.1 429 Too Many Requests
content-type: application/json; charset=utf-8
retry-after: 42

{"error":"rate_limited","message":"Too many requests. Wait a moment."}
EndpointWithout a key (per IP)With an API key (per key)
GET /api/price30 at once, then 1 every 2 s150 at once, then 2.5 per second
POST /api/quote60 at once, then 1 per second300 at once, then 5 per second
POST /api/orders10 at once, then 1 a minute50 at once, then 1 every 12 s
GET /api/orders/{id}120 at once, then 1 per second600 at once, then 5 per second
GET /api/me—120 at once, then 2 per second
GET /api/me/balance—120 at once, then 2 per second
GET /api/me/ledger—120 at once, then 2 per second
GET /api/me/orders—120 at once, then 2 per second
POST /api/me/orders—30 at once, then 1 every 2 s
POST /api/check-address20 at once, then 1 every 5 s100 at once, then 1 per second
POST /api/freeze-check20 at once, then 1 every 5 s100 at once, then 1 per second
GET /api/tx-fee20 at once, then 1 every 5 s100 at once, then 1 per second
POST /api/send/quote30 at once, then 1 every 4 s150 at once, then 1.25 per second
POST /api/send/prepare3 at once, then 1 every 10 minutes15 at once, then 1 every 2 minutes
GET /api/send/status/{id}180 at once, then 1 per second900 at once, then 5 per second
GET /api/fee-today30 at once, then 1 every 2 ssame as without
GET /api/data/energy-index60 at once, then 1 per secondsame as without
GET /api/data/energy-index.csv60 at once, then 1 per secondsame as without
GET /api/status30 at once, then 1 every 2 ssame as without
GET /api/status/history30 at once, then 1 every 2 ssame as without

Edge-cached endpoints often answer from the cache without touching the limit. Need more, for a payout batch say? Tell us your volume. 10 endpoints take an optional key.