{"uid":"cap_JFBC0g0d41qKSVqLeIEF_","slug":"x402stock-prediction-market-implied-probability-by-id-b637ac3c","name":"x402stock Prediction Market Implied Probability by ID","description":"Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.","url":"https://x402stock.xyz/api/v1/prediction-markets/%7Bid%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"note":"Implied probabilities decoded from CTF Exchange V2 OrdersMatched events on the public Polygon ledger (both standard and neg-risk exchanges). Not from any Polymarket API. Prices are USD per outcome token = implied probability.","as_of":"2026-06-08T13:02:11.000Z","venue":"polymarket","market":{"title":"Will Donald Trump win the 2024 US Presidential Election?","neg_risk":false,"token_id":"21742633143463906290569050155826241533067272736897614950488156847949938836455","last_side":"buy","last_block":61234560,"updated_at":"2026-06-08T12:58:40.000Z","vwap_today":0.938,"condition_id":"0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917","matches_today":9123,"matches_indexed":88123,"volume_usd_today":1842310.55,"volume_usd_indexed":24310221.07,"implied_probability":0.945},"source":"x402stock","identity":{"title":"Will Donald Trump win the 2024 US Presidential Election?","oracle":"0xCB1822859cEF82Cd2Eb4E6276C7916e692995130","neg_risk":false,"question_id":"0x35d4e62fee5a1d4b1ad96b6c4e2de60326f8b5d49b3b734e0c9be0c4f9a32cd1","condition_id":"0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tanP4XFzelAzyk7Hv4vYS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the implied probability and trading data for a specific prediction market contract, decoded from on-chain Polymarket CTF Exchange V2 order events on Polygon.","exampleAgentPrompt":"What's the current implied probability for the Polymarket market with condition ID 0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917 — including today's VWAP and volume?","exampleUseCases":[{"title":"Check election outcome market odds","prompt":"What's the current market-implied probability for the Polymarket contract with condition ID 0xabc123... on the next US presidential election? I want today's VWAP and how many trades have happened so far."},{"title":"Monitor prediction market trading volume","prompt":"Can you pull the on-chain trading data for Polymarket condition ID 0xdef456... and tell me the total USD volume today, the all-time indexed volume, and what side the last trade was on — buy or sell?"},{"title":"Verify trustless on-chain market prices","prompt":"I need blockchain-verified implied probability data for the Polymarket contract with condition ID 0x789xyz... decoded directly from Polygon CTF Exchange V2 events — not from the Polymarket API. What's the current probability and last block recorded?"}],"resultDescription":"Returns a JSON object with the market title, condition ID, question ID, oracle address, neg_risk flag, implied probability (USD per outcome token = probability), VWAP for today, total USD volume today and all-time indexed, number of trades today and indexed, last trade side (buy/sell), last block, and a timestamp. Data is decoded from on-chain CTF Exchange V2 OrdersMatched events on Polygon, not from any Polymarket API.","failureModes":["Unknown or invalid market ID returns 404 or empty result","Market not yet indexed returns stale or missing data","Very new markets with few trades may have unreliable VWAP","Network or payment failure returns 402 if USDC payment via x402 on Base is not completed","Malformed ID format may return a schema validation error"],"whenToPreferThis":"Use this endpoint when you need raw on-chain implied probability data for a specific Polymarket market without relying on the Polymarket API — ideal for agents that need trustless, blockchain-verified prediction market prices, VWAP, and volume decoded directly from Polygon CTF Exchange V2 events. Prefer this over scraping Polymarket's website or using their API when you need decentralized data provenance or pay-per-call access with no account required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:44:09.214Z","isFirstParty":false}