{"uid":"cap_-i4fPfuopaAfB_JT3SrFp","slug":"agent-data-tools-revmesh2074-workers-dev-hyperliquid-perpetual-order-82a60082","name":"Hyperliquid Perpetual Order Book","description":"Live order book of a Hyperliquid perpetual (BTC, ETH, SOL, HYPE…): the best bid and ask levels with price, size and order count, the mid price, the spread in USD and basis points, and the summed depth on each side. Up to 20 levels a side (default 10). Read from Hyperliquid's public API. Use to judge liquidity and slippage before a trade, or for market-making and arbitrage checks.","url":"https://agent-data-tools.revmesh2074.workers.dev/hyperliquid/orderbook?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"coin":{"type":"string","description":"Coin symbol such as BTC, ETH, SOL or HYPE (default BTC)"},"levels":{"type":"integer","description":"Levels per side, 1-20 (default 10)"}}},"responseSchema":{"type":"object","properties":{"mid":{"type":"number"},"asks":{"type":"array","items":{"type":"object","properties":{"n":{"type":"number"},"px":{"type":"number"},"sz":{"type":"number"}}}},"bids":{"type":"array","items":{"type":"object","properties":{"n":{"type":"number"},"px":{"type":"number"},"sz":{"type":"number"}}}},"coin":{"type":"string"},"time":{"type":"string"},"source":{"type":"string"},"spread":{"type":"number"},"askDepth":{"type":"number"},"bidDepth":{"type":"number"},"spreadBps":{"type":"number"},"askDepthUsd":{"type":"number"},"bidDepthUsd":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EwIIIKR59RBK4rJXnrCrm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Returns live bid/ask levels, spread, mid price, and depth for a Hyperliquid perpetual futures market","exampleAgentPrompt":"Pull the live order book for ETH perp on Hyperliquid — give me the top 15 levels on each side with prices, sizes, and spread in basis points so I can judge slippage before I trade.","exampleUseCases":[{"title":"Pre-trade slippage check","prompt":"Before I buy $500k worth of BTC perp on Hyperliquid, can you check the order book depth and tell me roughly how much slippage I should expect?"},{"title":"Arbitrage spread monitoring","prompt":"I'm running an arb strategy — can you pull the current bid-ask spread in basis points for SOL perp on Hyperliquid and tell me the total depth on each side?"},{"title":"Market-making liquidity assessment","prompt":"I want to set up a market-making bot on HYPE perp — show me the top 20 levels of the Hyperliquid order book on both sides so I can figure out where to place my quotes."}],"resultDescription":"Returns a JSON object with: mid price, arrays of bid and ask level objects (each with price px, size sz, and order count n), best spread in USD and basis points, summed bid and ask depth in units and USD, the coin symbol, and a timestamp.","failureModes":["Unknown coin symbol returns an error or empty book — verify the symbol is listed as a Hyperliquid perpetual","Levels parameter out of range (less than 1 or more than 20) may be clamped or return an error","Hyperliquid API downtime or rate-limiting causes upstream failures","Network timeout from Cloudflare Worker if Hyperliquid's API is slow"],"whenToPreferThis":"Use this endpoint when you need real-time order book data specifically from Hyperliquid's perpetual futures markets — it is ideal for pre-trade slippage estimation, market-making quote placement, or arbitrage checks. Choose this over generic price feeds when you need depth, spread, and multi-level order book structure rather than just a last-traded price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T19:20:53.736Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-hyperliquid-perpetual-order-82a60082"}