Skip to main content

Premium Index Subscription

Info
  • The push delay of this method is: real-time

Premium Index Subscription

  • Method: premium.subscribe
  • Parameters:
Parameter NameRequiredTypeNotes
market_listtrue[]stringList of market names
  • Example:
{
"method": "premium.subscribe",
"params": {
"market_list": ["BTCUSDT", "ETHUSDT"]
},
"id": 1
}

Premium Index Push

  • Method: premium.update
  • Parameters:
Parameter NameTypeNotes
marketstringMarket name
updated_atintTimestamp (millisecond)
premium_indexstringPremium Index
  • Example:
{
"method": "premium.update",
"data": {
"market": "BTCUSDT",
"premium_index": "0.0005",
"updated_at": 1711900800123
},
"id": null
}

Unsubscribe to Premium Index

  • Method: premium.unsubscribe
  • Parameters:
Parameter NameRequiredTypeNotes
market_listtrue[]stringList of market names. Empty list to unsubscribe to all markets.
  • Example:
// Cancel BTCUSDT and ETHUSDT subscriptions
{
"method": "premium.unsubscribe",
"params": {
"market_list": ["BTCUSDT", "ETHUSDT"]
},
"id": 1
}

// Cancel all market subscriptions
{
"method": "premium.unsubscribe",
"params": {
"market_list": []
},
"id": 1
}