MLB & NHL Stats API — Scores, Standings, Box Scores
Pricing
from $1.40 / 1,000 games
MLB & NHL Stats API — Scores, Standings, Box Scores
Live scores, schedules, standings, box scores, player stats and league leaders for MLB and NHL from the leagues' OFFICIAL public APIs — one normalized schema across both. No scraping, no login, no proxies: this keeps working all season.
Pricing
from $1.40 / 1,000 games
Rating
0.0
(0)
Developer
Shawn Downs
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Share
MLB & NHL Stats API — Live Scores, Standings, Box Scores
Live scores, schedules, standings, box scores, player stats and league leaders for MLB and NHL, pulled from the leagues' official public APIs and returned in one normalized schema across both sports. No scraping, no login, no proxies — which means it doesn't break mid-season the way sports-site scrapers do.
Modes
| mode | what you get | one row per |
|---|---|---|
games | schedule + live scores for a date or range (≤31 days): status, score, inning/period, clock, winner | game |
standings | current or dated table: W-L(-OTL), points / win%, games back, run/goal diff, streak, rank | team |
boxscore | team lines + every player's line (batting/pitching or skater/goalie) for explicit game IDs or all final games on a date | team + player |
leaders | top 25 per category — MLB: homeRuns, battingAverage, earnedRunAverage, strikeouts, stolenBases…; NHL: goals, assists, points, plusMinus, wins, savePctg, gaa, shutouts | leader |
player-stats | season line for MLB person IDs / NHL player IDs | player |
Set league to mlb, nhl, or both. An off-season league simply returns no games.
Why official APIs matter
Most sports actors scrape ESPN, Flashscore or Sofascore — sites that actively block
automated traffic and change markup every season. This actor reads
statsapi.mlb.com and api-web.nhle.com, the same endpoints the leagues' own apps use.
Stable for years, free, and fast (a full slate of games returns in under a second).
Examples
- Today's scores, both leagues:
{}(that's the default input) - NHL opening week:
{"league":"nhl","mode":"games","date":"2026-10-07","endDate":"2026-10-13"} - MLB playoff box scores:
{"league":"mlb","mode":"boxscore","date":"2026-10-03"} - Home-run and goal leaders:
{"mode":"leaders","categories":["homeRuns","goals"]}
Output
Typed rows (type = game / standing / boxscore_team / boxscore_player / leader /
player_stats) with a shared column set; sport-specific columns are simply empty for the
other league. Full field list in the Output tab.
Pricing
Pay per event: game rows $2/1,000, stat-row rows (standings, leaders, player lines)
$0.50/1,000, plus a $0.005 start fee. Error rows are never charged. maxItems caps the
run (and your spend).
Use with AI agents
MCP-friendly: an agent asks "who's leading the AL East and what's the score in the Yankees game?" and gets clean JSON in one call — no per-site glue, no HTML.