Players Statistics
This endpoint allows you to retrieve the statistics from players.
For the type argument you can search by: overall, home and away, but overall is most common type for this endpoint.
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_idhttps://handball.sportdevs.com/players-statistics?player_id=eq.{player_id}
Get top 20 players with most goals from a specific league_id and season_idhttps://handball.sportdevs.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=goals.desc&limit=20
Get top 20 players with most rating from a specific league_id and season_idhttps://handball.sportdevs.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=rating.desc&limit=20
Get top 20 players with most red cards from a specific league_id and season_idhttps://handball.sportdevs.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=red_cards.desc&limit=20
Get top 20 players with most yellow cards from a specific league_id and season_idhttps://handball.sportdevs.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=yellow_cards.desc&limit=20
Get top 20 players with most assists from a specific league_id and season_idhttps://handball.sportdevs.com/players-statistics?league_id=eq.{league_id}&season_id=eq.{season_id}&order=assists.desc&limit=20
Get statistics from a specific player_id and team_idhttps://handball.sportdevs.com/players-statistics?player_id=eq.{player_id}&team_id=eq.{team_id}
Get statistics from a specific player_id, team_id and league_idhttps://handball.sportdevs.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_idhttps://handball.sportdevs.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 typehttps://handball.sportdevs.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
Default value:
eq.69218
The id of the player
- team_id integer
Default value:
eq.1483
The id of the team
- league_id integer
Default value:
eq.2090
The id of the league
- season_id integer
Default value:
eq.13663
The id of the season
- type text
Default value:
eq.overall
The type of the statistics
- 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 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
- goalkeeper_saves numeric
The number of saves by goalkeeper
- two_min_penalties numeric
The number of two minute penalties made by the player
- technical_errors numeric
The number of technical faults made by the player
- yellow_cards_received numeric
The number of yellow cards received
- goalkeeper_shots numeric
The number of gk shots made by the player
- gk7m_goals_scored numeric
The number of gk7m goals made by the player
- gk7m_shots_taken numeric
The number of gk7m shots made by the player
- gk6m_saves_made numeric
The number of gk6m saves made by the player
- gk6m_shots_taken numeric
The number of gk6m shots made by the player
- gk_pivot_saves_made numeric
The number of gk pivot saves made by the player
- gk_pivot_shots_taken numeric
The number of gk pivot shots made by the player
- gk9m_saves_made numeric
The number of gk9m saves made by the player
- gk9m_shots_taken numeric
The number of gk9m shots made by the player
- gk_breakthrough_saves_made numeric
The number of gk breakthrough saves made by the player
- gk_breakthrough_shots_taken numeric
The number of gk breakthrough shots made by the player
- gk_fastbreak_goals_scored numeric
The number of gk fast break goals made by the player
- gk_fastbreak_shots_taken numeric
The number of gk fast break shots made by the player
- total_shots_taken numeric
The number of shots taken made by the player
- total_goals_scored numeric
The number of total goals scored
- total_assists numeric
The number of total assists
- goals_scored_7m_throw numeric
The number of goals7m made by the player
- shots_taken_7m_throw numeric
The number of shots7m made by the player
- goals_scored_6m_throw numeric
The number of goals6m made by the player
- shots_taken_6m_throw numeric
The number of shots6m made by the player
- goals_scored_9m_throw numeric
The number of goals9m made by the player
- shots_taken_9m_throw numeric
The number of shots9m made by the player
- breakthrough_goals_scored numeric
The number of breakthrough goals made by the player
- breakthrough_shots_taken numeric
The number of breakthrough shots made by the payer
- pivot_goals_scored numeric
The number of pivot goals made by the player
- pivot_shots_taken numeric
The number of pivot shots made by the player
- fastbreak_goals_scored numeric
The number of fast break goals made by the player
- fastbreak_shots_taken numeric
The number of fast break shots made by the player
- total_steals numeric
The number of total steals
- total_blocked_shots numeric
The number of blocked shots
- gk7m_saves_made numeric
The number of gk7m saves made by the player
- gk_fastbreak_saves_made numeric
The number of gk fast break saves made by the player
- shooting_efficiency numeric
The number of shooting efficiency made by the player in
%
- goalkeeper_efficiency numeric
The number of goalkeeper efficiency made by the player in
%
- total_appearances numeric
The number of appearances by the player
[
{
"id": 1,
"player_id": 69218,
"team_id": 1483,
"team_name": "RK Zagreb",
"team_hash_image": "fe4d74848f17fe73bb52a0e1865b759cdc41ab4b3d4a3695f23e76ceba1c507c",
"league_id": 2090,
"league_name": "Champions League",
"league_hash_image": "1cb2b17bb84832138996f692bf5c1baa916f980a5f4721c44e68deebe0d8ade7",
"season_id": 13663,
"season_name": "EHF Champions League 23/24",
"type": "overall",
"goalkeeper_saves": 0,
"two_min_penalties": 0,
"technical_errors": 0,
"yellow_cards_received": 0,
"goalkeeper_shots": 0,
"gk7m_goals_scored": 0,
"gk7m_shots_taken": 0,
"gk6m_saves_made": 0,
"gk6m_shots_taken": 0,
"gk_pivot_saves_made": 0,
"gk_pivot_shots_taken": 0,
"gk9m_saves_made": 0,
"gk9m_shots_taken": 0,
"gk_breakthrough_saves_made": 0,
"gk_breakthrough_shots_taken": 0,
"gk_fastbreak_goals_scored": 0,
"gk_fastbreak_shots_taken": 0,
"total_shots_taken": 0,
"total_goals_scored": 0,
"total_assists": 0,
"goals_scored_7m_throw": 0,
"shots_taken_7m_throw": 0,
"goals_scored_6m_throw": 0,
"shots_taken_6m_throw": 0,
"goals_scored_9m_throw": 0,
"shots_taken_9m_throw": 0,
"breakthrough_goals_scored": 0,
"breakthrough_shots_taken": 0,
"pivot_goals_scored": 0,
"pivot_shots_taken": 0,
"fastbreak_goals_scored": 0,
"fastbreak_shots_taken": 0,
"total_steals": 0,
"total_blocked_shots": 0,
"gk7m_saves_made": 0,
"gk_fastbreak_saves_made": 0,
"shooting_efficiency": 0,
"goalkeeper_efficiency": 0,
"total_appearances": 2
}
]