WebSocket

Open Interest (WebSocket)

Real-time open interest updates via WebSocket.

OPEN_INTEREST

Subscribe to live open interest data as individual snapshots.

Subscribe

JSON
{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "public/subscribe",
  "params": {
    "channels": [
      {
        "type": "OPEN_INTEREST",
        "category": "*",
        "exchange": "BINANCE_FUTURES",
        "symbol": "BTCUSDT"
      }
    ],
    "compression": "brotli",
    "version": "v2"
  }
}

Response

JSON
{
  "points": [
    {
      "series": {
        "type": "OPEN_INTEREST",
        "symbol": "BTCUSDT",
        "exchange": "BINANCE_FUTURES",
        "normalizedSymbol": "BTC-USDT",
        "category": "PERPETUAL",
        "coin": "BTC",
        "inverse": false
      },
      "openInterest": {
        "openInterest": 72450.32,
        "timestamp": {
          "seconds": 1769058900
        }
      }
    }
  ]
}

Response fields

FieldTypeDescription
openInterest.openInterestdoubleCurrent open interest value (in contracts or base asset, depending on exchange)
openInterest.timestampTimestampSnapshot time