{"uid":"cap_fnQbMMhqDskzQ2-wNuhXd","slug":"agents-x402stock-xyz-hyperliquid-spot-order-book-level-2-70504d78","name":"Hyperliquid Spot Order Book (Level-2)","description":"Level-2 order book for one Hyperliquid spot market.","url":"https://agents.x402stock.xyz/api/v1/spot/orderbook/{token}?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"Hyperliquid spot token symbol, e.g. PURR."}}},"responseSchema":{"type":"object","required":["source","as_of","venue","market","pair","id","bids","asks"],"properties":{"id":{"type":"string"},"asks":{"type":"array","items":{"type":"object","required":["price","size","orders"],"properties":{"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"price":{"anyOf":[{"type":"number"},{"type":"null"}]},"orders":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false}},"bids":{"type":"array","items":{"type":"object","required":["price","size","orders"],"properties":{"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"price":{"anyOf":[{"type":"number"},{"type":"null"}]},"orders":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false}},"pair":{"type":"string"},"as_of":{"type":"string"},"venue":{"type":"string"},"market":{"type":"string","const":"spot"},"source":{"type":"string","const":"x402stock"}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":[],"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":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IoLSbgsGsMoBRfJouk64J","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.x402stock.xyz","brandSlug":"agents-x402stock-xyz-x402","brandBaseUrl":"https://agents.x402stock.xyz","brandDocsUrl":null,"whatItDoes":"Returns the Level-2 aggregated bid/ask order book for a Hyperliquid spot market token, including price levels, sizes, and resting order counts.","exampleAgentPrompt":"Show me the current Level-2 spot order book for HYPE on Hyperliquid — I want to see the bid and ask price levels with sizes and how many orders are resting at each level.","exampleUseCases":[{"title":"Pre-trade spot liquidity check","prompt":"Before I put in a large spot buy for PURR on Hyperliquid, can you pull the current order book so I can see how much depth is available on the ask side and what the spread looks like?"},{"title":"Real-time spread monitoring","prompt":"What's the current bid-ask spread on the HYPE spot market on Hyperliquid? Show me the top few price levels on each side."},{"title":"Market depth comparison for arbitrage","prompt":"Pull the spot order book for HYPE on Hyperliquid so I can compare the depth and pricing against another venue I'm looking at for a potential arb trade."}],"resultDescription":"Returns a JSON object containing the trading pair, venue, market type (spot), timestamp, and two arrays — bids and asks — each with price levels, corresponding token sizes, and the number of resting orders at each level.","failureModes":["Invalid or unrecognized token symbol returns an error response","Token exists on perps but not spot — use the perp orderbook endpoint instead","Hyperliquid API unavailability causes upstream errors","Rate limiting or payment failure via x402 results in 402 response","Malformed @index parameter returns an error"],"whenToPreferThis":"Use this endpoint when you need real-time spot market depth and liquidity data for a Hyperliquid-listed token. Choose this over the perp orderbook endpoint specifically for spot tokens. Prefer this when assessing spread, available depth, or resting order density before executing a spot trade on Hyperliquid. It requires no API key — only a per-call USDC payment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:43:11.524Z","isFirstParty":false,"canonicalSlug":"agents-x402stock-xyz-hyperliquid-spot-order-book-level-2-70504d78"}