AsterAster REST API
Account Information V3
Get current account information
Authorization
Web3Auth Authorization<token>
Web3 authentication using user, signer, nonce, and signature parameters
In: header
Query Parameters
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/v3/account?timestamp=0&nonce=string&user=string&signer=string&signature=string"{
"feeTier": 0,
"canTrade": true,
"canDeposit": true,
"canWithdraw": true,
"updateTime": 0,
"totalInitialMargin": "string",
"totalMaintMargin": "string",
"totalWalletBalance": "string",
"totalUnrealizedProfit": "string",
"totalMarginBalance": "string",
"totalPositionInitialMargin": "string",
"totalOpenOrderInitialMargin": "string",
"totalCrossWalletBalance": "string",
"totalCrossUnPnl": "string",
"availableBalance": "string",
"maxWithdrawAmount": "string",
"assets": [
{
"accountAlias": "string",
"asset": "string",
"balance": "string",
"crossWalletBalance": "string",
"crossUnPnl": "string",
"availableBalance": "string",
"maxWithdrawAmount": "string",
"marginAvailable": true,
"updateTime": 0
}
],
"positions": [
{
"symbol": "string",
"positionAmt": "string",
"entryPrice": "string",
"markPrice": "string",
"unRealizedProfit": "string",
"liquidationPrice": "string",
"leverage": "string",
"maxNotionalValue": "string",
"marginType": "string",
"isolatedMargin": "string",
"isAutoAddMargin": "string",
"positionSide": "string",
"notional": "string",
"isolatedWallet": "string",
"updateTime": 0
}
]
}