Wallet positions at a past time
get_positions_atExact perp positions one Hyperliquid wallet held at a past moment, up to 90 days back: market, side, signed size, mark price and notional at that moment, plus today's size and how many fills it made since. Built from Hyperliquid's live positions minus the wallet's fills after that moment, so sizes are exact across native and HIP-3 perps. Needs a free API key; how far back you can go follows the key's history window. Use it for questions like 'what was this wallet holding before the crash'. For positions right now use get_user_state; for trades in between use get_fills.
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>",
"at": "<at>"
},
"name": "get_positions_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | The past moment: ISO 8601 (2026-11-01T12:00:00Z), unix seconds or unix milliseconds | |
| address | Yes | 0x-prefixed 20-byte hex address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | The moment, Unix milliseconds | |
| count | No | Positions returned | |
| method | No | How the sizes were rebuilt | |
| 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 | |
| address | No | Wallet address (0x…) | |
| positions | No | Positions, largest notional first |