Subscriptions
Ticker
Inverse futures aggregated ticker with last price, index, and funding
Public · 4 fields
Topic futures/inverse/btc_usd/ticker
Inverse futures aggregated ticker with last price, index, and funding
Public topic — anyone connected to the WebSocket can subscribe, no API key needed.
Subscribe
Subscribe by calling the subscribe method with this topic.
Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "subscribe",
"params": {
"topics": [
"futures/inverse/btc_usd/ticker"
]
}
}Payload
Each notification carries the fields below in params.data.
time*numberlastPrice*number | nullindex*number | nullfunding*objectExample notification
The server pushes the JSON-RPC notification below for every event on this topic.
Notification
{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"topic": "futures/inverse/btc_usd/ticker",
"data": {
"time": 0,
"lastPrice": 0,
"index": 0,
"funding": {
"rate": 0,
"time": 0
}
}
}
}