Open Interest
open_interestOpen interest for a crypto perpetual swap or dated futures contract on the OKX venue — contracts outstanding, coin-denominated size and USD notional, with timestamp. Accepts 'MASKUSDT', 'MASK' or 'MASK-USDT-SWAP'. Use to size how much leverage is riding on a perp.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instId": "MASK-USDT-SWAP"
},
"name": "open_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instId | Yes | ||
| instType | No | SWAP (default), FUTURES or OPTION. |