{"uid":"cap_XnmTJsK54QW2qaPpk3OHl","slug":"polymarket-prediction-market-intelligence-x402-46a260d9","name":"Polymarket Prediction Market Intelligence (x402)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/prediction-market-intel?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","properties":{"q":{"type":"string","examples":["bitcoin","ethereum","fed rate","election"],"maxLength":80,"description":"Search keyword (default crypto)"},"limit":{"type":"integer","maximum":20,"minimum":1,"description":"Events to return (default 8)"},"markets":{"type":"integer","maximum":20,"minimum":1,"description":"Markets per event (default 6)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"q":"bitcoin","events":[{"url":"https://polymarket.com/event/bitcoin-above-on-october-30","title":"Bitcoin above ___ on October 30?","markets":[{"no_prob":0.38,"best_ask":0.63,"best_bid":0.61,"question":"Will the price of Bitcoin be above $80,000 on October 30?","yes_prob":0.62,"change_1d":0.05,"contested":true,"liquidity":50000,"volume_24h":41000,"outcome_label":"80,000"}],"end_date":"2026-10-30T16:00:00Z","liquidity":610000,"volume_24h":281751.88}],"source":"polymarket","n_events":1,"updated_at":"2026-10-29T15:30:00Z","top_contested":{"event":"Bitcoin above ___ on October 30?","question":"Will the price of Bitcoin be above $80,000 on October 30?","yes_prob":0.62,"volume_24h":41000}}},"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_irsjQH0orl0sQv9cqMZ6B","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 live Polymarket prediction-market odds, implied probabilities, liquidity, and volume for any keyword query, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"Search Polymarket for the top 8 Bitcoin prediction markets, showing up to 6 markets per event — I want the implied yes/no probabilities, liquidity, and which ones are most contested right now.","exampleUseCases":[{"title":"Bitcoin price target probability check","prompt":"Pull the latest Polymarket odds for 'bitcoin' — show me the top 6 events with up to 6 markets each, especially any contested ones with high 24h volume and their yes/no implied probabilities."},{"title":"Macro event market discovery","prompt":"Search Polymarket for 'fed rate' prediction markets, return up to 5 events with 4 markets each — I want to see liquidity, best bid/ask spreads, and the top contested question right now."},{"title":"Election outcome probability pricing","prompt":"Find me Polymarket prediction market odds for 'election', show 10 events with up to 8 markets each — I need implied probabilities and 1-day price changes to see where sentiment is shifting."}],"resultDescription":"Returns a JSON object with matching Polymarket events (title, URL, end date, total liquidity, 24h volume), each containing a list of markets with yes/no implied probabilities, best bid/ask, 24h volume, 1-day change, liquidity, and a contested flag. Also includes a top_contested field highlighting the highest-activity disputed market, plus source and update timestamp.","failureModes":["Payment failure if agent wallet lacks sufficient USDC on Base — returns 402 Payment Required","No events found for obscure or misspelled keyword — returns empty events array","Rate limiting or worker timeout on high-traffic keywords — may return partial results","Invalid query parameter types (e.g. limit > 20) — returns validation error","Polymarket data source temporarily unavailable — stale or missing updated_at timestamp"],"whenToPreferThis":"Choose this endpoint when you need live implied-probability pricing from Polymarket prediction markets without managing API keys, and your agent can pay $0.003 USDC per call via x402 on Base. Ideal for trading agents that need crowd-sourced probability signals for crypto price targets, macro events, or election outcomes. Prefer over scraping Polymarket directly when you need clean structured JSON with bid/ask spreads and liquidity metrics in a single pay-per-call call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:19.902Z","isFirstParty":false,"canonicalSlug":"polymarket-prediction-market-intelligence-x402-46a260d9"}