{"uid":"cap_3iwuEJvtQRBpntXFCLxbd","slug":"arkham-x402-polymarket-order-book-44508906","name":"Arkham x402 Polymarket Order Book","description":"Get Arkham Polymarket order book. $0.40 per call.","url":"https://api.arkm.com/x402/polymarket/order-book","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"conditionId":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}],"description":"Required. Polymarket condition ID for the market."}}},"responseSchema":{"type":"json","example":{"sides":[{"asks":[],"bids":[],"outcome":"Yes","tokenId":"0x7baa312d6393ea83c631fb77b47061651a2a9992c40fcac017009611d6a03df4","lastTradePrice":""},{"asks":[],"bids":[],"outcome":"No","tokenId":"0xe54aabaddfaf6539b2e68fecc904579dd4bd4981a9defe826e495a34ffbc0b1e","lastTradePrice":""}],"conditionId":"0x9be56371f6a29d12769b2f196847ee825b9585ebb8bfa042136be031b081eba1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.4","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.4/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i1S2ZUwEpoRFp_xCeztsY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.4","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the current bid/ask order book for a Polymarket prediction market condition, including both Yes and No outcome sides with token IDs and last trade prices.","exampleAgentPrompt":"Pull up the full Yes and No order book for the Polymarket condition 0x9be56371f6a29d12769b2f196847ee825b9585ebb8bfa042136be031b081eba1 — I want to see all current bids, asks, and the last trade price for each outcome.","exampleUseCases":[{"title":"Arbitrage opportunity detection","prompt":"Check the current order book depth and last trade prices for both the Yes and No sides of Polymarket condition 0x9be56371f6a29d12769b2f196847ee825b9585ebb8bfa042136be031b081eba1 — I want to see if there's a spread worth trading."},{"title":"Prediction market research dashboard","prompt":"I'm building a dashboard tracking Polymarket liquidity — can you fetch the full bid and ask order book for condition 0x9be56371f6a29d12769b2f196847ee825b9585ebb8bfa042136be031b081eba1 and tell me how much liquidity is sitting on each side?"},{"title":"Automated trading signal generation","prompt":"Before I place a bet on this Polymarket event, pull the latest order book for condition 0x9be56371f6a29d12769b2f196847ee825b9585ebb8bfa042136be031b081eba1 so I can see the current Yes and No token prices and depth."}],"resultDescription":"Returns a JSON object containing a conditionId and a 'sides' array with two entries (Yes and No), each including an outcome label, tokenId, arrays of bids and asks (price/size levels), and the lastTradePrice for that outcome token.","failureModes":["Invalid or unknown conditionId returns empty or error response","Malformed POST body causes 400 Bad Request","Insufficient USDC balance for x402 payment results in 402 Payment Required","Market condition not listed on Polymarket returns empty sides arrays","Rate limiting or payment processing failure causes 429 or 402 response","Stale or illiquid market may return empty bids and asks arrays with blank lastTradePrice"],"whenToPreferThis":"Use this endpoint when you need real-time Polymarket order book data (bids, asks, last trade prices) for both Yes and No outcome tokens for a specific prediction market condition, especially when you require programmatic pay-per-request access via x402 micropayments without a subscription. Prefer this over scraping Polymarket directly or using unofficial data sources when you need structured, reliable JSON output keyed by conditionId.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:48.554Z","isFirstParty":false}