{"uid":"cap_IcKzUj0ytd2NbO49zxzLb","slug":"sitecheck-polymarket-order-book-a857a039","name":"SiteCheck Polymarket Order Book","description":"Fetches resting order book depth for a Polymarket outcome token (or market slug and outcome name). Returns top 20 bids and asks, midpoint price, spread, depth within 1/2/5 cents, and last trade price. Information only, not financial advice.","url":"https://api.sitecheck-api.workers.dev/api/pm/orderbook?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":["tokenId"],"properties":{"slug":{"type":"string","description":"Market slug if tokenId is unknown"},"outcome":{"type":"string","description":"Outcome name (e.g. Yes or No) when slug is provided"},"tokenId":{"type":"string","description":"Outcome CLOB token ID (numeric string)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"mid":0.635,"asks":[{"size":577,"price":0.64},{"size":2691.99,"price":0.65},{"size":1261.03,"price":0.66}],"bids":[{"size":362.87,"price":0.63},{"size":812.33,"price":0.62},{"size":100,"price":0.61}],"depth":{"asksWithin1Cent":3268.99,"bidsWithin1Cent":1175.2,"asksWithin2Cents":4530.02,"asksWithin5Cents":4810.02,"bidsWithin2Cents":1275.2,"bidsWithin5Cents":1747.07},"market":"0xadebf2aec917971a733f74c66387529b3347ebf0f3019410427921d28e921beb","source":"Polymarket CLOB API (clob.polymarket.com/book)","spread":0.01,"bestAsk":0.64,"bestBid":0.63,"tokenId":"98961942092312242488092499568359433586418736677157512843097593070222397872380","asksCount":16,"bidsCount":24,"checkedAt":"2026-10-15T18:21:04.652Z","disclaimer":"Information only, not financial advice.","lastTradePrice":0.39}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aInAQx1IVbUr9WV0rpgWX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the current order book (bids, asks, spread, depth) for a Polymarket prediction market outcome token","exampleAgentPrompt":"Pull the current order book for the Polymarket outcome token ID 98961942092312242488092499568359433586418736677157512843097593070222397872380 — I want to see the best bid, best ask, spread, and how much liquidity is within 5 cents of the mid price.","exampleUseCases":[{"title":"Check liquidity before entering a trade","prompt":"Before I buy into this Polymarket market, can you pull the order book for token ID 98961942092312242488092499568359433586418736677157512843097593070222397872380 and tell me the best bid, best ask, spread, and total depth within 2 cents?"},{"title":"Monitor market sentiment via mid price","prompt":"What's the current mid price and last trade price for the Polymarket market with slug 'will-the-fed-cut-rates-in-july' for the Yes outcome? I want to track how the market is moving."},{"title":"Arbitrage spread analysis","prompt":"Get me the order book for the Polymarket CLOB token 98961942092312242488092499568359433586418736677157512843097593070222397872380 — I need the full bid/ask spread and depth within 5 cents to evaluate if there's an arbitrage opportunity."}],"resultDescription":"Returns a structured JSON object containing the full order book: arrays of bid and ask orders (each with price and size), best bid, best ask, mid price, spread, number of bids and asks, market address, source (Polymarket CLOB API), and order book depth metrics showing liquidity within 1, 2, and 5 cents of the mid price on both sides. Also includes the last trade price and a timestamp of when the data was fetched.","failureModes":["Missing or invalid tokenId returns an error — tokenId is required unless slug+outcome are provided","Unknown slug or outcome name returns no data","Polymarket CLOB API unavailability causes upstream failure","Token ID for a resolved/delisted market may return empty or stale order book","Network timeout on the Polymarket CLOB API results in a gateway error"],"whenToPreferThis":"Choose this endpoint when you need real-time Polymarket prediction market order book data including bids, asks, spread, and depth. It directly proxies the Polymarket CLOB API and supports lookup by numeric token ID or by market slug and outcome name. Prefer this over generic crypto exchange order book endpoints when the target is a Polymarket prediction market rather than a spot or futures asset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:07.585Z","isFirstParty":false,"canonicalSlug":"sitecheck-polymarket-order-book-a857a039"}