Skip to main content
Testnet-Only. Use https://test-dex-api.cloud.aultblockchain.xyz for these endpoints and the matching Testnet chain for signed actions. This product is not available on Mainnet.
Read Perp instruments, depth, trades, candles and funding rates. For trading rules, see Perpetuals.

Routes

All routes below are public GET requests. {market_id} is the bare hex ID returned by /perp/markets, not a display symbol or an oracle feed ID. Candle intervals are 1m, 5m, 15m, 30m, 1h, 4h, 1d. Timestamps and bounds are Unix milliseconds. Feed limits and continuation are in Pagination. Malformed IDs and invalid depth/interval return 400; an unknown market returns 404. Tickers return 503 before their snapshot is available.

Instruments and prices

Use marketId for REST joins and market-specific reads. A display name, token denom and oracle feed name identify different things. halted and isolatedOnly are instrument flags; a market appearing in this API does not mean it is available in a user interface. tickPrecision, fees, leverage, margin tiers, notional caps and protocol minimums are returned as configuration. They are not a complete executable-order validator. A zero or absent UI limit must not be interpreted as unlimited leverage. lastPrice is a trade price, markPrice is the indexed mark, and indexPrice is the API’s calculated reference display. They are different values. Read Oracle for protocol price-state rules. estimatedHourlyRate is an estimate; use funding history and account funding payments for reconciliation. A missing value is null; windowComplete describes funding-window completion, not 24-hour ticker coverage. fundingStatus is the API’s classification of indexed funding state: scheduledWindowEnd is a nullable millisecond timestamp. An estimate is not a settled payment. Market marginTiers[].notionalCap: "0" marks the unbounded final tier; leverage is still capped. Market/config rows must both exist for an instrument to appear in the directory.

Quantities and book recovery

Trade and candle quantities are human base units. Prices are quote per base. Orderbook quantity is a raw base-unit decimal string and is not normalized like a trade’s quantity. Convert it using the instrument’s unit convention before comparing sizes. The book returns {marketId, bids, asks}, with levels {price, quantity}. It has no timestamp, height or sequence. Bids descend and asks ascend; an existing market without a book returns empty sides. Use this REST snapshot to recover the Perpetual book. It has no sequence for reconstructing intermediate changes. For live books, subscribe to l2Book on Perpetual Subscriptions.

Response field reference

Types below describe JSON, not numeric units. See the unit notes above. Nullable values must not be replaced with zero.