{"uid":"cap_LwwTMiNBaCsnWn7_g4hTN","slug":"polymarket-prediction-markets-query-428d20a9","name":"Polymarket Prediction Markets Query","description":"Polymarket prediction markets matching a query or the most traded ones: outcome probabilities, 24h volume, liquidity, 24h change and end date.","url":"https://api.agent-data.workers.dev/api/v1/polymarket?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","description":"Search words"},"limit":{"type":"integer","maximum":50,"minimum":1}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":"bitcoin","markets":[{"outcomes":[{"name":"Yes","probability":0.23},{"name":"No","probability":0.77}],"question":"Will Bitcoin reach $150k in 2026?","volume_24h_usd":1250000}]}},"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_-izfsxkNEQxf4WQg1o9Z_","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 Polymarket prediction market data matching a search query or top-traded markets, including outcome probabilities, 24h volume, liquidity, 24h price change, and end date.","exampleAgentPrompt":"Can you look up the current Polymarket prediction market odds for Bitcoin — show me the top 5 results including probabilities and 24-hour volume?","exampleUseCases":[{"title":"Crypto price prediction odds lookup","prompt":"What does Polymarket currently say about the chances of Bitcoin reaching $150k by end of year? Show me the probability and how much volume those markets are seeing."},{"title":"Top trending prediction markets","prompt":"Pull up the most traded prediction markets on Polymarket right now — I want to see what people are betting on most and what the current outcome probabilities are."},{"title":"Event probability research","prompt":"Search Polymarket for any markets related to a Fed interest rate cut in 2025 — I want to know the current yes/no probabilities and 24-hour volume for each."}],"resultDescription":"A JSON array of prediction markets matching the query (or top-traded if no query), each containing the market question, a list of outcomes with names and probabilities, 24h USD volume, liquidity, 24h change, and market end date.","failureModes":["No markets found for the given query — returns empty markets array","Query too broad returns unrelated markets","Limit parameter out of range (must be 1–50) causes validation error","Polymarket API unavailable upstream causes 5xx error","Misspelled search terms yield low-relevance results"],"whenToPreferThis":"Use this endpoint when you need real-time prediction market probabilities and trading data from Polymarket specifically. Prefer this over general web search when you need structured, machine-readable probability data for forecasting questions about crypto, politics, or current events, and when you need 24h volume and liquidity signals alongside the odds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:35:59.551Z","isFirstParty":false,"canonicalSlug":"polymarket-prediction-markets-query-428d20a9"}