What’s Out There
← Back to swiping
SportsFreeNonprofit

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
player IDyearteamgamesat batshome runsearned run averagesalary

Quality

5 of 5

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

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?

Similar data sets

  • Stathead (Sports Reference)

    For $9 a month, run custom searches over more than a century of box scores, splits, and streaks.

    SportsSports ReferencePaid

  • Retrosheet Event Files

    Volunteers have rebuilt MLB games play by play back to 1908, largely from old scorebooks and newspapers.

    SportsRetrosheetFree

  • Baseball Savant Statcast Search

    Every MLB pitch since 2015 with its spin rate, release point, exit velocity, and launch angle.

    SportsMajor League Baseball (MLB Advanced Media)Free

  • Arena Leaderboard Dataset

    Historical snapshots of the Arena leaderboard, showing how model rankings moved over time.

    Internet & techLMArenaFree

  • Cricsheet Ball-by-Ball Match Data

    Ball-by-ball records for 23,000-plus cricket matches, from Test matches to the IPL, free to reuse.

    SportsCricsheet (Stephen Rushe)Free

  • nflverse Play-by-Play and Player Data

    Every NFL play since 1999 with expected points and win probability already computed.

    Sportsnflverse (open-source community)Free