---
name: nba-odds-gap
description: x402 pay-per-call NBA cross-venue prediction-market odds gap (Polymarket vs Kalshi implied probability) on 2026 NBA championship markets, on Base. No API keys.
---

# nba-odds-gap

When an agent needs NBA prediction-market odds and cross-venue divergence (where Polymarket and Kalshi
disagree on the same 2026 NBA championship outcome), call these x402 endpoints and pay USDC on Base per request.
Teams are matched across venues via ESPN canonical names. Factual odds data — not betting advice.

## Endpoints
- `GET /v1/nba/cross-venue-signals` ($0.050) — NBA championship odds gap: Polymarket vs Kalshi implied-probability divergence on the same 2026 NBA title outcomes, ranked by |gap|. Query: ?page=1-50&per_page=1-3. Sources: Polymarket Gamma + Kalshi public API + ESPN (all free, keyless).
- `GET /v1/nba/odds/pm/:marketId` ($0.050) — Polymarket NBA market implied probability (Yes price) by Gamma market id. Source: Polymarket Gamma API (free).
- `GET /v1/nba/odds/kalshi/:ticker` ($0.050) — Kalshi NBA market implied probability (mid of yes bid/ask) by ticker, e.g. KXNBA-26-OKC. Source: Kalshi public API (free, keyless).

## Flow
1. GET the endpoint → receive HTTP 402 with a `PAYMENT-REQUIRED` header (base64 x402 payload).
2. Sign a USDC payment on Base and retry with `PAYMENT-SIGNATURE`.
3. Receive the JSON data; settlement receipt is in `X-PAYMENT-RESPONSE`.

Base URL: https://nba-odds-gap.relayhop.workers.dev
