AsterAster REST API

Position Information V2

Get current position information (v2)

GET
/v1/aster/fapi/v2/positionRisk

Authorization

Web3Auth
Authorization<token>

Web3 authentication using user, signer, nonce, and signature parameters

In: header

Query Parameters

symbol?string
recvWindow?integer
timestamp*integerrequired
nonce*stringrequired

Microsecond timestamp

user*stringrequired

Ethereum address

signer*stringrequired

Signer Ethereum address

signature*stringrequired

Ethereum signature

Response Body

application/json

curl -X GET "https://api.hypereth.io/v1/aster/fapi/v2/positionRisk?timestamp=0&nonce=string&user=string&signer=string&signature=string"
[
  {
    "entryPrice": "string",
    "marginType": "string",
    "isAutoAddMargin": "string",
    "isolatedMargin": "string",
    "leverage": "string",
    "liquidationPrice": "string",
    "markPrice": "string",
    "maxNotionalValue": "string",
    "positionAmt": "string",
    "symbol": "string",
    "unRealizedProfit": "string",
    "positionSide": "string",
    "updateTime": 0
  }
]