{"uid":"cap_FIflA31GW21pjNm76CfOS","slug":"mavrin-prediction-market-odds-api-6d976b5f","name":"Mavrin Prediction Market Odds API","description":"Kalshi and Polymarket US research data for agents. Free market search and coverage, odds from 0.004 USDC, and x402 payments on Base.","url":"https://api.mavrin.app/api/v1/odds","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":{"pair_id":{"type":"string","description":"tracked pair id; omit to list all available pair ids"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"gap":0.006,"kalshi":{"no_ask":0.902,"yes_ask":0.099},"pair_id":"mlb-champ-2026-yankees","hedge_cost":0.994,"polymarket_us":{"no_ask":0.885,"yes_ask":0.117}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dWm22Unz-x65UkVvNrqmd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time yes/no ask prices and arbitrage gap for a tracked market pair across Kalshi and Polymarket US","exampleAgentPrompt":"What are the current Kalshi and Polymarket odds for the Yankees winning the 2026 MLB championship — and is there an arbitrage gap I should know about?","exampleUseCases":[{"title":"Sports market arbitrage check","prompt":"Check the yes and no ask prices for the Yankees 2026 MLB championship on both Kalshi and Polymarket, and tell me the hedge cost and any gap between the two platforms."},{"title":"Political event odds comparison","prompt":"Pull the current Kalshi and Polymarket US odds for the 2024 US presidential election winner market and compare the yes/no prices across both platforms."},{"title":"List all available tracked markets","prompt":"Show me all the market pairs that Mavrin is currently tracking so I can decide which one to get odds for."}],"resultDescription":"Returns a JSON object with the pair_id, yes_ask and no_ask prices from both Kalshi and Polymarket US, the hedge_cost (total cost to hedge both sides), and the gap (price difference between platforms), enabling cross-platform odds comparison and arbitrage analysis.","failureModes":["Invalid or unrecognized pair_id returns an error or empty result","Omitting pair_id returns the list of all available pair IDs rather than specific odds","Payment not fulfilled via x402 results in 402 Payment Required response","Market may be temporarily unavailable if Kalshi or Polymarket data feed is stale","Rate limiting or authentication failure if payment protocol is not correctly implemented"],"whenToPreferThis":"Choose this endpoint when you need real-time, cross-platform prediction market odds from both Kalshi and Polymarket US in a single call, especially when analyzing arbitrage opportunities or hedge costs. Prefer this over querying Kalshi or Polymarket directly when you want normalized, side-by-side comparison data for the same event. Best for AI agents that need to make trading or research decisions based on current market prices without integrating two separate APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:23.050Z","isFirstParty":false}