Docs › Build with Beluga
API reference
Every endpoint of the public JSON API, each on its own page with parameters, responses, samples and a live "Try it" console. Everything the website does goes through this API; no keys needed.
The bridge API runs on mainnet since 2026-11-10, with real XMR and XMR2.
Endpoints
Prices & quotes
GET
/api/compareCompare pricesGET/api/quoteExchange quoteGET/api/quote/wagyuWagyu quoteGET/api/redeemRedemption quoteBridge orders
Status
Basics
- Base URL:
/apion this site (beluga.to). - Format: JSON in, JSON out. Send
Content-Type: application/jsonwith POST bodies (max 4 KB). - Amounts: order amounts are integer strings in atomic units (1 XMR = 1012); quotes are decimal numbers. See Money & settlement.
- Errors:
{"error": "message"}with a 4xx/5xx status. See Errors & retries. - Limits: 120 requests per minute per client. See Rate limits & keys.
- No accounts: an order ID is the only handle to an order. Store it.
Status codes
| Code | Meaning |
|---|---|
| 200 201 | Success; 201 when an order was created. |
| 400 | Invalid input or malformed JSON. Don't retry without changing the request. |
| 404 | Unknown order ID or path. |
| 429 | Rate limit reached; retry after the current minute. |
| 503 | No reliable market price right now; retry with backoff. |
First steps
New here? The developer quickstart walks through a full bridge order with curl. States and transitions are in Order lifecycle.