Fund your account before trading. A newly-registered API key starts with no balance —
GET /v1/account returns 404 until you make a deposit. Use the Testnet Deposit button in the testnet web app for a quick ~$1,000, or deposit on-chain via the bridge. See Your testnet account.Base URLs
Both environments share identical paths, payloads, and signing — only the host differs, selectable from the server dropdown on each endpoint page. The code samples and API playground throughout these docs default to mainnet. New API features ship to testnet first, so the two environments can differ for a while: the changelog tracks what is live in production, and the testnet changelog tracks spec changes as they land on testnet ahead of it.
Where to next
Authentication
Generate an Ed25519 key, register it, and sign requests.
WebSocket overview
Connect, send subscribe / post / get envelopes, and place orders.
Channels
Per-channel reference: market data, order book, account, candles.
REST endpoints
Auto-generated from the OpenAPI spec — see the Endpoints group in the sidebar.
Rate limits
Per-IP request weights, per-subaccount trading pools, and WebSocket caps.