Open interest summary
oi_summaryFetches OKX public open interest for one instrument or aggregates it by instrument type and currency using read-only market data, with no API key or account access.
Instructions
Get OKX public open interest for one instrument, or aggregated by instType/ccy. READ-ONLY: this tool only calls OKX public market REST. No API key, no order, no account access. Provide instId (e.g. BTC-USDT-SWAP) or instType (SWAP/FUTURES) optionally with ccy.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "oi_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccy | No | Currency filter, e.g. BTC. Requires instType. | |
| instId | No | Instrument ID, e.g. BTC-USDT-SWAP. | |
| instType | No | Use with optional ccy to list OI for a product type. |