Hyperliquid positions of an address
hl_positionsFetch open perpetual positions for any public Hyperliquid address with side, size, entry, mark, leverage, margin mode, PnL, and reported versus computed liquidation prices.
Instructions
Open perp positions of any public Hyperliquid address: side, size, entry, mark, value, leverage, margin mode, margin and unrealized PnL, with the liquidation price Hyperliquid reports next to the one computed from the position's own state (isolated positions only; cross margin depends on the whole account, so computedLiq is null).
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": {
"address": "<address>"
},
"name": "hl_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Public Hyperliquid account address (0x…, 42 characters) |