open_interest_history
Fetch interval-by-interval open interest for a perpetual symbol, with flow attributed to the side that opened it, so you can trace how positions built up before liquidation clusters form.
Instructions
The open-interest series the map is built from, interval by interval, with the flow attributed to the side that opened it.
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": {
"symbol": "<symbol>"
},
"name": "open_interest_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many intervals to read, oldest first and newest last. The upstream refuses more than 500, and its history only goes back 30 days. | |
| period | No | Interval of the series: 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h or 1d. Shorter intervals see more noise, longer ones see more of the position. | 1h |
| symbol | Yes | Perpetual symbol: BTCUSDT, btc/usdt or just btc — a bare base is completed with USDT, which is how the exchange names most of its contracts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||