OBOpenBox
Methodology

Data & sources

OpenBox builds a consistent interface on top of public sports data. This page describes where each number comes from.

Sources

Primary league feeds (MLB, NHL)

Major League Baseball schedules, box scores, play-by-play, win probability, standings, rosters and season leaders are read from the public MLB StatsAPI. National Hockey League games, box scores, play-by-play, standings and schedules are read from the public NHL API. Both are free, key-less, and documented for non-commercial use.

Everything else, and fallback

Football, basketball, soccer, college sports and any request a league feed cannot answer are read from publicly available ESPN endpoints. No private feed, API key, or account is required. When a league feed is empty — an off-day, an unpublished season, or an outage — the page falls back to ESPN instead of showing nothing.

Team identity

Team names, abbreviations, colors, and logos come from the same public feeds. Logos are hot-linked from the provider's CDN and belong to their respective owners.

Prediction-market odds (Kalshi)

Game pages read live moneyline, spread and total contracts from Kalshi's public Trade API. No key or account is required. Prices are binary-contract probabilities; bid/ask are the current order book and last is the most recent trade. Kalshi is a prediction market, not a sportsbook, and OpenBox does not adjust, blend, or de-vig its quotes. Market data is cached for about 20 seconds, so in-progress games show current prices rather than opening lines.

Sportsbook moneyline (optional fallback)

When ODDS_API_KEY is configured, pregame game pages can fall back to the decimal moneyline each sportsbook publishes via The Odds API when Kalshi does not list the game. Prices are shown exactly as returned and can be viewed as decimal, American, or implied probability (100 ÷ price, which still includes the book's margin) — no de-vigging, averaging, or favourite selection. Requests are cached for 30 minutes and the client stops calling once the monthly allowance runs low, so the free 500-credit plan is not exhausted.

Derived metrics

Win probability is the provider's published per-play estimate when the feed supplies one; for NHL games it is a score-and-time model computed by OpenBox. Expected points (EP), expected points added (EPA), the excitement index, possession efficiency, and pace are computed by OpenBox from play-level data and are labeled as estimates. Football Five Factors, drive charts, usage, target/rush matrices, special-teams summaries, and the fourth-down decision model are derived from the same play-level states and descriptions.

Market feeds: Kalshi public data, refreshed about every 20s. See /api/health for status.

Notes and caveats

OpenBox is not affiliated with MLB, the NHL, ESPN, Kalshi, or any league, conference, club, or team. All marks and statistics belong to their respective owners.

Public endpoints can change without notice. Coverage varies by sport, season, and event; when a feed omits data, the page shows an unavailable state instead of a fabricated value.

Pages are cached briefly to reduce upstream traffic. In-progress games bypass the cache and refresh every few seconds.

Play direction and depth used by the target and rush matrices come from the provider's text descriptions. Plays whose descriptions omit direction or depth are excluded rather than guessed.

The fourth-down decision model, the pregame projection, and the NHL win-probability model are directional estimates, not betting advice or a substitute for a trained market or win-probability model.

Kalshi contract prices are market-implied probabilities, not guaranteed outcomes, and can move quickly during a game.