User Positions
GET/v1/hyperliquid/users/positions
Returns the current signed position (position_size) per coin for a user, reconstructed from the latest funding snapshot per (user, coin) pair. Positive position_size indicates a long position, negative indicates a short. Each row also carries the funding rate applied at that snapshot and the snapshot timestamp.
Filter by coin for a single coin, or dex to return only positions on one venue (xyz, cash, etc.).
Caveat: positions opened and fully closed between two funding snapshots are never observed during settlement and will not appear here.
Query Parameters
| Parameter | Description | Value |
|---|---|---|
userstring | Filter by address
| Required |
coinstring | Hyperliquid coin identifier. Core perps have no prefix ( | |
dexstring | DEX identifier. | |
limitinteger | Number of items* returned in a single request.
| |
pageinteger | Page number to fetch.
|
Potential Responses
| Status | Description |
|---|---|
| 200 | Successful Response |
| 400 | Client side error |
| 401 | Authentication failed |
| 403 | Forbidden |
| 404 | Not found |
| 500 | Server side error |