info (activeAssetData)
Hyperliquid node API
activeAssetData | Hyperliquid info
Retrieves active asset data for a specific user and coin, including leverage settings, trading limits, and current market price. On Hyperliquid info.
POST
info (activeAssetData)
This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see Hyperliquid methods for the full availability breakdown.
Perpetuals only. The
activeAssetData type only supports perp markets.Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
type(string, required) — Must be"activeAssetData"user(string, required) — Address in 42-character hexadecimal formatcoin(string, required) — Asset symbol (e.g., “BTC”, “ETH”, “SOL”)
Returns
user(string) — User addresscoin(string) — Asset symbolleverage(object) — Leverage configuration:type(string) — Leverage type (“cross” or “isolated”)value(number) — Current leverage value
maxTradeSzs(array) — Maximum trade sizes [long, short]availableToTrade(array) — Available amounts to trade [long, short]markPx(string) — Current mark price
Example request
Use your own endpoint in your code. The code examples use a placeholder Chainstack endpoint (YOUR_CHAINSTACK_ENDPOINT) — replace it with your own Hyperliquid node endpoint from the Chainstack console. The curl above uses a shared public endpoint for quick checks only; do not use it in production.
Use cases
- Trading interface — Display current leverage and trading limits to users
- Risk management — Monitor available trading capacity and leverage settings
- Position sizing — Calculate optimal position sizes based on available limits
- Market analysis — Track mark prices and leverage utilization across assets
Body
application/json
Request type to retrieve active asset data for a specific user and coin
Available options:
activeAssetData Address in 42-character hexadecimal format
Asset symbol to retrieve data for (e.g., 'BTC', 'ETH', 'SOL')
Response
200 - application/json
Active asset data for the specified user and coin
Active asset data for a user and coin (perpetuals only)
Last modified on June 24, 2026