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
cURL example
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)
User address
Asset symbol
Maximum trade sizes [long, short]
Available amounts to trade [long, short]
Current mark price