curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info \
--header 'Content-Type: application/json' \
--data '
{
"type": "activeAssetData",
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
"coin": "BTC"
}
'{
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
"coin": "BTC",
"leverage": {
"type": "cross",
"value": 20
},
"maxTradeSzs": [
"22046.53864",
"22099.95768"
],
"availableToTrade": [
"128889576.5241000056",
"129201877.5867000073"
],
"markPx": "116925.0"
}curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info \
--header 'Content-Type: application/json' \
--data '
{
"type": "activeAssetData",
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
"coin": "BTC"
}
'{
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
"coin": "BTC",
"leverage": {
"type": "cross",
"value": 20
},
"maxTradeSzs": [
"22046.53864",
"22099.95768"
],
"availableToTrade": [
"128889576.5241000056",
"129201877.5867000073"
],
"markPx": "116925.0"
}activeAssetData type only supports perp markets.type (string, required) — Must be "activeAssetData"user (string, required) — Address in 42-character hexadecimal formatcoin (string, required) — Asset symbol (e.g., “BTC”, “ETH”, “SOL”)user (string) — User addresscoin (string) — Asset symbolleverage (object) — Leverage configuration:
type (string) — Leverage type (“cross” or “isolated”)value (number) — Current leverage valuemaxTradeSzs (array) — Maximum trade sizes [long, short]availableToTrade (array) — Available amounts to trade [long, short]markPx (string) — Current mark pricecurl -X POST \
-H "Content-Type: application/json" \
-d '{
"type": "activeAssetData",
"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
"coin": "BTC"
}' \
https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/info
Request type to retrieve active asset data for a specific user and coin
activeAssetData Address in 42-character hexadecimal format
Asset symbol to retrieve data for (e.g., 'BTC', 'ETH', 'SOL')
Active asset data for the specified user and coin
Active asset data for a user and coin (perpetuals only)
User address
Asset symbol
Maximum trade sizes [long, short]
Available amounts to trade [long, short]
Current mark price
Was this page helpful?