Skip to main content

Get Open Interest

Get the open interest of each symbol.

Covers: USDT contract / USDC contract / Inverse contract

info
  • The upper limit time you can query is the launch time of the symbol.
  • During periods of extreme market volatility, this interface may experience increased latency or temporary delays in data delivery

HTTP Request

GET/v5/market/open-interest

Request Parameters

ParameterRequiredTypeComments
categorytruestringProduct type. linear,inverse
symboltruestringSymbol name, like BTCUSDT, uppercase only
intervalTimetruestringInterval time. 5min,15min,30min,1h,4h,1d
startTimefalseintegerThe start timestamp (ms)
endTimefalseintegerThe end timestamp (ms)
limitfalseintegerLimit for data size per page. [1, 200]. Default: 50
cursorfalsestringCursor. Used to paginate

Response Parameters

ParameterTypeComments
categorystringProduct type
symbolstringSymbol name
listarrayObject
> openIntereststringOpen interest. The value is the sum of both sides.
The unit of value, e.g., BTCUSD(inverse) is USD, BTCUSDT(linear) is BTC
> singleOpenIntereststringOpen interest. The value is the single side.
The unit of value, e.g., BTCUSD(inverse) is USD, BTCUSDT(linear) is BTC
> timestampstringThe timestamp (ms)
nextPageCursorstringUsed to paginate

Request Example

GET /v5/market/open-interest?limit=5&category=inverse&intervalTime=1d&symbol=BTCUSD HTTP/1.1
Host: api-testnet.bybit.com

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"symbol": "BTCUSD",
"category": "inverse",
"list": [
{
"openInterest": "63910691.00000000",
"singleOpenInterest": "31955346",
"timestamp": "1780963200000"
},
{
"openInterest": "63910691.00000000",
"singleOpenInterest": "31955346",
"timestamp": "1780876800000"
},
{
"openInterest": "63910691.00000000",
"singleOpenInterest": "31955346",
"timestamp": "1780790400000"
},
{
"openInterest": "63942311.00000000",
"singleOpenInterest": "31971156",
"timestamp": "1780704000000"
},
{
"openInterest": "63942311.00000000",
"singleOpenInterest": "31971156",
"timestamp": "1780617600000"
}
],
"nextPageCursor": "lastid%3D19408935%26lasttime%3D1780617600"
},
"retExtInfo": {},
"time": 1780994051392
}