activeAssetData | Hyperliquid Info API
Info API
activeAssetData | Hyperliquid Info API
Hyperliquid activeAssetData: fetch a user’s active trading limits, leverage setting, available size, and mark price for a single Hyperliquid perpetual asset.
POST
activeAssetData | Hyperliquid Info API
Credit Cost
1 per call
Processing
Realtime
type: "activeAssetData" is used to fetch a user’s active trading limits, leverage setting, available size, and mark price for a single Hyperliquid perpetual asset.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "activeAssetData", "user": "...", "coin": "ETH"}. coinaccepts the Hyperliquid asset identifier for the target perp market. For HIP-3 markets, pass the same dex-qualified coin string used by Hyperliquid for that asset.maxTradeSzsandavailableToTradeare returned as two directional decimal-string values. Preserve the upstream array order and use fixed-precision decimal handling.- For whole-account position and margin state, use
clearinghouseState; this endpoint is scoped to one user and one active asset.
Endpoint
Request
Always
"activeAssetData".The wallet address (lowercase 0x-prefixed hex).
The perp asset identifier, e.g.
"ETH" or "APT". For HIP-3 markets, pass the same dex-qualified coin string used by Hyperliquid for that asset.Example
Response
A single JSON object with the user’s active trading configuration and directional trading capacity for the requested asset.Field descriptions
Prices, sizes, and available amounts are returned as decimal strings, preserving upstream precision. Do not parse them as floats - keep them as strings or use a fixed-precision decimal type.
Wallet address the active asset data was computed for.
Hyperliquid asset identifier, such as
"APT" or "ETH".User’s configured leverage for this asset.
Directional maximum trade sizes for this wallet and asset, returned as decimal strings.
Directional available-to-trade amounts for this wallet and asset, returned as decimal strings.
Current mark price for the asset.
Related endpoints
metaAndAssetCtxs
fetch the full Hyperliquid perpetuals market universe with live per-asset trading context.
spotMetaAndAssetCtxs
fetch the spot universe metadata, token configuration, and live market data in a single call.