Skip to main content

Matches Players Statistics

This endpoint allows you to retrieve the players statistics from matches.

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 every minute.

Use Cases

Get player statistics from a specific match_id
https://baseball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}

Get the best player from a specific match_id
https://baseball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}&order=rating.desc&limit=1

Get player statistics from a specific match_id and team_id
https://baseball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}&team_id=eq.{team_id}

Get player statistics from a specific match_id, team_id and player_id
https://baseball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}&team_id=eq.{team_id}&player_id=eq.{player_id}

Query Parameters
  • match_id integer

    Default value: eq.50

    The id of the match

  • team_id integer

    Default value: eq.46515

    The id of the team

  • player_id integer

    Default value: eq.89668

    The id of the player

  • offset string

    Default value: 0

    Limiting and Pagination

  • limit string

    Default value: 50

    Limiting and Pagination

  • lang string

    Default value: en

    Multi-language

Responses

OK


Schema array
  • match_id integer

    The id of the match

  • team_id integer

    The id of the team

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

  • player_id integer

    The id of the player

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

  • position text

    The position of the player

  • batting_fly_outs integer

    The number of batting fly outs made by the player

  • batting_ground_outs integer

    The number of batting ground outs made by the player

  • batting_runs integer

    The number of batting runs made by the player

  • batting_doubles integer

    The number of batting doubles made by the player

  • batting_triples integer

    The number of batting triples made by the player

  • batting_home_runs integer

    The number of batting home runs made by the player

  • batting_strike_outs integer

    The number of batting strike outs made by the player

  • batting_base_on_balls integer

    The number of batting base on balls made by the player

  • batting_hits integer

    The number of batting hits made by the player

  • batting_hit_by_pitch integer

    The number of batting hit by pitch by the player

  • batting_rbi integer

    The number of batting rbi made by the player

  • batting_caught_stealing integer

    The number of batting caught stealing by the player

  • batting_stolen_bases integer

    The number of batting stolen bases made by the player

  • batting_at_bats integer

    The number of batting at bats made by the player

  • batting_left_on_base integer

    The number of batting left on base made by the player

  • batting_sac_bunts integer

    The number of batting sac bunts made by the player

  • batting_sac_flies integer

    The number of batting sac flies made by the player

  • batting_average integer

    The number of batting average made by the player

  • batting_list_index integer

    The number of batting list index made by the player

Loading...