WebSocket API

Connection

Connect to: wss://ws.orangebit.com/ws

Once connected you may subscribe to channels.

Channels

  • public/markets.{symbol}.ticker — Real‐time ticker updates

  • public/markets.{symbol}.orderbook — Real‐time orderbook depth

  • public/markets.{symbol}.trades — Real‐time trades

  • private.user.{accountId}.orders — User’s order updates (requires subscription auth)

Subscription example

{
  "op": "subscribe",
  "args": ["public/markets.BTC-USD.ticker", "public/markets.BTC-USD.orderbook"]
}

Message example (ticker)

Last updated