Skip to content
aidb

Major League Baseball team seasons since 1871

Every major-league team season since 1871 — wins, losses, runs scored and allowed, finish, home attendance and postseason result. One row per team per season, including the Negro Leagues that SABR classifies as major leagues.

3,644 rows27 columns Updated 3 d ago CC BY-SA 3.0
Loading all 3,644 rows…
#

Columns

Stable keys — use them in the API, SQL and code

KeyNameTypeDescription
yearSeasonyear—
leagueLeaguestringLeague code, e.g. AL, NL, NA (National Association), AA (American Association), NN2 (Negro National League II).
league_nameLeague namestringFull league name from the Lahman documentation.
divisionDivisionstringEast, Central or West (since 1969); empty before divisions existed.
teamTeamstringTeam name as used that season.
team_idTeam IDstringLahman team code for that season.
franchiseFranchisestringFranchise the team season belongs to (its current or final name).
franchise_idFranchise IDstring—
gamesGintegerGames played.
winsWinteger—
lossesLinteger—
tiesTintegerTied games (games played minus wins minus losses).
win_pctWin %numberWins ÷ (wins + losses).
rankFinishintegerFinal position in the division (league before 1969).
runs_scoredRuns scoredinteger—
runs_allowedRuns allowedinteger—
run_differentialRun diff.integerRuns scored minus runs allowed.
home_runsHRintegerHome runs hit by the team's batters.
batting_avgAVGnumberTeam batting average (hits ÷ at-bats).
eraERAnumberTeam earned run average (earned runs × 27 ÷ outs recorded).
attendanceHome attendanceintegerTotal paid attendance at home games.
parkHome parkstring—
division_winnerWon divisionboolean—
wild_cardWild cardbooleanReached the postseason as a wild card (from 1995).
league_championPennantbooleanWon the league pennant (league championship).
world_series_championWon World Seriesboolean—
postseasonPostseason resultstringFurthest postseason series reached and its outcome.

More in Sports

Sports

ATP singles match results, 2016–present

Every men's singles match at ATP tour level in the seasons from 2016 to the present — Grand Slams, Masters, other ATP tour events, the season-ending finals, the Olympics, team events and Davis Cup ties — with round, both players' countries and rankings, score and match length. One row per match.

29,120 rows · 14 d ago
Sports

Tennis singles titles and win–loss records by player (ATP and WTA, Open Era)

Every player with at least one tour-level singles match on the ATP or WTA tour since 1968: tour-level titles, Grand Slam titles, finals, match wins and losses and win percentage, computed from the match results. One row per player per tour.

15,218 rows · 1 d ago
Sports

NHL career statistics of every skater

Career regular-season NHL totals for every skater who has played in the league since 1917, as aggregated by the NHL. One row per player.

7,922 rows · 1 d ago
Sports

NBA players (all-time)

People recorded on Wikidata as having played for an NBA or BAA team since 1946, with birth date and place, citizenship, position, height, weight, years and number of franchises, draft details and Hall of Fame status. One row per player.

5,126 rows · 1 d ago
Sports

NFL regular-season standings, every season since 1920

Final regular-season standings of every NFL season (APFA in 1920–21) whose standings pass consistency checks: one row per team per season with wins, losses, ties, winning percentage, points for and against, division, conference and playoff seed.

2,317 rows · 1 d ago
Sports

NBA regular-season standings, every season since 1946–47

Final regular-season standings of every NBA (and BAA, 1946–49) season: one row per team per season with wins, losses, winning percentage, games behind, division, conference, conference rank and the clinch code printed in the standings.

1,753 rows · 1 d ago