{"api":{"id":"api_001c20f125f51c76c20037a5","slug":"mlb-player-season-stats","name":"MLB & Minor League Player Stats API","description":"Season stat lines for every MLB and minor-league player (Triple-A to Single-A): hitting, pitching or fielding, with team, league, position, counting stats and rate stats such as average, OPS and ERA.","kind":"ready_made","visibility":"public","domain":"mlb.com","source_url":"https://statsapi.mlb.com/api/v1/stats","category":"sports","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":24,"created_at":"2026-12-06T03:57:27.682Z","updated_at":"2026-12-06T03:57:27.682Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Player id, season, level and team.","required":true,"coverage":1,"example":"691718-2026-MLB-112-hitting"},{"name":"stat_group","type":"string","description":"hitting, pitching or fielding: which stat group the row comes from.","required":false,"coverage":1,"example":"hitting"},{"name":"player_id","type":"string","description":"MLB's player id.","required":false,"coverage":1,"example":"691718"},{"name":"player_name","type":"string","description":"Player's full name.","required":false,"coverage":1,"example":"Pete Crow-Armstrong"},{"name":"team","type":"string","description":"Team name.","required":false,"coverage":1,"example":"Chicago Cubs"},{"name":"league","type":"string","description":"League name, such as NL.","required":false,"coverage":1,"example":"NL"},{"name":"position","type":"string","description":"Position abbreviation, such as CF or P.","required":false,"coverage":1,"example":"CF"},{"name":"games_played","type":"integer","description":"Games played.","required":false,"coverage":1,"example":162},{"name":"plate_appearances","type":"integer","description":"Plate appearances (hitting).","required":false,"coverage":0.6,"example":726},{"name":"at_bats","type":"integer","description":"At bats (hitting).","required":false,"coverage":1,"example":626},{"name":"hits","type":"integer","description":"Hits.","required":false,"coverage":1,"example":175},{"name":"home_runs","type":"integer","description":"Home runs.","required":false,"coverage":1,"example":45},{"name":"rbi","type":"integer","description":"Runs batted in.","required":false,"coverage":0.6,"example":107},{"name":"stolen_bases","type":"integer","description":"Stolen bases.","required":false,"coverage":1,"example":41},{"name":"avg","type":"number","description":"Batting average (hitting).","required":false,"coverage":1,"example":0.28},{"name":"obp","type":"number","description":"On-base percentage (hitting).","required":false,"coverage":1,"example":0.372},{"name":"slg","type":"number","description":"Slugging percentage (hitting).","required":false,"coverage":1,"example":0.57},{"name":"ops","type":"number","description":"On-base plus slugging (hitting).","required":false,"coverage":1,"example":0.942},{"name":"strikeouts","type":"integer","description":"Strikeouts: by the batter, or by the pitcher.","required":false,"coverage":1,"example":187},{"name":"walks","type":"integer","description":"Walks: drawn by the batter, or issued by the pitcher.","required":false,"coverage":1,"example":83},{"name":"era","type":"number","description":"Earned run average (pitching).","required":false,"coverage":0.4,"example":1.8},{"name":"whip","type":"number","description":"Walks plus hits per inning pitched (pitching).","required":false,"coverage":0.4,"example":0.8},{"name":"innings_pitched","type":"number","description":"Innings pitched (pitching).","required":false,"coverage":0.4,"example":174.2},{"name":"saves","type":"integer","description":"Saves (pitching).","required":false,"coverage":0.4,"example":0}],"inputs":[{"name":"season","type":"integer","description":"Season year.","example":2026},{"name":"group","type":"string","description":"Which stats: hitting, pitching, fielding, or both (hitters and pitchers mixed, each sorted by home runs and strikeouts).","default":"hitting","example":"hitting","enum":["hitting","pitching","fielding","both"]},{"name":"level","type":"string","description":"MLB, AAA, AA, High-A or Single-A.","default":"MLB","example":"MLB","enum":["MLB","AAA","AA","High-A","Single-A"]},{"name":"sort_stat","type":"string","description":"Stat to sort by, such as homeRuns, ops, era, strikeOuts. Ignored when group is both.","example":"homeRuns"},{"name":"teams","type":"array","description":"Only players of these teams, by name or part of it, such as Chicago Cubs.","example":["Chicago Cubs"]},{"name":"max_results","type":"integer","description":"Most players to return.","example":200}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"at_bats":{"description":"At bats (hitting).","type":"integer"},"avg":{"description":"Batting average (hitting).","type":"number"},"era":{"description":"Earned run average (pitching).","type":"number"},"games_played":{"description":"Games played.","type":"integer"},"hits":{"description":"Hits.","type":"integer"},"home_runs":{"description":"Home runs.","type":"integer"},"id":{"description":"Player id, season, level and team.","type":"string"},"innings_pitched":{"description":"Innings pitched (pitching).","type":"number"},"league":{"description":"League name, such as NL.","type":"string"},"obp":{"description":"On-base percentage (hitting).","type":"number"},"ops":{"description":"On-base plus slugging (hitting).","type":"number"},"plate_appearances":{"description":"Plate appearances (hitting).","type":"integer"},"player_id":{"description":"MLB's player id.","type":"string"},"player_name":{"description":"Player's full name.","type":"string"},"position":{"description":"Position abbreviation, such as CF or P.","type":"string"},"rbi":{"description":"Runs batted in.","type":"integer"},"saves":{"description":"Saves (pitching).","type":"integer"},"slg":{"description":"Slugging percentage (hitting).","type":"number"},"stat_group":{"description":"hitting, pitching or fielding: which stat group the row comes from.","type":"string"},"stolen_bases":{"description":"Stolen bases.","type":"integer"},"strikeouts":{"description":"Strikeouts: by the batter, or by the pitcher.","type":"integer"},"team":{"description":"Team name.","type":"string"},"walks":{"description":"Walks: drawn by the batter, or issued by the pitcher.","type":"integer"},"whip":{"description":"Walks plus hits per inning pitched (pitching).","type":"number"}},"required":["id"],"title":"MLB & Minor League Player Stats API","type":"object"},"samples":[{"id":"691718-2026-MLB-112-hitting","stat_group":"hitting","player_id":"691718","player_name":"Pete Crow-Armstrong","team":"Chicago Cubs","league":"NL","position":"CF","games_played":162,"plate_appearances":726,"at_bats":626,"hits":175,"home_runs":45,"rbi":107,"stolen_bases":41,"avg":0.28,"obp":0.372,"slg":0.57,"ops":0.942,"strikeouts":187,"walks":83,"era":null,"whip":null,"innings_pitched":null,"saves":null},{"id":"694819-2026-MLB-158-pitching","stat_group":"pitching","player_id":"694819","player_name":"Jacob Misiorowski","team":"Milwaukee Brewers","league":"NL","position":"P","games_played":30,"plate_appearances":null,"at_bats":610,"hits":96,"home_runs":14,"rbi":null,"stolen_bases":2,"avg":0.157,"obp":0.224,"slg":0.246,"ops":0.47,"strikeouts":252,"walks":44,"era":1.8,"whip":0.8,"innings_pitched":174.2,"saves":0},{"id":"656941-2026-MLB-143-hitting","stat_group":"hitting","player_id":"656941","player_name":"Kyle Schwarber","team":"Philadelphia Phillies","league":"NL","position":"DH","games_played":156,"plate_appearances":701,"at_bats":581,"hits":135,"home_runs":45,"rbi":97,"stolen_bases":3,"avg":0.232,"obp":0.354,"slg":0.503,"ops":0.857,"strikeouts":220,"walks":105,"era":null,"whip":null,"innings_pitched":null,"saves":null}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"at_bats":1,"avg":1,"era":0.33,"games_played":1,"hits":1,"home_runs":1,"id":1,"innings_pitched":0.33,"league":1,"obp":1,"ops":1,"plate_appearances":0.67,"player_id":1,"player_name":1,"position":1,"rbi":0.67,"saves":0.33,"slg":1,"stat_group":1,"stolen_bases":1,"strikeouts":1,"team":1,"walks":1,"whip":0.33},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_001c20f125f51c76c20037a5/run","openapi":"https://pullrow.dev/v1/apis/api_001c20f125f51c76c20037a5/openapi.json","contract":"https://pullrow.dev/v1/apis/api_001c20f125f51c76c20037a5/contract.json","page":"https://pullrow.dev/catalog/mlb-player-season-stats"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Stats come from MLB's public stats service and update during games; a player traded in-season has one row per team.","Hitting rows leave pitching fields empty and pitching rows leave hitting fields empty (group both returns both kinds); fielding rows carry games only. stat_group tells which a row is.","In pitching rows, at_bats, hits, home_runs, avg, obp, slg and ops are what batters did against that pitcher.","Every record is a player's whole season for the level you pick; the pool is all players, not only qualified ones, so many rows have tiny samples.","At most 5,000 players per run; use sort_stat and teams to narrow.","MLB's notice on every response allows only individual, non-commercial, non-bulk use without written authorization. Get MLB's permission before using this data commercially."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Player id, season, level and team.","group":"Technical","shown":false,"written":false},{"name":"stat_group","label":"Stat group","description":"hitting, pitching or fielding: which stat group the row comes from.","group":"Basics","shown":true,"written":false},{"name":"player_id","label":"Player ID","description":"MLB's player id.","group":"Technical","shown":false,"written":false},{"name":"player_name","label":"Player name","description":"Player's full name.","group":"Basics","shown":true,"written":false},{"name":"team","label":"Team name","description":"","group":"Basics","shown":true,"written":false},{"name":"league","label":"League","description":"League name, such as NL.","group":"Basics","shown":true,"written":false},{"name":"position","label":"Position","description":"Position abbreviation, such as CF or P.","group":"Basics","shown":true,"written":false},{"name":"games_played","label":"Games played","description":"","group":"Basics","shown":true,"written":false},{"name":"plate_appearances","label":"Plate appearances","description":"","group":"Basics","shown":true,"written":false},{"name":"at_bats","label":"At bats","description":"At bats (hitting).","group":"Basics","shown":true,"written":false},{"name":"hits","label":"Hits","description":"","group":"Basics","shown":true,"written":false},{"name":"home_runs","label":"Home runs","description":"","group":"Basics","shown":true,"written":false},{"name":"rbi","label":"Rbi","description":"Runs batted in.","group":"Basics","shown":true,"written":false},{"name":"stolen_bases","label":"Stolen bases","description":"","group":"Basics","shown":true,"written":false},{"name":"avg","label":"Batting average","description":"","group":"Basics","shown":true,"written":false},{"name":"obp","label":"Obp","description":"On-base percentage (hitting).","group":"Basics","shown":true,"written":false},{"name":"slg","label":"Slg","description":"Slugging percentage (hitting).","group":"Basics","shown":true,"written":false},{"name":"ops","label":"Ops","description":"On-base plus slugging (hitting).","group":"Basics","shown":true,"written":false},{"name":"strikeouts","label":"Strikeouts","description":"Strikeouts: by the batter, or by the pitcher.","group":"Basics","shown":true,"written":false},{"name":"walks","label":"Walks","description":"Walks: drawn by the batter, or issued by the pitcher.","group":"Basics","shown":true,"written":false},{"name":"era","label":"Era","description":"Earned run average (pitching).","group":"Basics","shown":true,"written":false},{"name":"whip","label":"Whip","description":"Walks plus hits per inning pitched (pitching).","group":"Basics","shown":true,"written":false},{"name":"innings_pitched","label":"Innings pitched","description":"","group":"Basics","shown":true,"written":false},{"name":"saves","label":"Saves","description":"","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"season","label":"Season","help":"Season year.","example":"2026","written":false},{"name":"group","label":"Group","help":"Which stats: hitting, pitching, fielding, or both (hitters and pitchers mixed, each sorted by home runs and strikeouts).","example":"hitting","written":false},{"name":"level","label":"Level","help":"MLB, AAA, AA, High-A or Single-A.","example":"MLB","written":false},{"name":"sort_stat","label":"Sort stat","help":"Stat to sort by, such as homeRuns, ops, era, strikeOuts. Ignored when group is both.","example":"homeRuns","written":false},{"name":"teams","label":"Teams","help":"Only players of these teams, by name or part of it, such as Chicago Cubs.","example":"Chicago Cubs","written":false},{"name":"max_results","label":"Maximum results","help":"Most players to return.","example":"200","written":false}]}},"incidents":[]}