Skip to main content
Calibri uses conventional HTTP status codes plus a machine-readable dot-coded error string in the body.

Error body

Codes are namespaced by domain (market.order.*, public.*, account.*, identity.*, prediction.*).
Match on the code, not the HTTP status and not the human-readable text. New codes are added over time — treat an unknown code as a generic failure of its HTTP class rather than crashing on it.

HTTP status codes

Trading and orders

A post_only order that would take liquidity is not refused with an error: it is accepted and then moves to state reject.

Self-custody — Safe, relay, and session keys

Funding is sending USDC to your Safe on-chain, not an API call. A withdrawal on Polygon is a Safe transaction you sign and relay through POST /api/v2/atlas/account/wallet/relay. It refuses with 400 (fields missing, or a Safe that is not yours), 409 (for example wallet.deposit_required, wallet.deploying, quote_mismatch) or 422 (with a code when the transaction itself is refused) — see the API reference and Funding your account. A withdrawal to another network is priced by GET /api/v2/atlas/account/bridge/withdraw/quote, whose refusals are 422 with a code (below_minimum, withdrawals_disabled, chain_inactive, receive_not_positive, no_safe, no_wallet, destination_is_safe, destination_not_linked_wallet) — see the API reference.

Identity and sessions

Rate limits

Requests are limited per route class, with stricter limits on order intake, wallet relays, and member-intake endpoints than on public reads. Implement exponential backoff on 429.

Authentication

A 401 usually means a signing mistake — check the canonical message.

API overview

Base URLs, response format, and pagination.