A batting line tells you what happened. Statcast tells you what should have happened, based on how hard and at what angle each ball was hit. The gap between the two, wOBA minus xwOBA , is the best quick read on which hitters ran hot or cold on luck, and which ones are likely to swing back next season.
MLB publishes both, for free, in two places. Here is how to join them, and what the 2026 season looks like.
Source 1: the MLB Stats API
The official API behind MLB.com, no key:
GET https://statsapi.mlb.com/api/v1/stats?stats = season & group = hitting & season = 2026 & sportId = 1 & playerPool = all & limit = 3000
Enter fullscreen mode
Exit fullscreen mode
Each split has player.id (the MLBAM id), team , position and a stat object with everything from plateAppearances to ops and babip .…