{"uid":"cap_eYnLZ_s0_KNdmtQS0BjhQ","slug":"x402-factory-prediction-market-search-8247da1b","name":"x402-factory Prediction Market Search","description":"Find prediction markets by free-text query; returns slugs for other endpoints — Full-text search over the canonical market catalog (Postgres FTS + trigram in live mode). Returns slugs, blended probabilities, and match confidence. Empty result sets return 200 with a suggestion listing valid categories.","url":"https://x402-factory.com/v1/probability/search","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","required":["q"],"properties":{"q":{"type":"string","maxLength":200,"minLength":2},"limit":{"type":"integer","default":5,"maximum":20,"minimum":1},"category":{"enum":["politics","economics","weather","crypto","sports","science-tech","entertainment"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"type":"object","required":["slug","question","probability","category","resolution_date","match_confidence"],"properties":{"slug":{"type":"string"},"category":{"type":"string"},"question":{"type":"string"},"probability":{"type":"number","maximum":1,"minimum":0},"resolution_date":{"type":"string"},"match_confidence":{"type":"number","maximum":1,"minimum":0}},"additionalProperties":false}},"suggestion":{"type":"string"}},"additionalProperties":false},"meta":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"results":[{"slug":"fed-rate-cut-2026-09","category":"economics","question":"Will the Fed cut rates at the September 2026 FOMC meeting?","probability":0.7301,"resolution_date":"2026-09-16","match_confidence":1},{"slug":"fed-rate-cut-2026-06","category":"economics","question":"Did the Fed cut rates at the June 2026 FOMC meeting?","probability":0,"resolution_date":"2026-06-17","match_confidence":0.75},{"slug":"ecb-rate-cut-2026-09","category":"economics","question":"Will the ECB cut rates at its September meeting?","probability":0.5547,"resolution_date":"2026-09-10","match_confidence":0.75},{"slug":"fed-hike-september-2026","category":"economics","question":"Will the Fed raise rates at the September 2026 FOMC meeting?","probability":0.0488,"resolution_date":"2026-09-16","match_confidence":0.63},{"slug":"fomc-dot-plot-median-shift-2026-09","category":"economics","question":"Will the September 2026 FOMC dot plot shift its median rate path?","probability":0.5666,"resolution_date":"2026-09-16","match_confidence":0.5}]},"meta":{"docs":"https://x402-factory.com/docs/probability.search","sources":["kalshi","polymarket"],"version":"1.0.0","endpoint":"/v1/probability/search","data_mode":"live","freshness":"realtime","request_id":"req_00000000","generated_at":"2026-08-21T03:58:58.158Z"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.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_lmO1rfvBBw5FmsYYYC6wE","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":"Full-text search over a canonical prediction market catalog, returning slugs, blended probabilities, and match confidence scores for matching markets.","exampleAgentPrompt":"Search the prediction market catalog for markets about 'US presidential election 2024' in the politics category and give me the top 5 results with their current probabilities and slugs.","exampleUseCases":null,"resultDescription":"A JSON object with a results array, each item containing the market slug, question text, blended probability (0–1), category, resolution date, and match confidence score. If no markets match, a 200 response is still returned with a suggestion field listing valid categories.","failureModes":["Query string too short (< 2 chars) or too long (> 200 chars) returns validation error","Invalid category enum value causes request rejection","Empty result set returns 200 with suggestion field instead of error","Payment failure (x402 protocol) blocks access entirely","Network timeout if full-text search index is under heavy load"],"whenToPreferThis":"Use this endpoint when you need to discover prediction markets by topic or keyword before calling more specific endpoints (probability time series, venue odds, depth). It is the entry point for finding market slugs required by other x402-factory endpoints. Prefer this over browsing by category when the user has a specific topic in mind.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:51:22.131Z","isFirstParty":false}