Skip to main content
Breaking in 4.0.0
  • Public names are sportsdataverse-py's — athlete → player, event → game on every ESPN league; sdv-py's name_pattern on the native families (nhlApiWeb* → nhl*, nflApi* → nfl*, CBS's 16 shorts, the 3.0.0 file-stem names). Every pre-v4 name still works as a deprecated alias that warns once. (changelog)
  • Integer id columns are decimal strings — Every id column of integers (id, *_id, game_pk, playerId, …) comes back as exact decimal strings on every surface — parsers, producers, loaders, HockeyTech analytics. Compare and join ids as strings; Number(row.game_id) for a safe number back. (changelog)
  • An empty or non-JSON 2xx body raises AssetFetchError — An empty 200 or an HTML challenge page is a failed fetch, not "" / []. Catch AssetFetchError (unknown — retry later) apart from NoDataError (nothing there). (changelog)
  • 400 / 422 raise InvalidParameterError — For every family (it was AssetFetchError), never retried; the message names host, path and status with a redacted excerpt of the body. (changelog)
  • Typed returns — generated row types for parsed: true — TypeScript only. A wrapper's raw payload resolves to unknown (was any); verified endpoints resolve to their row interfaces; the summary dispatchers to ParsedTables. Narrow or cast a raw payload. (changelog)
  • Typed wrapper params and loader rows; strict mode — TypeScript only. A param the endpoint does not have, a missing required path param or a non-boolean bool param is a type error; parser rows are Record<string, unknown>; loader rows are their generated row types. (changelog)
  • Wrapper failures raise NoDataError / AssetFetchError — Instead of raw axios errors. NoDataError = the fetch worked and there is nothing there (404, ESPN { code: 404 }); AssetFetchError = the fetch failed (403 / 429 / 5xx after retries, network). Retries follow DEFAULT_RETRY_STATUSES with backoff. (changelog)
  • Baseball Savant parsed: true rows are typed like sdv-py's — Savant CSV rows (parse_mlb_statcast_leaderboard, parse_mlb_statcast_search, the mlb_statcast_search* wrappers): numeric columns are numbers (were strings), an integer past Number.MAX_SAFE_INTEGER is BigInt, inf is Infinity, True/False are booleans, NA cells are null; the MLBAM id columns (batter, pitcher, on_1b…, fielder_2…, game_pk) are pinned to Int64 and come back as decimal strings. (changelog)
  • The Statcast, BartTorvik and HockeyTech getters throw on a failed fetch — A failed HTTP fetch is no longer {} / "" — it throws like every other wrapper, so a failed fetch cannot be mistaken for an empty table. (changelog)

sdv.mlb — Native (non-ESPN) APIs

Beyond the ESPN surface, sdv.mlb also wraps the league's own live APIs. Same { parsed: true } contract; each method is exposed under both snake_case and camelCase on sdv.mlb.

Native API — MLB Stats API​

Flat (non-ESPN) wrappers for the official MLB Stats API. Host: https://statsapi.mlb.com. Each method is exposed under BOTH its snake_case name mlb_<endpoint> (sdv-py's name, py/R parity) and its camelCase form (canonical) on sdv.mlb. Pass { parsed: true } to run the payload through its tidy.js parser; omit it for the raw response.

MethodHTTPPath paramsQuery paramsParserAuth
mlb_all_star_ballot / mlbAllStarBallot (was mlb_api_all_star_ballot)https://statsapi.mlb.com/api/v1/league/{league_id}/allStarBallotleague_id*season, fieldsparse_mlb_list—
mlb_all_star_final_vote / mlbAllStarFinalVote (was mlb_api_all_star_final_vote)https://statsapi.mlb.com/api/v1/league/{league_id}/allStarFinalVoteleague_id*season, fieldsparse_mlb_list—
mlb_all_star_write_ins / mlbAllStarWriteIns (was mlb_api_all_star_write_ins)https://statsapi.mlb.com/api/v1/league/{league_id}/allStarWriteInsleague_id*season, fieldsparse_mlb_list—
mlb_analytics_games / mlbAnalyticsGames (was mlb_api_analytics_games)https://statsapi.mlb.com/api/v1/game/analytics/game—game_mode_id → gameModeId, timecode, limit, sort_by → sortBy, is_non_statcast → isNonStatcast, offset, fieldsparse_mlb_list—
mlb_analytics_guids / mlbAnalyticsGuids (was mlb_api_analytics_guids)https://statsapi.mlb.com/api/v1/game/analytics/guids—game_mode_id → gameModeId, timecode, limit, sort_by → sortBy, is_non_statcast → isNonStatcast, offset, fieldsparse_mlb_list—
mlb_attendance / mlbAttendance (was mlb_api_attendance)https://statsapi.mlb.com/api/v1/attendance—team_id → teamId, league_id → leagueId, season, league_list_id → leagueListId, game_type → gameTypeparse_mlb_list—
mlb_award_recipients / mlbAwardRecipients (was mlb_api_award_recipients)https://statsapi.mlb.com/api/v1/awards/{award_id}/recipientsaward_id*season, sport_id → sportId, hydrateparse_mlb_list—
mlb_awards / mlbAwards (was mlb_api_awards)https://statsapi.mlb.com/api/v1/awards—sport_id → sportIdparse_mlb_list—
mlb_boxscore / mlbBoxscore (was mlb_api_boxscore)https://statsapi.mlb.com/api/v1/game/{game_pk}/boxscoregame_pk*timecode, fieldsparse_mlb_boxscore—
mlb_conference / mlbConference (was mlb_api_conference)https://statsapi.mlb.com/api/v1/conferences/{conference_id}conference_id*season, fieldsparse_mlb_list—
mlb_conferences / mlbConferences (was mlb_api_conferences)https://statsapi.mlb.com/api/v1/conferences—conference_id → conferenceId, season, fieldsparse_mlb_list—
mlb_datacasters / mlbDatacasters (was mlb_api_datacasters)https://statsapi.mlb.com/api/v1/jobs/datacasters—sport_id → sportId, date, hydrate, fieldsparse_mlb_list—
mlb_divisions / mlbDivisions (was mlb_api_divisions)https://statsapi.mlb.com/api/v1/divisions—sport_id → sportId, league_id → leagueId, division_id → divisionIdparse_mlb_list—
mlb_draft / mlbDraft (was mlb_api_draft)https://statsapi.mlb.com/api/v1/draft/{year}year*round_ → round, team_id → teamId, player_id → playerId, limitparse_mlb_list—
mlb_draft_latest / mlbDraftLatest (was mlb_api_draft_latest)https://statsapi.mlb.com/api/v1/draft/{year}/latestyear*—parse_mlb_draft_latest—
mlb_draft_prospects / mlbDraftProspects (was mlb_api_draft_prospects)https://statsapi.mlb.com/api/v1/draft/prospects/{year}year*scouting_report → scoutingReport, limitparse_mlb_list—
mlb_free_agents / mlbFreeAgents (was mlb_api_free_agents)https://statsapi.mlb.com/api/v1/people/freeAgents—season, order, hydrate, fieldsparse_mlb_list—
mlb_game_changes / mlbGameChanges (was mlb_api_game_changes)https://statsapi.mlb.com/api/v1/game/changes—updated_since → updatedSince, sport_id → sportId, fieldsparse_mlb_schedule—
mlb_game_color / mlbGameColor (was mlb_api_game_color)https://statsapi.mlb.com/api/v1/game/{game_pk}/feed/colorgame_pk*timecode, fieldsparse_mlb_list—
mlb_game_color_diff / mlbGameColorDiff (was mlb_api_game_color_diff)https://statsapi.mlb.com/api/v1/game/{game_pk}/feed/color/diffPatchgame_pk*start_timecode → startTimecode, end_timecode → endTimecodeparse_mlb_list—
mlb_game_color_timestamps / mlbGameColorTimestamps (was mlb_api_game_color_timestamps)https://statsapi.mlb.com/api/v1/game/{game_pk}/feed/color/timestampsgame_pk*—parse_mlb_timecodes—
mlb_game_content / mlbGameContent (was mlb_api_game_content)https://statsapi.mlb.com/api/v1/game/{game_pk}/contentgame_pk*—parse_mlb_list—
mlb_game_context_metrics / mlbGameContextMetrics (was mlb_api_game_context_metrics)https://statsapi.mlb.com/api/v1/game/{game_pk}/contextMetricsgame_pk*fieldsparse_mlb_list—
mlb_game_guids / mlbGameGuids (was mlb_api_game_guids)https://statsapi.mlb.com/api/v1/game/{game_pk}/guidsgame_pk*game_mode_id → gameModeId, updated_since → updatedSince, is_pitch → isPitch, is_hit → isHit, is_pickoff → isPickoff, hydrate, parsed_raw → parsed/raw, fieldsparse_mlb_list—
mlb_game_pace / mlbGamePace (was mlb_api_game_pace)https://statsapi.mlb.com/api/v1/gamePace—season, team_ids → teamIds, league_ids → leagueIds, league_list_id → leagueListId, sport_id → sportId, game_type → gameType, start_date → startDate, end_date → endDate, venue_ids → venueIds, org_type → orgType, include_children → includeChildren, fieldsparse_mlb_list—
mlb_game_timestamps / mlbGameTimestamps (was mlb_api_game_timestamps)https://statsapi.mlb.com/api/v1.1/game/{game_pk}/feed/live/timestampsgame_pk*—parse_mlb_timecodes—
mlb_high_low / mlbHighLow (was mlb_api_high_low)https://statsapi.mlb.com/api/v1/highLow/{org_type}org_type*stat_group → statGroup, sort_stat → sortStat, season, game_type → gameType, team_id → teamId, league_id → leagueId, sport_ids → sportIds, limit, fieldsparse_mlb_list—
mlb_home_run_derby / mlbHomeRunDerby (was mlb_api_home_run_derby)https://statsapi.mlb.com/api/v1/homeRunDerby/{game_pk}game_pk*fieldsparse_mlb_list—
mlb_home_run_derby_bracket / mlbHomeRunDerbyBracket (was mlb_api_home_run_derby_bracket)https://statsapi.mlb.com/api/v1/homeRunDerby/{game_pk}/bracketgame_pk*fieldsparse_mlb_list—
mlb_home_run_derby_pool / mlbHomeRunDerbyPool (was mlb_api_home_run_derby_pool)https://statsapi.mlb.com/api/v1/homeRunDerby/{game_pk}/poolgame_pk*fieldsparse_mlb_list—
mlb_jobs / mlbJobs (was mlb_api_jobs)https://statsapi.mlb.com/api/v1/jobs—job_type → jobType, sport_id → sportId, date, fieldsparse_mlb_list—
mlb_leagues / mlbLeagues (was mlb_api_leagues)https://statsapi.mlb.com/api/v1/leagues—sport_id → sportId, season, league_ids → leagueIdsparse_mlb_list—
mlb_linescore / mlbLinescore (was mlb_api_linescore)https://statsapi.mlb.com/api/v1/game/{game_pk}/linescoregame_pk*timecode, fieldsparse_mlb_linescore—
mlb_meta / mlbMeta (was mlb_api_meta)https://statsapi.mlb.com/api/v1/{meta_type}meta_type*—parse_mlb_list—
mlb_official_scorers / mlbOfficialScorers (was mlb_api_official_scorers)https://statsapi.mlb.com/api/v1/jobs/officialScorers—sport_id → sportId, date, hydrate, fieldsparse_mlb_list—
mlb_pbp / mlbPbp (was mlb_api_pbp)https://statsapi.mlb.com/api/v1.1/game/{game_pk}/feed/livegame_pk*language, timecode, hydrate, fieldsparse_mlb_list—
mlb_pbp_diff / mlbPbpDiff (was mlb_api_pbp_diff)https://statsapi.mlb.com/api/v1/game/{game_pk}/feed/live/diffPatchgame_pk*start_timecode → startTimecode, end_timecode → endTimecodeparse_mlb_list—
mlb_people / mlbPeople (was mlb_api_people)https://statsapi.mlb.com/api/v1/people—person_ids → personIds, hydrate, fieldsparse_mlb_list—
mlb_person / mlbPerson (was mlb_api_person)https://statsapi.mlb.com/api/v1/people/{person_id}person_id*season, hydrate, fieldsparse_mlb_list—
mlb_person_game_stats / mlbPersonGameStats (was mlb_api_person_game_stats)https://statsapi.mlb.com/api/v1/people/{person_id}/stats/game/{game_pk}person_id*, game_pk*fieldsparse_mlb_list—
mlb_person_stats / mlbPersonStats (was mlb_api_person_stats)https://statsapi.mlb.com/api/v1/people/{person_id}/statsperson_id*stats, group, season, sport_id → sportId, hydrate, fieldsparse_mlb_person_stats—
mlb_play_analytics / mlbPlayAnalytics (was mlb_api_play_analytics)https://statsapi.mlb.com/api/v1/game/{game_pk}/{guid}/analyticsgame_pk*, guid*hydrate, fieldsparse_mlb_list—
mlb_play_by_play / mlbPlayByPlay (was mlb_api_play_by_play)https://statsapi.mlb.com/api/v1/game/{game_pk}/playByPlaygame_pk*timecode, fieldsparse_mlb_play_by_play—
mlb_play_context_metrics_averages / mlbPlayContextMetricsAverages (was mlb_api_play_context_metrics_averages)https://statsapi.mlb.com/api/v1/game/{game_pk}/{guid}/contextMetricsAveragesgame_pk*, guid*fieldsparse_mlb_list—
mlb_schedule / mlbSchedule (was mlb_api_schedule)https://statsapi.mlb.com/api/v1/schedule—sport_id → sportId, date, season, team_id → teamId, start_date → startDate, end_date → endDate, game_type → gameType, hydrate, fieldsparse_mlb_schedule—
mlb_schedule_postseason / mlbSchedulePostseason (was mlb_api_schedule_postseason)https://statsapi.mlb.com/api/v1/schedule/postseason—season, sport_id → sportId, hydrateparse_mlb_schedule—
mlb_schedule_postseason_series / mlbSchedulePostseasonSeries (was mlb_api_schedule_postseason_series)https://statsapi.mlb.com/api/v1/schedule/postseason/series—game_types → gameTypes, series_number → seriesNumber, team_id → teamId, sport_id → sportId, season, fieldsparse_mlb_list—
mlb_schedule_postseason_tunein / mlbSchedulePostseasonTunein (was mlb_api_schedule_postseason_tunein)https://statsapi.mlb.com/api/v1/schedule/postseason/tuneIn—team_id → teamId, sport_id → sportId, season, hydrate, fieldsparse_mlb_schedule—
mlb_schedule_tied / mlbScheduleTied (was mlb_api_schedule_tied)https://statsapi.mlb.com/api/v1/schedule/games/tied—game_types → gameTypes, season, hydrate, fieldsparse_mlb_schedule—
mlb_season / mlbSeason (was mlb_api_season)https://statsapi.mlb.com/api/v1/seasons/{season_id}season_id*sport_id → sportIdparse_mlb_list—
mlb_seasons / mlbSeasons (was mlb_api_seasons)https://statsapi.mlb.com/api/v1/seasons—sport_id → sportId, season, all_seasons → allparse_mlb_list—
mlb_seasons_all / mlbSeasonsAll (was mlb_api_seasons_all)https://statsapi.mlb.com/api/v1/seasons/all—division_id → divisionId, league_id → leagueId, with_game_type_dates → withGameTypeDates, sport_id → sportId, fieldsparse_mlb_list—
mlb_sport / mlbSport (was mlb_api_sport)https://statsapi.mlb.com/api/v1/sports/{sport_id}sport_id*fieldsparse_mlb_list—
mlb_sport_players / mlbSportPlayers (was mlb_api_sport_players)https://statsapi.mlb.com/api/v1/sports/{sport_id}/playerssport_idseason, hydrate, fieldsparse_mlb_list—
mlb_sports / mlbSports (was mlb_api_sports)https://statsapi.mlb.com/api/v1/sports—sport_id → sportIdparse_mlb_list—
mlb_standings / mlbStandings (was mlb_api_standings)https://statsapi.mlb.com/api/v1/standings—league_id → leagueId, season, standings_types → standingsTypes, hydrate, fieldsparse_mlb_standings—
mlb_stats / mlbStats (was mlb_api_stats)https://statsapi.mlb.com/api/v1/stats—stats, group, season, sport_id → sportId, league_id → leagueId, team_id → teamId, player_pool → playerPool, game_type → gameType, limit, offset, fieldsparse_mlb_list—
mlb_stats_leaders / mlbStatsLeaders (was mlb_api_stats_leaders)https://statsapi.mlb.com/api/v1/stats/leaders—leader_categories → leaderCategories, season, leader_game_types → leaderGameTypes, stat_group → statGroup, league_id → leagueId, sport_id → sportId, limitparse_mlb_list—
mlb_stats_metrics / mlbStatsMetrics (was mlb_api_stats_metrics)https://statsapi.mlb.com/api/v1/stats/metrics—stats, group, game_type → gameType, season, start_date → startDate, end_date → endDate, venue_id → venueId, min_occurrences → minOccurrences, percentile, person_id → personId, team_id → teamId, limit, offset, hydrate, fieldsparse_mlb_list—
mlb_stats_streaks / mlbStatsStreaks (was mlb_api_stats_streaks)https://statsapi.mlb.com/api/v1/stats/streaks—streak_type → streakType, streak_threshold → streakThreshold, season, stat_group → statGroup, active_streak → activeStreak, sport_id → sportIdparse_mlb_list—
mlb_team / mlbTeam (was mlb_api_team)https://statsapi.mlb.com/api/v1/teams/{team_id}team_id*season, sport_id → sportId, hydrate, fieldsparse_mlb_list—
mlb_team_affiliates / mlbTeamAffiliates (was mlb_api_team_affiliates)https://statsapi.mlb.com/api/v1/teams/affiliates—team_ids → teamIds, sport_id → sportId, season, hydrateparse_mlb_list—
mlb_team_alumni / mlbTeamAlumni (was mlb_api_team_alumni)https://statsapi.mlb.com/api/v1/teams/{team_id}/alumniteam_id*season, group, hydrateparse_mlb_list—
mlb_team_coaches / mlbTeamCoaches (was mlb_api_team_coaches)https://statsapi.mlb.com/api/v1/teams/{team_id}/coachesteam_id*season, date, fieldsparse_mlb_list—
mlb_team_leaders / mlbTeamLeaders (was mlb_api_team_leaders)https://statsapi.mlb.com/api/v1/teams/{team_id}/leadersteam_id*leader_categories → leaderCategories, season, leader_game_types → leaderGameTypes, limitparse_mlb_list—
mlb_team_personnel / mlbTeamPersonnel (was mlb_api_team_personnel)https://statsapi.mlb.com/api/v1/teams/{team_id}/personnelteam_id*date, fieldsparse_mlb_list—
mlb_team_roster / mlbTeamRoster (was mlb_api_team_roster)https://statsapi.mlb.com/api/v1/teams/{team_id}/rosterteam_id*season, roster_type → rosterType, date, hydrate, fieldsparse_mlb_team_roster—
mlb_team_roster_type / mlbTeamRosterType (was mlb_api_team_roster_type)https://statsapi.mlb.com/api/v1/teams/{team_id}/roster/{roster_type}team_id*, roster_type*season, date, hydrate, fieldsparse_mlb_team_roster—
mlb_team_stats / mlbTeamStats (was mlb_api_team_stats)https://statsapi.mlb.com/api/v1/teams/{team_id}/statsteam_id*season, stats, group, sport_ids → sportIds, game_type → gameType, fieldsparse_mlb_person_stats—
mlb_teams / mlbTeams (was mlb_api_teams)https://statsapi.mlb.com/api/v1/teams—sport_id → sportId, season, league_ids → leagueIds, active_status → activeStatus, hydrate, fieldsparse_mlb_teams—
mlb_teams_history / mlbTeamsHistory (was mlb_api_teams_history)https://statsapi.mlb.com/api/v1/teams/history—team_ids → teamIds, start_season → startSeason, end_season → endSeason, fieldsparse_mlb_list—
mlb_teams_stats / mlbTeamsStats (was mlb_api_teams_stats)https://statsapi.mlb.com/api/v1/teams/stats—season, sport_ids → sportIds, stat_group → group, game_type → gameType, stats, order, sort_stat → sortStat, fieldsparse_mlb_person_stats—
mlb_teams_stats_leaders / mlbTeamsStatsLeaders (was mlb_api_teams_stats_leaders)https://statsapi.mlb.com/api/v1/teams/stats/leaders—leader_categories → leaderCategories, sit_codes → sitCodes, game_types → gameTypes, stat_group → statGroup, season, league_ids → leagueIds, start_date → startDate, end_date → endDate, sport_id → sportId, hydrate, limit, fieldsparse_mlb_list—
mlb_umpire_games / mlbUmpireGames (was mlb_api_umpire_games)https://statsapi.mlb.com/api/v1/jobs/umpires/games/{umpire_id}umpire_id*season, hydrate, fieldsparse_mlb_list—
mlb_umpires / mlbUmpires (was mlb_api_umpires)https://statsapi.mlb.com/api/v1/jobs/umpires——parse_mlb_list—
mlb_venue / mlbVenue (was mlb_api_venue)https://statsapi.mlb.com/api/v1/venues/{venue_id}venue_id*season, hydrateparse_mlb_list—
mlb_venues / mlbVenues (was mlb_api_venues)https://statsapi.mlb.com/api/v1/venues—season, sport_ids → sportIds, hydrateparse_mlb_list—
mlb_win_probability / mlbWinProbability (was mlb_api_win_probability)https://statsapi.mlb.com/api/v1/game/{game_pk}/winProbabilitygame_pk*fieldsparse_mlb_win_probability—

Returns — mlb_all_star_ballot / mlbAllStarBallot​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
middle_namecharacterPlayer middle name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
name_matrilinealcharacterMaternal family name.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
pronunciationcharacterPhonetic name pronunciation.
last_played_datecharacterDate of last MLB game played.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
birth_state_provincecharacterState or province of birth.
draft_yeardoubleYear the player was drafted.
name_titlecharacterName title.
name_suffixcharacterName suffix (e.g. Jr., Sr., III).

Row type: MlbAllStarBallotRow (exported from the package root).

Returns — mlb_all_star_final_vote / mlbAllStarFinalVote​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
pronunciationcharacterPhonetic name pronunciation.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
name_matrilinealcharacterMaternal family name.
birth_state_provincecharacterState or province of birth.
name_titlecharacterName title.
name_suffixcharacterName suffix (e.g. Jr., Sr., III).
middle_namecharacterPlayer middle name.
draft_yeardoubleYear the player was drafted.
last_played_datecharacterDate of last MLB game played.

Row type: MlbAllStarFinalVoteRow (exported from the package root).

Returns — mlb_all_star_write_ins / mlbAllStarWriteIns​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_state_provincecharacterState or province of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
boxscore_namecharacterName as shown in box scores.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
pronunciationcharacterPhonetic name pronunciation.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
primary_numbercharacterPlayer uniform number.
draft_yeardoubleYear the player was drafted.
middle_namecharacterPlayer middle name.
name_matrilinealcharacterMaternal family name.
last_played_datecharacterDate of last MLB game played.
nick_namecharacterPlayer nickname.
name_titlecharacterName title.
name_suffixcharacterName suffix (e.g. Jr., Sr., III).

Row type: MlbAllStarWriteInsRow (exported from the package root).

Returns — mlb_analytics_games / mlbAnalyticsGames​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 404 through the residential proxy with the documented example arguments (2026-10-07)

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_analytics_guids / mlbAnalyticsGuids​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 401 'Please Login' through the residential proxy; the route needs an MLB login session the package does not hold

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_award_recipients / mlbAwardRecipients​

col_nametypedescription
idcharacterId.
namecharacterDisplay name.
datecharacterDate in YYYY-MM-DD format.
seasoncharacterSeason year.
team_idintegerUnique ESPN team identifier.
team_linkcharacterAPI link to the team.
player_idintegerstats.ncaa.org player identifier.
player_linkcharacterAPI relative link to the player.
player_primary_position_codecharacterRecipient primary fielding position code.
player_primary_position_namecharacterRecipient primary fielding position name.
player_primary_position_typecharacterParticipant primary position type (e.g. 'Hitter').
player_primary_position_abbreviationcharacterParticipant primary position abbreviation (e.g. 'DH').
player_name_first_lastcharacterParticipant name in first-last order.
votesdoubleNumber of votes received.

Row type: MlbAwardRecipientsRow (exported from the package root).

Returns — mlb_awards / mlbAwards​

col_nametypedescription
idcharacterId.
namecharacterDisplay name.
descriptioncharacterLong-form description text.
sort_orderdoubleDisplay sort order for the sport.
activelogicalWhether the player is currently active.
sport_iddoubleSport MLBAM ID.
sport_linkcharacterAPI link to the sport.
league_iddoubleLeague MLBAM ID.
league_linkcharacterAPI link to the league.
notescharacterNotes.

Row type: MlbAwardsRow (exported from the package root).

Returns — mlb_boxscore / mlbBoxscore​

col_nametypedescription
team_sidecharacter
team_idintegerUnique ESPN team identifier.
team_namecharacterTeam name.
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
parent_team_idintegerMLB Stats API identifier for the player's parent (MLB-level) organization, useful for tracking players on optional assignment.
batting_ordercharacterSpot in the batting order (box-score row order).
all_positionscharacterAll fielding positions played by the player during the game, as a list of position codes.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.
person_boxscore_namecharacterName as shown in box scores.
position_codecharacterNumeric scorekeeping position code.
position_namecharacterPosition name.
position_typecharacterPosition category (e.g. 'Pitcher', 'Infielder').
position_abbreviationcharacterPosition abbreviation.
status_codecharacterStatus code identifier (e.g. 'S', 'P', 'I', 'F').
status_descriptioncharacterRoster status description (e.g. 'Active').
stats_batting_summarycharacterCondensed text summary of the batter's performance line (e.g., '2-4, HR, 2 RBI') for display purposes.
stats_batting_games_playeddoubleNumber of games played indicator for this batter's boxscore row (typically 1 for a standard game appearance).
stats_batting_fly_outsdoubleNumber of outs recorded by the batter on fly balls in this game.
stats_batting_ground_outsdoubleNumber of outs recorded by the batter on ground balls in this game.
stats_batting_air_outsdoubleNumber of outs recorded by the batter on balls hit in the air during this game.
stats_batting_runsdoubleNumber of runs scored by the batter in this game.
stats_batting_doublesdoubleNumber of doubles hit by the batter in this game.
stats_batting_triplesdoubleNumber of triples hit by the batter in this game.
stats_batting_home_runsdoubleNumber of home runs hit by the batter in this game.
stats_batting_strike_outsdoubleNumber of times the batter struck out in this game.
stats_batting_base_on_ballsdoubleNumber of walks (bases on balls) drawn by the batter in this game, including intentional walks.
stats_batting_intentional_walksdoubleNumber of intentional walks issued to the batter in this game.
stats_batting_hitsdoubleTotal number of hits recorded by the batter in this game.
stats_batting_hit_by_pitchdoubleNumber of times the batter was hit by a pitch in this game.
stats_batting_at_batsdoubleNumber of official at-bats for the batter in this game.
stats_batting_caught_stealingdoubleNumber of times the batter was caught stealing in this game.
stats_batting_stolen_basesdoubleNumber of stolen bases recorded by the batter in this game.
stats_batting_stolen_base_percentagecharacterPercentage of stolen base attempts that were successful for the batter in this game.
stats_batting_ground_into_double_playdoubleNumber of times the batter grounded into a double play in this game.
stats_batting_ground_into_triple_playdoubleNumber of times the batter grounded into a triple play in this game.
stats_batting_plate_appearancesdoubleTotal number of plate appearances for the batter in this game.
stats_batting_total_basesdoubleTotal number of bases accumulated by the batter on hits in this game.
stats_batting_rbidoubleNumber of runs batted in (RBI) credited to the batter in this game.
stats_batting_left_on_basedoubleNumber of runners left on base when the batter made an out or the inning ended in this game.
stats_batting_sac_buntsdoubleNumber of sacrifice bunts executed by the batter in this game.
stats_batting_sac_fliesdoubleNumber of sacrifice flies hit by the batter that scored a run in this game.
stats_batting_catchers_interferencedoubleNumber of times the batter reached base due to catcher's interference in this game.
stats_batting_pickoffsdoubleNumber of times the batter was picked off base in this game.
stats_batting_at_bats_per_home_runcharacterAt-bats per home run ratio for the batter in this game.
stats_batting_pop_outsdoubleNumber of outs recorded by the batter on infield pop-ups in this game.
stats_batting_line_outsdoubleNumber of outs recorded by the batter on line drives caught in this game.
stats_fielding_caught_stealingdoubleNumber of baserunners caught stealing by the player (typically a catcher) in this game.
stats_fielding_stolen_basesdoubleNumber of stolen bases allowed by the player while fielding in this game.
stats_fielding_stolen_base_percentagecharacterPercentage of stolen base attempts against the player (catcher perspective) that were successful in this game.
stats_fielding_caught_stealing_percentagecharacterPercentage of stolen base attempts that the player threw out in this game.
stats_fielding_assistsdoubleNumber of fielding assists recorded by the player in this game.
stats_fielding_put_outsdoubleNumber of putouts recorded by the player in this game.
stats_fielding_errorsdoubleNumber of fielding errors committed by the player in this game.
stats_fielding_chancesdoubleTotal fielding chances for the player in this game (putouts + assists + errors).
stats_fielding_fieldingcharacterFielding percentage for the player in this game, calculated as (putouts + assists) / total chances.
stats_fielding_passed_balldoubleNumber of passed balls charged to the player (catcher-specific) in this game.
stats_fielding_pickoffsdoubleNumber of pickoffs credited to the player as a fielder in this game.
season_stats_batting_games_playedintegerSeason-to-date number of games in which the batter appeared.
season_stats_batting_fly_outsintegerSeason-to-date number of outs recorded by the batter on fly balls caught in the outfield.
season_stats_batting_ground_outsintegerSeason-to-date number of outs recorded by the batter on ground balls.
season_stats_batting_air_outsintegerSeason-to-date number of outs recorded by the batter on balls hit in the air (fly balls and line drives caught).
season_stats_batting_runsintegerSeason-to-date number of runs scored by the batter.
season_stats_batting_doublesintegerSeason-to-date number of doubles hit by the batter.
season_stats_batting_triplesintegerSeason-to-date number of triples hit by the batter.
season_stats_batting_home_runsintegerSeason-to-date number of home runs hit by the batter.
season_stats_batting_strike_outsintegerSeason-to-date number of times the batter struck out.
season_stats_batting_base_on_ballsintegerSeason-to-date total walks (bases on balls) drawn by the batter, including intentional walks.
season_stats_batting_intentional_walksintegerSeason-to-date number of intentional walks (IBB) issued to the batter.
season_stats_batting_hitsintegerSeason-to-date total number of hits recorded by the batter.
season_stats_batting_hit_by_pitchintegerSeason-to-date number of times the batter was hit by a pitch.
season_stats_batting_avgcharacterSeason-to-date batting average (hits divided by at-bats) for the batter.
season_stats_batting_at_batsintegerSeason-to-date number of official at-bats accumulated by the batter.
season_stats_batting_obpcharacterSeason-to-date on-base percentage (OBP), measuring how often the batter reaches base per plate appearance.
season_stats_batting_slgcharacterSeason-to-date slugging percentage (SLG), measuring total bases per at-bat.
season_stats_batting_opscharacterSeason-to-date on-base plus slugging percentage (OPS), a combined measure of a batter's ability to get on base and hit for power.
season_stats_batting_caught_stealingintegerSeason-to-date number of times the batter was caught stealing a base.
season_stats_batting_stolen_basesintegerSeason-to-date number of bases stolen by the batter.
season_stats_batting_stolen_base_percentagecharacterSeason-to-date percentage of stolen base attempts that were successful for the batter.
season_stats_batting_caught_stealing_percentagecharacterSeason-to-date percentage of stolen base attempts that resulted in the batter being caught stealing.
season_stats_batting_ground_into_double_playintegerSeason-to-date number of times the batter grounded into a double play.
season_stats_batting_ground_into_triple_playintegerSeason-to-date number of times the batter grounded into a triple play.
season_stats_batting_plate_appearancesintegerSeason-to-date total number of plate appearances for the batter, including at-bats, walks, HBP, and sacrifices.
season_stats_batting_total_basesintegerSeason-to-date total number of bases accumulated by the batter on hits.
season_stats_batting_rbiintegerSeason-to-date number of runs batted in (RBI) credited to the batter.
season_stats_batting_left_on_baseintegerSeason-to-date number of runners left on base when the batter made an out or the inning ended.
season_stats_batting_sac_buntsintegerSeason-to-date number of sacrifice bunts executed by the batter.
season_stats_batting_sac_fliesintegerSeason-to-date number of sacrifice flies hit by the batter that scored a run.
season_stats_batting_babipcharacterSeason-to-date Batting Average on Balls In Play (BABIP), measuring batting average excluding strikeouts and home runs.
season_stats_batting_ground_outs_to_airoutscharacterSeason-to-date ratio of ground outs to air outs, indicating the batter's tendency to hit the ball on the ground versus in the air.
season_stats_batting_catchers_interferenceintegerSeason-to-date number of times the batter reached base due to catcher's interference.
season_stats_batting_pickoffsintegerSeason-to-date number of times the batter was picked off base by a pitcher or catcher.
season_stats_batting_at_bats_per_home_runcharacterSeason-to-date ratio of at-bats per home run, reflecting the batter's home run frequency.
season_stats_batting_pop_outsintegerSeason-to-date number of outs recorded by the batter on pop-ups caught in the infield.
season_stats_batting_line_outsintegerSeason-to-date number of outs recorded by the batter on line drives caught.
season_stats_pitching_games_playedintegerSeason-to-date number of games the pitcher was active on the roster (may include non-pitching appearances).
season_stats_pitching_games_startedintegerSeason-to-date number of games in which the pitcher was the starting pitcher.
season_stats_pitching_fly_outsintegerSeason-to-date number of outs recorded by the pitcher on fly balls.
season_stats_pitching_ground_outsintegerSeason-to-date number of outs recorded by the pitcher on ground balls.
season_stats_pitching_air_outsintegerSeason-to-date number of outs recorded by the pitcher on balls hit in the air.
season_stats_pitching_runsintegerSeason-to-date total runs (earned and unearned) allowed by the pitcher.
season_stats_pitching_doublesintegerSeason-to-date number of doubles allowed by the pitcher.
season_stats_pitching_triplesintegerSeason-to-date number of triples allowed by the pitcher.
season_stats_pitching_home_runsintegerSeason-to-date number of home runs allowed by the pitcher.
season_stats_pitching_strike_outsintegerSeason-to-date number of batters struck out by the pitcher.
season_stats_pitching_base_on_ballsintegerSeason-to-date total walks (bases on balls) issued by the pitcher, including intentional walks.
season_stats_pitching_intentional_walksintegerSeason-to-date number of intentional walks (IBB) issued by the pitcher.
season_stats_pitching_hitsintegerSeason-to-date number of hits allowed by the pitcher.
season_stats_pitching_hit_by_pitchintegerSeason-to-date number of hit-by-pitch events while the pitcher was pitching (alternate field name for hit_batsmen).
season_stats_pitching_at_batsintegerSeason-to-date number of at-bats faced by the pitcher (excluding walks, HBP, and sacrifices).
season_stats_pitching_obpcharacterSeason-to-date on-base percentage allowed by the pitcher (opponents' OBP against this pitcher).
season_stats_pitching_caught_stealingintegerSeason-to-date number of baserunners caught stealing while the pitcher was on the mound.
season_stats_pitching_stolen_basesintegerSeason-to-date number of stolen bases allowed while the pitcher was pitching.
season_stats_pitching_stolen_base_percentagecharacterSeason-to-date percentage of stolen base attempts that were successful while the pitcher was on the mound.
season_stats_pitching_caught_stealing_percentagecharacterSeason-to-date percentage of stolen base attempts that were thrown out while the pitcher was pitching.
season_stats_pitching_number_of_pitchesintegerSeason-to-date total number of pitches thrown by the pitcher.
season_stats_pitching_eracharacterSeason-to-date Earned Run Average (ERA) for the pitcher, expressed as earned runs per nine innings.
season_stats_pitching_innings_pitchedcharacterSeason-to-date total innings pitched, expressed as a decimal where each out is one-third of an inning.
season_stats_pitching_winsintegerSeason-to-date number of wins credited to the pitcher.
season_stats_pitching_lossesintegerSeason-to-date number of losses charged to the pitcher.
season_stats_pitching_savesintegerSeason-to-date number of saves recorded by the pitcher.
season_stats_pitching_save_opportunitiesintegerSeason-to-date number of save opportunities the pitcher entered (leads of three runs or fewer in the seventh inning or later, or entering with the tying run on base).
season_stats_pitching_holdsintegerSeason-to-date number of holds recorded by the pitcher (relief appearance maintaining a lead without a save situation).
season_stats_pitching_blown_savesintegerSeason-to-date number of blown save opportunities for the pitcher.
season_stats_pitching_earned_runsintegerSeason-to-date number of earned runs allowed by the pitcher.
season_stats_pitching_whipcharacterSeason-to-date Walks plus Hits per Inning Pitched (WHIP), measuring baserunners allowed per inning.
season_stats_pitching_batters_facedintegerSeason-to-date total number of batters faced by the pitcher.
season_stats_pitching_outsintegerSeason-to-date total number of outs recorded by the pitcher.
season_stats_pitching_games_pitchedintegerSeason-to-date number of games in which the pitcher appeared.
season_stats_pitching_complete_gamesintegerSeason-to-date number of complete games pitched by the pitcher.
season_stats_pitching_shutoutsintegerSeason-to-date number of complete-game shutouts pitched.
season_stats_pitching_ballsintegerSeason-to-date number of ball calls recorded against the pitcher.
season_stats_pitching_strikesintegerSeason-to-date total number of strikes thrown by the pitcher.
season_stats_pitching_strike_percentagecharacterSeason-to-date percentage of all pitches thrown that were strikes.
season_stats_pitching_hit_batsmenintegerSeason-to-date number of batters hit by a pitch thrown by the pitcher.
season_stats_pitching_balksintegerSeason-to-date number of balks called against the pitcher.
season_stats_pitching_wild_pitchesintegerSeason-to-date number of wild pitches thrown by the pitcher.
season_stats_pitching_pickoffsintegerSeason-to-date number of pickoffs executed by the pitcher.
season_stats_pitching_ground_outs_to_airoutscharacterSeason-to-date ratio of ground ball outs to air ball outs allowed by the pitcher.
season_stats_pitching_rbiintegerSeason-to-date number of RBI allowed (runs batted in by opposing batters) while this pitcher was pitching.
season_stats_pitching_win_percentagecharacterSeason-to-date winning percentage for the pitcher (wins divided by decisions).
season_stats_pitching_pitches_per_inningcharacterSeason-to-date average number of pitches thrown per inning by the pitcher.
season_stats_pitching_games_finishedintegerSeason-to-date number of games in which the pitcher was the last pitcher used by their team.
season_stats_pitching_strikeout_walk_ratiocharacterSeason-to-date ratio of strikeouts to walks, measuring the pitcher's command and dominance.
season_stats_pitching_strikeouts_per9_inncharacterSeason-to-date strikeouts recorded per nine innings pitched (K/9), a rate measure of strikeout ability.
season_stats_pitching_walks_per9_inncharacterSeason-to-date walks issued per nine innings pitched (BB/9), a rate measure of control.
season_stats_pitching_hits_per9_inncharacterSeason-to-date hits allowed per nine innings pitched, a rate stat measuring hit prevention.
season_stats_pitching_runs_scored_per9characterSeason-to-date total runs (including unearned) allowed per nine innings pitched.
season_stats_pitching_home_runs_per9characterSeason-to-date home runs allowed per nine innings pitched.
season_stats_pitching_inherited_runnersintegerSeason-to-date number of baserunners already on base when the pitcher entered the game.
season_stats_pitching_inherited_runners_scoredintegerSeason-to-date number of inherited runners who eventually scored while or after the pitcher was pitching.
season_stats_pitching_catchers_interferenceintegerSeason-to-date number of times the pitcher benefited from a catcher's interference call.
season_stats_pitching_sac_buntsintegerSeason-to-date number of sacrifice bunts allowed by the pitcher.
season_stats_pitching_sac_fliesintegerSeason-to-date number of sacrifice flies allowed by the pitcher.
season_stats_pitching_passed_ballintegerSeason-to-date number of passed balls that occurred while the pitcher was pitching.
season_stats_pitching_pop_outsintegerSeason-to-date number of outs recorded by the pitcher on pop-ups caught in the infield.
season_stats_pitching_line_outsintegerSeason-to-date number of outs recorded by the pitcher on line drives caught.
season_stats_fielding_caught_stealingintegerSeason-to-date number of baserunners caught stealing by the player (typically a catcher stat).
season_stats_fielding_stolen_basesintegerSeason-to-date number of stolen bases allowed by the player while fielding (typically catcher).
season_stats_fielding_stolen_base_percentagecharacterSeason-to-date percentage of stolen base attempts against the player that were successful (catcher perspective).
season_stats_fielding_caught_stealing_percentagecharacterSeason-to-date percentage of stolen base attempts that the player (usually a catcher) threw out.
season_stats_fielding_assistsintegerSeason-to-date number of fielding assists recorded by the player (touching the ball before a putout by a teammate).
season_stats_fielding_put_outsintegerSeason-to-date number of putouts recorded by the player (directly retiring a baserunner or batter).
season_stats_fielding_errorsintegerSeason-to-date number of fielding errors committed by the player.
season_stats_fielding_chancesintegerSeason-to-date total fielding chances for the player (putouts + assists + errors).
season_stats_fielding_fieldingcharacterSeason-to-date fielding percentage for the player, calculated as (putouts + assists) / total chances.
season_stats_fielding_passed_ballintegerSeason-to-date number of passed balls charged to the player (catcher-specific).
season_stats_fielding_pickoffsintegerSeason-to-date number of pickoffs credited to the player as a fielder.
game_status_is_current_batterlogicalIndicates whether the player is currently at bat at the moment the boxscore was captured.
game_status_is_current_pitcherlogicalIndicates whether the player is currently pitching at the moment the boxscore was captured.
game_status_is_on_benchlogicalIndicates whether the player is currently on the bench (not in the active lineup) at time of capture.
game_status_is_substitutelogicalIndicates whether the player entered the game as a substitute for another player.
stats_fielding_games_starteddoubleIndicator of whether the player started at a fielding position in this game.
season_stats_fielding_games_starteddoubleSeason-to-date number of games in which the player started at a fielding position.
season_stats_pitching_pitches_throwndoubleSeason-to-date total pitches thrown by the pitcher (may differ from number_of_pitches if strikes/balls are tracked separately).
stats_pitching_summarycharacterCondensed text summary of the pitcher's performance line (e.g., '6.0 IP, 2 ER, 8 K') for display purposes.
stats_pitching_games_playeddoubleNumber of games the pitcher appeared in for this boxscore row (typically 1).
stats_pitching_games_starteddoubleIndicator of whether the pitcher was the starting pitcher in this game.
stats_pitching_fly_outsdoubleNumber of outs recorded by the pitcher on fly balls in this game.
stats_pitching_ground_outsdoubleNumber of outs recorded by the pitcher on ground balls in this game.
stats_pitching_air_outsdoubleNumber of outs recorded by the pitcher on balls hit in the air in this game.
stats_pitching_runsdoubleTotal runs (earned and unearned) allowed by the pitcher in this game.
stats_pitching_doublesdoubleNumber of doubles allowed by the pitcher in this game.
stats_pitching_triplesdoubleNumber of triples allowed by the pitcher in this game.
stats_pitching_home_runsdoubleNumber of home runs allowed by the pitcher in this game.
stats_pitching_strike_outsdoubleNumber of batters struck out by the pitcher in this game.
stats_pitching_base_on_ballsdoubleNumber of walks (bases on balls) issued by the pitcher in this game, including intentional walks.
stats_pitching_intentional_walksdoubleNumber of intentional walks (IBB) issued by the pitcher in this game.
stats_pitching_hitsdoubleNumber of hits allowed by the pitcher in this game.
stats_pitching_hit_by_pitchdoubleNumber of hit-by-pitch events while the pitcher was pitching in this game (alternate field for hit_batsmen).
stats_pitching_at_batsdoubleNumber of at-bats faced by the pitcher (excluding walks, HBP, and sacrifices) in this game.
stats_pitching_caught_stealingdoubleNumber of baserunners caught stealing while the pitcher was on the mound in this game.
stats_pitching_stolen_basesdoubleNumber of stolen bases allowed while the pitcher was pitching in this game.
stats_pitching_stolen_base_percentagecharacterPercentage of stolen base attempts that were successful while the pitcher was on the mound in this game.
stats_pitching_number_of_pitchesdoubleTotal number of pitches thrown by the pitcher in this game.
stats_pitching_innings_pitchedcharacterTotal innings pitched by the pitcher in this game, expressed as a decimal (each out counts as one-third of an inning).
stats_pitching_winsdoubleIndicator of whether the pitcher was credited with the win in this game.
stats_pitching_lossesdoubleIndicator of whether the pitcher was charged with the loss in this game.
stats_pitching_savesdoubleIndicator of whether the pitcher recorded a save in this game.
stats_pitching_save_opportunitiesdoubleNumber of save opportunities the pitcher entered in this game.
stats_pitching_holdsdoubleNumber of holds recorded by the pitcher in this game.
stats_pitching_blown_savesdoubleNumber of blown save opportunities for the pitcher in this game.
stats_pitching_earned_runsdoubleNumber of earned runs allowed by the pitcher in this game.
stats_pitching_batters_faceddoubleTotal number of batters faced by the pitcher in this game.
stats_pitching_outsdoubleTotal number of outs recorded by the pitcher in this game.
stats_pitching_games_pitcheddoubleNumber of pitching appearances for the pitcher in this game (typically 1).
stats_pitching_complete_gamesdoubleIndicator of whether the pitcher threw a complete game in this appearance.
stats_pitching_shutoutsdoubleIndicator of whether the pitcher recorded a complete-game shutout in this game.
stats_pitching_pitches_throwndoubleTotal pitches thrown by the pitcher in this game (may differ from number_of_pitches depending on tracking method).
stats_pitching_ballsdoubleNumber of ball calls recorded against the pitcher in this game.
stats_pitching_strikesdoubleTotal number of strikes thrown by the pitcher in this game.
stats_pitching_strike_percentagecharacterPercentage of all pitches thrown that were strikes in this game.
stats_pitching_hit_batsmendoubleNumber of batters hit by a pitch thrown by the pitcher in this game.
stats_pitching_balksdoubleNumber of balks called against the pitcher in this game.
stats_pitching_wild_pitchesdoubleNumber of wild pitches thrown by the pitcher in this game.
stats_pitching_pickoffsdoubleNumber of pickoffs executed by the pitcher in this game.
stats_pitching_rbidoubleNumber of RBI allowed (runs batted in by opposing batters off this pitcher) in this game.
stats_pitching_games_finisheddoubleIndicator of whether the pitcher was the last pitcher used by their team in this game.
stats_pitching_runs_scored_per9characterTotal runs (including unearned) allowed per nine innings rate for the pitcher in this game.
stats_pitching_home_runs_per9characterHome runs allowed per nine innings rate for the pitcher in this game.
stats_pitching_inherited_runnersdoubleNumber of baserunners already on base when the pitcher entered the game.
stats_pitching_inherited_runners_scoreddoubleNumber of inherited runners who scored while or after the pitcher was pitching in this game.
stats_pitching_catchers_interferencedoubleNumber of catcher's interference calls that occurred while the pitcher was pitching in this game.
stats_pitching_sac_buntsdoubleNumber of sacrifice bunts allowed by the pitcher in this game.
stats_pitching_sac_fliesdoubleNumber of sacrifice flies allowed by the pitcher in this game.
stats_pitching_passed_balldoubleNumber of passed balls that occurred while the pitcher was pitching in this game.
stats_pitching_pop_outsdoubleNumber of outs recorded by the pitcher on infield pop-ups in this game.
stats_pitching_line_outsdoubleNumber of outs recorded by the pitcher on line drives caught in this game.
stats_pitching_notecharacterSupplementary note or annotation attached to the pitcher's boxscore line (e.g., indicating a special circumstance).
stats_batting_notecharacterSupplementary note or annotation attached to the batter's boxscore line (e.g., indicating a special circumstance).

Row type: MlbBoxscoreRow (exported from the package root).

Returns — mlb_conference / mlbConference​

col_nametypedescription
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
abbreviationcharacterShort abbreviation.
has_wildcardlogicalWhether the season has a wild card round.
name_shortcharacter
league_idintegerLeague MLBAM ID.
league_linkcharacterAPI link to the league.
sport_idintegerSport MLBAM ID.
sport_linkcharacterAPI link to the sport.

Row type: MlbConferenceRow (exported from the package root).

Returns — mlb_conferences / mlbConferences​

col_nametypedescription
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
abbreviationcharacterShort abbreviation.
has_wildcardlogicalWhether the season has a wild card round.
name_shortcharacter
league_idintegerLeague MLBAM ID.
league_linkcharacterAPI link to the league.
sport_idintegerSport MLBAM ID.
sport_linkcharacterAPI link to the sport.

Row type: MlbConferencesRow (exported from the package root).

Returns — mlb_datacasters / mlbDatacasters​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
jobcharacterJob title (e.g. 'Umpire').
job_idcharacterJob code identifier.
titlecharacterSpecific role title for the assignment.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.

Row type: MlbDatacastersRow (exported from the package root).

Returns — mlb_draft_latest / mlbDraftLatest​

col_nametypedescription
numberintegerJersey number.
next_upcharacterIndicates whether this draft slot is the next pick to be made in the current draft.
pick_pick_roundcharacterDraft round in which this pick was made (e.g., '1', '2', 'CB-A' for competitive balance).
pick_pick_numberintegerOverall pick number of this selection counting sequentially across all rounds of the draft.
pick_display_pick_numberintegerThe formatted overall pick number displayed publicly for this draft selection.
pick_round_pick_numberintegerPick number within the specific draft round (i.e., the Nth pick in that round).
pick_signing_bonuscharacterReported or slotted signing bonus amount associated with this draft pick.
pick_home_citycharacterCity of the draftee's listed home address at the time of the draft.
pick_home_statecharacterState or province of the draftee's listed home address at the time of the draft.
pick_home_countrycharacterCountry of the draftee's listed home address at the time of the draft.
pick_school_namecharacterName of the high school or college the draftee attended before being drafted.
pick_school_school_classcharacterAcademic class or level of the draftee at their school (e.g., High School, Junior, Senior).
pick_school_citycharacterCity of the high school or college the draftee attended before being drafted.
pick_school_countrycharacterCountry of the school the draftee attended.
pick_school_statecharacterState of the school the draftee attended.
pick_headshot_linkcharacterURL to the headshot image of the drafted player on the MLB Stats API CDN.
pick_person_idintegerUnique MLB Stats API (MLBAM) identifier for the drafted player.
pick_person_full_namecharacterPlayer's complete display name as used throughout the MLB Stats API.
pick_person_linkcharacterRelative URL path to the player's resource in the MLB Stats API.
pick_person_first_namecharacterThe player's legal or preferred first name.
pick_person_last_namecharacterThe player's legal or preferred last name.
pick_person_birth_datecharacterDate of birth of the drafted player in ISO 8601 format.
pick_person_current_ageintegerAge of the drafted player in years at the time of the data retrieval.
pick_person_birth_citycharacterCity where the drafted player was born.
pick_person_birth_state_provincecharacterState or province where the drafted player was born.
pick_person_birth_countrycharacterCountry where the drafted player was born.
pick_person_heightcharacterPlayer's height in feet-and-inches notation (e.g., 6' 2").
pick_person_weightintegerPlayer's weight in pounds as recorded by the MLB Stats API.
pick_person_activelogicalBoolean flag indicating whether the drafted player is currently on an active MLB roster.
pick_person_primary_position_codecharacterNumeric or short code identifying the player's primary fielding position.
pick_person_primary_position_namecharacterFull name of the player's primary fielding position (e.g., Shortstop, Center Field).
pick_person_primary_position_typecharacterBroad classification of the player's position role (e.g., Pitcher, Infielder, Outfielder).
pick_person_primary_position_abbreviationcharacterShort abbreviation for the player's primary fielding position (e.g., SS, CF, SP).
pick_person_use_namecharacterThe first name or nickname the player prefers to use publicly.
pick_person_use_last_namecharacterThe last name the player prefers to use publicly, which may differ from the legal last name.
pick_person_middle_namecharacterThe player's middle name as recorded by the MLB Stats API.
pick_person_boxscore_namecharacterAbbreviated name format used for the player on official MLB box scores.
pick_person_gendercharacterRecorded gender of the drafted player.
pick_person_is_playerlogicalBoolean flag indicating whether this person is classified as an active player in the MLB Stats API.
pick_person_is_verifiedlogicalBoolean flag indicating whether the player's profile has been verified by MLB.
pick_person_draft_yearintegerThe MLB draft year in which this player was originally selected.
pick_person_bat_side_codecharacterSingle-letter code for the player's batting handedness (e.g., R, L, S for switch).
pick_person_bat_side_descriptioncharacterFull description of the player's batting side (e.g., Right, Left, Switch).
pick_person_pitch_hand_codecharacterSingle-letter code for the player's pitching handedness (e.g., R, L, S).
pick_person_pitch_hand_descriptioncharacterFull description of the player's pitching hand (e.g., Right, Left, Switch).
pick_person_name_first_lastcharacterPlayer's display name in first-last format, typically matching the broadcast name.
pick_person_name_slugcharacterURL-safe slug derived from the player's name for use in web links.
pick_person_first_last_namecharacterPlayer's name formatted as first name followed by last name.
pick_person_last_first_namecharacterPlayer's name formatted as last name followed by first name.
pick_person_last_init_namecharacterPlayer's name formatted as last name followed by first initial.
pick_person_init_last_namecharacterPlayer's name formatted as first initial followed by last name (e.g., J. Smith).
pick_person_full_fml_namecharacterPlayer's full name in first-middle-last order as recorded by the MLB Stats API.
pick_person_full_lfm_namecharacterPlayer's full name in last-first-middle order as recorded by the MLB Stats API.
pick_person_strike_zone_topdoubleUpper boundary of the player's personalized strike zone in feet from the ground.
pick_person_strike_zone_bottomdoubleLower boundary of the player's personalized strike zone in feet from the ground.
pick_person_xref_idscharacterSerialized cross-reference identifiers linking the player to external data systems.
pick_team_spring_league_idintegerMLB Stats API identifier for the team's spring training league.
pick_team_spring_league_namecharacterFull name of the spring training league the team belongs to.
pick_team_spring_league_linkcharacterRelative URL path to the spring training league resource in the MLB Stats API.
pick_team_spring_league_abbreviationcharacterAbbreviation for the spring training league the team participates in (e.g., Cactus, Grapefruit).
pick_team_all_star_statuscharacterAll-Star game affiliation status of the team (e.g., American League, National League).
pick_team_idintegerUnique MLB Stats API identifier for the team that made this draft pick.
pick_team_namecharacterFull official name of the MLB team that made this pick (e.g., New York Yankees).
pick_team_linkcharacterRelative URL path to the team resource in the MLB Stats API.
pick_team_seasonintegerMLB season year for which this team's metadata snapshot applies.
pick_team_venue_idintegerMLB Stats API identifier for the team's regular-season home ballpark.
pick_team_venue_namecharacterName of the team's regular-season home ballpark (e.g., Yankee Stadium).
pick_team_venue_linkcharacterRelative URL path to the team's regular-season home venue in the MLB Stats API.
pick_team_spring_venue_idintegerMLB Stats API identifier for the team's spring training ballpark.
pick_team_spring_venue_linkcharacterRelative URL path to the spring training venue resource in the MLB Stats API.
pick_team_team_codecharacterShort internal code used by MLB to identify the team in system contexts.
pick_team_file_codecharacterLowercase file-system-safe code used internally by MLB to identify the team.
pick_team_abbreviationcharacterStandard two- or three-letter abbreviation for the MLB team that made this pick.
pick_team_team_namecharacterThe nickname portion of the team's full name (e.g., Yankees, Dodgers).
pick_team_location_namecharacterGeographic location name (city/metro) associated with the team (e.g., New York).
pick_team_first_year_of_playcharacterYear in which the selecting franchise first played as an MLB team.
pick_team_league_idintegerMLB Stats API identifier for the league (American or National) of the selecting team.
pick_team_league_namecharacterFull name of the league the selecting team belongs to (e.g., American League).
pick_team_league_linkcharacterRelative URL path to the league resource in the MLB Stats API.
pick_team_division_idintegerMLB Stats API identifier for the division the selecting team belongs to.
pick_team_division_namecharacterFull name of the division the selecting team belongs to (e.g., AL East).
pick_team_division_linkcharacterRelative URL path to the division resource in the MLB Stats API.
pick_team_sport_idintegerMLB Stats API identifier for the sport classification (MLB = 1).
pick_team_sport_linkcharacterRelative URL path to the sport resource in the MLB Stats API.
pick_team_sport_namecharacterFull name of the sport classification for the team (e.g., Major League Baseball).
pick_team_short_namecharacterShortened version of the team name used in space-constrained display contexts.
pick_team_franchise_namecharacterHistorical franchise name that persists across any team relocations or renames.
pick_team_club_namecharacterInformal club or nickname portion of the team's full name (e.g., Yankees, Red Sox).
pick_team_activelogicalBoolean flag indicating whether the selecting MLB franchise is currently active.
pick_draft_type_codecharacterShort code identifying the type of draft (e.g., amateur, Rule 5) for this pick.
pick_draft_type_descriptioncharacterHuman-readable description of the draft type associated with this pick.
pick_is_draftedlogicalBoolean flag indicating whether this draft slot has been filled with an actual selection.
pick_is_passlogicalBoolean flag indicating whether the selecting team passed on this pick rather than making a selection.
pick_yearcharacterMLB draft year for which this pick record applies.

Row type: MlbDraftLatestRow (exported from the package root).

Returns — mlb_free_agents / mlbFreeAgents​

col_nametypedescription
notescharacterNotes.
date_declaredcharacterDate the player declared free agency (YYYY-MM-DD).
player_idintegerstats.ncaa.org player identifier.
player_full_namecharacterPlayer full name.
player_linkcharacterAPI relative link to the player.
original_team_iddoubleTeam id the player left.
original_team_namecharacterName of the team the player left.
original_team_linkcharacterAPI relative link to the original team.
new_team_linkcharacterAPI relative link to the new team.
position_codecharacterNumeric scorekeeping position code.
position_namecharacterPosition name.
position_typecharacterPosition category (e.g. 'Pitcher', 'Infielder').
position_abbreviationcharacterPosition abbreviation.
date_signedcharacterDate the player signed a new contract (YYYY-MM-DD).
new_team_iddoubleTeam id the player signed with.
new_team_namecharacterName of the team the player signed with.
sort_orderdoubleDisplay sort order for the sport.

Row type: MlbFreeAgentsRow (exported from the package root).

Returns — mlb_game_changes / mlbGameChanges​

col_nametypedescription
schedule_datecharacterThe calendar date for which schedule changes are being reported, identifying when rescheduled or suspended games occurred.
game_pkintegerUnique game identifier.
game_guidcharacterGlobally unique game identifier (GUID).
linkcharacterAPI link to the game feed.
game_typecharacterGame type code (R, P, etc.).
seasoncharacterSeason year.
game_datecharacterGame date (YYYY-MM-DD).
official_datecharacterOfficial game date (YYYY-MM-DD).
is_tielogicalWhether the game ended in a tie.
game_numberintegerGame number within a doubleheader.
public_facinglogicalWhether the game is public-facing.
double_headercharacterDoubleheader indicator ('N', 'S', 'Y').
gameday_typecharacterGameday data feed type.
tiebreakercharacterWhether the game is a tiebreaker.
calendar_event_idcharacterCalendar event identifier.
season_displaycharacterDisplay string for the season.
day_nightcharacterDay or night game indicator.
scheduled_inningsintegerScheduled number of innings.
reverse_home_away_statuslogicalWhether home/away teams are reversed.
inning_break_lengthintegerLength of inning breaks in seconds.
games_in_seriesdoubleNumber of games in the series.
series_game_numberdoubleGame number within the series.
series_descriptioncharacterDescription of the series.
record_sourcecharacterSource of the schedule record.
if_necessarycharacterWhether the game is played only if necessary.
if_necessary_descriptioncharacterDescription of the if-necessary status.
status_abstract_game_statecharacterAbstract game state (e.g. 'Final').
status_coded_game_statecharacterCoded game state.
status_detailed_statecharacterDetailed game state.
status_status_codecharacterStatus code for the game.
status_start_time_tbdlogicalWhether the start time is TBD.
status_abstract_game_codecharacterAbstract game state code.
teams_away_team_idintegerAway team MLBAM ID.
teams_away_team_namecharacterAway team name.
teams_away_team_linkcharacterAPI link to the away team.
teams_away_league_record_winsintegerAway team league-record wins.
teams_away_league_record_lossesintegerAway team league-record losses.
teams_away_league_record_tiesintegerAway team league-record ties.
teams_away_league_record_pctcharacterAway team winning percentage.
teams_away_scoreintegerAway team score.
teams_away_is_winnerlogicalWhether the away team won.
teams_away_split_squadlogicalWhether the away team is a split squad.
teams_away_series_numberdoubleAway team's series number.
teams_home_team_idintegerHome team MLBAM ID.
teams_home_team_namecharacterHome team name.
teams_home_team_linkcharacterAPI link to the home team.
teams_home_league_record_winsintegerHome team league-record wins.
teams_home_league_record_lossesintegerHome team league-record losses.
teams_home_league_record_tiesintegerHome team league-record ties.
teams_home_league_record_pctcharacterHome team winning percentage.
teams_home_scoreintegerHome team score.
teams_home_is_winnerlogicalWhether the home team won.
teams_home_split_squadlogicalWhether the home team is a split squad.
teams_home_series_numberdoubleHome team's series number.
venue_idintegerMLBAM venue ID.
venue_namecharacterVenue name.
venue_linkcharacterAPI link to the venue.
content_linkcharacterAPI link to the game content.
rescheduled_fromcharacterOriginal date-time the game was rescheduled from.
rescheduled_from_datecharacterOriginal date the game was rescheduled from.
descriptioncharacterLong-form description text.
status_reasoncharacterReason for the game status (e.g. 'Rain').
resumed_fromcharacterOriginal date-time if the game was resumed.
resumed_from_datecharacterOriginal date if the game was resumed.

Row type: MlbGameChangesRow (exported from the package root).

Returns — mlb_game_color / mlbGameColor​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 404 through the residential proxy with the documented example arguments (2026-10-07)

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_game_color_diff / mlbGameColorDiff​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 404 through the residential proxy with the documented example arguments (2026-10-07)

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_game_color_timestamps / mlbGameColorTimestamps​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 404 through the residential proxy with the documented example arguments (2026-10-07)

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_game_guids / mlbGameGuids​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 401 'Please Login' through the residential proxy; the route needs an MLB login session the package does not hold

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_game_pace / mlbGamePace​

col_nametypedescription
hits_per9_inndoubleAverage number of hits allowed per nine innings across all games in the sample period.
runs_per9_inndoubleAverage number of runs scored per nine innings across all games in the sample period.
pitches_per9_inndoubleAverage number of pitches thrown per nine innings across all games in the sample period.
plate_appearances_per9_inndoubleAverage number of plate appearances occurring per nine innings across all games in the sample period.
hits_per_gamedoubleHits per game.
runs_per_gamedoubleRuns per game.
innings_played_per_gamedoubleInnings played per game.
pitches_per_gamedoublePitches per game.
pitchers_per_gamedoublePitchers used per game.
plate_appearances_per_gamedoublePlate appearances per game.
total_game_timecharacterTotal game time (HHH:MM:SS).
total_innings_playeddoubleTotal innings played.
total_hitsintegerTotal hits.
total_runsintegerTotal runs.
total_plate_appearancesintegerTotal plate appearances.
total_pitchersintegerTotal pitchers used.
total_pitchesintegerTotal pitches thrown.
total_gamesintegerTotal games on the date.
total7_inn_gamesintegerTotal number of seven-inning games played (including doubleheader games).
total9_inn_gamesdoubleTotal number of nine-inning games played in the sample period.
total_extra_inn_gamesintegerTotal extra-inning games.
time_per_gamecharacterAverage time per game (HH:MM:SS).
time_per_pitchcharacterAverage time per pitch (HH:MM:SS).
time_per_hitcharacterAverage time per hit (HH:MM:SS).
time_per_runcharacterAverage time per run (HH:MM:SS).
time_per_plate_appearancecharacterAverage time per plate appearance (HH:MM:SS).
time_per9_inncharacterAverage elapsed clock time per nine-inning game formatted as hours and minutes.
time_per77_plate_appearancescharacterAverage time per 77 plate appearances, used as a normalized pace benchmark by MLB.
total_extra_inn_timecharacterTotal extra-inning time (HHH:MM:SS).
time_per7_inn_game_without_extra_inncharacterAverage elapsed clock time per seven-inning game excluding games that went to extra innings.
total9_inn_games_completed_earlyintegerNumber of nine-inning games that were called or suspended before completing nine full innings.
total9_inn_games_without_extra_inndoubleNumber of nine-inning games completed without requiring extra innings.
total9_inn_games_scheduledintegerTotal number of nine-inning games that were scheduled in the sample period.
hits_per_rundoubleHits per run.
pitches_per_pitcherdoublePitches per pitcher.
seasoncharacterSeason year.
sport_idintegerSport MLBAM ID.
sport_codecharacterShort sport code (e.g. 'mlb', 'aaa').
sport_linkcharacterAPI link to the sport.
pr_portal_calculated_fields_total7_inn_gamesintegerCalculated total count of seven-inning games as tallied by the MLB Stats API pace portal.
pr_portal_calculated_fields_total9_inn_gamesdoubleCalculated total count of nine-inning games as tallied by the MLB Stats API pace portal.
pr_portal_calculated_fields_total_extra_inn_gamesintegerPortal-calculated total extra-inning games.
pr_portal_calculated_fields_time_per7_inn_gamecharacterCalculated average game time per seven-inning game as produced by the MLB Stats API pace portal.
pr_portal_calculated_fields_time_per9_inn_gamecharacterCalculated average game time per nine-inning game as produced by the MLB Stats API pace portal.
pr_portal_calculated_fields_time_per_extra_inn_gamecharacterPortal-calculated time per extra-inning game.
time_per7_inn_gamecharacterAverage elapsed clock time per seven-inning game formatted as hours and minutes.
total7_inn_games_scheduleddoubleTotal number of seven-inning games that were scheduled in the sample period.
total7_inn_games_without_extra_inndoubleNumber of seven-inning games completed without requiring extra innings.
total7_inn_games_completed_earlydoubleNumber of seven-inning games that were called or completed before the full seven innings were played.

Row type: MlbGamePaceRow (exported from the package root).

Returns — mlb_game_timestamps / mlbGameTimestamps​

col_nametypedescription
timecodecharacterA timestamp string representing a specific point in time used to query the MLB Stats API for game state changes.

Row type: MlbGameTimestampsRow (exported from the package root).

Returns — mlb_high_low / mlbHighLow​

col_nametypedescription
total_splitsintegerTotal number of splits in the leaderboard.
exemptionscharacterSerialized list of exemption codes or player IDs excluded from the high/low statistical split calculation.
splitscharacterSplits.
splits_tied_with_offsetcharacterPlayers tied at the offset boundary.
splits_tied_with_limitcharacterPlayers tied at the limit boundary.
seasoncharacterSeason year.
combined_statslogicalWhether the stat combines multiple split sources.
group_display_namecharacterStat group display name.
game_type_idcharacterGame type code (e.g., R for regular season).
game_type_descriptioncharacterGame type description.
sort_stat_namecharacterSnake-case name of the sorted statistic (e.g. 'at_bats').
sort_stat_lookup_paramcharacterAPI lookup parameter for the sorted statistic (e.g. 'atBats').
sort_stat_is_countinglogicalWhether the sorted statistic is a counting stat.
sort_stat_labelcharacterHuman-readable label of the sorted statistic (e.g. 'At bats').
sort_stat_stat_groupscharacterSerialized list of statistical group identifiers (e.g., hitting, pitching) used to filter this high/low query.
sort_stat_org_typescharacterSerialized list of organization types (e.g., MLB, MiLB) in scope for this high/low stat sort.
sort_stat_high_low_typescharacterSerialized list of high/low result type codes (e.g., high, low) applicable to this stat leader query.
sort_stat_streak_levelscharacterSerialized list of streak level codes defining the streak lengths tracked in this high/low query.

Row type: MlbHighLowRow (exported from the package root).

Returns — mlb_home_run_derby / mlbHomeRunDerby​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_state_provincecharacterState or province of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
middle_namecharacterPlayer middle name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
draft_yeardoubleYear the player was drafted.
pronunciationcharacterPhonetic name pronunciation.
statscharacter
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
current_team_spring_league_iddoubleThe MLB Stats API numeric identifier for the spring training league of the player's current team.
current_team_spring_league_namecharacterThe full name of the spring training league (e.g., 'Cactus League') for the player's current team.
current_team_spring_league_linkcharacterThe MLB Stats API relative URL linking to the spring training league resource for the player's current team.
current_team_spring_league_abbreviationcharacterThe abbreviation for the Cactus League or Grapefruit League in which the player's current team participates during spring training.
current_team_all_star_statuscharacterThe All-Star designation status of the player's current team (e.g., which league's All-Star pool the team belongs to).
current_team_idintegerCurrent team MLBAM ID.
current_team_namecharacterCurrent team name.
current_team_linkcharacterAPI link to the current team.
current_team_seasonintegerThe MLB season year for which the player's current team metadata is reported.
current_team_venue_idintegerThe MLB Stats API numeric identifier for the regular-season home ballpark of the player's current team.
current_team_venue_namecharacterThe official name of the regular-season home ballpark for the player's current team.
current_team_venue_linkcharacterThe MLB Stats API relative URL linking to the regular-season venue resource for the player's current team.
current_team_spring_venue_iddoubleThe MLB Stats API numeric identifier for the spring training ballpark used by the player's current team.
current_team_spring_venue_linkcharacterThe MLB Stats API relative URL linking to the spring training venue resource for the player's current team.
current_team_team_codecharacterThe three-letter internal team code used by MLB in legacy data systems and some API references.
current_team_file_codecharacterThe lowercase alphabetic file code used by MLB for identifying the team in media and data assets.
current_team_abbreviationcharacterThe standard two- or three-letter abbreviation for the player's current MLB team (e.g., 'NYY', 'LAD').
current_team_team_namecharacterThe full official name of the player's current team, including both city and nickname.
current_team_location_namecharacterThe city or metropolitan area name associated with the player's current team.
current_team_first_year_of_playcharacterThe calendar year in which the player's current franchise first played MLB games.
current_team_league_idintegerThe MLB Stats API numeric identifier for the league (American League or National League) of the player's current team.
current_team_league_namecharacterThe full name of the league (e.g., 'American League') in which the player's current team competes.
current_team_league_linkcharacterThe MLB Stats API relative URL linking to the league resource for the player's current team.
current_team_division_iddoubleThe MLB Stats API numeric identifier for the division in which the player's current team competes.
current_team_division_namecharacterThe full name of the division in which the player's current team competes (e.g., 'American League East').
current_team_division_linkcharacterThe MLB Stats API relative URL linking to the division resource for the player's current team.
current_team_sport_idintegerThe MLB Stats API numeric identifier for the sport classification (e.g., 1 for MLB) of the player's current team.
current_team_sport_linkcharacterThe MLB Stats API relative URL linking to the sport resource associated with the player's current team.
current_team_sport_namecharacterThe name of the sport classification for the player's current team (e.g., 'Major League Baseball').
current_team_short_namecharacterA shortened display name for the player's current team, often used in space-constrained UI contexts.
current_team_franchise_namecharacterThe historical franchise name for the player's current team, which may differ from the current team name for relocated clubs.
current_team_club_namecharacterThe short club nickname for the player's current team, typically the city-less portion of the franchise name.
current_team_activelogicalBoolean flag indicating whether the player's current team is an active MLB franchise.
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
last_played_datecharacterDate of last MLB game played.
name_matrilinealcharacterMaternal family name.
current_team_parent_org_namecharacterThe name of the parent major-league organization for the player's current team.
current_team_parent_org_iddoubleThe MLB Stats API numeric identifier for the parent organization (major-league affiliate) of the player's current team.

Row type: MlbHomeRunDerbyRow (exported from the package root).

Returns — mlb_home_run_derby_bracket / mlbHomeRunDerbyBracket​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_state_provincecharacterState or province of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
middle_namecharacterPlayer middle name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
draft_yeardoubleYear the player was drafted.
pronunciationcharacterPhonetic name pronunciation.
statscharacter
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
current_team_spring_league_iddoubleMLB Stats API identifier for the spring training league of the participant's current team.
current_team_spring_league_namecharacterFull name of the spring training league the participant's team belongs to.
current_team_spring_league_linkcharacterRelative URL path to the spring training league resource in the MLB Stats API.
current_team_spring_league_abbreviationcharacterAbbreviation for the spring training league the participant's team belongs to (e.g., Cactus, Grapefruit).
current_team_all_star_statuscharacterAll-Star game league affiliation of the participant's current team (e.g., American League, National League).
current_team_idintegerCurrent team MLBAM ID.
current_team_namecharacterCurrent team name.
current_team_linkcharacterAPI link to the current team.
current_team_seasonintegerMLB season year for which the participant's current team metadata snapshot applies.
current_team_venue_idintegerMLB Stats API identifier for the participant's current team's regular-season home ballpark.
current_team_venue_namecharacterName of the participant's current team's regular-season home ballpark.
current_team_venue_linkcharacterRelative URL path to the current team's home venue resource in the MLB Stats API.
current_team_spring_venue_iddoubleMLB Stats API identifier for the spring training ballpark used by the participant's team.
current_team_spring_venue_linkcharacterRelative URL path to the spring training venue resource in the MLB Stats API.
current_team_team_codecharacterShort internal code used by MLB to identify the participant's current team in system contexts.
current_team_file_codecharacterLowercase file-system-safe code used by MLB to identify the participant's current team.
current_team_abbreviationcharacterStandard two- or three-letter abbreviation for the Home Run Derby participant's current MLB team.
current_team_team_namecharacterThe nickname portion of the participant's current team name (e.g., Red Sox, Braves).
current_team_location_namecharacterCity or metropolitan area name associated with the participant's current team.
current_team_first_year_of_playcharacterYear in which the participant's current franchise first played as an MLB team.
current_team_league_idintegerMLB Stats API identifier for the league (American or National) of the participant's current team.
current_team_league_namecharacterFull name of the league the participant's current team belongs to (e.g., National League).
current_team_league_linkcharacterRelative URL path to the league resource for the participant's current team in the MLB Stats API.
current_team_division_iddoubleMLB Stats API identifier for the division the participant's current team belongs to.
current_team_division_namecharacterFull name of the division the participant's current team belongs to (e.g., AL East).
current_team_division_linkcharacterRelative URL path to the participant's current team's division resource in the MLB Stats API.
current_team_sport_idintegerMLB Stats API identifier for the sport classification of the participant's current team (MLB = 1).
current_team_sport_linkcharacterRelative URL path to the sport resource for the participant's current team in the MLB Stats API.
current_team_sport_namecharacterFull sport classification name for the participant's current team (e.g., Major League Baseball).
current_team_short_namecharacterShortened display name of the participant's current team for space-constrained contexts.
current_team_franchise_namecharacterHistorical franchise name for the participant's team, persisting across relocations.
current_team_club_namecharacterInformal nickname portion of the participant's current team name (e.g., Yankees, Dodgers).
current_team_activelogicalBoolean flag indicating whether the participant's current franchise is an active MLB organization.
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
last_played_datecharacterDate of last MLB game played.
name_matrilinealcharacterMaternal family name.
current_team_parent_org_namecharacterName of the parent MLB organization for the participant's current team.
current_team_parent_org_iddoubleMLB Stats API identifier for the parent MLB organization of the participant's current team, relevant for minor league affiliates.

Row type: MlbHomeRunDerbyBracketRow (exported from the package root).

Returns — mlb_home_run_derby_pool / mlbHomeRunDerbyPool​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_state_provincecharacterState or province of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
middle_namecharacterPlayer middle name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
draft_yeardoubleYear the player was drafted.
pronunciationcharacterPhonetic name pronunciation.
statscharacter
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
current_team_spring_league_iddoubleThe MLB Stats API numeric identifier for the spring training league of the pool participant's current team.
current_team_spring_league_namecharacterThe full name of the spring training league for the pool participant's current team.
current_team_spring_league_linkcharacterThe MLB Stats API relative URL linking to the spring training league resource for the pool participant's current team.
current_team_spring_league_abbreviationcharacterThe abbreviation for the spring training league in which the pool participant's current team plays during spring training.
current_team_all_star_statuscharacterThe All-Star designation status of the pool participant's current team (e.g., which league's All-Star pool the team belongs to).
current_team_idintegerCurrent team MLBAM ID.
current_team_namecharacterCurrent team name.
current_team_linkcharacterAPI link to the current team.
current_team_seasonintegerThe MLB season year for which the pool participant's current team metadata is reported.
current_team_venue_idintegerThe MLB Stats API numeric identifier for the regular-season home ballpark of the pool participant's current team.
current_team_venue_namecharacterThe official name of the regular-season home ballpark for the pool participant's current team.
current_team_venue_linkcharacterThe MLB Stats API relative URL linking to the regular-season venue resource for the pool participant's current team.
current_team_spring_venue_iddoubleThe MLB Stats API numeric identifier for the spring training ballpark used by the pool participant's current team.
current_team_spring_venue_linkcharacterThe MLB Stats API relative URL linking to the spring training venue resource for the pool participant's current team.
current_team_team_codecharacterThe three-letter internal team code used by MLB for the pool participant's team in legacy data systems.
current_team_file_codecharacterThe lowercase alphabetic file code used by MLB for identifying the pool participant's team in media and data assets.
current_team_abbreviationcharacterThe standard two- or three-letter abbreviation for the Home Run Derby pool participant's current MLB team.
current_team_team_namecharacterThe full official name of the pool participant's current team, including both city and nickname.
current_team_location_namecharacterThe city or metropolitan area name associated with the pool participant's current team.
current_team_first_year_of_playcharacterThe calendar year in which the pool participant's current franchise first played MLB games.
current_team_league_idintegerThe MLB Stats API numeric identifier for the league of the pool participant's current team.
current_team_league_namecharacterThe full name of the league (e.g., 'National League') in which the pool participant's current team competes.
current_team_league_linkcharacterThe MLB Stats API relative URL linking to the league resource for the pool participant's current team.
current_team_division_iddoubleThe MLB Stats API numeric identifier for the division in which the pool participant's current team competes.
current_team_division_namecharacterThe full name of the division in which the pool participant's current team competes (e.g., 'National League West').
current_team_division_linkcharacterThe MLB Stats API relative URL linking to the division resource for the pool participant's current team.
current_team_sport_idintegerThe MLB Stats API numeric identifier for the sport classification of the pool participant's current team.
current_team_sport_linkcharacterThe MLB Stats API relative URL linking to the sport resource associated with the pool participant's current team.
current_team_sport_namecharacterThe name of the sport classification for the pool participant's current team (e.g., 'Major League Baseball').
current_team_short_namecharacterA shortened display name for the pool participant's current team, often used in space-constrained UI contexts.
current_team_franchise_namecharacterThe historical franchise name for the pool participant's current team, which may differ from the current team name for relocated clubs.
current_team_club_namecharacterThe short club nickname for the pool participant's current team, typically the city-less portion of the franchise name.
current_team_activelogicalBoolean flag indicating whether the pool participant's current team is an active MLB franchise.
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
last_played_datecharacterDate of last MLB game played.
name_matrilinealcharacterMaternal family name.
current_team_parent_org_namecharacterThe name of the parent major-league organization for the pool participant's current team.
current_team_parent_org_iddoubleThe MLB Stats API numeric identifier for the parent organization of the pool participant's current team.

Row type: MlbHomeRunDerbyPoolRow (exported from the package root).

Returns — mlb_jobs / mlbJobs​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
jobcharacterJob title (e.g. 'Umpire').
job_idcharacterJob code identifier.
titlecharacterSpecific role title for the assignment.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.

Row type: MlbJobsRow (exported from the package root).

Returns — mlb_leagues / mlbLeagues​

col_nametypedescription
idintegerNumeric league id from the source API (PFF: 1 = NFL).
namecharacterLeague display name as the source lists it (PFF: 'Pro Football').
linkcharacterAPI link to the game feed.
abbreviationcharacterLeague abbreviation as the source lists it (e.g. NFL).
name_shortcharacter
season_statecharacterA string describing the current phase of the league's season (e.g., 'inProgress', 'offseason', 'preseason').
has_wild_cardlogicalBoolean flag indicating whether this league includes a wild card playoff format for postseason eligibility.
has_split_seasonlogicalBoolean flag indicating whether this league divides its season into two halves with separate standings (as used historically in some minor leagues).
num_gamesdoubleThe total number of regular-season games scheduled per team in this league for the given season.
has_playoff_pointslogicalBoolean flag indicating whether this league uses a playoff points system to determine postseason seeding.
num_teamsdoubleNumber of teams the player appeared for.
num_wildcard_teamsdoubleThe number of wild card berths available for postseason entry in this league for the given season.
seasoncharacterSeason year.
org_codecharacterThe organizational code identifying the parent body (e.g., 'MLB') governing this league within the MLB Stats API hierarchy.
conferences_in_uselogical
divisions_in_uselogical
sort_orderintegerDisplay sort order for the sport.
activelogicalWhether the player is currently active.
season_date_info_season_idcharacterSeason identifier for the date info block.
season_date_info_pre_season_start_datecharacterPreseason start date (YYYY-MM-DD).
season_date_info_pre_season_end_datecharacterPreseason end date (YYYY-MM-DD).
season_date_info_season_start_datecharacterSeason start date (YYYY-MM-DD).
season_date_info_spring_start_datecharacterSpring training start date (YYYY-MM-DD).
season_date_info_spring_end_datecharacterSpring training end date (YYYY-MM-DD).
season_date_info_regular_season_start_datecharacterRegular season start date (YYYY-MM-DD).
season_date_info_last_date1st_halfcharacterLast date of the first half (YYYY-MM-DD).
season_date_info_all_star_datecharacterAll-Star Game date (YYYY-MM-DD).
season_date_info_first_date2nd_halfcharacterFirst date of the second half (YYYY-MM-DD).
season_date_info_regular_season_end_datecharacterRegular season end date (YYYY-MM-DD).
season_date_info_post_season_start_datecharacterPostseason start date (YYYY-MM-DD).
season_date_info_post_season_end_datecharacterPostseason end date (YYYY-MM-DD).
season_date_info_season_end_datecharacterSeason end date (YYYY-MM-DD).
season_date_info_offseason_start_datecharacterOffseason start date (YYYY-MM-DD).
season_date_info_off_season_end_datecharacterOffseason end date (YYYY-MM-DD).
season_date_info_season_level_gameday_typecharacterSeason-level Gameday data type code.
season_date_info_game_level_gameday_typecharacterGame-level Gameday data type code.
season_date_info_qualifier_plate_appearancesdoublePlate appearances per game needed to qualify.
season_date_info_qualifier_outs_pitcheddoubleOuts pitched per game needed to qualify.
sport_iddoubleSport MLBAM ID.
sport_linkcharacterAPI link to the sport.

Row type: MlbLeaguesRow (exported from the package root).

Returns — mlb_linescore / mlbLinescore​

col_nametypedescription
numintegerInning number.
ordinal_numcharacterInning ordinal label (e.g. 1st).
home_runsintegerHome runs.
home_hitsintegerHome hits in the inning.
home_errorsintegerHome errors in the inning.
home_left_on_baseintegerHome runners left on base in the inning.
away_runsintegerAway runs scored in the inning.
away_hitsintegerAway hits in the inning.
away_errorsintegerAway errors in the inning.
away_left_on_baseintegerAway runners left on base in the inning.

Row type: MlbLinescoreRow (exported from the package root).

Returns — mlb_official_scorers / mlbOfficialScorers​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
jobcharacterJob title (e.g. 'Umpire').
job_idcharacterJob code identifier.
titlecharacterSpecific role title for the assignment.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.

Row type: MlbOfficialScorersRow (exported from the package root).

Returns — mlb_people / mlbPeople​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
pronunciationcharacterPhonetic name pronunciation.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
birth_state_provincecharacterState or province of birth.
middle_namecharacterPlayer middle name.
draft_yeardoubleYear the player was drafted.

Row type: MlbPeopleRow (exported from the package root).

Returns — mlb_person / mlbPerson​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
pronunciationcharacterPhonetic name pronunciation.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.

Row type: MlbPersonRow (exported from the package root).

Returns — mlb_person_game_stats / mlbPersonGameStats​

col_nametypedescription
total_splitsdoubleTotal number of splits in the leaderboard.
exemptionscharacterSerialized list of statistical exemptions or special-case flags applied to this player's game-log splits.
splitscharacterSplits.
type_display_namecharacterStat type display name.
group_display_namecharacterStat group display name.

Row type: MlbPersonGameStatsRow (exported from the package root).

Returns — mlb_play_analytics / mlbPlayAnalytics​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 401 'Please Login' through the residential proxy; the route needs an MLB login session the package does not hold

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_play_by_play / mlbPlayByPlay​

col_nametypedescription
pitch_indexcharacterA serialized list of indices identifying individual pitch events that occurred within this at-bat.
action_indexcharacterA serialized list of indices identifying action-type events (e.g., stolen bases, pickoffs) that occurred within the at-bat.
runner_indexcharacterA serialized list of indices identifying baserunner movement events that occurred during or after this play.
runnerscharacterA serialized representation of baserunner movement records for this play, including starting base, ending base, and relevant event types.
play_eventscharacterA serialized representation of the sequence of individual pitch and action events comprising this at-bat.
play_end_timecharacterThe ISO 8601 timestamp marking the conclusion of the entire play (as distinct from a single pitch event) within the game feed.
at_bat_indexintegerZero-based index of the at-bat within the game.
result_typecharacterThe high-level category of the play result as classified by the MLB Stats API (e.g., 'atBat', 'action').
result_eventcharacterThe short categorical label for the play outcome as classified by the MLB Stats API (e.g., 'Strikeout', 'Home Run', 'Walk').
result_event_typecharacterThe snake-cased type identifier for the play outcome used internally by the MLB Stats API (e.g., 'strikeout', 'home_run').
result_descriptioncharacterA human-readable text description of the play result as reported by the MLB Stats API (e.g., 'Strikeout', 'Single to left field').
result_rbiintegerThe number of runs batted in credited to the batter as a result of this play.
result_away_scoreintegerThe away team's cumulative run total at the conclusion of this play.
result_home_scoreintegerThe home team's cumulative run total at the conclusion of this play.
result_is_outlogicalBoolean flag indicating whether the play resulted in the batter being retired (i.e., an out was charged to the batter).
about_at_bat_indexintegerThe sequential index of the at-bat within the game to which this play or pitch event belongs.
about_half_inningcharacterIndicates whether the play occurred in the top or bottom half of the inning (e.g., 'top' or 'bottom').
about_is_top_inninglogicalBoolean flag indicating whether this play occurred in the top half of the inning (true) or bottom half (false).
about_inningintegerThe inning number in which this play or pitch event occurred.
about_start_timecharacterThe ISO 8601 timestamp marking the start of the play event, used for temporal sequencing within the game feed.
about_end_timecharacterThe ISO 8601 timestamp marking the end of the play event, used for temporal sequencing within the game feed.
about_is_completelogicalBoolean flag indicating whether the at-bat or play event has concluded (i.e., reached a terminal result).
about_is_scoring_playlogicalBoolean flag indicating whether this play resulted in one or more runs being scored.
about_has_reviewlogicalBoolean flag indicating whether this play was subject to a manager's challenge or umpire review.
about_has_outlogicalBoolean flag indicating whether this play resulted in at least one out being recorded.
about_captivating_indexintegerA numeric score assigned by the MLB Stats API reflecting how compelling or exciting a given play was, based on leverage and game context.
count_ballsintegerThe ball count in the current at-bat at the time of this pitch or play event.
count_strikesintegerThe strike count in the current at-bat at the time of this pitch or play event.
count_outsintegerThe number of outs recorded in the current half-inning at the time of this pitch or play event.
matchup_batter_idintegerThe MLB Stats API (MLBAM) numeric identifier for the batter in this play's matchup.
matchup_batter_full_namecharacterThe full name of the batter involved in this plate appearance.
matchup_batter_linkcharacterThe MLB Stats API relative URL linking to the batter's player resource for this matchup.
matchup_bat_side_codecharacterA single-character code indicating the batter's handedness for this matchup (e.g., 'L' for left, 'R' for right, 'S' for switch).
matchup_bat_side_descriptioncharacterThe human-readable description of the batter's hitting side for this matchup (e.g., 'Left', 'Right', 'Switch').
matchup_pitcher_idintegerThe MLB Stats API (MLBAM) numeric identifier for the pitcher in this play's matchup.
matchup_pitcher_full_namecharacterThe full name of the pitcher involved in this plate appearance.
matchup_pitcher_linkcharacterThe MLB Stats API relative URL linking to the pitcher's player resource for this matchup.
matchup_pitch_hand_codecharacterA single-character code indicating the pitcher's throwing hand for this matchup (e.g., 'L' for left, 'R' for right).
matchup_pitch_hand_descriptioncharacterThe human-readable description of the pitcher's throwing arm for this matchup (e.g., 'Left', 'Right').
matchup_post_on_first_iddoubleThe MLB Stats API (MLBAM) numeric identifier for the runner on first base after the play concluded.
matchup_post_on_first_full_namecharacterThe full name of the baserunner on first base after the play concluded, if applicable.
matchup_post_on_first_linkcharacterThe MLB Stats API relative URL linking to the player resource of the runner on first base after the play.
matchup_batter_hot_cold_zonescharacterA serialized representation of the batter's hot and cold zone effectiveness data for this matchup context.
matchup_pitcher_hot_cold_zonescharacterA serialized representation of the pitcher's hot and cold zone effectiveness data for this matchup context.
matchup_splits_battercharacterA string describing the batter's situational split relevant to this matchup (e.g., 'vs. Right' or 'vs. Left').
matchup_splits_pitchercharacterA string describing the pitcher's situational split relevant to this matchup (e.g., 'vs. Left' or 'vs. Right').
matchup_splits_men_on_basecharacterA string describing the baserunner configuration applicable to the batter's situational split for this plate appearance.
matchup_post_on_second_iddoubleThe MLB Stats API (MLBAM) numeric identifier for the runner on second base after the play concluded.
matchup_post_on_second_full_namecharacterThe full name of the baserunner on second base after the play concluded, if applicable.
matchup_post_on_second_linkcharacterThe MLB Stats API relative URL linking to the player resource of the runner on second base after the play.
matchup_post_on_third_iddoubleThe MLB Stats API (MLBAM) numeric identifier for the runner on third base after the play concluded.
matchup_post_on_third_full_namecharacterThe full name of the baserunner on third base after the play concluded, if applicable.
matchup_post_on_third_linkcharacterThe MLB Stats API relative URL linking to the player resource of the runner on third base after the play.
review_details_is_overturnedlogicalBoolean flag indicating whether the original on-field call was reversed as a result of the replay review.
review_details_in_progresslogicalBoolean flag indicating whether the umpire review of this play was still ongoing at the time of data capture.
review_details_review_typecharacterThe type of review mechanism applied to this play (e.g., 'managerChallenge', 'umpireReview').
review_details_challenge_team_iddoubleThe MLB Stats API numeric identifier for the team that initiated the manager's challenge review on this play.

Row type: MlbPlayByPlayRow (exported from the package root).

Returns — mlb_play_context_metrics_averages / mlbPlayContextMetricsAverages​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 401 'Please Login' through the residential proxy; the route needs an MLB login session the package does not hold

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_schedule_postseason / mlbSchedulePostseason​

col_nametypedescription
schedule_datecharacterThe calendar date grouping postseason games in this response row, as returned by the MLB Stats API schedule endpoint.
game_pkintegerUnique game identifier.
game_guidcharacterGlobally unique game identifier (GUID).
linkcharacterAPI link to the game feed.
game_typecharacterGame type code (R, P, etc.).
seasoncharacterSeason year.
game_datecharacterGame date (YYYY-MM-DD).
official_datecharacterOfficial game date (YYYY-MM-DD).
is_tielogicalWhether the game ended in a tie.
is_featured_gamelogicalWhether the game is a featured game.
game_numberintegerGame number within a doubleheader.
public_facinglogicalWhether the game is public-facing.
double_headercharacterDoubleheader indicator ('N', 'S', 'Y').
gameday_typecharacterGameday data feed type.
tiebreakercharacterWhether the game is a tiebreaker.
calendar_event_idcharacterCalendar event identifier.
season_displaycharacterDisplay string for the season.
day_nightcharacterDay or night game indicator.
descriptioncharacterLong-form description text.
scheduled_inningsintegerScheduled number of innings.
reverse_home_away_statuslogicalWhether home/away teams are reversed.
inning_break_lengthintegerLength of inning breaks in seconds.
games_in_seriesintegerNumber of games in the series.
series_game_numberintegerGame number within the series.
series_descriptioncharacterDescription of the series.
record_sourcecharacterSource of the schedule record.
if_necessarycharacterWhether the game is played only if necessary.
if_necessary_descriptioncharacterDescription of the if-necessary status.
status_abstract_game_statecharacterAbstract game state (e.g. 'Final').
status_coded_game_statecharacterCoded game state.
status_detailed_statecharacterDetailed game state.
status_status_codecharacterStatus code for the game.
status_start_time_tbdlogicalWhether the start time is TBD.
status_abstract_game_codecharacterAbstract game state code.
teams_away_team_idintegerAway team MLBAM ID.
teams_away_team_namecharacterAway team name.
teams_away_team_linkcharacterAPI link to the away team.
teams_away_league_record_winsintegerAway team league-record wins.
teams_away_league_record_lossesintegerAway team league-record losses.
teams_away_league_record_tiesintegerAway team league-record ties.
teams_away_league_record_pctcharacterAway team winning percentage.
teams_away_scoreintegerAway team score.
teams_away_is_winnerlogicalWhether the away team won.
teams_away_split_squadlogicalWhether the away team is a split squad.
teams_away_series_numberintegerAway team's series number.
teams_home_team_idintegerHome team MLBAM ID.
teams_home_team_namecharacterHome team name.
teams_home_team_linkcharacterAPI link to the home team.
teams_home_league_record_winsintegerHome team league-record wins.
teams_home_league_record_lossesintegerHome team league-record losses.
teams_home_league_record_tiesintegerHome team league-record ties.
teams_home_league_record_pctcharacterHome team winning percentage.
teams_home_scoreintegerHome team score.
teams_home_is_winnerlogicalWhether the home team won.
teams_home_split_squadlogicalWhether the home team is a split squad.
teams_home_series_numberintegerHome team's series number.
venue_idintegerMLBAM venue ID.
venue_namecharacterVenue name.
venue_linkcharacterAPI link to the venue.
content_linkcharacterAPI link to the game content.

Row type: MlbSchedulePostseasonRow (exported from the package root).

Returns — mlb_schedule_postseason_series / mlbSchedulePostseasonSeries​

col_nametypedescription
total_itemsintegerTotal schedule items on the date.
total_gamesintegerTotal games on the date.
total_games_in_progressintegerGames currently in progress on the date.
gamescharacter
sort_orderintegerDisplay sort order for the sport.
series_idcharacterSeries identifier (e.g. 'W_1').
series_sort_numberintegerSort number for the series.
series_is_defaultlogicalWhether the series is the default series.
series_game_typecharacterGame type code for the series.

Row type: MlbSchedulePostseasonSeriesRow (exported from the package root).

Returns — mlb_schedule_tied / mlbScheduleTied​

col_nametypedescription
schedule_datecharacterThe calendar date grouping tied (suspended and resumed) games in this response row, as returned by the MLB Stats API schedule endpoint.
game_pkintegerUnique game identifier.
game_guidcharacterGlobally unique game identifier (GUID).
linkcharacterAPI link to the game feed.
game_typecharacterGame type code (R, P, etc.).
seasoncharacterSeason year.
game_datecharacterGame date (YYYY-MM-DD).
official_datecharacterOfficial game date (YYYY-MM-DD).
is_tielogicalWhether the game ended in a tie.
game_numberintegerGame number within a doubleheader.
public_facinglogicalWhether the game is public-facing.
double_headercharacterDoubleheader indicator ('N', 'S', 'Y').
gameday_typecharacterGameday data feed type.
tiebreakercharacterWhether the game is a tiebreaker.
calendar_event_idcharacterCalendar event identifier.
season_displaycharacterDisplay string for the season.
day_nightcharacterDay or night game indicator.
scheduled_inningsintegerScheduled number of innings.
reverse_home_away_statuslogicalWhether home/away teams are reversed.
inning_break_lengthintegerLength of inning breaks in seconds.
games_in_seriesintegerNumber of games in the series.
series_game_numberintegerGame number within the series.
series_descriptioncharacterDescription of the series.
record_sourcecharacterSource of the schedule record.
if_necessarycharacterWhether the game is played only if necessary.
if_necessary_descriptioncharacterDescription of the if-necessary status.
status_abstract_game_statecharacterAbstract game state (e.g. 'Final').
status_coded_game_statecharacterCoded game state.
status_detailed_statecharacterDetailed game state.
status_status_codecharacterStatus code for the game.
status_start_time_tbdlogicalWhether the start time is TBD.
status_reasoncharacterReason for the game status (e.g. 'Rain').
status_abstract_game_codecharacterAbstract game state code.
teams_away_team_idintegerAway team MLBAM ID.
teams_away_team_namecharacterAway team name.
teams_away_team_linkcharacterAPI link to the away team.
teams_away_league_record_winsintegerAway team league-record wins.
teams_away_league_record_lossesintegerAway team league-record losses.
teams_away_league_record_tiesintegerAway team league-record ties.
teams_away_league_record_pctcharacterAway team winning percentage.
teams_away_scoreintegerAway team score.
teams_away_split_squadlogicalWhether the away team is a split squad.
teams_away_series_numberintegerAway team's series number.
teams_home_team_idintegerHome team MLBAM ID.
teams_home_team_namecharacterHome team name.
teams_home_team_linkcharacterAPI link to the home team.
teams_home_league_record_winsintegerHome team league-record wins.
teams_home_league_record_lossesintegerHome team league-record losses.
teams_home_league_record_tiesintegerHome team league-record ties.
teams_home_league_record_pctcharacterHome team winning percentage.
teams_home_scoreintegerHome team score.
teams_home_split_squadlogicalWhether the home team is a split squad.
teams_home_series_numberintegerHome team's series number.
venue_idintegerMLBAM venue ID.
venue_namecharacterVenue name.
venue_linkcharacterAPI link to the venue.
content_linkcharacterAPI link to the game content.

Row type: MlbScheduleTiedRow (exported from the package root).

Returns — mlb_season / mlbSeason​

col_nametypedescription
season_idcharacterstats.ncaa.org season identifier.
has_wildcardlogicalWhether the season has a wild card round.
pre_season_start_datecharacterPre-season start date.
pre_season_end_datecharacterPre-season end date.
season_start_datecharacterSeason start date.
spring_start_datecharacterSpring training start date.
spring_end_datecharacterSpring training end date.
regular_season_start_datecharacterRegular season start date.
last_date1st_halfcharacterLast date of the first half.
all_star_datecharacterAll-Star Game date.
first_date2nd_halfcharacterFirst date of the second half.
regular_season_end_datecharacterRegular season end date.
post_season_start_datecharacterPost-season start date.
post_season_end_datecharacterPost-season end date.
season_end_datecharacterSeason end date.
offseason_start_datecharacterOff-season start date.
off_season_end_datecharacterOff-season end date.
season_level_gameday_typecharacterSeason-level Gameday data feed type.
game_level_gameday_typecharacterGame-level Gameday data feed type.
qualifier_plate_appearancesdoublePlate appearances per team game to qualify.
qualifier_outs_pitcheddoubleOuts pitched per team game to qualify.

Row type: MlbSeasonRow (exported from the package root).

Returns — mlb_seasons_all / mlbSeasonsAll​

col_nametypedescription
season_idcharacterstats.ncaa.org season identifier.
has_wildcardlogicalWhether the season has a wild card round.
pre_season_start_datecharacterPre-season start date.
season_start_datecharacterSeason start date.
regular_season_start_datecharacterRegular season start date.
regular_season_end_datecharacterRegular season end date.
season_end_datecharacterSeason end date.
offseason_start_datecharacterOff-season start date.
off_season_end_datecharacterOff-season end date.
season_level_gameday_typecharacterSeason-level Gameday data feed type.
game_level_gameday_typecharacterGame-level Gameday data feed type.
qualifier_plate_appearancesdoublePlate appearances per team game to qualify.
qualifier_outs_pitcheddoubleOuts pitched per team game to qualify.
post_season_start_datecharacterPost-season start date.
post_season_end_datecharacterPost-season end date.
last_date1st_halfcharacterLast date of the first half.
all_star_datecharacterAll-Star Game date.
first_date2nd_halfcharacterFirst date of the second half.
pre_season_end_datecharacterPre-season end date.
spring_start_datecharacterSpring training start date.
spring_end_datecharacterSpring training end date.

Row type: MlbSeasonsAllRow (exported from the package root).

Returns — mlb_sport / mlbSport​

col_nametypedescription
idintegerId.
codecharacterFielder detail type code.
linkcharacterAPI link to the game feed.
namecharacterDisplay name.
abbreviationcharacterShort abbreviation.
sort_orderintegerDisplay sort order for the sport.
active_statuslogicalWhether the sport/level is active.

Row type: MlbSportRow (exported from the package root).

Returns — mlb_sport_players / mlbSportPlayers​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_state_provincecharacterState or province of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
middle_namecharacterPlayer middle name.
boxscore_namecharacterName as shown in box scores.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
draft_yeardoubleYear the player was drafted.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
current_team_idintegerCurrent team MLBAM ID.
current_team_namecharacterCurrent team name.
current_team_linkcharacterAPI link to the current team.
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
name_matrilinealcharacterMaternal family name.
nick_namecharacterPlayer nickname.
pronunciationcharacterPhonetic name pronunciation.
last_played_datecharacterDate of last MLB game played.
name_titlecharacterName title.
name_suffixcharacterName suffix (e.g. Jr., Sr., III).

Row type: MlbSportPlayersRow (exported from the package root).

Returns — mlb_sports / mlbSports​

col_nametypedescription
idintegerId.
codecharacterFielder detail type code.
linkcharacterAPI link to the game feed.
namecharacterDisplay name.
abbreviationcharacterShort abbreviation.
sort_orderintegerDisplay sort order for the sport.
active_statuslogicalWhether the sport/level is active.

Row type: MlbSportsRow (exported from the package root).

Returns — mlb_stats_metrics / mlbStatsMetrics​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 401 'Please Login' through the residential proxy; the route needs an MLB login session the package does not hold

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_team / mlbTeam​

col_nametypedescription
all_star_statuscharacterAll-star status flag.
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
seasonintegerSeason year.
team_codecharacterInternal team code.
file_codecharacterFile code abbreviation.
abbreviationcharacterShort abbreviation.
team_namecharacterTeam name.
location_namecharacterTeam location (city).
first_year_of_playcharacterFirst year the franchise played.
short_namecharacterShort display name.
franchise_namecharacterFranchise name.
club_namecharacterClub name.
activelogicalWhether the player is currently active.
spring_league_idintegerSpring league MLBAM ID.
spring_league_namecharacterSpring league name.
spring_league_linkcharacterAPI link to the spring league.
spring_league_abbreviationcharacterSpring league abbreviation.
venue_idintegerMLBAM venue ID.
venue_namecharacterVenue name.
venue_linkcharacterAPI link to the venue.
spring_venue_idintegerSpring training venue MLBAM ID.
spring_venue_linkcharacterAPI link to the spring venue.
league_idintegerLeague MLBAM ID.
league_namecharacterLeague name.
league_linkcharacterAPI link to the league.
division_idintegerDivision MLBAM ID.
division_namecharacterDivision name.
division_linkcharacterAPI link to the division.
sport_idintegerSport MLBAM ID.
sport_linkcharacterAPI link to the sport.
sport_namecharacterSport name (e.g., Major League Baseball).

Row type: MlbTeamRow (exported from the package root).

Returns — mlb_team_affiliates / mlbTeamAffiliates​

col_nametypedescription
all_star_statuscharacterAll-star status flag.
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
seasonintegerSeason year.
team_codecharacterInternal team code.
file_codecharacterFile code abbreviation.
abbreviationcharacterShort abbreviation.
team_namecharacterTeam name.
location_namecharacterTeam location (city).
first_year_of_playcharacterFirst year the franchise played.
short_namecharacterShort display name.
franchise_namecharacterFranchise name.
club_namecharacterClub name.
activelogicalWhether the player is currently active.
spring_league_iddoubleSpring league MLBAM ID.
spring_league_namecharacterSpring league name.
spring_league_linkcharacterAPI link to the spring league.
spring_league_abbreviationcharacterSpring league abbreviation.
venue_idintegerMLBAM venue ID.
venue_namecharacterVenue name.
venue_linkcharacterAPI link to the venue.
spring_venue_iddoubleSpring training venue MLBAM ID.
spring_venue_linkcharacterAPI link to the spring venue.
league_iddoubleLeague MLBAM ID.
league_namecharacterLeague name.
league_linkcharacterAPI link to the league.
division_iddoubleDivision MLBAM ID.
division_namecharacterDivision name.
division_linkcharacterAPI link to the division.
sport_idintegerSport MLBAM ID.
sport_linkcharacterAPI link to the sport.
sport_namecharacterSport name (e.g., Major League Baseball).
parent_org_namecharacterParent organization name.
parent_org_iddoubleParent organization MLBAM ID.

Row type: MlbTeamAffiliatesRow (exported from the package root).

Returns — mlb_team_alumni / mlbTeamAlumni​

col_nametypedescription
idintegerId.
full_namecharacterPlayer's full name.
linkcharacterAPI link to the game feed.
first_namecharacterPlayer first name.
last_namecharacterPlayer last name.
primary_numbercharacterPlayer uniform number.
birth_datecharacterDate of birth (YYYY-MM-DD).
current_ageintegerCurrent age in years.
birth_citycharacterCity of birth.
birth_countrycharacterCountry of birth.
heightcharacterHeight (feet and inches).
weightintegerWeight in pounds.
activelogicalWhether the player is currently active.
use_namecharacterPreferred first name.
use_last_namecharacterPreferred last name.
middle_namecharacterPlayer middle name.
boxscore_namecharacterName as shown in box scores.
nick_namecharacterPlayer nickname.
gendercharacterPlayer gender.
is_playerlogicalWhether the person is a player.
is_verifiedlogicalWhether the player profile is verified.
pronunciationcharacterPhonetic name pronunciation.
mlb_debut_datecharacterMLB debut date (YYYY-MM-DD).
name_first_lastcharacterName in first-last order.
name_slugcharacterURL-friendly name slug.
first_last_namecharacterFirst and last name.
last_first_namecharacterName in last, first order.
last_init_namecharacterLast name with first initial.
init_last_namecharacterFirst initial with last name.
full_fml_namecharacterFull name (first-middle-last).
full_lfm_namecharacterFull name (last-first-middle).
strike_zone_topdoubleTop of the player's strike zone (feet).
strike_zone_bottomdoubleBottom of the player's strike zone (feet).
alumni_last_seasoncharacterLast season the player was with the team.
primary_position_codecharacterPrimary position code.
primary_position_namecharacterPrimary fielding position name.
primary_position_typecharacterPrimary position type (e.g. Infielder).
primary_position_abbreviationcharacterPrimary position abbreviation.
bat_side_codecharacterBatting side code (L/R/S).
bat_side_descriptioncharacterBatting side description.
pitch_hand_codecharacterThrowing hand code (L/R).
pitch_hand_descriptioncharacterThrowing hand description.
birth_state_provincecharacterState or province of birth.
draft_yeardoubleYear the player was drafted.
last_played_datecharacterDate of last MLB game played.
name_matrilinealcharacterMaternal family name.

Row type: MlbTeamAlumniRow (exported from the package root).

Returns — mlb_team_coaches / mlbTeamCoaches​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
jobcharacterJob title (e.g. 'Umpire').
job_idcharacterJob code identifier.
titlecharacterSpecific role title for the assignment.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.

Row type: MlbTeamCoachesRow (exported from the package root).

Returns — mlb_team_personnel / mlbTeamPersonnel​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
jobcharacterJob title (e.g. 'Umpire').
job_idcharacterJob code identifier.
titlecharacterSpecific role title for the assignment.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.

Row type: MlbTeamPersonnelRow (exported from the package root).

Returns — mlb_team_roster / mlbTeamRoster​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.
position_codecharacterNumeric scorekeeping position code.
position_namecharacterFull position name (e.g. 'Point Guard', 'Goalkeeper').
position_typecharacterPosition category (e.g. 'Pitcher', 'Infielder').
position_abbreviationcharacterPosition abbreviation.
status_codecharacterStatus code identifier (e.g. 'S', 'P', 'I', 'F').
status_descriptioncharacterRoster status description (e.g. 'Active').

Row type: MlbTeamRosterRow (exported from the package root).

Returns — mlb_team_roster_type / mlbTeamRosterType​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.
position_codecharacterNumeric scorekeeping position code.
position_namecharacterPosition name.
position_typecharacterPosition category (e.g. 'Pitcher', 'Infielder').
position_abbreviationcharacterPosition abbreviation.
status_codecharacterStatus code identifier (e.g. 'S', 'P', 'I', 'F').
status_descriptioncharacterRoster status description (e.g. 'Active').

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_teams_history / mlbTeamsHistory​

col_nametypedescription
all_star_statuscharacterAll-star status flag.
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
seasonintegerSeason year.
team_codecharacterInternal team code.
file_codecharacterFile code abbreviation.
abbreviationcharacterShort abbreviation.
team_namecharacterTeam name.
location_namecharacterTeam location (city).
first_year_of_playcharacterFirst year the franchise played.
short_namecharacterShort display name.
franchise_namecharacterFranchise name.
club_namecharacterClub name.
activelogicalWhether the player is currently active.
venue_idintegerMLBAM venue ID.
venue_namecharacterVenue name.
venue_linkcharacterAPI link to the venue.
spring_venue_iddoubleSpring training venue MLBAM ID.
spring_venue_linkcharacterAPI link to the spring venue.
league_idintegerLeague MLBAM ID.
league_namecharacterLeague name.
league_linkcharacterAPI link to the league.
sport_idintegerSport MLBAM ID.
sport_linkcharacterAPI link to the sport.
sport_namecharacterSport name (e.g., Major League Baseball).

Row type: MlbTeamsHistoryRow (exported from the package root).

Returns — mlb_teams_stats / mlbTeamsStats​

col_nametypedescription
total_splitsintegerTotal number of splits in the leaderboard.
exemptionscharacterA serialized list of any statistical exemption notes or flags associated with the team's stat splits (e.g., players exempt from qualifying thresholds).
splitscharacterSplits.
splits_tied_with_offsetcharacterPlayers tied at the offset boundary.
splits_tied_with_limitcharacterPlayers tied at the limit boundary.
type_display_namecharacterStat type display name.
group_display_namecharacterStat group display name.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_teams_stats_leaders / mlbTeamsStatsLeaders​

col_nametypedescription
leader_categorycharacterTeam leader category (e.g., homeRuns).
seasoncharacterSeason year.
leaderscharacterSerialized representation of the statistical leaders entries for the team stat category returned by the MLB Stats API.
stat_groupcharacterStat group (e.g., hitting).
total_splitsintegerTotal number of splits in the leaderboard.
game_type_idcharacterGame type code (e.g., R for regular season).
game_type_descriptioncharacterGame type description.

Row type: MlbTeamsStatsLeadersRow (exported from the package root).

Returns — mlb_umpire_games / mlbUmpireGames​

No returns table is published for this endpoint: no capture: statsapi.mlb.com answers 406 to the datacenter IP and 401 'Please Login' through the residential proxy; the route needs an MLB login session the package does not hold

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_umpires / mlbUmpires​

col_nametypedescription
jersey_numbercharacterJersey number worn (often blank for non-uniformed roles).
jobcharacterJob title (e.g. 'Umpire').
job_idcharacterJob code identifier.
titlecharacterSpecific role title for the assignment.
person_idintegerMLB player ID.
person_full_namecharacterPlayer full name.
person_linkcharacterAPI relative link to the person.

Row type: MlbUmpiresRow (exported from the package root).

Returns — mlb_venue / mlbVenue​

col_nametypedescription
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
activelogicalWhether the player is currently active.
seasoncharacterSeason year.

Row type: MlbVenueRow (exported from the package root).

Returns — mlb_venues / mlbVenues​

col_nametypedescription
idintegerId.
namecharacterDisplay name.
linkcharacterAPI link to the game feed.
activelogicalWhether the player is currently active.
seasoncharacterSeason year.

Row type: MlbVenuesRow (exported from the package root).

Returns — mlb_win_probability / mlbWinProbability​

col_nametypedescription
pitch_indexcharacterA serialized list of indices identifying individual pitch events within the at-bat for this win-probability row.
action_indexcharacterA serialized list of indices identifying action-type events (stolen bases, pickoffs, etc.) within the at-bat for this win-probability row.
runner_indexcharacterA serialized list of indices identifying baserunner movement events during the play in this win-probability row.
runnerscharacterA serialized representation of baserunner movement records for this play in the win-probability feed, capturing start/end base positions and event types.
play_eventscharacterA serialized representation of the sequence of pitch and action events comprising the at-bat for this win-probability row.
creditscharacterA serialized list of player credit records for this play, linking fielding, pitching, or batting achievements to specific player identifiers.
flagscharacterA serialized representation of situational boolean flags associated with this play (e.g., whether it was a big lead situation or a save opportunity).
home_team_win_probabilitydoubleHome team win probability (percent) entering the at-bat.
away_team_win_probabilitydoubleAway team win probability (percent) entering the at-bat.
home_team_win_probability_addeddoubleChange in home team win probability attributed to the at-bat.
play_end_timecharacterThe ISO 8601 timestamp marking the conclusion of the play associated with this win-probability snapshot.
at_bat_indexintegerZero-based index of the at-bat within the game.
result_typecharacterThe high-level category of the play result in the win-probability feed (e.g., 'atBat', 'action').
result_eventcharacterThe short categorical label for the play outcome in the win-probability feed (e.g., 'Single', 'Home Run', 'Strikeout').
result_event_typecharacterThe snake-cased type identifier for the play outcome in the win-probability feed (e.g., 'single', 'home_run').
result_descriptioncharacterA human-readable text description of the play result as reported in the win-probability game feed.
result_rbiintegerThe number of runs batted in credited to the batter for the play in this win-probability row.
result_away_scoreintegerThe away team's cumulative run total at the conclusion of the play in this win-probability row.
result_home_scoreintegerThe home team's cumulative run total at the conclusion of the play in this win-probability row.
result_is_outlogicalBoolean flag indicating whether the batter was retired on the play recorded in this win-probability row.
about_at_bat_indexintegerThe sequential index of the at-bat within the game to which this win-probability observation belongs.
about_half_inningcharacterIndicates whether the win-probability observation occurred in the top or bottom half of the inning.
about_is_top_inninglogicalBoolean flag indicating whether this win-probability observation occurred in the top half of the inning.
about_inningintegerThe inning number in which this win-probability observation was recorded.
about_start_timecharacterThe ISO 8601 timestamp marking the start of the play event within the win-probability game feed.
about_end_timecharacterThe ISO 8601 timestamp marking the end of the play event within the win-probability game feed.
about_is_completelogicalBoolean flag indicating whether the at-bat associated with this win-probability row has concluded.
about_is_scoring_playlogicalBoolean flag indicating whether this play resulted in one or more runs being scored.
about_has_reviewlogicalBoolean flag indicating whether this play was subject to a manager's challenge or umpire review.
about_has_outlogicalBoolean flag indicating whether this play resulted in at least one out being recorded.
about_captivating_indexintegerA numeric score reflecting how compelling or exciting this plate appearance was, based on leverage and game-state context.
count_ballsintegerThe ball count in the current at-bat at the time this win-probability snapshot was recorded.
count_strikesintegerThe strike count in the current at-bat at the time this win-probability snapshot was recorded.
count_outsintegerThe number of outs in the current half-inning at the time this win-probability snapshot was recorded.
matchup_batter_idintegerThe MLB Stats API (MLBAM) numeric identifier for the batter in this win-probability matchup row.
matchup_batter_full_namecharacterThe full name of the batter whose plate appearance generated this win-probability observation.
matchup_batter_linkcharacterThe MLB Stats API relative URL linking to the batter's player resource for this win-probability row.
matchup_bat_side_codecharacterA single-character code indicating the batter's handedness for this matchup in the win-probability feed (e.g., 'L', 'R', 'S').
matchup_bat_side_descriptioncharacterThe human-readable description of the batter's hitting side for this win-probability matchup row.
matchup_pitcher_idintegerThe MLB Stats API (MLBAM) numeric identifier for the pitcher in this win-probability matchup row.
matchup_pitcher_full_namecharacterThe full name of the pitcher who delivered pitches for this win-probability observation.
matchup_pitcher_linkcharacterThe MLB Stats API relative URL linking to the pitcher's player resource for this win-probability row.
matchup_pitch_hand_codecharacterA single-character code indicating the pitcher's throwing hand for this win-probability matchup (e.g., 'L' or 'R').
matchup_pitch_hand_descriptioncharacterThe human-readable description of the pitcher's throwing arm for this win-probability matchup row.
matchup_post_on_first_iddoubleThe MLB Stats API (MLBAM) numeric identifier for the runner on first base after the play in this win-probability row.
matchup_post_on_first_full_namecharacterThe full name of the runner occupying first base at the conclusion of the play in this win-probability row.
matchup_post_on_first_linkcharacterThe MLB Stats API relative URL linking to the player resource of the runner on first base after the play.
matchup_batter_hot_cold_zonescharacterA serialized representation of the batter's hot and cold zone data applicable to this win-probability matchup.
matchup_pitcher_hot_cold_zonescharacterA serialized representation of the pitcher's hot and cold zone data applicable to this win-probability matchup.
matchup_splits_battercharacterA string describing the batter's situational split for this win-probability matchup (e.g., 'vs. Right').
matchup_splits_pitchercharacterA string describing the pitcher's situational split for this win-probability matchup (e.g., 'vs. Left').
matchup_splits_men_on_basecharacterA string describing the baserunner configuration applicable to the batter's situational split in this win-probability row.
leverage_indexdoubleLeverage index quantifying the importance of the at-bat situation.
drama_indexdoubleA numeric score quantifying the dramatic significance of this play within the game, based on win-probability swing and game leverage.
matchup_post_on_second_iddoubleThe MLB Stats API (MLBAM) numeric identifier for the runner on second base after the play in this win-probability row.
matchup_post_on_second_full_namecharacterThe full name of the runner occupying second base at the conclusion of the play in this win-probability row.
matchup_post_on_second_linkcharacterThe MLB Stats API relative URL linking to the player resource of the runner on second base after the play.
matchup_post_on_third_iddoubleThe MLB Stats API (MLBAM) numeric identifier for the runner on third base after the play in this win-probability row.
matchup_post_on_third_full_namecharacterThe full name of the runner occupying third base at the conclusion of the play in this win-probability row.
matchup_post_on_third_linkcharacterThe MLB Stats API relative URL linking to the player resource of the runner on third base after the play.
review_details_is_overturnedlogicalBoolean flag indicating whether the original on-field ruling was reversed following the replay review for this play.
review_details_in_progresslogicalBoolean flag indicating whether a replay review of this play was still underway at the time of data capture.
review_details_review_typecharacterThe type of review mechanism applied to this play in the win-probability feed (e.g., 'managerChallenge', 'umpireReview').
review_details_challenge_team_iddoubleThe MLB Stats API numeric identifier for the team that initiated a replay challenge on this win-probability play.

Row type: MlbWinProbabilityRow (exported from the package root).

Native API — Baseball Savant / Statcast​

Flat (non-ESPN) wrappers for Baseball Savant (Statcast). Host: https://baseballsavant.mlb.com. Each method is exposed under BOTH its snake_case name mlb_statcast_<endpoint> (sdv-py's name, py/R parity) and its camelCase form (canonical) on sdv.mlb. Pass { parsed: true } to run the payload through its tidy.js parser; omit it for the raw response.

MethodHTTPPath paramsQuery paramsParserAuth
mlb_statcast_gamefeed / mlbStatcastGamefeedhttps://baseballsavant.mlb.com/gf—game_pk, at_bat_numberparse_mlb_statcast_gamefeed—
mlb_statcast_leaderboard_active_spin / mlbStatcastLeaderboardActiveSpinhttps://baseballsavant.mlb.com/leaderboard/active-spin—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_arm_angles / mlbStatcastLeaderboardArmAngleshttps://baseballsavant.mlb.com/leaderboard/pitcher-arm-angles—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_arm_strength / mlbStatcastLeaderboardArmStrengthhttps://baseballsavant.mlb.com/leaderboard/arm-strength—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_baserunning / mlbStatcastLeaderboardBaserunninghttps://baseballsavant.mlb.com/leaderboard/baserunning—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_baserunning_run_value / mlbStatcastLeaderboardBaserunningRunValuehttps://baseballsavant.mlb.com/leaderboard/baserunning-run-value—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_basestealing_run_value / mlbStatcastLeaderboardBasestealingRunValuehttps://baseballsavant.mlb.com/leaderboard/basestealing-run-value—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_bat_tracking / mlbStatcastLeaderboardBatTrackinghttps://baseballsavant.mlb.com/leaderboard/bat-tracking—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_batted_ball / mlbStatcastLeaderboardBattedBallhttps://baseballsavant.mlb.com/leaderboard/batted-ball—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_catch_probability / mlbStatcastLeaderboardCatchProbabilityhttps://baseballsavant.mlb.com/leaderboard/catch_probability—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_catcher_blocking / mlbStatcastLeaderboardCatcherBlockinghttps://baseballsavant.mlb.com/leaderboard/catcher-blocking—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_catcher_framing / mlbStatcastLeaderboardCatcherFraminghttps://baseballsavant.mlb.com/leaderboard/catcher-framing—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_catcher_stance / mlbStatcastLeaderboardCatcherStancehttps://baseballsavant.mlb.com/leaderboard/catcher-stance—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_catcher_throwing / mlbStatcastLeaderboardCatcherThrowinghttps://baseballsavant.mlb.com/leaderboard/catcher-throwing—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_custom / mlbStatcastLeaderboardCustomhttps://baseballsavant.mlb.com/leaderboard/custom—type, year, selections, filter, min, sort, sort_dir → sortDir, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_exit_velocity_barrels / mlbStatcastLeaderboardExitVelocityBarrelshttps://baseballsavant.mlb.com/leaderboard/statcast—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_expected_stats / mlbStatcastLeaderboardExpectedStatshttps://baseballsavant.mlb.com/leaderboard/expected_statistics—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_fielding_run_value / mlbStatcastLeaderboardFieldingRunValuehttps://baseballsavant.mlb.com/leaderboard/fielding-run-value—type, year, teamparse_mlb_statcast_html_leaderboard—
mlb_statcast_leaderboard_home_runs / mlbStatcastLeaderboardHomeRunshttps://baseballsavant.mlb.com/leaderboard/home-runs—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_outfield_directional_oaa / mlbStatcastLeaderboardOutfieldDirectionalOaahttps://baseballsavant.mlb.com/leaderboard/outfield_directional_outs_above_average—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_outfield_jump / mlbStatcastLeaderboardOutfieldJumphttps://baseballsavant.mlb.com/leaderboard/outfield_jump—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_outs_above_average / mlbStatcastLeaderboardOutsAboveAveragehttps://baseballsavant.mlb.com/leaderboard/outs_above_average—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_park_factors / mlbStatcastLeaderboardParkFactorshttps://baseballsavant.mlb.com/leaderboard/statcast-park-factors—type, year, teamparse_mlb_statcast_html_leaderboard—
mlb_statcast_leaderboard_percentile_rankings / mlbStatcastLeaderboardPercentileRankingshttps://baseballsavant.mlb.com/leaderboard/percentile-rankings—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_pitch_arsenal_stats / mlbStatcastLeaderboardPitchArsenalStatshttps://baseballsavant.mlb.com/leaderboard/pitch-arsenal-stats—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_pitch_arsenals / mlbStatcastLeaderboardPitchArsenalshttps://baseballsavant.mlb.com/leaderboard/pitch-arsenals—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_pitch_movement / mlbStatcastLeaderboardPitchMovementhttps://baseballsavant.mlb.com/leaderboard/pitch-movement—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_pitch_tempo / mlbStatcastLeaderboardPitchTempohttps://baseballsavant.mlb.com/leaderboard/pitch-tempo—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_pitcher_running_game / mlbStatcastLeaderboardPitcherRunningGamehttps://baseballsavant.mlb.com/leaderboard/pitcher-running-game—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_poptime / mlbStatcastLeaderboardPoptimehttps://baseballsavant.mlb.com/leaderboard/poptime—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_running_splits / mlbStatcastLeaderboardRunningSplitshttps://baseballsavant.mlb.com/leaderboard/running_splits—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_spin_direction / mlbStatcastLeaderboardSpinDirectionhttps://baseballsavant.mlb.com/leaderboard/spin-direction-pitches—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_sprint_speed / mlbStatcastLeaderboardSprintSpeedhttps://baseballsavant.mlb.com/leaderboard/sprint_speed—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_swing_path / mlbStatcastLeaderboardSwingPathhttps://baseballsavant.mlb.com/leaderboard/bat-tracking/swing-path-attack-angle—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_swing_take / mlbStatcastLeaderboardSwingTakehttps://baseballsavant.mlb.com/leaderboard/swing-take—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_swing_timing / mlbStatcastLeaderboardSwingTiminghttps://baseballsavant.mlb.com/leaderboard/bat-tracking/swing-timing-miss-distance—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_timer_infractions / mlbStatcastLeaderboardTimerInfractionshttps://baseballsavant.mlb.com/leaderboard/pitch-timer-infractions—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_leaderboard_year_to_year / mlbStatcastLeaderboardYearToYearhttps://baseballsavant.mlb.com/leaderboard/statcast-year-to-year—type, year, team, csvparse_mlb_statcast_leaderboard—
mlb_statcast_schedule / mlbStatcastSchedulehttps://baseballsavant.mlb.com/schedule—dateparse_mlb_statcast_schedule—

Returns — mlb_statcast_leaderboard_active_spin / mlbStatcastLeaderboardActiveSpin​

col_nametypedescription
entity_namecharacterPlayer (or team) entity name.
entity_idintegerMLBAM id of the player/team entity.
pitch_handcharacterPitcher handedness (R/L).
active_spin_fourseamcharacterActive spin fourseam.
active_spin_sinkernumericActive spin sinker.
active_spin_cutternumericActive spin cutter.
active_spin_changeupnumericActive spin changeup.
active_spin_splittercharacterActive spin splitter.
active_spin_curvecharacterActive spin curve.
active_spin_slidernumericActive spin slider.
active_spin_sweepernumericActive spin sweeper.
active_spin_slurvecharacterActive spin slurve.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_arm_angles / mlbStatcastLeaderboardArmAngles​

col_nametypedescription
pitcherintegerMLBAM id of the pitcher.
pitcher_namecharacterPitcher name.
pitch_handcharacterPitcher handedness (R/L).
n_pitchesintegerNumber of pitches.
team_idintegerMLBAM team id.
ball_anglenumericArm slot angle (deg).
relative_release_ball_xnumericRelative release ball x.
release_ball_znumericRelease ball z.
relative_shoulder_xnumericRelative shoulder x.
shoulder_znumericShoulder z.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_arm_strength / mlbStatcastLeaderboardArmStrength​

col_nametypedescription
fielder_namecharacterFielder name.
player_idintegerMLBAM player id.
team_namecharacterTeam name.
primary_positionintegerPrimary fielding position.
primary_position_namecharacterPrimary position name.
total_throwsintegerTotal throws.
total_throws_1bintegerTotal throws 1b.
total_throws_2bintegerTotal throws 2b.
total_throws_3bintegerTotal throws 3b.
total_throws_ssintegerTotal throws ss.
total_throws_lfintegerTotal throws lf.
total_throws_cfintegerTotal throws cf.
total_throws_rfintegerTotal throws rf.
total_throws_infintegerTotal throws inf.
total_throws_ofintegerTotal throws of.
max_arm_strengthnumericMax arm strength (mph).
arm_1bnumericArm 1b.
arm_2bcharacterArm 2b.
arm_3bcharacterArm 3b.
arm_sscharacterArm ss.
arm_lfcharacterArm lf.
arm_cfcharacterArm cf.
arm_rfcharacterArm rf.
arm_infcharacterArm inf.
arm_ofcharacterArm of.
arm_overallnumericArm overall.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_baserunning / mlbStatcastLeaderboardBaserunning​

col_nametypedescription
entity_namecharacterPlayer (or team) entity name.
entity_idintegerMLBAM id of the player/team entity.
team_namecharacterTeam name.
yearintegerSeason year.
runner_runsnumericBaserunning run value as a runner.
fielder_runsnumericRun value from the defense's perspective.
runner_runs_advancesnumericRunner runs advances.
runner_runs_thrown_outintegerRunner runs thrown out.
runner_runs_holdnumericRunner runs hold.
fielder_runs_advancesnumericFielder runs advances.
fielder_runs_thrown_outintegerFielder runs thrown out.
fielder_runs_holdnumericFielder runs hold.
n_opp_xbintegerNumber of opp xb.
n_att_xbintegerNumber of att xb.
rate_att_xbnumericRate att xb.
est_rate_att_generic_runnernumericExpected rate att generic runner.
est_rate_att_generic_fieldernumericExpected rate att generic fielder.
n_outintegerNumber of out.
n_safeintegerNumber of safe.
rate_safenumericRate safe.
rate_safe_per_attemptintegerRate safe per attempt.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_baserunning_run_value / mlbStatcastLeaderboardBaserunningRunValue​

col_nametypedescription
player_idintegerMLBAM player id.
entity_namecharacterPlayer (or team) entity name.
team_namecharacterTeam name.
start_yearintegerFirst season in the range.
end_yearintegerLast season in the range.
runner_runs_totnumericRunner runs tot.
runner_runs_xbnumericRunner runs xb.
runner_runs_sbxnumericRunner runs sbx.
n_runner_movedintegerNumber of runner moved.
runner_runs_xb_swipenumericRunner runs xb swipe.
runner_runs_xb_snipeintegerRunner runs xb snipe.
runner_runs_xb_freezenumericRunner runs xb freeze.
n_runner_moved_xbintegerNumber of runner moved xb.
runner_runs_sb2numericRunner runs sb2.
runner_runs_sb3numericRunner runs sb3.
simple_stolen_on_running_act_sb2numericSimple stolen on running act sb2.
simple_stolen_on_running_act_sb3numericSimple stolen on running act sb3.
n_runner_moved_sbxintegerNumber of runner moved sbx.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_basestealing_run_value / mlbStatcastLeaderboardBasestealingRunValue​

col_nametypedescription
player_idintegerMLBAM player id.
player_namecharacterPlayer name.
team_namecharacterTeam name.
start_yearintegerFirst season in the range.
end_yearintegerLast season in the range.
key_target_basecharacterKey target base.
runs_stolen_on_running_actnumericRuns stolen on running act.
n_initintegerNumber of init.
rate_sbxintegerRate sbx.
n_sbintegerStolen bases allowed (count).
n_csintegerCaught stealing (count).
n_pkintegerNumber of pk.
n_bkintegerNumber of bk.
n_fbintegerNumber of fb.
n_plusintegerNumber of plus.
n_minusintegerNumber of minus.
net_act_plusnumericNet act plus.
net_act_minusnumericNet act minus.
r_primary_leadnumericAverage primary lead distance (ft).
r_secondary_leadnumericAverage secondary lead (ft).
r_sec_minus_prim_leadnumericR sec minus prim lead.
r_primary_lead_sbxcharacterR primary lead sbx.
r_secondary_lead_sbxcharacterR secondary lead sbx.
r_sec_minus_prim_lead_sbxcharacterR sec minus prim lead sbx.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_bat_tracking / mlbStatcastLeaderboardBatTracking​

col_nametypedescription
idintegerMLBAM player id.
namecharacterPlayer (or entity) name.
swings_competitiveintegerCompetitive swings.
percent_swings_competitivenumericShare of swings that are competitive.
contactintegerContact.
avg_bat_speednumericAverage bat speed (mph).
hard_swing_ratenumericHard swing rate.
squared_up_per_bat_contactnumericSquared up per bat contact.
squared_up_per_swingnumericSquared-up rate per swing.
blast_per_bat_contactnumericBlast per bat contact.
blast_per_swingnumericBlasts per swing.
swing_lengthnumericSwing length (ft, head travel).
swordsintegerSwords.
batter_run_valuenumericBatter run value.
whiffscharacterWhiffs.
whiff_per_swingcharacterWhiff per swing.
batted_ball_eventsintegerBatted ball events.
batted_ball_event_per_swingnumericBatted ball event per swing.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_batted_ball / mlbStatcastLeaderboardBattedBall​

col_nametypedescription
idintegerMLBAM player id.
namecharacterPlayer (or entity) name.
yearintegerSeason year.
bbeintegerBatted-ball events.
gb_ratenumericGb rate.
air_ratenumericAir rate.
fb_ratenumericFb rate.
ld_ratenumericLd rate.
pu_ratenumericPu rate.
pull_ratenumericPull rate.
straight_ratenumericStraight rate.
oppo_ratenumericOppo rate.
pull_gb_ratenumericPull gb rate.
straight_gb_ratenumericStraight gb rate.
oppo_gb_ratenumericOppo gb rate.
pull_air_ratenumericPull air rate.
straight_air_ratenumericStraight air rate.
oppo_air_ratenumericOppo air rate.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_catch_probability / mlbStatcastLeaderboardCatchProbability​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idcharacterMLBAM player id.
oaacharacterOuts Above Average.
n_fieldout_5starscharacter5-star (hardest) plays made.
n_opp_5starscharacter5-star play opportunities.
n_5star_percentcharacterNumber of 5star rate.
n_fieldout_4starscharacterNumber of fieldout 4stars.
n_opp_4starscharacterNumber of opp 4stars.
n_4star_percentcharacterNumber of 4star rate.
n_fieldout_3starscharacterNumber of fieldout 3stars.
n_opp_3starscharacterNumber of opp 3stars.
n_3star_percentcharacterNumber of 3star rate.
n_fieldout_2starscharacterNumber of fieldout 2stars.
n_opp_2starscharacterNumber of opp 2stars.
n_2star_percentcharacterNumber of 2star rate.
n_fieldout_1starscharacterNumber of fieldout 1stars.
n_opp_1starscharacterNumber of opp 1stars.
n_1star_percentcharacterNumber of 1star rate.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_catcher_blocking / mlbStatcastLeaderboardCatcherBlocking​

col_nametypedescription
player_idintegerMLBAM player id.
player_namecharacterPlayer name.
team_namecharacterTeam name.
start_yearintegerFirst season in the range.
end_yearcharacterLast season in the range.
pitchesintegerPitches.
catcher_blocking_runsintegerCatcher blocking runs.
blocks_above_averageintegerBlocks above average.
n_pbwpintegerNumber of pbwp.
x_pbwpnumericX pbwp.
blocks_above_average_per_gamenumericBlocks above average per game.
freq_pbwp_easynumericFreq pbwp easy.
freq_pbwp_mediumnumericFreq pbwp medium.
freq_pbwp_toughnumericFreq pbwp tough.
diff_pbwp_easynumericDiff pbwp easy.
diff_pbwp_mediumnumericDiff pbwp medium.
diff_pbwp_toughnumericDiff pbwp tough.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_catcher_framing / mlbStatcastLeaderboardCatcherFraming​

col_nametypedescription
idintegerMLBAM player id.
namecharacterPlayer (or entity) name.
pitchesintegerPitches.
rv_totnumericTotal framing run value.
pct_totnumericTotal called-strike rate.
rv_11integerRv 11.
pct_11numericPct 11.
rv_12integerRv 12.
pct_12numericPct 12.
rv_13integerRv 13.
pct_13integerPct 13.
rv_14integerRv 14.
pct_14numericPct 14.
rv_16integerRv 16.
pct_16numericPct 16.
rv_17integerRv 17.
pct_17numericPct 17.
rv_18integerRv 18.
pct_18numericPct 18.
rv_19integerRv 19.
pct_19numericPct 19.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_catcher_throwing / mlbStatcastLeaderboardCatcherThrowing​

col_nametypedescription
player_idintegerMLBAM player id.
player_namecharacterPlayer name.
team_namecharacterTeam name.
start_yearintegerFirst season in the range.
end_yearintegerLast season in the range.
sb_attemptsintegerSb attempts.
catcher_stealing_runsnumericCatcher stealing runs.
caught_stealing_above_averagenumericCaught-stealing above average.
n_csintegerCaught stealing (count).
rate_csnumericRate cs.
est_cs_pctnumericExpected caught stealing rate.
cs_aa_per_thrownumericCs aa per throw.
seasonal_runner_speednumericSeasonal runner speed.
runner_distance_from_secondnumericRunner distance from second.
pop_timenumericPop time.
exchange_timenumericExchange time.
arm_strengthnumericArm strength (mph, top throws).
n_xcs_with_flight_over_xcsnumericNumber of xcs with flight over xcs.
n_xcs_with_exchange_over_xcsnumericNumber of xcs with exchange over xcs.
n_xcs_with_accuracy_over_xcsnumericNumber of xcs with accuracy over xcs.
n_xcs_with_ground_other_over_xcsnumericNumber of xcs with ground other over xcs.
n_xcs_with_onfly_other_over_xcsnumericNumber of xcs with onfly other over xcs.
n_xcs_with_untracked_other_over_xcsintegerNumber of xcs with untracked other over xcs.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_custom / mlbStatcastLeaderboardCustom​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
yearintegerSeason year.
xbanumericExpected batting average.
xslgnumericExpected slugging.
xwobanumericExpected wOBA.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_exit_velocity_barrels / mlbStatcastLeaderboardExitVelocityBarrels​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
attemptsintegerOpportunities/attempts.
avg_hit_anglenumericAverage launch angle (deg).
anglesweetspotpercentnumericAnglesweetspotpercent.
max_hit_speednumericMax exit velocity (mph).
avg_hit_speednumericAverage exit velocity (mph).
ev50numericEv50.
fbldnumericFbld.
gbnumericGb.
max_distanceintegerMax distance.
avg_distanceintegerAvg distance.
avg_hr_distanceintegerAvg hr distance.
ev95plusintegerEv95plus.
ev95percentnumericEv95percent.
barrelsintegerBarrels.
brl_percentnumericBarrel rate (% of batted balls).
brl_panumericBarrels per plate appearance.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_expected_stats / mlbStatcastLeaderboardExpectedStats​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
yearintegerSeason year.
paintegerPlate appearances.
bipintegerBalls in play.
banumericBatting average.
est_banumericExpected batting average (xBA).
est_ba_minus_ba_diffnumericxBA minus actual BA (over/under-performance).
slgnumericSlugging percentage.
est_slgnumericExpected slugging (xSLG).
est_slg_minus_slg_diffnumericxSLG minus actual SLG.
wobanumericWeighted on-base average.
est_wobanumericExpected wOBA (xwOBA).
est_woba_minus_woba_diffnumericxwOBA minus actual wOBA.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_fielding_run_value / mlbStatcastLeaderboardFieldingRunValue​

col_nametypedescription
total_runsnumericTotal runs.
inf_of_runscharacterInf of runs.
range_runscharacterRange runs.
arm_runscharacterArm runs.
dp_runscharacterDp runs.
catching_runsnumericCatching runs.
framing_runsnumericFraming runs.
throwing_runsnumericThrowing runs.
blocking_runsnumericBlocking runs.
outs_totalintegerOuts total.
tot_paintegerTot pa.
outs_2integerOuts 2.
outs_3integerOuts 3.
outs_4integerOuts 4.
outs_5integerOuts 5.
outs_6integerOuts 6.
outs_7integerOuts 7.
outs_8integerOuts 8.
outs_9integerOuts 9.
idintegerMLBAM player id.
namecharacterPlayer (or entity) name.
team_idintegerMLBAM team id.
n_teamsintegerNumber of teams.
team_namecharacterTeam name.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_home_runs / mlbStatcastLeaderboardHomeRuns​

col_nametypedescription
playercharacterPlayer.
player_idintegerMLBAM player id.
team_abbrevcharacterTeam abbreviation.
yearintegerSeason year.
typecharacterRecord/pitch type.
avg_hr_trotnumericAvg hr trot.
doubtersintegerDoubters.
mostly_goneintegerMostly gone.
no_doubtersintegerNo doubters.
no_doubter_pernumericNo doubter per.
hr_totalintegerHr total.
xhrnumericXhr.
xhr_diffnumericXhr diff.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_outfield_directional_oaa / mlbStatcastLeaderboardOutfieldDirectionalOaa​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
attemptsintegerOpportunities/attempts.
n_outs_above_averageintegerOuts Above Average (count).
n_oaa_slice_back_leftintegerNumber of oaa slice back left.
n_oaa_slice_backintegerNumber of oaa slice back.
n_oaa_slice_back_rightintegerNumber of oaa slice back right.
n_oaa_slice_back_allintegerNumber of oaa slice back all.
n_oaa_slice_in_leftintegerNumber of oaa slice in left.
n_oaa_slice_inintegerNumber of oaa slice in.
n_oaa_slice_in_rightintegerNumber of oaa slice in right.
n_oaa_slice_in_allintegerNumber of oaa slice in all.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_outfield_jump / mlbStatcastLeaderboardOutfieldJump​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
resp_fielder_idintegerMLBAM id of the responsible fielder.
yearintegerSeason year.
outs_above_averageintegerOuts Above Average.
outs_per_playnumericOuts per play.
rel_league_burst_distanceintegerRel league burst distance.
rel_league_reaction_distancenumericRel league reaction distance.
rel_league_routing_distancenumericRel league routing distance.
rel_league_bootup_distancenumericRel league bootup distance.
f_bootup_distancenumericF bootup distance.
nintegerSample count (pitches/events).
n_outsintegerNumber of outs.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_outs_above_average / mlbStatcastLeaderboardOutsAboveAverage​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idcharacterMLBAM player id.
display_team_namecharacterTeam display name.
yearcharacterSeason year.
primary_pos_formattedcharacterPrimary position (formatted).
fielding_runs_preventedcharacterFielding Run Value (runs).
outs_above_averagecharacterOuts Above Average.
outs_above_average_infrontcharacterOuts above average infront.
outs_above_average_lateral_toward3blinecharacterOuts above average lateral toward3bline.
outs_above_average_lateral_toward1blinecharacterOuts above average lateral toward1bline.
outs_above_average_behindcharacterOuts above average behind.
outs_above_average_rhhcharacterOuts above average rhh.
outs_above_average_lhhcharacterOuts above average lhh.
actual_success_rate_formattedcharacterActual success rate formatted.
adj_estimated_success_rate_formattedcharacterAdj estimated success rate formatted.
diff_success_rate_formattedcharacterDiff success rate formatted.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_park_factors / mlbStatcastLeaderboardParkFactors​

col_nametypedescription
grouping_venue_conditionscharacterGrouping venue conditions.
key_is_year_rollingintegerKey is year rolling.
key_num_years_rollingintegerKey num years rolling.
key_yearintegerKey year.
key_bat_sidecharacterKey bat side.
venue_idintegerVenue id.
venue_namecharacterBallpark name.
main_team_idintegerMain team id.
name_display_clubcharacterClub name.
n_paintegerNumber of plate appearances.
index_runsintegerIndex runs.
index_hardhitintegerIndex hardhit.
index_wobaintegerPark factor index for wOBA (100 = neutral).
index_wobattointegerIndex wobatto.
index_wobaconintegerIndex wobacon.
index_xwobaconintegerIndex xwobacon.
index_xbaconintegerIndex xbacon.
index_obpintegerIndex obp.
index_sointegerIndex so.
index_bbintegerIndex bb.
index_baconintegerIndex bacon.
index_hitsintegerIndex hits.
index_1bintegerIndex 1b.
index_2bintegerIndex 2b.
index_3bintegerIndex 3b.
index_hrintegerIndex hr.
year_rangecharacterYear range.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_percentile_rankings / mlbStatcastLeaderboardPercentileRankings​

col_nametypedescription
player_namecharacterPlayer name.
player_idintegerMLBAM player id.
yearintegerSeason year.
xwobacharacterExpected wOBA.
xbacharacterExpected batting average.
xslgcharacterExpected slugging.
xisocharacterExpected isolated power.
xobpcharacterExpected on-base percentage.
brlcharacterBarrels.
brl_percentcharacterBarrel rate (% of batted balls).
exit_velocitycharacterExit velocity (mph).
max_evintegerMax ev.
hard_hit_percentcharacterHard-hit rate (95+ mph EV).
k_percentcharacterStrikeout rate.
bb_percentcharacterWalk rate.
whiff_percentcharacterWhiff rate (swings and misses / swings).
chase_percentcharacterChase rate.
arm_strengthintegerArm strength (mph, top throws).
sprint_speedintegerSprint speed (ft/sec, top 50% of competitive runs).
oaaintegerOuts Above Average.
bat_speedcharacterBat speed (mph).
squared_up_ratecharacterSquared up rate.
swing_lengthcharacterSwing length (ft, head travel).

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_pitch_arsenal_stats / mlbStatcastLeaderboardPitchArsenalStats​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
team_name_altcharacterTeam name (alternate form).
pitch_typecharacterPitch type code.
pitch_namecharacterPitch type name.
run_value_per_100numericRun value per 100 pitches.
run_valueintegerRun value (runs).
pitchesintegerPitches.
pitch_usagenumericPitch usage.
paintegerPlate appearances.
banumericBatting average.
slgnumericSlugging percentage.
wobanumericWeighted on-base average.
whiff_percentnumericWhiff rate (swings and misses / swings).
k_percentnumericStrikeout rate.
put_awaynumericPut away.
est_banumericExpected batting average (xBA).
est_slgnumericExpected slugging (xSLG).
est_wobanumericExpected wOBA (xwOBA).
hard_hit_percentnumericHard-hit rate (95+ mph EV).

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_pitch_arsenals / mlbStatcastLeaderboardPitchArsenals​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
pitcherintegerMLBAM id of the pitcher.
ff_battercharacterFf batter.
si_battercharacterSi batter.
fc_battercharacterFc batter.
sl_battercharacterSl batter.
ch_battercharacterCh batter.
cu_battercharacterCu batter.
fs_battercharacterFs batter.
kn_battercharacterKn batter.
st_battercharacterSt batter.
sv_battercharacterSv batter.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_pitch_movement / mlbStatcastLeaderboardPitchMovement​

col_nametypedescription
yearintegerSeason year.
last_name, first_namecharacterLast name, first name.
pitcher_idintegerMLBAM id of the pitcher.
team_namecharacterTeam name.
team_name_abbrevcharacterTeam name abbrev.
pitch_handcharacterPitcher handedness (R/L).
avg_speedintegerAverage pitch velocity (mph).
pitches_thrownintegerPitches thrown.
total_pitchesintegerTotal pitches.
pitches_per_gamenumericPitches per game.
pitch_pernumericPitch per.
pitch_typecharacterPitch type code.
pitch_type_namecharacterPitch type name.
pitcher_break_znumericPitcher break z.
league_break_znumericLeague break z.
diff_znumericDiff z.
riseintegerRise.
pitcher_break_z_inducednumericPitcher break z induced.
pitcher_break_xnumericPitcher break x.
league_break_xnumericLeague break x.
diff_xnumericDiff x.
tailintegerTail.
percent_rank_diff_znumericPercent rank diff z.
percent_rank_diff_xnumericPercent rank diff x.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_pitch_tempo / mlbStatcastLeaderboardPitchTempo​

col_nametypedescription
entity_idintegerMLBAM id of the player/team entity.
entity_namecharacterPlayer (or team) entity name.
entity_codecharacterEntity code.
team_idintegerMLBAM team id.
total_pitchesintegerTotal pitches.
total_pitches_emptyintegerTotal pitches empty.
median_seconds_emptynumericMedian tempo (s) with bases empty.
total_pitches_onbaseintegerTotal pitches onbase.
freq_hotnumericFreq hot.
freq_warmnumericFreq warm.
freq_coldnumericFreq cold.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_pitcher_running_game / mlbStatcastLeaderboardPitcherRunningGame​

col_nametypedescription
player_idintegerMLBAM player id.
player_namecharacterPlayer name.
team_namecharacterTeam name.
start_yearintegerFirst season in the range.
end_yearintegerLast season in the range.
key_target_basecharacterKey target base.
runs_prevented_on_running_attrnumericRuns prevented on running attr.
n_pitcher_cs_aanumericNumber of pitcher cs aa.
n_initintegerNumber of init.
rate_sbxnumericRate sbx.
n_sbintegerStolen bases allowed (count).
n_csintegerCaught stealing (count).
n_pkintegerNumber of pk.
n_bkintegerNumber of bk.
n_fbintegerNumber of fb.
n_plusintegerNumber of plus.
n_minusintegerNumber of minus.
net_attr_plusnumericNet attr plus.
net_attr_minusnumericNet attr minus.
r_primary_leadnumericAverage primary lead distance (ft).
r_secondary_leadnumericAverage secondary lead (ft).
r_sec_minus_prim_leadnumericR sec minus prim lead.
r_primary_lead_sbxnumericR primary lead sbx.
r_secondary_lead_sbxnumericR secondary lead sbx.
r_sec_minus_prim_lead_sbxnumericR sec minus prim lead sbx.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_poptime / mlbStatcastLeaderboardPoptime​

col_nametypedescription
entity_namecharacterPlayer (or team) entity name.
entity_idintegerMLBAM id of the player/team entity.
team_idintegerMLBAM team id.
ageintegerPlayer age.
maxeff_arm_2b_3b_sbanumericMax-effort arm velo to 2B/3B (mph).
exchange_2b_3b_sbanumericTransfer/exchange time (s).
pop_2b_sba_countintegerPop-time sample (throws to 2B).
pop_2b_sbanumericPop time to 2B on stolen-base attempts (s).
pop_2b_csnumericPop 2b cs.
pop_2b_sbnumericPop 2b sb.
pop_3b_sba_countintegerPop 3b sba count.
pop_3b_sbanumericPop 3b sba.
pop_3b_csnumericPop 3b cs.
pop_3b_sbnumericPop 3b sb.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_running_splits / mlbStatcastLeaderboardRunningSplits​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
name_abbrevcharacterTeam/name abbreviation.
team_idintegerMLBAM team id.
position_namecharacterPosition name.
ageintegerPlayer age.
bat_sidecharacterBatter side (R/L/S).
seconds_since_hit_000numericSeconds since hit 000.
seconds_since_hit_005numericSeconds since hit 005.
seconds_since_hit_010numericSeconds since hit 010.
seconds_since_hit_015numericSeconds since hit 015.
seconds_since_hit_020numericSeconds since hit 020.
seconds_since_hit_025numericSeconds since hit 025.
seconds_since_hit_030numericSeconds since hit 030.
seconds_since_hit_035numericSeconds since hit 035.
seconds_since_hit_040numericSeconds since hit 040.
seconds_since_hit_045numericSeconds since hit 045.
seconds_since_hit_050numericSeconds since hit 050.
seconds_since_hit_055numericSeconds since hit 055.
seconds_since_hit_060numericSeconds since hit 060.
seconds_since_hit_065numericSeconds since hit 065.
seconds_since_hit_070numericSeconds since hit 070.
seconds_since_hit_075numericSeconds since hit 075.
seconds_since_hit_080numericSeconds since hit 080.
seconds_since_hit_085numericSeconds since hit 085.
seconds_since_hit_090numericSeconds since hit 090.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_spin_direction / mlbStatcastLeaderboardSpinDirection​

col_nametypedescription
yearintegerSeason year.
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
pitch_handcharacterPitcher handedness (R/L).
api_pitch_typecharacterPitch type (API code).
n_pitchesintegerNumber of pitches.
release_speednumericRelease speed.
spin_rateintegerSpin rate (rpm).
movement_inchesnumericMovement inches.
alan_active_spin_pctnumericAlan active spin rate.
active_spinnumericActive (useful) spin (%).
hawkeye_measurednumericHawkeye measured.
movement_inferrednumericMovement inferred.
api_pitch_namecharacterApi pitch name.
active_spin_formattedintegerActive spin (formatted, %).
hawkeye_measured_clock_minutesintegerHawkeye measured clock minutes.
movement_inferred_clock_minutesintegerMovement inferred clock minutes.
diff_measured_inferrednumericDiff measured inferred.
diff2numericDiff2.
diff_measured_inferred_minutesintegerDiff measured inferred minutes.
hawkeye_measured_clock_hhintegerHawkeye measured clock hh.
hawkeye_measured_clock_mmintegerHawkeye measured clock mm.
movement_inferred_clock_hhintegerMovement inferred clock hh.
movement_inferred_clock_mmintegerMovement inferred clock mm.
diff_clock_hhintegerDiff clock hh.
diff_clock_mmintegerDiff clock mm.
hawkeye_measured_clock_labelcharacterHawkeye measured clock label.
movement_inferred_clock_labelcharacterMovement inferred clock label.
diff_clock_labelcharacterDiff clock label.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_sprint_speed / mlbStatcastLeaderboardSprintSpeed​

col_nametypedescription
last_name, first_namecharacterLast name, first name.
player_idintegerMLBAM player id.
team_idintegerMLBAM team id.
teamcharacterTeam abbreviation.
positioncharacterPosition.
ageintegerPlayer age.
competitive_runsintegerCompetitive runs (qualifying sprint-speed runs).
boltsintegerBolts.
hp_to_1bnumericHome-to-first time (s).
sprint_speednumericSprint speed (ft/sec, top 50% of competitive runs).

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_swing_path / mlbStatcastLeaderboardSwingPath​

col_nametypedescription
idintegerMLBAM player id.
namecharacterPlayer (or entity) name.
sidecharacterSide.
avg_bat_speednumericAverage bat speed (mph).
swing_tiltnumericSwing tilt (deg).
attack_anglenumericAttack angle (deg, bat path at contact).
attack_directionnumericAttack direction (deg, pull/oppo).
ideal_attack_angle_ratenumericRate of swings in the ideal attack-angle window.
avg_intercept_y_vs_platenumericAvg intercept y vs plate.
avg_intercept_y_vs_batternumericAvg intercept y vs batter.
avg_batter_y_positionnumericAvg batter y position.
avg_batter_x_positionnumericAvg batter x position.
competitive_swingsintegerCompetitive swings.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_swing_take / mlbStatcastLeaderboardSwingTake​

col_nametypedescription
yearcharacterSeason year.
last_name, first_namecharacterLast name, first name.
player_idcharacterMLBAM player id.
team_idcharacterMLBAM team id.
pacharacterPlate appearances.
pitchescharacterPitches.
runs_allcharacterRuns all.
runs_heartcharacterRuns heart.
runs_shadowcharacterRuns shadow.
runs_chasecharacterRuns chase.
runs_wastecharacterRuns waste.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_swing_timing / mlbStatcastLeaderboardSwingTiming​

col_nametypedescription
idintegerMLBAM player id.
namecharacterPlayer (or entity) name.
yearintegerSeason year.
team_namecharacterTeam name.
bat_side_formattedcharacterBatter side (formatted).
miss_distancenumericAverage miss distance (in) on swings.
flawed_percentnumericFlawed rate.
perfect_percentnumericPerfect rate.
tied_up_percentnumericTied up rate.
avg_x_tied_upnumericAvg x tied up.
centered_percentnumericCentered rate.
flailed_percentnumericFlailed rate.
avg_x_flailnumericAvg x flail.
early_percentnumericEarly rate.
avg_y_earlynumericAvg y early.
on_time_percentnumericOn time rate.
late_percentnumericLate rate.
avg_y_latenumericAvg y late.
n_swingsintegerNumber of swings.
whiff_ratenumericWhiff rate.
competitive_percentnumericCompetitive rate.
over_percentnumericOver rate.
avg_z_overnumericAvg z over.
lined_up_percentnumericLined up rate.
under_percentnumericUnder rate.
avg_z_undernumericAvg z under.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_timer_infractions / mlbStatcastLeaderboardTimerInfractions​

col_nametypedescription
entity_idcharacterMLBAM id of the player/team entity.
entity_namecharacterPlayer (or team) entity name.
yearcharacterSeason year.
pitchescharacterPitches.
all_violationscharacterPitch-timer violations (total).
pitcher_timercharacterPitcher timer.
batter_timercharacterBatter timer.
batter_timeoutcharacterBatter timeout.
catcher_timercharacterCatcher timer.
defensive_shiftcharacterDefensive shift.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_leaderboard_year_to_year / mlbStatcastLeaderboardYearToYear​

col_nametypedescription
namecharacterPlayer (or entity) name.
entity_idintegerMLBAM id of the player/team entity.
2015character2015.
2016character2016.
delta_2015_2016characterDelta 2015 2016.
2017character2017.
delta_2016_2017characterDelta 2016 2017.
2018character2018.
delta_2017_2018characterDelta 2017 2018.
2019character2019.
delta_2018_2019characterDelta 2018 2019.
2020character2020.
delta_2019_2020characterDelta 2019 2020.
2021character2021.
delta_2020_2021characterDelta 2020 2021.
2022character2022.
delta_2021_2022characterDelta 2021 2022.
2023character2023.
delta_2022_2023characterDelta 2022 2023.
2024character2024.
delta_2023_2024characterDelta 2023 2024.
2025character2025.
delta_2024_2025characterDelta 2024 2025.
2026character2026.
delta_2025_2026characterDelta 2025 2026.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_schedule / mlbStatcastSchedule​

col_nametypedescription
game_pkintegerMLBAM game id.
game_guidcharacterGame GUID.
linkcharacterStats API resource link.
game_typecharacterGame type code (R/F/D/L/W/S/E/A).
seasoncharacterSeason year.
game_datecharacterGame date/time (ISO 8601, UTC offset).
official_datecharacterOfficial game date (YYYY-MM-DD).
game_numberintegerGame number (1, or 2 for the nightcap of a doubleheader).
public_facinglogicalPublic facing.
double_headercharacterDoubleheader flag (Y/N/S).
gameday_typecharacterGameday type.
tiebreakercharacterTiebreaker.
calendar_event_idcharacterCalendar event id.
season_displaycharacterSeason display.
day_nightcharacterDay or night game.
scheduled_inningsintegerScheduled innings (usually 9).
reverse_home_away_statuslogicalReverse home away status.
inning_break_lengthintegerInning break length.
games_in_seriesintegerTotal games in the series.
series_game_numberintegerGame number within the series.
series_descriptioncharacterSeries description.
record_sourcecharacterRecord source.
if_necessarycharacterIf necessary.
if_necessary_descriptioncharacterIf necessary description.
status_abstract_game_statecharacterStatus abstract game state.
status_coded_game_statecharacterStatus coded game state.
status_detailed_statecharacterStatus detailed state.
status_status_codecharacterStatus status code.
status_start_time_tbdlogicalStatus start time tbd.
status_abstract_game_codecharacterStatus abstract game code.
teams_away_team_spring_league_idintegerAway team team spring league id.
teams_away_team_spring_league_namecharacterAway team team spring league name.
teams_away_team_spring_league_linkcharacterAway team team spring league link.
teams_away_team_spring_league_abbreviationcharacterAway team team spring league abbreviation.
teams_away_team_all_star_statuscharacterAway team team all star status.
teams_away_team_idintegerAway team team id.
teams_away_team_namecharacterAway team team name.
teams_away_team_linkcharacterAway team team link.
teams_away_team_seasonintegerAway team team season.
teams_away_team_venue_idintegerAway team team venue id.
teams_away_team_venue_namecharacterAway team team venue name.
teams_away_team_venue_linkcharacterAway team team venue link.
teams_away_team_spring_venue_idintegerAway team team spring venue id.
teams_away_team_spring_venue_linkcharacterAway team team spring venue link.
teams_away_team_team_codecharacterAway team team team code.
teams_away_team_file_codecharacterAway team team file code.
teams_away_team_abbreviationcharacterAway team team abbreviation.
teams_away_team_team_namecharacterAway team team team name.
teams_away_team_location_namecharacterAway team team location name.
teams_away_team_first_year_of_playcharacterAway team team first year of play.
teams_away_team_league_idintegerAway team team league id.
teams_away_team_league_namecharacterAway team team league name.
teams_away_team_league_linkcharacterAway team team league link.
teams_away_team_division_idintegerAway team team division id.
teams_away_team_division_namecharacterAway team team division name.
teams_away_team_division_linkcharacterAway team team division link.
teams_away_team_sport_idintegerAway team team sport id.
teams_away_team_sport_linkcharacterAway team team sport link.
teams_away_team_sport_namecharacterAway team team sport name.
teams_away_team_short_namecharacterAway team team short name.
teams_away_team_franchise_namecharacterAway team team franchise name.
teams_away_team_club_namecharacterAway team team club name.
teams_away_team_activelogicalAway team team active.
teams_away_league_record_winsintegerAway team league record wins.
teams_away_league_record_lossesintegerAway team league record losses.
teams_away_league_record_tiesintegerAway team league record ties.
teams_away_league_record_pctcharacterAway team league record rate.
teams_away_probable_pitcher_idintegerAway team probable pitcher id.
teams_away_probable_pitcher_full_namecharacterAway team probable pitcher full name.
teams_away_probable_pitcher_linkcharacterAway team probable pitcher link.
teams_away_probable_pitcher_first_namecharacterAway team probable pitcher first name.
teams_away_probable_pitcher_last_namecharacterAway team probable pitcher last name.
teams_away_probable_pitcher_primary_numbercharacterAway team probable pitcher primary number.
teams_away_probable_pitcher_birth_datecharacterAway team probable pitcher birth date.
teams_away_probable_pitcher_current_ageintegerAway team probable pitcher current age.
teams_away_probable_pitcher_birth_citycharacterAway team probable pitcher birth city.
teams_away_probable_pitcher_birth_state_provincecharacterAway team probable pitcher birth state province.
teams_away_probable_pitcher_birth_countrycharacterAway team probable pitcher birth country.
teams_away_probable_pitcher_heightcharacterAway team probable pitcher height.
teams_away_probable_pitcher_weightintegerAway team probable pitcher weight.
teams_away_probable_pitcher_activelogicalAway team probable pitcher active.
teams_away_probable_pitcher_primary_position_codecharacterAway team probable pitcher primary position code.
teams_away_probable_pitcher_primary_position_namecharacterAway team probable pitcher primary position name.
teams_away_probable_pitcher_primary_position_typecharacterAway team probable pitcher primary position type.
teams_away_probable_pitcher_primary_position_abbreviationcharacterAway team probable pitcher primary position abbreviation.
teams_away_probable_pitcher_use_namecharacterAway team probable pitcher use name.
teams_away_probable_pitcher_use_last_namecharacterAway team probable pitcher use last name.
teams_away_probable_pitcher_middle_namecharacterAway team probable pitcher middle name.
teams_away_probable_pitcher_boxscore_namecharacterAway team probable pitcher boxscore name.
teams_away_probable_pitcher_gendercharacterAway team probable pitcher gender.
teams_away_probable_pitcher_is_playerlogicalAway team probable pitcher is player.
teams_away_probable_pitcher_is_verifiedlogicalAway team probable pitcher is verified.
teams_away_probable_pitcher_draft_yearintegerAway team probable pitcher draft year.
teams_away_probable_pitcher_mlb_debut_datecharacterAway team probable pitcher mlb debut date.
teams_away_probable_pitcher_bat_side_codecharacterAway team probable pitcher bat side code.
teams_away_probable_pitcher_bat_side_descriptioncharacterAway team probable pitcher bat side description.
teams_away_probable_pitcher_pitch_hand_codecharacterAway team probable pitcher pitch hand code.
teams_away_probable_pitcher_pitch_hand_descriptioncharacterAway team probable pitcher pitch hand description.
teams_away_probable_pitcher_name_first_lastcharacterAway team probable pitcher name first last.
teams_away_probable_pitcher_name_slugcharacterAway team probable pitcher name slug.
teams_away_probable_pitcher_first_last_namecharacterAway team probable pitcher first last name.
teams_away_probable_pitcher_last_first_namecharacterAway team probable pitcher last first name.
teams_away_probable_pitcher_last_init_namecharacterAway team probable pitcher last init name.
teams_away_probable_pitcher_init_last_namecharacterAway team probable pitcher init last name.
teams_away_probable_pitcher_full_fml_namecharacterAway team probable pitcher full fml name.
teams_away_probable_pitcher_full_lfm_namecharacterAway team probable pitcher full lfm name.
teams_away_probable_pitcher_strike_zone_topnumericAway team probable pitcher strike zone top.
teams_away_probable_pitcher_strike_zone_bottomnumericAway team probable pitcher strike zone bottom.
teams_away_split_squadlogicalAway team split squad.
teams_away_series_numberintegerAway team series number.
teams_away_spring_league_idintegerAway team spring league id.
teams_away_spring_league_namecharacterAway team spring league name.
teams_away_spring_league_linkcharacterAway team spring league link.
teams_away_spring_league_abbreviationcharacterAway team spring league abbreviation.
teams_home_team_spring_league_idintegerHome team team spring league id.
teams_home_team_spring_league_namecharacterHome team team spring league name.
teams_home_team_spring_league_linkcharacterHome team team spring league link.
teams_home_team_spring_league_abbreviationcharacterHome team team spring league abbreviation.
teams_home_team_all_star_statuscharacterHome team team all star status.
teams_home_team_idintegerHome team team id.
teams_home_team_namecharacterHome team team name.
teams_home_team_linkcharacterHome team team link.
teams_home_team_seasonintegerHome team team season.
teams_home_team_venue_idintegerHome team team venue id.
teams_home_team_venue_namecharacterHome team team venue name.
teams_home_team_venue_linkcharacterHome team team venue link.
teams_home_team_spring_venue_idintegerHome team team spring venue id.
teams_home_team_spring_venue_linkcharacterHome team team spring venue link.
teams_home_team_team_codecharacterHome team team team code.
teams_home_team_file_codecharacterHome team team file code.
teams_home_team_abbreviationcharacterHome team team abbreviation.
teams_home_team_team_namecharacterHome team team team name.
teams_home_team_location_namecharacterHome team team location name.
teams_home_team_first_year_of_playcharacterHome team team first year of play.
teams_home_team_league_idintegerHome team team league id.
teams_home_team_league_namecharacterHome team team league name.
teams_home_team_league_linkcharacterHome team team league link.
teams_home_team_division_idintegerHome team team division id.
teams_home_team_division_namecharacterHome team team division name.
teams_home_team_division_linkcharacterHome team team division link.
teams_home_team_sport_idintegerHome team team sport id.
teams_home_team_sport_linkcharacterHome team team sport link.
teams_home_team_sport_namecharacterHome team team sport name.
teams_home_team_short_namecharacterHome team team short name.
teams_home_team_franchise_namecharacterHome team team franchise name.
teams_home_team_club_namecharacterHome team team club name.
teams_home_team_activelogicalHome team team active.
teams_home_league_record_winsintegerHome team league record wins.
teams_home_league_record_lossesintegerHome team league record losses.
teams_home_league_record_tiesintegerHome team league record ties.
teams_home_league_record_pctcharacterHome team league record rate.
teams_home_probable_pitcher_idintegerHome team probable pitcher id.
teams_home_probable_pitcher_full_namecharacterHome team probable pitcher full name.
teams_home_probable_pitcher_linkcharacterHome team probable pitcher link.
teams_home_probable_pitcher_first_namecharacterHome team probable pitcher first name.
teams_home_probable_pitcher_last_namecharacterHome team probable pitcher last name.
teams_home_probable_pitcher_primary_numbercharacterHome team probable pitcher primary number.
teams_home_probable_pitcher_birth_datecharacterHome team probable pitcher birth date.
teams_home_probable_pitcher_current_ageintegerHome team probable pitcher current age.
teams_home_probable_pitcher_birth_citycharacterHome team probable pitcher birth city.
teams_home_probable_pitcher_birth_state_provincecharacterHome team probable pitcher birth state province.
teams_home_probable_pitcher_birth_countrycharacterHome team probable pitcher birth country.
teams_home_probable_pitcher_heightcharacterHome team probable pitcher height.
teams_home_probable_pitcher_weightintegerHome team probable pitcher weight.
teams_home_probable_pitcher_activelogicalHome team probable pitcher active.
teams_home_probable_pitcher_primary_position_codecharacterHome team probable pitcher primary position code.
teams_home_probable_pitcher_primary_position_namecharacterHome team probable pitcher primary position name.
teams_home_probable_pitcher_primary_position_typecharacterHome team probable pitcher primary position type.
teams_home_probable_pitcher_primary_position_abbreviationcharacterHome team probable pitcher primary position abbreviation.
teams_home_probable_pitcher_use_namecharacterHome team probable pitcher use name.
teams_home_probable_pitcher_use_last_namecharacterHome team probable pitcher use last name.
teams_home_probable_pitcher_middle_namecharacterHome team probable pitcher middle name.
teams_home_probable_pitcher_boxscore_namecharacterHome team probable pitcher boxscore name.
teams_home_probable_pitcher_nick_namecharacterHome team probable pitcher nick name.
teams_home_probable_pitcher_gendercharacterHome team probable pitcher gender.
teams_home_probable_pitcher_is_playerlogicalHome team probable pitcher is player.
teams_home_probable_pitcher_is_verifiedlogicalHome team probable pitcher is verified.
teams_home_probable_pitcher_draft_yearintegerHome team probable pitcher draft year.
teams_home_probable_pitcher_mlb_debut_datecharacterHome team probable pitcher mlb debut date.
teams_home_probable_pitcher_bat_side_codecharacterHome team probable pitcher bat side code.
teams_home_probable_pitcher_bat_side_descriptioncharacterHome team probable pitcher bat side description.
teams_home_probable_pitcher_pitch_hand_codecharacterHome team probable pitcher pitch hand code.
teams_home_probable_pitcher_pitch_hand_descriptioncharacterHome team probable pitcher pitch hand description.
teams_home_probable_pitcher_name_first_lastcharacterHome team probable pitcher name first last.
teams_home_probable_pitcher_name_slugcharacterHome team probable pitcher name slug.
teams_home_probable_pitcher_first_last_namecharacterHome team probable pitcher first last name.
teams_home_probable_pitcher_last_first_namecharacterHome team probable pitcher last first name.
teams_home_probable_pitcher_last_init_namecharacterHome team probable pitcher last init name.
teams_home_probable_pitcher_init_last_namecharacterHome team probable pitcher init last name.
teams_home_probable_pitcher_full_fml_namecharacterHome team probable pitcher full fml name.
teams_home_probable_pitcher_full_lfm_namecharacterHome team probable pitcher full lfm name.
teams_home_probable_pitcher_strike_zone_topnumericHome team probable pitcher strike zone top.
teams_home_probable_pitcher_strike_zone_bottomnumericHome team probable pitcher strike zone bottom.
teams_home_split_squadlogicalHome team split squad.
teams_home_series_numberintegerHome team series number.
teams_home_spring_league_idintegerHome team spring league id.
teams_home_spring_league_namecharacterHome team spring league name.
teams_home_spring_league_linkcharacterHome team spring league link.
teams_home_spring_league_abbreviationcharacterHome team spring league abbreviation.
linescore_scheduled_inningsintegerLinescore scheduled innings.
linescore_inningscharacterLinescore innings.
linescore_defense_team_idintegerLinescore defense team id.
linescore_defense_team_namecharacterLinescore defense team name.
linescore_defense_team_linkcharacterLinescore defense team link.
linescore_offense_team_idintegerLinescore offense team id.
linescore_offense_team_namecharacterLinescore offense team name.
linescore_offense_team_linkcharacterLinescore offense team link.
venue_idintegerMLBAM venue id.
venue_namecharacterBallpark name.
venue_linkcharacterVenue link.
content_linkcharacterContent link.

Row type: MlbStatcastScheduleRow (exported from the package root).

Returns — mlb_statcast_search / mlbStatcastSearch​

col_nametypedescription
pitch_typecharacterPitch type code.
game_datecharacterGame date.
release_speednumericRelease speed.
release_pos_xnumericRelease pos x.
release_pos_znumericRelease pos z.
player_namecharacterPlayer name.
batterintegerMLBAM id of the batter.
pitcherintegerMLBAM id of the pitcher.
eventscharacterEvents.
descriptioncharacterDescription.
spin_dircharacterSpin dir.
spin_rate_deprecatedcharacterSpin rate deprecated.
break_angle_deprecatedcharacterBreak angle deprecated.
break_length_deprecatedcharacterBreak length deprecated.
zoneintegerZone.
descharacterDes.
game_typecharacterGame type.
standcharacterBatter stance side (R/L).
p_throwscharacterPitcher throwing hand (R/L).
home_teamcharacterHome team.
away_teamcharacterAway team.
typecharacterRecord/pitch type.
hit_locationintegerHit location.
bb_typecharacterBb type.
ballsintegerBalls.
strikesintegerStrikes.
game_yearintegerGame year.
pfx_xnumericHorizontal movement (in, pitcher perspective).
pfx_znumericInduced vertical movement (in).
plate_xnumericPlate x.
plate_znumericPlate z.
on_3bcharacterOn 3b.
on_2bcharacterOn 2b.
on_1bcharacterOn 1b.
outs_when_upintegerOuts when up.
inningintegerInning.
inning_topbotcharacterInning topbot.
hc_xnumericHc x.
hc_ynumericHc y.
tfs_deprecatedcharacterTfs deprecated.
tfs_zulu_deprecatedcharacterTfs zulu deprecated.
umpirecharacterUmpire.
sv_idcharacterSv id.
vx0numericVx0.
vy0numericVy0.
vz0numericVz0.
axnumericAx.
aynumericAy.
aznumericAz.
sz_topnumericSz top.
sz_botnumericSz bot.
hit_distance_scintegerHit distance sc.
launch_speednumericExit velocity of the batted ball (mph).
launch_angleintegerLaunch angle (deg).
effective_speedintegerEffective speed.
release_spin_rateintegerRelease spin rate.
release_extensionnumericRelease extension.
game_pkintegerMLBAM game id.
fielder_2integerFielder 2.
fielder_3integerFielder 3.
fielder_4integerFielder 4.
fielder_5integerFielder 5.
fielder_6integerFielder 6.
fielder_7integerFielder 7.
fielder_8integerFielder 8.
fielder_9integerFielder 9.
release_pos_ynumericRelease pos y.
estimated_ba_using_speedanglenumericEstimated ba using speedangle.
estimated_woba_using_speedanglenumericEstimated woba using speedangle.
woba_valueintegerWoba value.
woba_denomintegerWoba denom.
babip_valueintegerBabip value.
iso_valueintegerIso value.
launch_speed_angleintegerLaunch speed angle.
at_bat_numberintegerAt bat number.
pitch_numberintegerPitch number.
pitch_namecharacterPitch type name.
home_scoreintegerHome score.
away_scoreintegerAway score.
bat_scoreintegerBat score.
fld_scoreintegerFld score.
post_away_scoreintegerPost away score.
post_home_scoreintegerPost home score.
post_bat_scoreintegerPost bat score.
post_fld_scoreintegerPost fld score.
if_fielding_alignmentcharacterIf fielding alignment.
of_fielding_alignmentcharacterOf fielding alignment.
spin_axisintegerSpin axis.
delta_home_win_expnumericDelta home win exp.
delta_run_expnumericDelta run exp.
bat_speednumericBat speed (mph).
swing_lengthnumericSwing length (ft, head travel).
miss_distancecharacterAverage miss distance (in) on swings.
estimated_slg_using_speedanglenumericEstimated slg using speedangle.
delta_pitcher_run_expnumericDelta pitcher run exp.
hyper_speednumericHyper speed.
home_score_diffintegerHome score diff.
bat_score_diffintegerBat score diff.
home_win_expnumericHome win exp.
bat_win_expnumericBat win exp.
age_pit_legacyintegerAge pit legacy.
age_bat_legacyintegerAge bat legacy.
age_pitintegerAge pit.
age_batintegerAge bat.
n_thruorder_pitcherintegerNumber of thruorder pitcher.
n_priorpa_thisgame_player_at_batintegerNumber of priorpa thisgame player at bat.
pitcher_days_since_prev_gameintegerPitcher days since prev game.
batter_days_since_prev_gameintegerBatter days since prev game.
pitcher_days_until_next_gameintegerPitcher days until next game.
batter_days_until_next_gameintegerBatter days until next game.
api_break_z_with_gravitynumericApi break z with gravity.
api_break_x_armnumericApi break x arm.
api_break_x_batter_innumericApi break x batter in.
arm_anglenumericArm angle.
attack_anglenumericAttack angle (deg, bat path at contact).
attack_directionnumericAttack direction (deg, pull/oppo).
swing_path_tiltnumericSwing-path tilt (deg).
intercept_ball_minus_batter_pos_x_inchesnumericIntercept ball minus batter pos x inches.
intercept_ball_minus_batter_pos_y_inchesnumericIntercept ball minus batter pos y inches.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_search_minors / mlbStatcastSearchMinors​

col_nametypedescription
pitch_typecharacterPitch type code.
game_datecharacterGame date.
release_speednumericRelease speed.
release_pos_xnumericRelease pos x.
release_pos_znumericRelease pos z.
player_namecharacterPlayer name.
batterintegerMLBAM id of the batter.
pitcherintegerMLBAM id of the pitcher.
eventscharacterEvents.
descriptioncharacterDescription.
spin_dircharacterSpin dir.
spin_rate_deprecatedcharacterSpin rate deprecated.
break_angle_deprecatedcharacterBreak angle deprecated.
break_length_deprecatedcharacterBreak length deprecated.
zoneintegerZone.
descharacterDes.
game_typecharacterGame type.
standcharacterBatter stance side (R/L).
p_throwscharacterPitcher throwing hand (R/L).
home_teamcharacterHome team.
away_teamcharacterAway team.
typecharacterRecord/pitch type.
hit_locationintegerHit location.
bb_typecharacterBb type.
ballsintegerBalls.
strikesintegerStrikes.
game_yearintegerGame year.
pfx_xnumericHorizontal movement (in, pitcher perspective).
pfx_znumericInduced vertical movement (in).
plate_xnumericPlate x.
plate_znumericPlate z.
on_3bcharacterOn 3b.
on_2bcharacterOn 2b.
on_1bcharacterOn 1b.
outs_when_upintegerOuts when up.
inningintegerInning.
inning_topbotcharacterInning topbot.
hc_xnumericHc x.
hc_ynumericHc y.
tfs_deprecatedcharacterTfs deprecated.
tfs_zulu_deprecatedcharacterTfs zulu deprecated.
umpirecharacterUmpire.
sv_idcharacterSv id.
vx0numericVx0.
vy0numericVy0.
vz0numericVz0.
axnumericAx.
aynumericAy.
aznumericAz.
sz_topnumericSz top.
sz_botnumericSz bot.
hit_distance_scintegerHit distance sc.
launch_speednumericExit velocity of the batted ball (mph).
launch_angleintegerLaunch angle (deg).
effective_speedintegerEffective speed.
release_spin_rateintegerRelease spin rate.
release_extensionnumericRelease extension.
game_pkintegerMLBAM game id.
fielder_2integerFielder 2.
fielder_3integerFielder 3.
fielder_4integerFielder 4.
fielder_5integerFielder 5.
fielder_6integerFielder 6.
fielder_7integerFielder 7.
fielder_8integerFielder 8.
fielder_9integerFielder 9.
release_pos_ynumericRelease pos y.
estimated_ba_using_speedanglenumericEstimated ba using speedangle.
estimated_woba_using_speedanglenumericEstimated woba using speedangle.
woba_valueintegerWoba value.
woba_denomintegerWoba denom.
babip_valueintegerBabip value.
iso_valueintegerIso value.
launch_speed_angleintegerLaunch speed angle.
at_bat_numberintegerAt bat number.
pitch_numberintegerPitch number.
pitch_namecharacterPitch type name.
home_scoreintegerHome score.
away_scoreintegerAway score.
bat_scoreintegerBat score.
fld_scoreintegerFld score.
post_away_scoreintegerPost away score.
post_home_scoreintegerPost home score.
post_bat_scoreintegerPost bat score.
post_fld_scoreintegerPost fld score.
if_fielding_alignmentcharacterIf fielding alignment.
of_fielding_alignmentcharacterOf fielding alignment.
spin_axisintegerSpin axis.
delta_home_win_expnumericDelta home win exp.
delta_run_expnumericDelta run exp.
bat_speednumericBat speed (mph).
swing_lengthnumericSwing length (ft, head travel).
miss_distancecharacterAverage miss distance (in) on swings.
estimated_slg_using_speedanglenumericEstimated slg using speedangle.
delta_pitcher_run_expnumericDelta pitcher run exp.
hyper_speednumericHyper speed.
home_score_diffintegerHome score diff.
bat_score_diffintegerBat score diff.
home_win_expnumericHome win exp.
bat_win_expnumericBat win exp.
age_pit_legacyintegerAge pit legacy.
age_bat_legacyintegerAge bat legacy.
age_pitintegerAge pit.
age_batintegerAge bat.
n_thruorder_pitcherintegerNumber of thruorder pitcher.
n_priorpa_thisgame_player_at_batintegerNumber of priorpa thisgame player at bat.
pitcher_days_since_prev_gameintegerPitcher days since prev game.
batter_days_since_prev_gameintegerBatter days since prev game.
pitcher_days_until_next_gameintegerPitcher days until next game.
batter_days_until_next_gameintegerBatter days until next game.
api_break_z_with_gravitynumericApi break z with gravity.
api_break_x_armnumericApi break x arm.
api_break_x_batter_innumericApi break x batter in.
arm_anglenumericArm angle.
attack_anglenumericAttack angle (deg, bat path at contact).
attack_directionnumericAttack direction (deg, pull/oppo).
swing_path_tiltnumericSwing-path tilt (deg).
intercept_ball_minus_batter_pos_x_inchesnumericIntercept ball minus batter pos x inches.
intercept_ball_minus_batter_pos_y_inchesnumericIntercept ball minus batter pos y inches.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_search_wbc / mlbStatcastSearchWbc​

col_nametypedescription
pitch_typecharacterPitch type code.
game_datecharacterGame date.
release_speednumericRelease speed.
release_pos_xnumericRelease pos x.
release_pos_znumericRelease pos z.
player_namecharacterPlayer name.
batterintegerMLBAM id of the batter.
pitcherintegerMLBAM id of the pitcher.
eventscharacterEvents.
descriptioncharacterDescription.
spin_dircharacterSpin dir.
spin_rate_deprecatedcharacterSpin rate deprecated.
break_angle_deprecatedcharacterBreak angle deprecated.
break_length_deprecatedcharacterBreak length deprecated.
zoneintegerZone.
descharacterDes.
game_typecharacterGame type.
standcharacterBatter stance side (R/L).
p_throwscharacterPitcher throwing hand (R/L).
home_teamcharacterHome team.
away_teamcharacterAway team.
typecharacterRecord/pitch type.
hit_locationintegerHit location.
bb_typecharacterBb type.
ballsintegerBalls.
strikesintegerStrikes.
game_yearintegerGame year.
pfx_xnumericHorizontal movement (in, pitcher perspective).
pfx_znumericInduced vertical movement (in).
plate_xnumericPlate x.
plate_znumericPlate z.
on_3bcharacterOn 3b.
on_2bcharacterOn 2b.
on_1bcharacterOn 1b.
outs_when_upintegerOuts when up.
inningintegerInning.
inning_topbotcharacterInning topbot.
hc_xnumericHc x.
hc_ynumericHc y.
tfs_deprecatedcharacterTfs deprecated.
tfs_zulu_deprecatedcharacterTfs zulu deprecated.
umpirecharacterUmpire.
sv_idcharacterSv id.
vx0numericVx0.
vy0numericVy0.
vz0numericVz0.
axnumericAx.
aynumericAy.
aznumericAz.
sz_topnumericSz top.
sz_botnumericSz bot.
hit_distance_scintegerHit distance sc.
launch_speednumericExit velocity of the batted ball (mph).
launch_angleintegerLaunch angle (deg).
effective_speedintegerEffective speed.
release_spin_rateintegerRelease spin rate.
release_extensionnumericRelease extension.
game_pkintegerMLBAM game id.
fielder_2integerFielder 2.
fielder_3integerFielder 3.
fielder_4integerFielder 4.
fielder_5integerFielder 5.
fielder_6integerFielder 6.
fielder_7integerFielder 7.
fielder_8integerFielder 8.
fielder_9integerFielder 9.
release_pos_ynumericRelease pos y.
estimated_ba_using_speedanglenumericEstimated ba using speedangle.
estimated_woba_using_speedanglenumericEstimated woba using speedangle.
woba_valueintegerWoba value.
woba_denomintegerWoba denom.
babip_valueintegerBabip value.
iso_valueintegerIso value.
launch_speed_angleintegerLaunch speed angle.
at_bat_numberintegerAt bat number.
pitch_numberintegerPitch number.
pitch_namecharacterPitch type name.
home_scoreintegerHome score.
away_scoreintegerAway score.
bat_scoreintegerBat score.
fld_scoreintegerFld score.
post_away_scoreintegerPost away score.
post_home_scoreintegerPost home score.
post_bat_scoreintegerPost bat score.
post_fld_scoreintegerPost fld score.
if_fielding_alignmentcharacterIf fielding alignment.
of_fielding_alignmentcharacterOf fielding alignment.
spin_axisintegerSpin axis.
delta_home_win_expnumericDelta home win exp.
delta_run_expnumericDelta run exp.
bat_speednumericBat speed (mph).
swing_lengthnumericSwing length (ft, head travel).
miss_distancecharacterAverage miss distance (in) on swings.
estimated_slg_using_speedanglenumericEstimated slg using speedangle.
delta_pitcher_run_expnumericDelta pitcher run exp.
hyper_speednumericHyper speed.
home_score_diffintegerHome score diff.
bat_score_diffintegerBat score diff.
home_win_expnumericHome win exp.
bat_win_expnumericBat win exp.
age_pit_legacyintegerAge pit legacy.
age_bat_legacyintegerAge bat legacy.
age_pitintegerAge pit.
age_batintegerAge bat.
n_thruorder_pitcherintegerNumber of thruorder pitcher.
n_priorpa_thisgame_player_at_batintegerNumber of priorpa thisgame player at bat.
pitcher_days_since_prev_gameintegerPitcher days since prev game.
batter_days_since_prev_gameintegerBatter days since prev game.
pitcher_days_until_next_gameintegerPitcher days until next game.
batter_days_until_next_gameintegerBatter days until next game.
api_break_z_with_gravitynumericApi break z with gravity.
api_break_x_armnumericApi break x arm.
api_break_x_batter_innumericApi break x batter in.
arm_anglenumericArm angle.
attack_anglenumericAttack angle (deg, bat path at contact).
attack_directionnumericAttack direction (deg, pull/oppo).
swing_path_tiltnumericSwing-path tilt (deg).
intercept_ball_minus_batter_pos_x_inchesnumericIntercept ball minus batter pos x inches.
intercept_ball_minus_batter_pos_y_inchesnumericIntercept ball minus batter pos y inches.

Rows are untyped Row[] (not parity-verified yet).

Returns — mlb_statcast_player / mlbStatcastPlayer​

col_nametypedescription
aggregateintegerAggregate.
yearintegerSeason year.
yearhiddenintegerYearhidden.
player_idintegerMLBAM player id.
ageintegerPlayer age.
bat_sidecharacterBatter side (R/L/S).
pitch_handcharacterPitcher handedness (R/L).
monthcharacterMonth.
grouping_codecharacterGrouping code.
grouping_catcharacterGrouping cat.
pitch_countintegerPitch count.
in_zone_percentnumericIn zone rate.
out_zone_percentnumericOut zone rate.
edge_percentnumericEdge rate.
z_swing_percentnumericZ swing rate.
oz_swing_percentnumericOz swing rate.
iz_contact_percentnumericIz contact rate.
oz_contact_percentnumericOz contact rate.
whiff_percentnumericWhiff rate (swings and misses / swings).
f_strike_percentnumericF strike rate.
f_swing_percentnumericF swing rate.
swing_percentnumericSwing rate.
meatball_swing_percentintegerMeatball swing rate.
meatball_percentnumericMeatball rate.
z_swing_miss_percentnumericZ swing miss rate.
oz_swing_miss_percentnumericOz swing miss rate.
in_zoneintegerIn zone.
out_zoneintegerOut zone.
edgeintegerEdge.
popupsintegerPopups.
flyballsintegerFlyballs.
linedrivesintegerLinedrives.
groundballsintegerGroundballs.
airballsintegerAirballs.
popups_percentnumericPopups rate.
flyballs_percentnumericFlyballs rate.
linedrives_percentnumericLinedrives rate.
groundballs_percentnumericGroundballs rate.
airballs_percentnumericAirballs rate.
pull_percentnumericPull rate.
straightaway_percentnumericStraightaway rate.
opposite_percentnumericOpposite rate.
pull_percent_airballsnumericPull percent airballs.
straightaway_percent_airballsnumericStraightaway percent airballs.
opposite_percent_airballsintegerOpposite percent airballs.
pull_percent_groundballsnumericPull percent groundballs.
straightaway_percent_groundballsnumericStraightaway percent groundballs.
opposite_percent_groundballsnumericOpposite percent groundballs.
pull_percent_popupsnumericPull percent popups.
straightaway_percent_popupsnumericStraightaway percent popups.
opposite_percent_popupsnumericOpposite percent popups.
pull_percent_flyballsnumericPull percent flyballs.
straightaway_percent_flyballsnumericStraightaway percent flyballs.
opposite_percent_flyballsnumericOpposite percent flyballs.
pull_percent_linedrivesintegerPull percent linedrives.
straightaway_percent_linedrivesintegerStraightaway percent linedrives.
opposite_percent_linedrivesintegerOpposite percent linedrives.
poorlyweak_percentintegerPoorlyweak rate.
poorlytopped_percentnumericPoorlytopped rate.
poorlyunder_percentnumericPoorlyunder rate.
flareburner_percentnumericFlareburner rate.
solidcontact_percentnumericSolidcontact rate.
hr_flyballs_percentnumericHr flyballs rate.
in_zone_swingintegerIn zone swing.
out_zone_swingintegerOut zone swing.
in_zone_swing_missintegerIn zone swing miss.
out_zone_swing_missintegerOut zone swing miss.
pitch_count_fastballintegerPitch count fastball.
pitch_count_offspeedintegerPitch count offspeed.
pitch_count_breakingintegerPitch count breaking.
paintegerPlate appearances.
abintegerAt-bats.
hitintegerHit.
singleintegerSingles.
doubleintegerDoubles.
tripleintegerTriples.
home_runintegerHome run.
walkintegerWalk.
strikeoutintegerStrikeout.
hbpintegerHbp.
k_percentnumericStrikeout rate.
bb_percentnumericWalk rate.
sz_judgenumericSz judge.
batted_ballintegerBatted ball.
barrelintegerBarrel.
barrel_batted_ratenumericBarrels per batted ball.
barrels_per_panumericBarrels per pa.
launch_angle_avgnumericLaunch angle avg.
exit_velocity_avgnumericExit velocity avg.
exit_velocity_maxnumericExit velocity max.
hard_hit_percentnumericHard-hit rate (95+ mph EV).
sweet_spot_percentnumericSweet-spot rate (8-32 deg launch angle).
banumericBatting average.
xbanumericExpected batting average.
baconnumericBacon.
xbaconnumericExpected batting average on contact.
babipnumericBABIP.
obpnumericOn-base percentage.
slgnumericSlugging percentage.
xobpnumericExpected on-base percentage.
xslgnumericExpected slugging.
isonumericIsolated power.
xisonumericExpected isolated power.
wobanumericWeighted on-base average.
xwobanumericExpected wOBA.
wobaconnumericWobacon.
xwobaconnumericXwobacon.
xbadiffnumericXbadiff.
xslgdiffnumericXslgdiff.
wobadiffnumericWobadiff.
player_typecharacterPlayer type.
eracharacterEra.
xeracharacterExpected ERA.
avg_hyper_speednumericAvg hyper speed.
avg_best_speednumericAvg best speed.
distance_hr_avgintegerDistance hr avg.
sprint_speednumericSprint speed (ft/sec, top 50% of competitive runs).
pop_2bcharacterPop 2b.
arm_cs_2bcharacterArm cs 2b.
strike_ratecharacterCalled-strike rate.
outs_above_averageintegerOuts Above Average.
jump_v_avgintegerJump v avg.
max_arm_strengthcharacterMax arm strength (mph).
arm_overallcharacterArm overall.
xhrnumericXhr.
swing_take_run_valueintegerSwing take run value.
blocks_above_averagecharacterBlocks above average.
cs_above_averagecharacterCs above average.
fastball_velocharacterFastball velo.
fastball_spincharacterFastball spin.
fastball_extensioncharacterFastball extension.
curveball_spincharacterCurveball spin.
pitch_run_value_fastballnumericPitch run value fastball.
pitch_run_value_breakingnumericPitch run value breaking.
pitch_run_value_offspeednumericPitch run value offspeed.
group_fastball_velonumericGroup fastball velo.
group_breaking_velonumericGroup breaking velo.
group_offspeed_velonumericGroup offspeed velo.
pitch_usage_fastballnumericPitch usage fastball.
pitch_usage_breakingnumericPitch usage breaking.
pitch_usage_offspeednumericPitch usage offspeed.
fielding_run_valueintegerFielding run value.
runner_run_valueintegerRunner run value.
fielding_run_value_armintegerFielding run value arm.
fielding_run_value_framingcharacterFielding run value framing.
runner_runs_sbintegerRunner runs sb.
runner_runs_xbintegerRunner runs xb.
net_bases_runnerintegerNet bases runner.
net_bases_pitchercharacterNet bases pitcher.
fast_swing_ratecharacterFast-swing rate (>=75 mph).
squared_up_contactcharacterSquared up contact.
squared_up_swingcharacterSquared up swing.
blasts_contactcharacterBlasts contact.
blasts_swingcharacterBlasts swing.
swordscharacterSwords.
avg_swing_speedcharacterAvg swing speed.
avg_swing_lengthcharacterAvg swing length.
attack_anglecharacterAttack angle (deg, bat path at contact).
vertical_swing_pathcharacterVertical swing path.
accelerationcharacterAcceleration.
horizontal_swing_pathcharacterHorizontal swing path.
attack_directioncharacterAttack direction (deg, pull/oppo).
ideal_angle_ratecharacterIdeal angle rate.
n_squared_upcharacterNumber of squared up.
n_blastscharacterNumber of blasts.
arm_anglecharacterArm angle.
is_qualifiedintegerIs qualified.
percent_rank_barrel_unroundedcharacterPercent rank barrel unrounded.
percent_rank_barrel_batted_rate_unroundedcharacterPercent rank barrel batted rate unrounded.
percent_rank_exit_velocity_avg_unroundedcharacterPercent rank exit velocity avg unrounded.
percent_rank_exit_velocity_max_unroundednumericPercent rank exit velocity max unrounded.
percent_rank_launch_angle_avg_unroundedcharacterPercent rank launch angle avg unrounded.
percent_rank_xba_unroundedcharacterPercent rank xba unrounded.
percent_rank_xslg_unroundedcharacterPercent rank xslg unrounded.
percent_rank_xwoba_unroundedcharacterPercent rank xwoba unrounded.
percent_rank_woba_unroundedcharacterPercent rank woba unrounded.
percent_rank_hard_hit_percent_unroundedcharacterPercent rank hard hit percent unrounded.
percent_rank_xwobacon_unroundedcharacterPercent rank xwobacon unrounded.
percent_rank_wobacon_unroundedcharacterPercent rank wobacon unrounded.
percent_rank_k_percent_unroundedcharacterPercent rank k percent unrounded.
percent_rank_bb_percent_unroundedcharacterPercent rank bb percent unrounded.
percent_rank_sz_judge_unroundedcharacterPercent rank sz judge unrounded.
percent_rank_whiff_percent_unroundedcharacterPercent rank whiff percent unrounded.
percent_rank_chase_percent_unroundedcharacterPercent rank chase percent unrounded.
percent_rank_ba_unroundedcharacterPercent rank ba unrounded.
percent_rank_bacon_unroundedcharacterPercent rank bacon unrounded.
percent_rank_xbacon_unroundedcharacterPercent rank xbacon unrounded.
percent_rank_babip_unroundedcharacterPercent rank babip unrounded.
percent_rank_obp_unroundedcharacterPercent rank obp unrounded.
percent_rank_slg_unroundedcharacterPercent rank slg unrounded.
percent_rank_xobp_unroundedcharacterPercent rank xobp unrounded.
percent_rank_iso_unroundedcharacterPercent rank iso unrounded.
percent_rank_xiso_unroundedcharacterPercent rank xiso unrounded.
percent_rank_sweet_spot_percent_unroundedcharacterPercent rank sweet spot percent unrounded.
percent_rank_distance_hr_avg_unroundedcharacterPercent rank distance hr avg unrounded.
percent_rank_groundballs_percent_unroundedcharacterPercent rank groundballs percent unrounded.
percent_rank_airballs_percent_unroundedcharacterPercent rank airballs percent unrounded.
percent_rank_avg_hyper_speed_unroundedcharacterPercent rank avg hyper speed unrounded.
percent_rank_avg_best_speed_unroundedcharacterPercent rank avg best speed unrounded.
percent_rank_pitch_run_value_fastball_unroundedcharacterPercent rank pitch run value fastball unrounded.
percent_rank_pitch_run_value_breaking_unroundedcharacterPercent rank pitch run value breaking unrounded.
percent_rank_pitch_run_value_offspeed_unroundedcharacterPercent rank pitch run value offspeed unrounded.
percent_rank_barrelcharacterPercent rank barrel.
percent_rank_barrel_batted_ratecharacterPercent rank barrel batted rate.
percent_rank_exit_velocity_avgcharacterPercent rank exit velocity avg.
percent_rank_exit_velocity_maxintegerPercent rank exit velocity max.
percent_rank_launch_angle_avgcharacterPercent rank launch angle avg.
percent_rank_xbacharacterPercent rank xba.
percent_rank_xslgcharacterPercent rank xslg.
percent_rank_xwobacharacterPercent rank xwoba.
percent_rank_wobacharacterPercent rank woba.
percent_rank_hard_hit_percentcharacterPercent rank hard hit rate.
percent_rank_xwobaconcharacterPercent rank xwobacon.
percent_rank_wobaconcharacterPercent rank wobacon.
percent_rank_k_percentcharacterPercent rank k rate.
percent_rank_bb_percentcharacterPercent rank bb rate.
percent_rank_sz_judgecharacterPercent rank sz judge.
percent_rank_whiff_percentcharacterPercent rank whiff rate.
percent_rank_chase_percentcharacterPercent rank chase rate.
percent_rank_bacharacterPercent rank ba.
percent_rank_baconcharacterPercent rank bacon.
percent_rank_xbaconcharacterPercent rank xbacon.
percent_rank_babipcharacterPercent rank babip.
percent_rank_obpcharacterPercent rank obp.
percent_rank_slgcharacterPercent rank slg.
percent_rank_xobpcharacterPercent rank xobp.
percent_rank_isocharacterPercent rank iso.
percent_rank_xisocharacterPercent rank xiso.
percent_rank_sweet_spot_percentcharacterPercent rank sweet spot rate.
percent_rank_distance_hr_avgcharacterPercent rank distance hr avg.
percent_rank_groundballs_percentcharacterPercent rank groundballs rate.
percent_rank_airballs_percentcharacterPercent rank airballs rate.
percent_rank_avg_hyper_speedcharacterPercent rank avg hyper speed.
percent_rank_avg_best_speedcharacterPercent rank avg best speed.
percent_rank_pitch_run_value_fastballcharacterPercent rank pitch run value fastball.
percent_rank_pitch_run_value_breakingcharacterPercent rank pitch run value breaking.
percent_rank_pitch_run_value_offspeedcharacterPercent rank pitch run value offspeed.
percent_speed_orderintegerPercent speed order.
percent_rank_speed_orderintegerPercent rank speed order.
percent_rank_pop_2bcharacterPercent rank pop 2b.
percent_rank_arm_cs_2bcharacterPercent rank arm cs 2b.
percent_rank_oaacharacterPercent rank oaa.
percent_rank_framingcharacterPercent rank framing.
percent_rank_jumpcharacterPercent rank jump.
percent_rank_fastball_velocharacterPercent rank fastball velo.
percent_rank_fastball_spincharacterPercent rank fastball spin.
percent_rank_fastball_extensioncharacterPercent rank fastball extension.
percent_rank_cu_spincharacterPercent rank cu spin.
percent_rank_xeracharacterPercent rank xera.
percent_rank_arm_maxcharacterPercent rank arm max.
percent_rank_arm_overallcharacterPercent rank arm overall.
percent_rank_xhrcharacterPercent rank xhr.
percent_rank_swing_take_run_valuecharacterPercent rank swing take run value.
percent_rank_blocks_above_averagecharacterPercent rank blocks above average.
percent_rank_cs_above_averagecharacterPercent rank cs above average.
percent_rank_fielding_run_valuecharacterPercent rank fielding run value.
percent_rank_runner_run_valuecharacterPercent rank runner run value.
percent_rank_fielding_run_value_armcharacterPercent rank fielding run value arm.
percent_rank_fielding_run_value_framingcharacterPercent rank fielding run value framing.
percent_rank_swing_speedcharacterPercent rank swing speed.
percent_rank_swing_lengthcharacterPercent rank swing length.
percent_rank_squared_up_swingcharacterPercent rank squared up swing.
percent_rank_attack_anglecharacterPercent rank attack angle.
percent_rank_vertical_swing_pathcharacterPercent rank vertical swing path.
percent_rank_accelerationcharacterPercent rank acceleration.
percent_rank_ideal_angle_ratecharacterPercent rank ideal angle rate.

Rows are untyped Row[] (not parity-verified yet).

Generated by tools/codegen/generate.mjs from tools/codegen/endpoints/mlb.yaml (vendored from sdv-py) + tools/codegen/endpoints/mlb_statcast.yaml (vendored from sdv-py) — see How this library is built.