{"uid":"cap_YzBxyYbFOhz4ZotuGNDLN","slug":"mavrin-divergence-live-cross-platform-prediction-market-price-gap-feed-4fbb8ee1","name":"Mavrin Divergence Live — Cross-Platform Prediction Market Price Gap Feed","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/divergence/live","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"asOf":1787960812.5,"count":1,"pairs":[{"gap":0.006,"qcx":{"no_ask":0.885,"yes_ask":0.117},"kalshi":{"no_ask":0.902,"yes_ask":0.099},"pair_id":"mlb-champ-2026-yankees","hedge_cost":0.994}],"omittedCount":1,"trackedCount":2,"omittedPairIds":["example-incomplete-pair"],"stalenessSeconds":1}},"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_o-zISwiZrzhj46FDf9ACD","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":"Returns live price divergence pairs between Kalshi and Polymarket (QCX) for the same underlying markets, enabling arbitrage and hedging analysis.","exampleAgentPrompt":"Pull the live Mavrin divergence feed right now and show me which prediction market pairs have the biggest price gap between Kalshi and Polymarket, along with their hedge costs.","exampleUseCases":[{"title":"Sports market arbitrage scanner","prompt":"Check the live Mavrin divergence feed and flag any MLB or sports championship markets where Kalshi and Polymarket are pricing the same outcome more than 1 cent apart — I want to know the hedge cost and which side to buy on each platform."},{"title":"Political event cross-platform hedge","prompt":"I'm holding a yes position on a US election market on Kalshi — pull the current divergence data from Mavrin and tell me if Polymarket is offering a cheaper no hedge on the same market and what it would cost to fully hedge."},{"title":"Automated divergence monitoring for trading bot","prompt":"Every minute, fetch the Mavrin live divergence pairs and alert me whenever any pair's price gap exceeds 0.01 and the total hedge cost drops below 0.995 — I want pair ID, both platforms' odds, and the gap size."}],"resultDescription":"A JSON object containing a snapshot timestamp (asOf), total count of divergent pairs, and an array of pairs each with: pair_id (shared market identifier), Kalshi yes/no ask prices, QCX (Polymarket) yes/no ask prices, the absolute price gap, and the combined hedge cost. Also includes a stalenessSeconds field indicating data freshness.","failureModes":["Payment not included or insufficient — 402 response requiring x402 payment on Base","No divergent pairs currently available — empty pairs array returned","Stale data if upstream Kalshi or Polymarket feeds are delayed — reflected in stalenessSeconds","Invalid filter properties — may return empty results or 400 error","Network timeout if upstream exchange data is unavailable"],"whenToPreferThis":"Use this endpoint when you need real-time cross-platform price comparison between Kalshi and Polymarket for the same markets, particularly for arbitrage detection, hedging cost analysis, or monitoring probability disagreements. Prefer this over individual market lookups when you want pre-computed gap and hedge-cost metrics rather than raw odds. It is especially suited for trading agents that need a single call to surface all current divergence opportunities rather than querying each market individually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:42:17.194Z","isFirstParty":false}