x402 v2 · USDC on Base · Reusable sessions live

Sports Experience API
built for AI agents.

Pay per request in USDC — no accounts, no API keys, no rate limits. From game schedules, to player stats, to full trip bundles across MLB, NBA, WNBA, NHL, NFL, and World Cup 2026. The intelligence you need for the full fan experience.

Run the example agent View docs
terminal
# Probe any endpoint — get price, no auth needed

$ curl -si https://fanfare.run/v1/game-night-bundle | head -2
  HTTP/2 402
  payment-required: eyJhbW91bnQiOiI1MDAwMCIsImFzc2V0...

# Clone + run the agent (pays automatically)

$ git clone https://github.com/roostersbi/fanfare-agent
$ cd fanfare-agent/python && pip install -r requirements.txt
$ PRIVATE_KEY=0x... ANTHROPIC_API_KEY=... \
    python examples/game_night.py

✓ Paid $0.05 USDC · Yankees vs Red Sox, Sat 1:05pm
✓ Nearby: Mr. Donahue's (0.3mi) · weather: 72°F clear

How it works

x402-native. The request is the invoice.

No OAuth, no billing portals, no API keys. Fanfare is built x402-native — payment discovery is in the HTTP response itself.

1

Request → 402

Agent calls any endpoint. Gets HTTP 402 with price, asset, and payTo address in the response header.

2

Sign micropayment

Agent signs an EIP-3009 authorization on Base. No gas, no wallet popup. The x402 client handles it.

3

Retry → data

Same request with PAYMENT-SIGNATURE header. Middleware verifies on-chain and returns the data.


Pricing

Per-request, no minimums.

$1 of USDC gets you 1,000 standard calls. Bundles pack multiple data sources into a single payment — or go unlimited for a season with a pass.

$0.001
Standard / Live
Schedules, standings, stats, venues, weather · $0.005 for live feeds

New · x402 v2

Pay once. Keep polling.

Live data means polling — and you shouldn't pay for every poll. Fanfare runs the latest x402 v2 with Sign-In-With-X: one payment opens a window, then you re-access by signing with the same wallet. No re-settling, no second charge.

Reusable sessions

One payment covers a polling window — late-swap 60s, DFS slate 5 min, game previews 15 min. Re-fetch by signing, at zero extra cost, until it expires.

🎟

Season passes

Buy the MLB Fantasy Season Pass once and every DFS slate endpoint is unlocked through the postseason — proven by your wallet signature, not another payment.

Gasless & multi-chain

USDC on Base via EIP-3009 — no gas, no popups. Built on x402 v2's modular, CAIP-2 multi-chain core as it expands.


Coverage

Three pillars. Six leagues.

Fanfare is organized around three product pillars — each a single paid call that composes live data into a decision. The raw per-sport endpoints underneath power them all.

MLB
🏀NBA
🏀WNBA
🏒NHL
🏈NFL
WC 2026

🎟️ Live Events

Game-day & trip bundles — tickets, travel, weather, dining in one call.

GET
/v1/live-events/finals$0.25NBA/NHL playoff series — both arenas: schedule + tickets + weather + travel ⚡
GET
/v1/live-events/world-cup$0.25WC 2026 match + 16-city venue intel + travel
GET
/v1/live-events/game-trip$0.50Away trip: game + flights + hotel search
GET
/v1/live-events/game-night$0.05Evening plan: game + weather + tickets + restaurants
GET
/v1/live-events/playoff-tracker$0.05Next 7–14 days of games + home game tickets
GET
/v1/live-events/team-profile$0.05Team snapshot: standings + next 3 games + tickets
GET
/v1/live-events/player-spotlight$0.05Player profile + next home game + tickets
GET
/v1/live-events/rivalry$0.05Next matchup + standings for both + tickets + weather

📊 Fantasy & Betting

DFS inputs and betting context — projections, lineups, Vegas lines, park & weather.

GET
/v1/passes/fantasy-mlb$19.99 / seasonSeason pass — unlimited access to all MLB DFS slate endpoints through Oct 31, redeemed by signing ♻️
GET
/v1/fantasy-betting/mlb/slate-bundle$0.50MLB DFS: slate context + projections + lineups + late-swap in one call ⚡
GET
/v1/fantasy-betting/mlb/projections$0.10Per-player Baseline Score + recent form, park, Vegas totals, weather
GET
/v1/fantasy-betting/mlb/lineups$0.05Confirmed batting orders + probable pitchers + late scratches
GET
/v1/fantasy-betting/mlb/slate-context$0.02Games + Vegas implied team totals + per-game weather impact
GET
/v1/fantasy-betting/mlb/late-swap$0.03Players whose lineup/status changed — cheap 60s poll target
GET
/v1/fantasy-betting/bet-context$0.05Line + rest + officials + weather for a single game

📰 Digital & Social

Content & analytics for media and social — recaps, headlines, charts, milestones, on the same live data.

GET
/v1/content/narrative/recap$0.05Game recap & preview prose — tone & length controlled (Claude Haiku)
GET
/v1/content/highlights/moments$0.03Key-moment timestamps from play-by-play
GET
/v1/content/headlines/candidates$0.04Five headline options across tones
GET
/v1/content/visuals/charts$0.03Player/team trend charts as SVG or JSON
GET
/v1/content/games-of-interest$0.02Watchability-scored game recommendations
GET
/v1/analytics/context/milestones$0.04Historical-comparison milestone overlays
Atomics — the raw per-sport primitives the bundles compose: schedules, scores, standings, players, venues, weather, tickets, flights, and hotels across MLB · NBA · WNBA · NHL · NFL. From $0.001/call, also under /v1/atomic/*. Full endpoint list →

Quickstart

Up and running in 60 seconds.

Reference agents in Python (LangGraph) and TypeScript (Vercel AI SDK). Bring your own Base wallet.

$ git clone https://github.com/roostersbi/fanfare-agent
$ cd fanfare-agent/python && pip install -r requirements.txt

# Needs a funded Base wallet + Anthropic key
$ export PRIVATE_KEY=0x...
$ export ANTHROPIC_API_KEY=sk-ant-...

$ python examples/game_night.py
$ python examples/world_cup.py
$ python examples/nba_finals.py
$ git clone https://github.com/roostersbi/fanfare-agent
$ cd fanfare-agent/typescript && npm install

# Needs a funded Base wallet + Anthropic key
$ export PRIVATE_KEY=0x...
$ export ANTHROPIC_API_KEY=sk-ant-...

$ npx ts-node examples/game-night.ts
$ npx ts-node examples/world-cup.ts

Need USDC on Base? Coinbase Wallet → send ~$5 to get started. Each standard call costs $0.001.