Skip to main content
Real-time ticker snapshots for a symbol.
  • Topic: ticker.<symbol> (e.g., ticker.BTC-USDC)
  • Stream: Public (wss://api.ekiden.fi/ws/public)

Subscribe

{ "op": "subscribe", "args": ["ticker.BTC-USDC"], "req_id": "101001" }
Ack:
{ "op": "subscribed", "args": ["ticker.BTC-USDC"], "req_id": "101001" }

Event shape

data is a TickerSnapshot.
{
  "op": "event",
  "topic": "ticker.BTC-USDC",
  "server_ts_ms": 1731541800000,
  "data": {
    "symbol": "BTC-USDC",
    "addr": "0xmarket...",
    "last_price": "100000",
    "index_price": "99900",
    "mark_price": "100050",
    "prev_price_24h": "99000",
    "high_price_24h": "101000",
    "low_price_24h": "98000",
    "prev_price_1h": "99800",
    "volume_24h": "123456",
    "turnover_24h": "987654321",
    "open_interest": "12345",
    "open_interest_value": "987654321",
    "funding_rate": "0.0001",
    "next_funding_time": "1718003600000",
    "best_ask_size": "3",
    "best_ask_price": "100100",
    "best_bid_size": "5",
    "best_bid_price": "100000"
  }
}
Notes:
  • next_funding_time and server_ts_ms are in milliseconds (encoded as strings).
  • Prices and other numeric values are strings to preserve precision.

Fields

FieldTypeNotes
symbolstringMarket symbol
addrstringMarket address
last_pricestringLast traded price
mark_pricestringMark price
index_pricestringOracle/index price
prev_price_24hstringMarket price 24 hours ago
high_price_24hstringHighest price in the last 24 hours
low_price_24hstringLowest price in the last 24 hours
prev_price_1hstringMarket price 1 hour ago
open_intereststringOpen interest size (base units)
open_interest_valuestringOpen interest value (quote units)
funding_ratestringFunding rate (e.g. “0.0001” = 1 bps)
next_funding_timestringNext funding time (ms)
volume_24hstring24h base volume
turnover_24hstring24h quote turnover
best_ask_sizestringBest ask size
best_ask_pricestringBest ask price
best_bid_sizestringBest bid size
best_bid_pricestringBest bid price