{"uid":"cap_EY0U5jAJTVXYwE2BxlpL0","slug":"hyperliquid-spot-order-book-x402stock-9a012a4f","name":"Hyperliquid Spot Order Book (x402stock)","description":"Level-2 order book for one Hyperliquid spot market: aggregated bid and ask price levels, each with size and resting order count, as of the book timestamp. Pass a token symbol (e.g. HYPE, PURR) or @index. Use to gauge spot liquidity, spread, and depth. Spot book — for the perp book use /api/v1/perps/orderbook/{coin}. From x402stock, a market & economic data API (x402, USDC).","url":"https://agents.x402stock.xyz/api/v1/spot/orderbook/:token","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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","token":{"type":"string"}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_S_KlUxBnwOQvi7ofoIuXB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the level-2 order book for a Hyperliquid spot market, including aggregated bid and ask price levels with size and resting order count.","exampleAgentPrompt":"Pull the current level-2 spot order book for HYPE on Hyperliquid so I can see the bid and ask depth, spread, and resting order counts at each price level.","exampleUseCases":[{"title":"Spot liquidity check before large trade","prompt":"Before I place a big buy order, can you pull the Hyperliquid spot order book for HYPE and tell me how deep the ask side is and what the current spread looks like?"},{"title":"Spread monitoring for arbitrage signal","prompt":"Check the current PURR spot order book on Hyperliquid — I need the top bid and ask prices and sizes so I can see if there's a meaningful spread worth trading."},{"title":"Market microstructure analysis","prompt":"Get me the full level-2 spot order book for HYPE on Hyperliquid, including all price levels, sizes, and resting order counts, so I can analyze the current depth and liquidity profile."}],"resultDescription":"Returns aggregated level-2 order book data for the requested Hyperliquid spot market token, including a list of bid price levels and a list of ask price levels, each with the aggregated size and number of resting orders at that level, along with the book timestamp.","failureModes":["Unknown or unsupported token symbol returns an error — only Hyperliquid-listed spot tokens are valid","Passing a perp coin symbol instead of a spot token may return empty or mismatched data","Network or Hyperliquid data feed outage may result in stale or unavailable order book","Missing or malformed token parameter returns a 400-level error","Rate limiting or payment failure returns a 402 or 429 error"],"whenToPreferThis":"Use this endpoint when you need real-time level-2 spot order book data for a Hyperliquid token — specifically bid/ask depth, spread, and resting order counts. Prefer this over the perp order book endpoint (/api/v1/perps/orderbook/{coin}) when trading or analyzing the spot market. Choose this when you need to assess spot liquidity before executing trades, monitor market microstructure, or build spread-based signals for Hyperliquid spot pairs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:09:08.746Z","isFirstParty":false}