Subscriptions

Inverse Perp Btc Usd Ticker

Aggregated ticker with last price, mark, and funding

Public · 6 fields

Topic inverse_perp/btc_usd/ticker

Aggregated ticker with last price, mark, 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": [
      "inverse_perp/btc_usd/ticker"
    ]
  }
}

Payload

Each notification carries the fields below in params.data.

time*number
lastPrice*number | null
funding*object
mark*number | null
instrument*string
inverse_perplinear_perpquanto_perpquanto_spotspot
pair*string

Example notification

The server pushes the JSON-RPC notification below for every event on this topic.

Notification

{
  "jsonrpc": "2.0",
  "method": "subscription",
  "params": {
    "topic": "inverse_perp/btc_usd/ticker",
    "data": {
      "time": 0,
      "lastPrice": null,
      "funding": {
        "rate": null,
        "time": null,
        "quantoAdjustmentRate": 0
      },
      "mark": null,
      "instrument": "inverse_perp",
      "pair": "string"
    }
  }
}