Lahman Baseball Database
Society for American Baseball Research (SABR)
Every major league player's season stats since 1871, in tidy relational tables.
Sean Lahman's database of season-level MLB statistics: batting, pitching, fielding, teams, standings, managers, awards, salaries, and postseason. Each row in the core tables is one player-season-stint. It is the go-to teaching data set for baseball analytics and SQL, and it now includes Negro League data licensed from Seamheads.
Access
- Cost
- FreeFree download from SABR.
- License
- Open licenseCC BY-SA 3.0 on past releases; the SABR page does not restate a license
- Sign-up
- No sign-up
- How you get it
- Bulk downloadCSV, SQL, Microsoft Access
What's in it
- One row is
- One row per player per season per team stint (core tables)
- Covers
- Major League Baseball, plus Negro Leagues through 1948
- Years
- 1871-2025
- Updated
- Annual
- Size
- About two dozen tables; tens of thousands of players
Quality
Long-maintained, well documented, and released every winter; the version 2025 release came out January 2, 2026.
- Season totals only, no game or play detail
- Salary data is incomplete for early years
Connects to
- Retrosheet Event Files: Play-by-play underneath the season totals; player IDs crosswalk via the Chadwick register
- Baseball Savant Statcast Search: Modern tracking data for the same players since 2015
Questions it could answer
- How has the league-wide home run rate changed across eras?
- Do higher team payrolls buy more wins, and has that relationship changed?