{"uid":"cap_55_iTT3EkTquPGDingkxd","slug":"agentpay-prediction-market-search-ee854aa5","name":"AgentPay Prediction Market Search","description":"Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.","url":"https://agentpay.help/v1/prediction-market","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number","description":"Max events 1-10, default 5"},"query":{"type":"string","minLength":2,"description":"Topic to search markets for"}}},"responseSchema":{"type":"json","example":{"count":1,"query":"fed rate","events":[{"title":"Fed rate hike in 2026?","markets":[{"volume":"128000","outcomes":{"No":1,"Yes":0},"question":"Fed Rate Hike by June 2026 Meeting?"}],"end_date":"2026-12-31T00:00:00Z"}]}},"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_7vNrbFYxHnf_MdQjQsvXW","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":"Search prediction markets by topic and return current market questions, outcomes, and trading volumes","exampleAgentPrompt":"What does the prediction market currently say about a Fed rate hike in 2026? Show me up to 5 markets on that topic.","exampleUseCases":[{"title":"Fed policy crowd forecast check","prompt":"Look up prediction markets about Fed rate hikes in 2026 — show me up to 5 results including what people are currently betting on."},{"title":"Election outcome market scan","prompt":"Search prediction markets for the 2026 midterm elections and give me the top 3 markets with their current odds and trading volume."},{"title":"Macro risk sentiment gauge","prompt":"Find prediction markets related to a US recession in 2025 — I want to see what the market consensus looks like, up to 5 events."}],"resultDescription":"A JSON object containing a count, the original query, and a list of matching events. Each event includes a title, end date, and one or more markets with questions, outcome probabilities (Yes/No), and trading volume in USD.","failureModes":["Query too short (under 2 characters) returns validation error","No matching markets found returns empty events array","Limit outside 1-10 range may return an error or default behavior","Payment failure via x402 returns 402 Payment Required","Network or upstream data provider outage returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need real-time crowd-sourced probability data on a specific topic — especially for macroeconomic, political, or financial events. Prefer this over news search when you want quantified market consensus rather than narrative reporting, and over general web search when you specifically need trading volume and binary outcome probabilities from prediction markets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:03:12.094Z","isFirstParty":false}