Market Data
Query perpetual metadata, live mid prices, L2 order books, trades, candles, and funding rates.
/infoPerpetuals Metadata (meta)
Retrieve all listed perpetual markets, size decimals, maximum leverage, and margin table IDs. The 0-based index of each market in universe is its asset ID (a).
{
"type": "meta"
}Metadata & Asset Contexts (metaAndAssetCtxs)
Retrieve meta together with live market contexts (mark price, oracle price, funding rate, open interest, and 24h volume).
{
"type": "metaAndAssetCtxs"
}All Mid Prices (allMids)
Retrieve current mid prices for all markets (falls back to mark price when a side of the book is empty).
{
"type": "allMids"
}L2 Order Book Snapshot (l2Book)
Retrieve aggregated bid and ask levels for a market.
{
"type": "l2Book",
"coin": "BTC",
"nSigFigs": 5
}coin(required): Market symbol (e.g.,"BTC").nSigFigs(optional): Price aggregation significant figures (2,3,4, or5). Omit for full precision.mantissa(optional): Tick multiplier (2or5). Valid only whennSigFigsis5.nLevels(optional): Maximum price levels per side (default 20, clamped to1 โ 1,000).levels[0]is bids (highest first) andlevels[1]is asks (lowest first).
Candles (candleSnapshot)
Retrieve OHLCV candlesticks over a time range.
{
"type": "candleSnapshot",
"req": {
"coin": "BTC",
"interval": "15m",
"startTime": 1700000000000,
"endTime": 1700003600000
}
}- Supported intervals:
1m,3m,5m,15m,30m,1h,2h,4h,8h,12h,1d. - Fields:
topen time,Tclose time,o/c/h/lopen/close/high/low,vbase volume,ntrade count. - Row cap: Default 500 candles when unbounded; up to 5,000 candles per call when time bounds are supplied (
+1weight per 60 rows).
Recent Trades (recentTrades)
Retrieve the latest 10 executed trades for a market (newest first).
{
"type": "recentTrades",
"coin": "BTC"
}Funding History (fundingHistory)
Retrieve historical hourly funding rates and premiums for a market.
{
"type": "fundingHistory",
"coin": "BTC",
"startTime": 1700000000000,
"endTime": 1700086400000
}endTimeis optional; defaults to current server time. Returns at most 500 rows per call (+1weight per 20 rows).
Predicted Fundings (predictedFundings)
Retrieve predicted next funding rates across all markets.
{
"type": "predictedFundings"
}Margin Table (marginTable)
Retrieve tiered maximum leverage and notional bounds for a marginTableId returned by meta.
{
"type": "marginTable",
"id": 50
}Markets at OI Cap (perpsAtOpenInterestCap)
Retrieve symbols of perpetual markets currently at their open interest cap.
{
"type": "perpsAtOpenInterestCap"
}