Skip to main content
GET
/
getPosition
Get Position
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",
      "leverage": "10",
      "marginType": "cross",
      "dexProcessedTimestamp": 1710000000800
    }
  ],
  "dataTime": 1710000000000,
  "dexReceivedTimestamp": 1710000000900,
  "hyperethTimestamp": 1710000001000
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

symbols
string

Filter to specific symbols (comma-separated)

Response

200 - application/json

Successful response

positions
object[]
dataTime
integer<int64>
dexReceivedTimestamp
integer<int64>

Timestamp when HyperETH API server received this message from the venue (in milliseconds)

hyperethTimestamp
integer<int64>

Timestamp when HyperETH API server completed all processing before returning to client (in milliseconds)