get https://open-api-v3.coinglass.com/api/futures/openInterest/exchange-history-chart
This API retrieves historical open interest data for a cryptocurrency from exchanges, and the data is formatted for chart presentation.
Response Data
{
"code": "0",
"msg": "success",
“data”:{
"timeList":[1721649600000, ...],
"priceList":[67490.3, ...],
"dataMap":{
"Binance": [8018229234, ...]
"Bitmex": [395160842, ...]
...
}
}
}
Field | Type | Description |
---|---|---|
timeList | array | a list of Date objects. in seconds eg.1641522717 |
priceList | array | a list of Price objects. in USD eg: 38000 |
dataMap | array | The 'dataMap' contains open interest data from multiple exchanges |