ToolzerHub Docs

Get a player's seasons in a tournament (v1)

Returns a player's statistics for every season of one tournament, with team and season. Nothing found returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/player/tournament/statistics

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

player_id_or_url*string

Player id, from a lineup, a squad or Search Sports. Or the player's Sofascore link, such as https://www.sofascore.com/football/player/bukayo-saka/934235, or its name (the best Sofascore search match is used).

Length1 <= length <= 500
tournament_id_or_url*string

Tournament id (uniqueTournament.id), such as 17 for the Premier League. Or the tournament's Sofascore link, such as https://www.sofascore.com/football/tournament/england/premier-league/17, or its name (the best Sofascore search match is used).

Length1 <= length <= 500
split?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/tournament/statistics?player_id_or_url=159665&tournament_id_or_url=17" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}