Retrieve comprehensive asset contexts for perpetuals trading, including universe metadata and real-time market data such as mark prices, funding rates, open interest, and volume metrics.
info
endpoint with type: "metaAndAssetCtxs"
retrieves comprehensive asset contexts for perpetuals trading on the Hyperliquid exchange. This endpoint provides both universe metadata defining available assets and real-time market data including mark prices, funding rates, open interest, volume metrics, and price impact information for all perpetual contracts.
type
(string, required) — The request type. Must be "metaAndAssetCtxs"
to retrieve asset contexts.universe
array with asset definitions:
Asset identification:
name
— Asset symbol (e.g., “BTC”, “ETH”, “AVAX”)szDecimals
— Number of decimal places for size precisionmaxLeverage
— Maximum leverage allowed for this assetonlyIsolated
— Boolean indicating if asset requires isolated margin modemarkPx
— Current mark price used for margin calculationsmidPx
— Mid price between best bid and askoraclePx
— Oracle price from external price feedsprevDayPx
— Price from 24 hours ago for daily change calculationimpactPxs
— Array of two impact prices [buy impact, sell impact]funding
— Current funding rate for the perpetual contractpremium
— Premium of mark price over oracle pricedayNtlVlm
— Daily notional volume tradedopenInterest
— Total open interest across all positionsinfo
endpoint with type: "metaAndAssetCtxs"
is essential for applications that need to:
Successful response with asset contexts data
Array containing universe metadata and asset contexts