Polymarket vs Kalshi Prediction Market Arbitrage & Spread Scanner API
Scan hundreds of active Polymarket and Kalshi prediction markets in real time to detect cross-platform probability discrepancies, implied spread edges, and event ticker pairs through a single HTTP 402 or MCP call.
How does the Polymarket vs Kalshi Arbitrage API work?
POST /api/v1/router/tools/prediction-arb fetches live market books from Polymarket Gamma/CLOB and Kalshi public APIs in RAM, normalizes YES/NO probabilities, aligns matching events by topic or keywords, and computes net cross-venue spread opportunities without requiring you to maintain dual scrapers.
What does it cost and how fast does it respond?
Each scan costs 10 Sats (~$0.0094 USDC) via Base/Solana USDC (x402), Bitcoin Lightning (L402), or a 0ms Prepaid Session Pass, with ?dryRun=true pre-flight validation at 0 Sats.
Technical Specifications, Endpoints & Pricing Matrix
| Capability / Route | Endpoint / Protocol | Technical Summary | Rate / Guarantee |
|---|---|---|---|
| Cross-Venue Arb Scan | POST /api/v1/router/tools/prediction-arb | Matches Polymarket & Kalshi YES/NO spreads | 10 Sats ($0.0094) |
| Macro Event Calendar | POST /api/v1/router/tools/macro-calendar | FOMC, CPI, NFP & SEC EDGAR catalysts | 8 Sats ($0.0075) |
| Social Sentiment Pulse | POST /api/v1/router/tools/social-pulse | Real-time Reddit/HN sentiment signals | 25 Sats ($0.0235) |
| MCP Tool Name | freedom_prediction_arb | Native tool in https://m2mfreedom.com/mcp | 100/100 SLA |
Quickstart Code & Pre-Flight Dry-Run Example
Test payload validation for 0 Sats using ?dryRun=true or authenticate immediately via L402, x402, or a 0ms Prepaid Session Pass. Primary endpoint: /api/v1/router/tools/prediction-arb (10 Sats / $0.0094 USDC).
curl -s -X POST "https://m2mfreedom.com/api/v1/router/tools/prediction-arb" \
-H "Authorization: Bearer m2m-pass-<hex>" \
-H "Content-Type: application/json" \
-d '{"topic": "fed", "minSpreadPct": 2.0, "limit": 10}'
Architecture Notes & Operational Guarantees
RAM-Only Processing: Market snapshots are cached briefly in bounded LRU memory for sub-second responses with zero personal data retention.
Combine with Macro Calendar: Pair prediction-arb with /api/v1/router/tools/macro-calendar to trigger alerts around FOMC and CPI releases.
Frequently Asked Questions
Do I need Polymarket or Kalshi API keys?
No. Public orderbooks are aggregated and normalized server-side in RAM with zero registration.
Can an autonomous trading agent schedule this every minute?
Yes. Pair it with a 0ms Prepaid Pass (up to +35% bonus Sats and 25% loyalty discount) to scan continuously without per-call signing latency.