Open interest
get_open_interestOpen interest for ANY Hyperliquid perp: OI in base units and in USD with the mark price, and its 1h and 24h change from our own 5-minute sampler (null until that record reaches back so far). /api/positioning adds the whale net-long share for SOL and BTC. Costs 0.01 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).
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": "get_open_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the get_open_interest payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_open_interest | |
| tool | Yes | the tool that produced this payload |