SofaScore team season statistics
Returns a team's statistics for one competition season (goals, shots, passing, duels, discipline, and the matching conceded-side metrics) as a snake_case metric map. The type enum accepts overall, home, away, regular_season, and playoffs and defaults to overall; only the types listed for that season by team-statistics-seasons exist (football teams have overall only; basketball, ice hockey and baseball teams have regular_season and playoffs). 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-season-statistics
- Auth: API key in header x-api-key
Query parameters
Numeric SofaScore team id
Numeric SofaScore unique-tournament (competition) id from team-statistics-seasons
Numeric SofaScore season id from team-statistics-seasons
Statistics view
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"season": 96668,
"team_id": 17,
"tournament_id": 17,
"type": "overall"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 3 revisions of this API.