WebSocket
Public channels
Ticker, trades, book and candles for any instrument, with no key needed.
Not live yet. This page shows how it will work, so you can plan your build today. Everything under REST works now, and so does live market data over a stream.
| Channel | Sends | Subscribe with |
|---|---|---|
ticker | The price and 24-hour change, on every change | symbol |
trades | Every trade as it prints | symbol |
book | A snapshot of 50 levels a side, then the changes | symbol |
candles | The forming candle, on every trade | symbol, interval |
ticker#
JSON
{
"channel": "ticker",
"symbol": "BTC",
"data": {
"price": 72765.5,
"change24h": -1,
"updatedAt": "2026-10-14T16:14:15.412Z"
}
}trades#
Trades carry the same fields as Get recent trades.
JSON
{
"channel": "trades",
"symbol": "BTC",
"data": {
"id": "BTC-1791994457757-5747",
"t": 1791994457757,
"price": 72766,
"amount": 0.000745603,
"side": "sell"
}
}book#
The first message is a snapshot. Each update after it lists only the levels that changed: set the level to its new amount, and remove it when the amount is 0.
JSON
{
"channel": "book",
"symbol": "BTC",
"type": "snapshot",
"data": {
"bids": [
{
"price": 72765,
"amount": 0.00495097
}
],
"asks": [
{
"price": 72766,
"amount": 0.00330741
}
],
"updatedAt": "2026-10-14T16:14:15.412Z"
}
}
{
"channel": "book",
"symbol": "BTC",
"type": "update",
"data": {
"bids": [
{
"price": 72765,
"amount": 0
}
],
"asks": [
{
"price": 72768,
"amount": 0.0121
}
],
"updatedAt": "2026-10-14T16:14:15.412Z"
}
}candles#
Add the interval when you subscribe. A candle's message repeats until its interval ends, and a new t starts the next candle.
JSON
{"op":"subscribe","channels":[{"name":"candles","symbol":"BTC","interval":"1m"}]}
{
"channel": "candles",
"symbol": "BTC",
"interval": "1m",
"data": {
"t": 1791994440,
"o": 72760.1,
"h": 72771.4,
"l": 72755.2,
"c": 72765.5,
"v": 1.284
}
}
