{"uid":"cap_RyI_zC4DYb2OO6WbuW8Vu","slug":"riley-craig-x402-agent-store-prediction-markets-2c75815c","name":"Riley Craig x402 Agent Store — Prediction Markets","description":"Live real-money prediction-market odds from Polymarket: top markets by 24h volume with implied probabilities, price moves, dollar volume, and liquidity. Search by keyword (bitcoin, election, fed, world cup, AI). For trading, forecasting, news, and event-resolution agents — one paid call instead of integrating the exchange API yourself.","url":"https://x402-agent-store.rileycraig14.workers.dev/markets/prediction","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":"Keyword filter, e.g. bitcoin, election, fed, world cup"},"top":{"type":"number","description":"1-25, default 10"},"sort":{"type":"string","description":"volume|liquidity, default volume"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"count":{"type":"number"},"markets":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"count":1,"source":"polymarket","markets":[{"end_date":"2026-07-01","question":"Will Bitcoin hit $150k by June 30, 2026?","volume_24h":5821652,"implied_yes":0.0135}]}},"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_kMOn8M3CYUW_AWG2Np6Sc","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":"Fetches live prediction market listings from Polymarket, filterable by keyword, sorted by volume or liquidity, returning implied probabilities and trading data.","exampleAgentPrompt":"What are the top 10 Bitcoin prediction markets on Polymarket right now, sorted by volume? Show me the questions and their implied yes probabilities.","exampleUseCases":null,"resultDescription":"A JSON object with a count, source (polymarket), and an array of market objects each containing the market question, end date, 24-hour volume in USD, and implied yes probability as a decimal.","failureModes":["Invalid sort parameter returns error — only 'volume' or 'liquidity' accepted","top parameter out of range (>25 or <1) may return validation error","No markets match keyword filter — returns empty markets array with count 0","Payment not included or insufficient — returns 402 Payment Required","Service unavailable — upstream Polymarket data fetch failure"],"whenToPreferThis":"Use this endpoint when an agent needs real-time prediction market data including crowd-implied probabilities and trading volumes, especially for crypto, macro, or political events. Prefer over generic news APIs when you want quantified market beliefs rather than editorial content. Best when the user wants to know what traders are actually betting on.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:37.785Z","isFirstParty":false}