Get a player's season statistics (v1)
Returns a player's statistics for one tournament season, such as rating, goals, assists and passes, with the team. None returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
id*integer
Player id, from a lineup, a squad or Search Sports.
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
"overall"Value in
- "overall"
- "home"
- "away"
- "regularSeason"
- "playoffs"
- "top16"
curl -X GET "https://example.com/v1/sofascore/player/season/statistics?id=159665&tournament_id=17&season_id=61627" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}