MLB Sports API by PropSports
What this API is The MLB endpoints from PropSports API, available as a standalone $19/mo subscription for developers who only need baseball data. PropSports API is built and operated by PropTechUSA.ai — not a reseller, not a wrapper-of-a-wrapper. The infrastructure runs on Cloudflare Workers globally, delivering sub-100ms responses from edge nodes closest to your server. One API key. One auth…
MLB Sports API by PropSports endpoints
| Method | Endpoint | Description |
|---|---|---|
| Scores | ||
| GET |
getMLBScores /mlb/scores |
Live scores and game status for all games today. Includes home/away teams, score, inning, outs, runners on base, current batter/pitcher, and broadcast. |
| GET |
getMLBScoresLive /mlb/scores/live |
Real-time in-game updates for all active MLB games. Returns current batter, current pitcher, count, runners on base, and last play. Poll at 30-second intervals during games. |
| GET |
getMLBGame /mlb/game/{gamePk} |
Full game detail including full box score, line score by inning, batting and pitching stats for both teams, and game notes. |
| Statcast | ||
| GET |
getMLBStatcastBatter /mlb/statcast/batter/{batterId} |
Full Statcast profile for a single batter. Includes all Statcast metrics plus vs RHP / vs LHP splits, last 7 day pace, HR streak, and handedness. |
| GET |
getMLBStatcastBatters /mlb/statcast/batters |
Full batter Statcast leaderboard from our owned pipeline. Barrel %, hard hit %, avg exit velocity, max exit velocity, xwOBA, launch angle, sprint speed, and more. Updated nightly… |
| GET |
getMLBStatcastPitchers /mlb/statcast/pitchers |
Full pitcher Statcast leaderboard. Barrel % allowed, hard hit % allowed, avg exit velocity allowed, whiff rate, velo trends, pitch mix, and HR allowed rate. Updated nightly. |
| GET |
getMLBStatcastPitcher /mlb/statcast/pitcher/{pitcherId} |
Full Statcast profile for a single pitcher. Includes all allowed metrics, velo trend (recent vs season avg), pitch mix breakdown, and handedness. |
| Model Odds | ||
| GET |
getMLBModelOdds /mlb/odds/model |
All PropBetEdge Poisson model odds for tonight's games grouped by market. Markets: HR, total bases, hits, strikeouts, RBI, runs. Computed from owned Statcast data 6x daily. No… |
| GET |
getMLBModelPlayer /mlb/odds/model/player |
All model markets for a single player today. |
| GET |
getMLBModelTop /mlb/odds/model/top |
Top OVER value plays ranked by expected stat across all markets. Surfaced by the PropBetEdge model — these are the highest-conviction plays where expected stat most exceeds the… |
| Props | ||
| GET |
getMLBHitsProps /mlb/props/hits |
Hits over/under props for today's batters. |
| GET |
getMLBKProps /mlb/props/strikeouts |
K props for tonight's starting pitchers with matchup context. |
| GET |
getMLBHRProps /mlb/props/hr |
Today's HR props with implied probability from the model. Includes sportsbook lines alongside model odds for direct comparison. |
| GET |
getMLBRBIProps /mlb/props/rbi |
RBI props for today's batters. |
| GET |
getMLBTotalBasesProps /mlb/props/totalbases |
Total bases props for today's batters. |
| Context | ||
| GET |
getMLBUmpires /mlb/umpires |
Tonight's home plate umpires for all games with historical HR tendency ratings. Includes career HR rate, K rate, and zone size tendency (large/neutral/small). High HR tendency… |
| GET |
getMLBParks /mlb/parks |
HR park factor index for all 30 MLB parks. Factor > 100 = hitter-friendly, < 100 = pitcher-friendly. Also returns indoor/dome flag, stadium coordinates, and left/right field… |
| GET |
getMLBInjuries /mlb/injuries |
Current MLB injury and transaction list. Includes IL type (10-day/60-day), injury detail, expected return date, and downgrade history (e.g., moved from 10-day to 60-day IL). |
| GET |
getMLBLineups /mlb/lineups |
Confirmed and projected batting lineups for tonight's games. Confirmed lineups are sourced from official MLB boxscore data once released (typically 3-4 hours before first pitch).… |
| GET |
getMLBWeather /mlb/weather |
Current weather at all outdoor MLB parks for tonight's games. Wind speed, wind direction, temperature, precipitation probability. Dome flag for retractable/fixed roof stadiums.… |
| Schedule & Teams | ||
| GET |
getMLBStandings /mlb/standings |
Division and league standings with W-L, GB, run differential, home/away splits, and last 10. |
| GET |
getMLBRoster /mlb/roster/{teamId} |
Full active roster with position, jersey number, bats/throws, age, and service time. |
| GET |
getMLBSchedule /mlb/schedule |
Full MLB schedule with probable pitchers, venue, and broadcast. |
| GET |
getMLBTeams /mlb/teams |
All 30 MLB teams with city, name, abbreviation, league, division, home park, colors, and team ID. |
| Stats | ||
| GET |
getMLBTeamStats /mlb/stats/team |
Team-level batting and pitching stats for the season. |
| GET |
getMLBPlayerStats /mlb/stats/players |
Season stats leaderboard for batters or pitchers. |
MLB Sports API by PropSports pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | $19 / month | — |
|
| PRO | $39 / month | — |
|
| ULTRA | $79 / month | — |
|