{"uid":"cap_usid06DaZgoA8vEdfGR0V","slug":"agent-data-tools-revmesh2074-workers-dev-polymarket-prediction-market-1cd3cdcd","name":"Polymarket Prediction Market Search","description":"Search Polymarket prediction markets by keyword (election, bitcoin, fed, world cup) and get the matching open markets with outcome odds as implied probabilities, best bid and ask, volume, liquidity, end date and token ids. Use to look up the odds on an event, find a market before reading its order book, or feed a forecasting agent.","url":"https://agent-data-tools.revmesh2074.workers.dev/polymarket/search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Search words, e.g. bitcoin, election, fed rates"},"limit":{"type":"integer","description":"Markets to return, 1-20 (default 10)"},"closed":{"type":"string","description":"true for resolved or closed markets instead of open ones"}}},"responseSchema":{"type":"object","properties":{"note":{"type":"string"},"count":{"type":"number"},"query":{"type":"string"},"closed":{"type":"boolean"},"markets":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"slug":{"type":"string"},"active":{"type":"boolean"},"closed":{"type":"boolean"},"volume":{"type":"number"},"bestAsk":{"type":"number"},"bestBid":{"type":"number"},"endDate":{"type":"string"},"outcomes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"number"},"tokenId":{"type":"string"}}}},"question":{"type":"string"},"dayChange":{"type":"number"},"liquidity":{"type":"number"},"volume24h":{"type":"number"},"conditionId":{"type":"string"},"lastTradePrice":{"type":"number"}}}},"checkedAt":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USD","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3Ef7TP021Uym9Rj3toK90","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Search Polymarket prediction markets by keyword and return open (or closed) markets with outcome odds, bid/ask prices, volume, liquidity, and end dates.","exampleAgentPrompt":"What are the current Polymarket odds for the Fed cutting rates this year? Search for up to 5 open markets on 'fed rates' and show me the outcome probabilities and liquidity for each.","exampleUseCases":[{"title":"Election probability tracking","prompt":"Search Polymarket for the top 10 open markets about the 2024 US presidential election and show me each candidate's implied probability, best bid and ask, and how much liquidity is in each market."},{"title":"Bitcoin price forecast lookup","prompt":"What does Polymarket currently say about Bitcoin reaching $100k this year? Find up to 5 open prediction markets matching 'bitcoin' and give me the outcome odds and 24-hour price change."},{"title":"Reviewing resolved market history","prompt":"Show me the closed Polymarket markets about Fed interest rate decisions — search for 'fed rates' in resolved markets so I can see how past forecasts played out."}],"resultDescription":"A JSON object containing the query string, number of matching markets, a timestamp, and an array of markets each with: market question, URL, slug, active/closed flags, outcome names with implied probability prices and token IDs, best bid, best ask, last trade price, 24h price change, total volume, 24h volume, liquidity, condition ID, and end date.","failureModes":["No markets found for the keyword — returns empty markets array with count 0","Polymarket API unavailable — upstream timeout or error propagated in response","Invalid 'closed' parameter value — may be ignored or cause unexpected results","limit out of range (outside 1-20) — may be clamped or return an error","Stale data if Polymarket's API has delayed updates"],"whenToPreferThis":"Use this endpoint when you need to discover Polymarket markets by topic and retrieve current crowd-sourced probability estimates for any event. It is the right choice when you want to look up odds before accessing an order book, compare multiple markets on a theme, or feed probability data into a forecasting pipeline. Prefer this over manually browsing Polymarket when you need structured, machine-readable output with bid/ask spreads and volume data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-04T01:04:10.840Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-polymarket-prediction-market-1cd3cdcd"}