Major League Baseball batting by player and season, 2000–present
Batting statistics for every major-league player season from 2000 to the present: games, at-bats, hits, home runs, RBI, walks, strikeouts and AVG/OBP/SLG. One row per player per team per season.
Columns
Stable keys — use them in the API, SQL and code
| Key | Name | Type | Description |
|---|---|---|---|
| player_id | Player ID | string | Lahman player ID (usually the same as Baseball-Reference's). Players not yet in Lahman use their Baseball-Reference ID, or mlbam-<MLB id>. |
| name | Player | string | — |
| year | Season | year | — |
| stint | Stint | integer | Order of the player's teams within the season (1 = first team). |
| team | Team | string | Team name that season. |
| team_id | Team ID | string | Lahman team code (joins to the team-seasons dataset). |
| league | League | string | League code: AL, NL, NA, AA, UA, PL, FL, or a Negro Leagues code (NNL, ECL, ANL, EWL, NSL, NN2, NAL, EAS/IND/WES independents). |
| g | G | integer | Games played. |
| ab | AB | integer | At-bats. |
| r | R | integer | Runs scored. |
| h | H | integer | Hits. |
| doubles | 2B | integer | Doubles. |
| triples | 3B | integer | Triples. |
| hr | HR | integer | Home runs. |
| rbi | RBI | integer | Runs batted in. |
| sb | SB | integer | Stolen bases. |
| cs | CS | integer | Caught stealing. |
| bb | BB | integer | Walks (bases on balls). |
| so | SO | integer | Strikeouts. |
| hbp | HBP | integer | Times hit by a pitch. |
| sf | SF | integer | Sacrifice flies. |
| avg | AVG | number | Batting average: hits ÷ at-bats. |
| obp | OBP | number | On-base percentage. |
| slg | SLG | number | Slugging percentage: total bases ÷ at-bats. |
| ops | OPS | number | On-base plus slugging. |
More in 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.
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.
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.
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.
Tour de France stage winners
Every stage of every Tour de France since 1903: date, start and finish, distance, stage type, the stage winner and the overall race leader after the stage. One row per stage.
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.