{"uid":"cap_ec485JESrbIJ-H3TLOayM","slug":"hyperliquid-perpetuals-order-book-depth-f0833698","name":"Hyperliquid Perpetuals Order Book Depth","description":"Hyperliquid L1 perpetual market snapshot for one coin: best bid and ask, spread, USD depth within 1% of mid (from the 20 returned levels per side), mark and oracle prices, hourly funding rate, open interest in USD and 24h notional volume. Public market data only; vault PnL is not included.","url":"https://api.chainmarket-api.workers.dev/api/crypto/hyperliquid-perps-depth?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"coin":{"type":"string","description":"Hyperliquid perp name, e.g. BTC, ETH, SOL"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"coin":"BTC","source":"https://api.hyperliquid.xyz/info","bestAsk":81628,"bestBid":81627,"midPrice":81627.5,"checkedAt":"2026-10-23T09:36:07.796Z","markPrice":81624,"spreadPct":0.001225,"maxLeverage":40,"oraclePrice":81622,"change24hPct":-0.1773,"levelsPerSide":20,"depthWithin1pct":{"askUsd":6807528,"bidUsd":4810906},"openInterestUsd":3569083745,"openInterestCoins":43725.91082,"dayNotionalVolumeUsd":2584667997.04728,"fundingRatePerHourPct":0.00125}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e3ho5YP-VhbHAscWwEJow","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time order book depth, funding rate, open interest, and 24h volume data for a Hyperliquid perpetuals market","exampleAgentPrompt":"What's the current order book depth, funding rate, and open interest for BTC perpetuals on Hyperliquid right now?","exampleUseCases":[{"title":"Funding rate arbitrage monitoring","prompt":"Check the current hourly funding rate and open interest for ETH perpetuals on Hyperliquid so I can decide whether to go long or short."},{"title":"Liquidity check before large perp trade","prompt":"Before I place a big trade, can you tell me how much bid and ask liquidity is available within 1% of the mid price for SOL perps on Hyperliquid?"},{"title":"Market sentiment via perp metrics","prompt":"What's the 24-hour price change, open interest, and notional volume for BTC perps on Hyperliquid? I want to gauge how the market is positioned."}],"resultDescription":"Returns a JSON object with: coin symbol, best bid/ask prices, mid price, mark price, oracle price, spread percentage, max leverage, 24h price change %, funding rate per hour %, number of levels per side, depth within 1% (bid and ask in USD), open interest in USD and coins, 24h notional volume in USD, and timestamp of when data was checked.","failureModes":["Invalid or unsupported coin symbol returns an error or empty result","Hyperliquid API upstream downtime causes failed or stale responses","Network timeout from the Cloudflare worker to Hyperliquid's API","Missing required 'coin' query parameter may return an error or default behavior"],"whenToPreferThis":"Use this endpoint when you need real-time Hyperliquid perpetuals market microstructure data including order book depth, funding rates, open interest, and volume — all in a single call. Prefer this over generic price feeds when you specifically need Hyperliquid perps data (not spot), funding rate information, or liquidity depth metrics. Requires no signup or API key and charges only $0.002 USDC per successful call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:46:32.507Z","isFirstParty":false,"canonicalSlug":"hyperliquid-perpetuals-order-book-depth-f0833698"}