Teams Statistics
This endpoint allows you to retrieve the statistics from teams.
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 day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get team statistics from a specific team_idhttps://basketball.sportdevs.com/teams-statistics?team_id=eq.{team_id}
Get team statistics from a specific team_id and league_idhttps://basketball.sportdevs.com/teams-statistics?team_id=eq.{team_id}&league_id=eq.{league_id}
Get team statistics from a specific team_id, league_id and season_idhttps://basketball.sportdevs.com/teams-statistics?&team_id=eq.{team_id}&league_id=eq.{league_id}&season_id=eq.{season_id}
Get team statistics from a specific team_id, league_id, season_id and typehttps://basketball.sportdevs.com/teams-statistics?team_id=eq.{team_id}&league_id=eq.{league_id}&season_id=eq.{season_id}&type=eq.{type}
Query Parameters
- team_id integer
Default value:
eq.1793
The id of the team
- league_id integer
Default value:
eq.2843
The id of the league
- season_id integer
Default value:
eq.12959
The id of the season
- type text
Default value:
eq.overall
The type of the statistic
- 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
- id integer
The id of the team's statistic
Note: This is a Primary Key.
- 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 statistic
- points numeric
The number of points made by the team
- point_difference numeric
The number of plus minus made by the team
- made_two_pointers numeric
The number of two points made by the team
- attempted_two_pointers numeric
The number of two point attempts made by the team
- made_three_pointers numeric
The number of three points made by the team
- attempted_three_pointers numeric
The number of three point attempts made by the team
- made_free_throws numeric
The number of free throws made by the team
- attempted_free_throws numeric
The number of free throw attempts made by the team
- made_field_goals numeric
The number of field goals made by the team
- attempted_field_goals numeric
The number of field goal attempts made by the team
- total_rebounds numeric
The number of rebounds made by the team
- defensive_rebounds numeric
The number of defensive rebounds made by the team
- offensive_rebounds numeric
The number of offensive rebounds made by the team
- total_turnovers numeric
The number of turnovers made by the team
- total_blocks numeric
The number of blocks made by the team
- total_personal_fouls numeric
The number of personal fouls made by the team
- total_assists numeric
The number of assists made by the team
- total_steals numeric
The number of steals by the team
- field_goal_percentage numeric
The number of field goals made by the team
- free_throw_percentage numeric
The number of free throws made by the team
- three_point_percentage numeric
The number of three points made by the team
- two_point_percentage numeric
The number of two points made by the team
- total_double_doubles numeric
The number of double doubles made by the team
- total_triple_doubles numeric
The number of triple doubles made by the team
- assist_to_turnover_ratio numeric
The number of assist turnover ratio made by the team
- points_allowed numeric
The number of points against made by the team
- made_two_pointers_allowed numeric
The number of two points made against made by the team
- attempted_two_pointers_allowed numeric
The number of two point attempts against made by the team
- made_three_pointers_allowed numeric
The number of three points made against made by the team
- attempted_three_pointers_allowed numeric
The number of three point attempts against made by the team
- made_free_throws_allowed numeric
The number of free throws made against made by the team
- attempted_free_throws_allowed numeric
The number of free throw attempts against made by the team
- made_field_goals_allowed numeric
The number of field goals made against made by the team
- attempted_field_goals_allowed numeric
The number of field goal attempts against made by the team
- rebounds_allowed numeric
The number of rebounds against made by the team
- defensive_rebounds_allowed numeric
The number of defensive rebounds against made by the team
- offensive_rebounds_allowed numeric
The number of offensive rebounds against made by the team
- turnovers_allowed numeric
The number of turnovers against made by the team
- blocks_allowed numeric
The number of blocks against made by the team
- personal_fouls_allowed numeric
The number of personal fouls against made by the team
- assists_allowed numeric
The number of assists against made by the team
- steals_allowed numeric
The number of steals against made by the team
- field_goal_percentage_allowed numeric
The number of field goals percentage against made by the team in
%
- free_throw_percentage_allowed numeric
The number of free throws percentage against made by the team in
%
- three_point_percentage_allowed numeric
The number of three points percentage against made by the team in
%
- two_point_percentage_allowed numeric
The number of two points percentage against made by the team
- total_double_doubles_allowed numeric
The number of double doubles against made by the team
- total_triple_doubles_allowed numeric
The number of triple doubles against made by the team
- assist_to_turnover_ratio_allowed numeric
The number of assist turnover ratio against made by the team
- total_matches_played numeric
The number of matches by the team
- total_awarded_matches numeric
The number of awarded matches by the team
[
{
"id": 6,
"team_id": 1793,
"team_name": "USA",
"league_id": 2843,
"league_name": "FIBA Women's World Cup",
"league_hash_image": "c3c0edb91b49523416a8d84faf2d75d7b9927acc95b2fa9aff7003c1af0fafb0",
"season_id": 12959,
"season_name": "FIBA World Cup Women 2022",
"type": "overall",
"points": 790,
"point_difference": 326,
"made_two_pointers": 234,
"attempted_two_pointers": 423,
"made_three_pointers": 65,
"attempted_three_pointers": 158,
"made_free_throws": 127,
"attempted_free_throws": 154,
"made_field_goals": 299,
"attempted_field_goals": 581,
"total_rebounds": 342,
"defensive_rebounds": 245,
"offensive_rebounds": 97,
"total_turnovers": 91,
"total_blocks": 40,
"total_personal_fouls": 90,
"total_assists": 208,
"total_steals": 94,
"field_goal_percentage": 51.462994836489,
"free_throw_percentage": 82.467532467532,
"three_point_percentage": 41.139240506329,
"two_point_percentage": 55.31914893617,
"total_double_doubles": 3,
"total_triple_doubles": 0,
"assist_to_turnover_ratio": 2.2857142857143,
"points_allowed": 464,
"made_two_pointers_allowed": 132,
"attempted_two_pointers_allowed": 339,
"made_three_pointers_allowed": 50,
"attempted_three_pointers_allowed": 179,
"made_free_throws_allowed": 50,
"attempted_free_throws_allowed": 62,
"made_field_goals_allowed": 182,
"attempted_field_goals_allowed": 518,
"rebounds_allowed": 211,
"defensive_rebounds_allowed": 158,
"offensive_rebounds_allowed": 53,
"turnovers_allowed": 146,
"blocks_allowed": 17,
"personal_fouls_allowed": 145,
"assists_allowed": 115,
"steals_allowed": 47,
"field_goal_percentage_allowed": 35.135135135135,
"free_throw_percentage_allowed": 80.645161290323,
"three_point_percentage_allowed": 27.932960893855,
"two_point_percentage_allowed": 38.938053097345,
"total_double_doubles_allowed": 1,
"total_triple_doubles_allowed": 0,
"assist_to_turnover_ratio_allowed": 0.78767123287671,
"total_matches_played": 8,
"total_awarded_matches": 0
}
]