Open interest movers
get_open_interest_changesHyperliquid perps ranked by how their open interest moved over the last 1h, 4h, 24h or 7d: open interest at the start and now (in coins), the change in USD at the latest mark and in percent. Sorted by the size of the USD change by default, or by percent. Filter to one HIP-3 dex (xyz) or to native perps only. Markets with less than $100k of open interest at both ends are left out unless you lower min_oi_usd. Use it for 'where is money flowing in or out'. For one market's latest open interest use get_open_interest.
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_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | No | Optional: a HIP-3 dex such as xyz, or native for validator-run perps | |
| sort | No | Rank by USD change (default) or percent change | |
| limit | No | Number of markets (1-200, default 25) | |
| window | No | Lookback window (default 24h) | |
| min_oi_usd | No | Leave out markets below this open interest in USD (default 100000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Markets | |
| sort | No | usd or pct | |
| count | No | Markets returned | |
| notice | No | Present when the API added a note: how a market name was read, that data starts later than asked because of the history window, or a next step such as a free key | |
| window | No | Lookback window: 1h, 4h, 24h or 7d |