get https://open-api-v4.coinglass.com/api/option/exchange-oi-history
This endpoint provides historical open interest data for options across different exchanges
This endpoint is available on the following API plans:
Plans | Hobbyist | Startup | Standard | Professional | Enterprise |
---|---|---|---|---|---|
Available | ✅ | ✅ | ✅ | ✅ | ✅ |
Response Data
{
"code": "0",
"msg": "success",
"data": [
{
"time_list": [1691460000000, ...], // Array of timestamps (in milliseconds)
"price_list": [29140.9, ...], // Array of prices corresponding to each timestamp
"data_map": { // Open Interest (OI) data by exchange
"huobi": [15167.03527, ...], // OI data from Huobi exchange
"gate": [23412.723, ...], // OI data from Gate exchange
...
}
}
]
}