{"uid":"cap_IfVoWOM7INU9Zf7cta0gJ","slug":"polymarket-order-book-top-of-book-snapshot-38bbd0e8","name":"Polymarket Order Book Top-of-Book Snapshot","description":"Polymarket order book: top-of-book bid/ask, spread and USD depth on both sides for any market","url":"https://agentx.sale/x402/polymarket-book?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":["q"],"properties":{"q":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"book":[{"bestAsk":0.944,"bestBid":0.941,"outcome":"Yes"}],"question":"..."}},"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_TCtpKu1qP4KfwylO_uX8C","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 top-of-book bid/ask prices, spread, and USD depth on both sides for any Polymarket prediction market","exampleAgentPrompt":"What's the current top-of-book bid and ask on the Polymarket order book for the 'Will the Fed cut rates in July 2025?' market — show me the spread and depth on both sides.","exampleUseCases":[{"title":"Check liquidity before placing a trade","prompt":"Before I trade on Polymarket, can you pull the order book for 'Will Bitcoin hit $100k in 2025?' — I want to see the best bid and ask and how deep the book is on each side."},{"title":"Compare spread on competing market outcomes","prompt":"What's the current bid-ask spread on the Yes outcome for the 'Will Trump win the 2024 election?' market on Polymarket? I want to know if it's tight enough to trade efficiently."},{"title":"Monitor market microstructure for arbitrage","prompt":"Can you check the top-of-book data on Polymarket for the 'Will the US enter a recession in 2025?' market and tell me the best bid, best ask, and the USD depth on both sides right now?"}],"resultDescription":"Returns a JSON object with a 'book' array containing per-outcome entries (e.g. Yes, No), each with bestBid price, bestAsk price, and optionally spread and USD depth on both sides, plus the market question string.","failureModes":["Market not found for given query string — returns empty book or error","Ambiguous query matches multiple markets — may return wrong market","Market is resolved or delisted — book data may be stale or unavailable","Network or upstream Polymarket API outage — returns 5xx or timeout","Malformed query parameter — returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need precise order book microstructure data — best bid, best ask, spread, and depth — rather than just the implied probability or last-traded price. Use it before executing or simulating a trade, when assessing liquidity, or when the spread itself is the signal of interest. Prefer the companion 'Polymarket odds' endpoint if you only need the current YES/NO implied probability without depth.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:34:29.282Z","isFirstParty":false,"canonicalSlug":"polymarket-order-book-top-of-book-snapshot-38bbd0e8"}