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://basketball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}

Get the best player from a specific match_id
https://basketball.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://basketball.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://basketball.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.9

    The id of the match

  • team_id integer

    Default value: eq.1537

    The id of the team

  • player_id integer

    Default value: eq.14409

    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

  • seconds_played integer

    The number of seconds played by the player

  • points integer

    The number of points made by the player

  • two_points_made integer

    The number of two points made

  • two_point_attempts integer

    The number of two points attempts

  • three_points_made integer

    The number of three points made

  • three_point_attempts integer

    The number of three points attempts

  • free_throws_made integer

    The number of free throws made

  • free_throw_attempts integer

    The number of free throw attempts made by the player

  • field_goals_made integer

    The number of field goals made by the player

  • field_goal_attempts integer

    The number of field goal attempts made by the player

  • rebounds integer

    The number of rebounds made by the player

  • defensive_rebounds integer

    The number of defensive rebounds made by the player

  • offensive_rebounds integer

    The number of offensive rebounds made by the player

  • turnovers integer

    The number of turnovers made by the player

  • blocks integer

    The number of blocks made by the player

  • personal_fouls integer

    The number of personal fouls made by the player

  • assists integer

    The number of assists made by the player

  • steals integer

    The number of steals

  • field_goal_pct integer

    The number of field goal pct made by the player

  • plus_minus integer

    The number of plus minus made by the player

Loading...