cURL
curl --request GET \ --url https://api.hypereth.io/v2/hyperliquid/getPosition \ --header 'X-API-KEY: <api-key>'
{ "positions": [ { "symbol": "BTC", "positionSide": "LONG", "size": "0.01", "entryPrice": "65000.0", "markPrice": "65100.0", "unrealizedPnl": "1.0", "percentage": "0.15", "leverage": "10", "marginType": "cross" } ], "dataTime": 1710000000000 }
Get position information
Filter to specific symbols (comma-separated)
Successful response
Show child attributes