# Mavrin Divergence Live — Cross-Platform Prediction Market Price Gap Feed

> Mavrin Divergence Live — Cross-Platform Prediction Market Price Gap Feed is a paid API for AI agents from api.mavrin.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns live price divergence pairs between Kalshi and Polymarket (QCX) for the same underlying markets, enabling arbitrage and hedging analysis.

## Facts

- Endpoint: GET https://api.mavrin.app/api/v1/divergence/live
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mavrin-divergence-live-cross-platform-prediction-market-price-gap-feed-4fbb8ee1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YzBxyYbFOhz4ZotuGNDLN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mavrin-divergence-live-cross-platform-prediction-market-price-gap-feed-4fbb8ee1
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Kalshi and Polymarket US research data for agents. Free market search and coverage, odds from 0.004 USDC, and x402 payments on Base.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mavrin-divergence-live-cross-platform-prediction-market-price-gap-feed-4fbb8ee1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mavrin.app](https://www.zero.xyz/host/api.mavrin.app/llms.txt)
