Subscriptions

Index

Inverse futures index price updates

Public · 2 fields

Topic futures/inverse/btc_usd/index

Inverse futures index price updates

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/index"
    ]
  }
}

Payload

Each notification carries the fields below in params.data.

time*number
index*number

Example 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/index",
    "data": {
      "time": 0,
      "index": 0
    }
  }
}