Skip to main content
Three scopes exist: read, trade, and withdraw.
  • Sessions (bearer tokens from POST /auth/login) carry all three, or only read for view-only accounts.
  • API keys carry the scopes named when they were minted, up to the minting session’s own. To change a key’s scopes, mint a new key.
  • Websocket tickets from POST /auth/ws-ticket carry read. Tickets from POST /auth/ws-ticket/signed carry the signing key’s scopes.
A request with a valid credential but a missing scope returns 403.

Endpoint requirements

Mint separate keys per concern, so a leaked trading key cannot move funds: