activeAssetData
post
/info
Request user active asset data.
Body
Request user active asset data.
typeundefined · enumRequiredPossible values:
Type of request.
coinstringRequired
Asset symbol (e.g., BTC).
userstring · min: 42 · max: 42RequiredPattern:
User address.
^0[xX][0-9a-fA-F]+$Responses
200
User active asset data.
application/json
422
Failed to deserialize the JSON body into the target type
text/plain
500
Internal Server Error
application/json
post
/infoPOST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"type": "activeAssetData",
"coin": "text",
"user": "text"
}{
"user": "text",
"coin": "text",
"leverage": {
"type": "isolated",
"value": 1,
"rawUsd": "text"
},
"maxTradeSzs": [],
"availableToTrade": [],
"markPx": "text"
}Last updated