{"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},"version":"1.0","contract_hash":"03e020267f671c76a8dc93d51e3201ce6ac38125524902f47c1b620eaf0f4995","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.682Z","activated_at":"2026-12-06T03:57:27.682Z","active":true,"contract_hash":"03e020267f671c76a8dc93d51e3201ce6ac38125524902f47c1b620eaf0f4995","fields_count":24}]}