CoinGlass Open Interest History
coinglass_oi_historyAnalyze cryptocurrency market sentiment by retrieving historical open interest data for derivative contracts across exchanges to identify bullish or bearish trends.
Instructions
Get Open Interest OHLC history.
Open Interest represents the total number of outstanding derivative contracts. Rising OI with rising price = bullish, Rising OI with falling price = bearish.
Required params by action: - pair: exchange + pair - aggregated/stablecoin/coin_margin: symbol
Examples: - BTC OI across all exchanges: action="aggregated", symbol="BTC" - Binance BTCUSDT OI: action="pair", exchange="Binance", pair="BTCUSDT"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "coinglass_oi_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | pair: single pair OI | aggregated: all exchanges combined | stablecoin: USDT-margined only | coin_margin: coin-margined only | |
| symbol | No | Coin symbol for aggregated actions (e.g., 'BTC', 'ETH') | |
| exchange | No | Exchange for 'pair' action (e.g., 'Binance') | |
| pair | No | Trading pair for 'pair' action (e.g., 'BTCUSDT') | |
| interval | No | Candle interval: h1, h4, d1 | h4 |
| limit | No | Number of candles |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||