Rank a team in each statistic (v1)
Returns where the team ranks in the league for each statistic, in total and per game, with the team and match count. Nothing found returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
id*integer
Team id (homeTeam.id or awayTeam.id on an event). Tennis players, fighters and drivers are teams too.
Range
1 <= value <= 10000000000tournament_id*integer
Tournament id (uniqueTournament.id), such as 17 for the Premier League.
Range
1 <= value <= 10000000000season_id*integer
Season id. List seasons with Get Sports Tournament (seasons).
Range
1 <= value <= 10000000000split?string
Statistics split. overall covers every match; regularSeason, playoffs and top16 apply only where the season has them.
Default
"regularSeason"Value in
- "regularSeason"
- "overall"
- "playoffs"
- "top16"
- "mainDraw"
curl -X GET "https://example.com/v1/sofascore/team/season/ranks?id=3427&tournament_id=132&season_id=65360" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}