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_idhttps://basketball.sportdevs.com/matches-players-statistics?match_id=eq.{match_id}
Get the best player from a specific match_idhttps://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_idhttps://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_idhttps://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
- 200
OK
- application/json
- Schema
- Example (from schema)
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
[
{
"match_id": 9,
"team_id": 1537,
"player_id": 14409,
"position": "G",
"seconds_played": 1452,
"points": 9,
"two_points_made": 0,
"two_point_attempts": 1,
"three_points_made": 3,
"three_point_attempts": 5,
"free_throws_made": 0,
"free_throw_attempts": 0,
"field_goals_made": 3,
"field_goal_attempts": 6,
"rebounds": 4,
"defensive_rebounds": 4,
"offensive_rebounds": 0,
"turnovers": 0,
"blocks": 0,
"personal_fouls": 4,
"assists": 0,
"steals": 1,
"field_goal_pct": 50,
"plus_minus": 4
}
]