Skip to main content

Players Statistics

This endpoint allows you to retrieve the statistics from players.

For the type argument you can search by values such as regularSeason, depending on the competition and source data.

Available baseball player statistics include batting or hitting fields such as runs_hitting, singles_hitting, doubles_hitting, triples_hitting, home_runs_hitting, runs_batted_in_hitting, stolen_bases_hitting, caught_stealing_hitting, walks_hitting, hit_by_pitch_hitting, strike_outs_hitting, average_hitting and on_base_plus_slugging_hitting; pitching fields such as wins_pitching, earned_run_average_pitching, strike_outs_pitching, walks_hits_per_inning_pitching, quality_starts_pitching and saves_pitching; fielding fields such as assists_fielding, put_outs_fielding, errors_fielding and double_plays_fielding; and value metrics such as offensive_war and war.

Multi-language: This feature allows the user to manually change the language of the API response by adding value to the lang attribute. Example: lang=en.

Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.

Update Period: The endpoint is updated every minute.
Recommended Calls: Limit calls to 1 per minute.

Use Cases

Get statistics from a specific player_id
https://baseball.sportmicro.com/players-statistics?player_id=eq.{player_id}

Get top 20 players with most runs from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=runs_hitting.desc&limit=20

Get top 20 players with most home runs from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=home_runs_hitting.desc&limit=20

Get top 20 players with most RBI from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=runs_batted_in_hitting.desc&limit=20

Get top 20 players with most stolen bases from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=stolen_bases_hitting.desc&limit=20

Get top 20 players with best batting average from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=average_hitting.desc&limit=20

Get top 20 players with best OPS from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=on_base_plus_slugging_hitting.desc&limit=20

Get top 20 pitchers with most strikeouts from a specific league_id and season_id
https://baseball.sportmicro.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=strike_outs_pitching.desc&limit=20

Get statistics from a specific player_id and team_id
https://baseball.sportmicro.com/players-statistics?player_id=eq.{player_id}&team_id=eq.{team_id}

Get statistics from a specific player_id, team_id and league_id
https://baseball.sportmicro.com/players-statistics?player_id=eq.{player_id}&team_id=eq.{team_id}&league_id=eq.{league_id}

Get statistics from a specific player_id, team_id, league_id and season_id
https://baseball.sportmicro.com/players-statistics?player_id=eq.{player_id}&team_id=eq.{team_id}&league_id=eq.{league_id}&season_id=eq.{season_id}

Get statistics from a specific player_id, team_id, league_id, season_id and type
https://baseball.sportmicro.com/players-statistics?player_id=eq.{player_id}&team_id=eq.{team_id}&league_id=eq.{league_id}&season_id=eq.{season_id}&type=eq.{type}

Query Parameters
  • player_id integer

    The id of the player

    Example: eq.6411
  • team_id integer

    The id of the team

  • league_id integer

    The id of the league

    Example: eq.1806
  • season_id integer

    The id of the season

    Example: eq.4271
  • type text

    The type of the statistics

    Example: eq.regularSeason
  • offset string

    Default value: 0

    Limiting and Pagination

    Example: 0
  • limit string

    Default value: 50

    Limiting and Pagination

    Example: 50
  • lang string

    Default value: en

    Multi-language

    Example: en
Responses

OK


Schema array
  • id integer

    The id of the player's statistics

    Note: This is a Primary Key.

  • player_id integer

    The id of the player

    Note: This is a Foreign Key to players.id.

  • team_id integer

    The id of the team

    Note: This is a Foreign Key to teams.id.

  • team_name text

    The name of the team

  • team_hash_image character varying

    Possible values: <= 64 characters

    The name image of the team

  • league_id integer

    The id of the league

    Note: This is a Foreign Key to leagues.id.

  • league_name text

    The name of the league

  • league_hash_image character varying

    Possible values: <= 64 characters

    The name image of the league

  • season_id integer

    The id of the season

    Note: This is a Foreign Key to seasons.id.

  • season_name text

    The name of the season

  • type text

    The type of the statistics

  • games_played_hitting numeric

    The number of hitting games played by the player

  • ground_outs_hitting numeric

    The number of hitting ground outs made by the player

  • air_outs_hitting numeric

    The number of hitting air outs made by the player

  • runs_hitting numeric

    The number of hitting runs made by the player

  • doubles_hitting numeric

    The number of hitting doubles made by the player

  • triples_hitting numeric

    The number of hitting triples made by the player

  • home_runs_hitting numeric

    The number of hitting home runs made by the player

  • strike_outs_hitting numeric

    The number of hitting strike outs made by the player

  • walks_hitting numeric

    The number of hitting base on balls made by the player

  • intentional_walks_hitting numeric

    The number of hitting intentional walks made by the player

  • hits_hitting numeric

    The number of hitting hits made by the player

  • hit_by_pitch_hitting numeric

    The number of hitting hit by pitch made by the player

  • average_hitting numeric

    The number of hitting avg made by the player

  • at_bats_hitting numeric

    The number of hitting at bats made by the player

  • on_base_percentage_hitting numeric

    The number of hitting obp made by the player

  • slugging_percentage_hitting numeric

    The number of hitting slg made by the player

  • on_base_plus_slugging_hitting numeric

    The number of hitting ops made by the player

  • caught_stealing_hitting numeric

    The number of hitting caught stealing made by the player

  • stolen_bases_hitting numeric

    The number of hitting stolen bases made by the player

  • ground_into_double_play_hitting numeric

    The number of hitting ground into double play made by the player

  • number_of_pitches_hitting numeric

    The hitting number of itches made by the player

  • plate_appearances_hitting numeric

    The number of hitting plate appearances by the player

  • total_bases_hitting numeric

    The number of hitting total bases made by the player

  • runs_batted_in_hitting numeric

    The number of hitting rbi made by the player

  • left_on_base_hitting numeric

    The number of hitting left on base made by the player

  • sacrifice_bunts_hitting numeric

    The number of hitting sac bunts made by the player

  • sacrifice_flies_hitting numeric

    The number of hitting sac flies made by the player

  • babip_hitting numeric

    The number of hitting babip made by the player

  • ground_outs_to_airouts_hitting numeric

    The number of hitting ground outs to air outs made by the player

  • games_played_pitching numeric

    The number of pitching games played by the player

  • games_started_pitching numeric

    The number of pitching games started by the player

  • ground_outs_pitching numeric

    The number of pitching ground outs made by the player

  • air_outs_pitching numeric

    The number of pitching air outs made by the player

  • runs_pitching numeric

    The number of pitching runs made by the player

  • doubles_pitching numeric

    The number of pitching doubles made by the player

  • triples_pitching numeric

    The number of pitching triples made by the player

  • home_runs_pitching numeric

    The number of pitching home runs made by the player

  • strike_outs_pitching numeric

    The number of pitching strike outs made by the player

  • walks_pitching numeric

    The number of pitching base on balls made by the player

  • intentional_walks_pitching numeric

    The number of pitching intentional walks made by the player

  • hits_pitching numeric

    The number of pitching hits made by the player

  • hit_by_pitch_pitching numeric

    The number of pitching hit by pitch made by the player

  • average_pitching numeric

    The number of pitching avg made by the player

  • at_bats_pitching numeric

    The number of pitching at bats made by the player

  • on_base_percentage_pitching numeric

    The number of pitching obp made by the player

  • slugging_percentage_pitching numeric

    The number of pitching slg made by the player

  • on_base_plus_slugging_pitching numeric

    The number of pitching ops made by the player

  • caught_stealing_pitching numeric

    The number of pitching caught stealing made by the player

  • stolen_bases_pitching numeric

    The number of pitching stolen bases made by the player

  • stolen_base_percentage_pitching numeric

    The number of pitching stolen base made by the player in %

  • ground_into_double_play_pitching numeric

    The number of pitching ground into double play made by the player

  • number_of_pitches_pitching numeric

    The number of pitching number of pitches made by the player

  • earned_run_average_pitching numeric

    The number of pitching era made by the player

  • innings_pitched_pitching numeric

    The number of pitching innings pitched by the player

  • wins_pitching numeric

    The number of pitching wins made by the player

  • losses_pitching numeric

    The number of pitching losses made by the player

  • saves_pitching numeric

    The number of pitching saves made by the player

  • save_opportunities_pitching numeric

    The number of pitching save opportunities made by the player

  • holds_pitching numeric

    The number of pitching holds made by the player

  • earned_runs_pitching numeric

    The number of pitching earned runs made by the player

  • walks_hits_per_inning_pitching numeric

    The number of pitching whip made by the player

  • batters_faced_pitching numeric

    The number of pitching batters faced made by the player

  • games_pitched_pitching numeric

    The number of pitching games pitched made by the player

  • complete_games_pitching numeric

    The number of pitching complete games made by the player

  • shutouts_pitching numeric

    The number of pitching shutouts made by the player

  • strikes_pitching numeric

    The number of pitching strikes made by the player

  • strike_percentage_pitching numeric

    The number of pitching strike made by the player in %

  • hit_batsmen_pitching numeric

    The number of pitching hit batsmen made by the player

  • balks_pitching numeric

    The number of pitching balks made by the player

  • wild_pitches_pitching numeric

    The number of pitching wild pitches made by the player

  • pickoffs_pitching numeric

    The number of pitching pick offs made by the player

  • ground_outs_to_airouts_pitching numeric

    The number of pitching ground outs to air outs made by the player

  • win_percentage_pitching numeric

    The number of pitching win made by the player in %

  • pitches_per_inning_pitching numeric

    The number of pitching pitches per inning made by the player

  • games_finished_pitching numeric

    The number of pitching games finished by the player

  • strikeout_walk_ratio_pitching numeric

    The number of pitching strikeout walk ratio made by the player

  • strikeouts_per_9_innings_pitching numeric

    The number of pitching strikeouts per 9 innings made by the player

  • walks_per_9_innings_pitching numeric

    The number of pitching walks per 9 innings made by the player

  • hits_per_9_innings_pitching numeric

    The number of pitching hits per 9 innings made by the player

  • runs_scored_per_9_innings_pitching numeric

    The number of pitching runs scored per 9 innings made by the player

  • home_runs_per_9_innings_pitching numeric

    The number of pitching home runs per 9 innings made by the player

  • inherited_runners_pitching numeric

    The number of pitching inherited runners made by the player

  • inherited_runners_scored_pitching numeric

    The number of pitching inherited runners scored by the player

  • sacrifice_bunts_pitching numeric

    The number of pitching sac bunts made by the player

  • sacrifice_flies_pitching numeric

    The number of pitching sac flies made by the player

  • assists_fielding numeric

    The number of fielding assists made by the player

  • put_outs_fielding numeric

    The number of fielding put outs made by the player

  • errors_fielding numeric

    The number of fielding errors made by the player

  • chances_fielding numeric

    The number of fielding chances made by the player

  • fielding_fielding numeric

    The number of fielding fielding made by the player

  • range_factor_per_game_fielding numeric

    The number of fielding range factor per game made by the player

  • innings_fielding numeric

    The number of fielding innings made by the player

  • games_fielding numeric

    The number of fielding games made by the player

  • games_started_fielding numeric

    The number of fielding games started by the player

  • double_plays_fielding numeric

    The number of fielding double plays made by the player

  • total_appearances numeric

    The number of appearances by the player

  • singles_hitting numeric

    The number of hitting singles made by the player

  • ab_per_home_run_hitting numeric

    The number of hitting ab per home run made by the player

  • at_bats_per_strikeout_hitting numeric

    The number of hitting at bats per strikeout made by the player

  • at_bats_with_risp_hitting numeric

    The number of hitting at bats with risp made by the player

  • balls_hitting numeric

    The number of hitting balls made by the player

  • balls_in_play_hitting numeric

    The number of hitting balls in play made by the player

  • cycles_hitting numeric

    The number of hitting cycles made by the player

  • dirt_balls_hitting numeric

    The number of hitting dirt balls made by the player

  • fly_balls_hitting numeric

    The number of hitting fly balls made by the player

  • fly_into_double_play_hitting numeric

    The number of hitting fly into double play made by the player

  • fly_outs_hitting numeric

    The number of hitting fly outs made by the player

  • fouls_hitting numeric

    The number of hitting fouls made by the player

  • games_completed_hitting numeric

    The number of hitting games completed made by the player

  • games_finished_hitting numeric

    The number of hitting games finished made by the player

  • games_started_hitting numeric

    The number of hitting games started made by the player

  • ground_balls_hitting numeric

    The number of hitting ground balls made by the player

  • ground_to_fly_ratio_hitting numeric

    The number of hitting ground to fly ratio made by the player

  • hits_with_risp_hitting numeric

    The number of hitting hits with risp made by the player

  • intentional_balls_hitting numeric

    The number of hitting intentional balls made by the player

  • isolated_power_hitting numeric

    The number of hitting isolated power made by the player

  • line_drives_hitting numeric

    The number of hitting line drives made by the player

  • line_into_double_play_hitting numeric

    The number of hitting line into double play made by the player

  • line_outs_hitting numeric

    The number of hitting line outs made by the player

  • ops_adjusted_hitting numeric

    The number of hitting ops adjusted made by the player

  • pitches_per_plate_appearance_hitting numeric

    The number of hitting pitches per plate appearance made by the player

  • pitches_seen_hitting numeric

    The number of hitting pitches seen made by the player

  • pop_outs_hitting numeric

    The number of hitting pop outs made by the player

  • reached_on_error_hitting numeric

    The number of hitting reached on error made by the player

  • runs_created_hitting numeric

    The number of hitting runs created made by the player

  • runs_created_per_27_outs_hitting numeric

    The number of hitting runs created per 27 outs made by the player

  • secondary_average_hitting numeric

    The number of hitting secondary average made by the player

  • stolen_base_percentage_hitting numeric

    The number of hitting stolen base made by the player in %

  • strikeouts_looking_hitting numeric

    The number of hitting strikeouts looking made by the player

  • strikeouts_swinging_hitting numeric

    The number of hitting strikeouts swinging made by the player

  • total_strikes_hitting numeric

    The number of hitting total strikes made by the player

  • walk_rate_hitting numeric

    The number of hitting walk rate made by the player

  • walk_to_strikeout_ratio_hitting numeric

    The number of hitting walk to strikeout ratio made by the player

  • catcher_wild_pitches_fielding numeric

    The number of fielding catcher wild pitches made by the player

  • caught_stealing_fielding numeric

    The number of fielding caught stealing made by the player

  • games_completed_fielding numeric

    The number of fielding games completed made by the player

  • games_finished_fielding numeric

    The number of fielding games finished made by the player

  • interference_errors_fielding numeric

    The number of fielding interference errors made by the player

  • outfield_assists_fielding numeric

    The number of fielding outfield assists made by the player

  • passed_balls_fielding numeric

    The number of fielding passed balls made by the player

  • pickoffs_fielding numeric

    The number of fielding pickoffs made by the player

  • stolen_base_percentage_against_fielding numeric

    The number of fielding stolen base percentage against made by the player

  • stolen_bases_allowed_fielding numeric

    The number of fielding stolen bases allowed made by the player

  • throwing_errors_fielding numeric

    The number of fielding throwing errors made by the player

  • offensive_war numeric

    The offensive war of the player

  • blown_saves_pitching numeric

    The number of pitching blown saves made by the player

  • fielding_independent_pitching_pitching numeric

    The number of pitching fielding independent pitching made by the player

  • fly_balls_allowed_pitching numeric

    The number of pitching fly balls allowed made by the player

  • games_completed_pitching numeric

    The number of pitching games completed made by the player

  • ground_ball_fly_ball_ratio_pitching numeric

    The number of pitching ground ball fly ball ratio made by the player

  • ground_balls_allowed_pitching numeric

    The number of pitching ground balls allowed made by the player

  • pitches_per_batter_faced_pitching numeric

    The number of pitching pitches per batter faced made by the player

  • quality_starts_pitching numeric

    The number of pitching quality starts made by the player

  • save_conversion_pitching numeric

    The number of pitching save conversion made by the player

  • singles_allowed_pitching numeric

    The number of pitching singles allowed made by the player

  • total_bases_allowed_pitching numeric

    The number of pitching total bases allowed made by the player

  • war numeric

    The war of the player

Loading...