Unified REST APIAccount

Get Position

Get position information.

Platform Support: Available on hyperliquid, aster, lighter. Not available on kuru (spot DEX - no positions).

GET
/getPosition

Authorization

ApiKeyAuth
X-API-KEY<token>

In: header

Query Parameters

symbols?string

Filter to specific symbols (comma-separated)

Response Body

application/json

curl -X GET "https://api.hypereth.io/v2/hyperliquid/getPosition?symbols=BTC%2CETH"
{
  "positions": [
    {
      "symbol": "BTC",
      "positionSide": "LONG",
      "size": "0.01",
      "entryPrice": "65000.0",
      "markPrice": "65100.0",
      "unrealizedPnl": "1.0",
      "leverage": "10",
      "marginType": "cross",
      "dexProcessedTimestamp": 1710000000800
    }
  ],
  "dataTime": 1710000000000,
  "dexReceivedTimestamp": 1710000000900,
  "hyperethTimestamp": 1710000001000
}