SofaScore team player statistics
Returns the statistics of every player in a team's squad for one competition season, each as a snake_case metric map (appearances, minutes, rating, goals, assists, passing and duel metrics for football; points, rebounds and assists for basketball), in SofaScore's order. The type enum accepts overall, home, away, regular_season and playoffs and defaults to overall; only the types listed for that season by team-player-statistics-seasons exist (football overall, home, away; NBA regular_season, playoffs). A metric SofaScore did not record is omitted rather than returned as 0. Returns 404 when SofaScore has no statistics of that type for the combination.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/team-player-statistics
- Auth: API key in header x-api-key
Query parameters
Numeric SofaScore team id
Numeric SofaScore unique-tournament (competition) id from team-player-statistics-seasons
Numeric SofaScore season id from team-player-statistics-seasons
Statistics view
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"players": [
{
"player": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
}
}
],
"season": 96668,
"team_id": 17,
"tournament_id": 17,
"type": "overall"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.