toolzerhub API Docs

Get a sortable player stats table (v1)

Returns a page of player season statistics sorted by order, with one column group. Teams and filters come from Get Sports Season Statistics Info. Nothing found returns data: null.

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

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

id*integer

Tournament id (uniqueTournament.id), such as 17 for the Premier League. Find one with Search Sports.

Range1 <= value <= 10000000000
season_id*integer

Season id. List seasons with Get Sports Tournament (seasons).

Range1 <= value <= 10000000000
limit?integer

Rows per page, 1 to 100.

Range1 <= value <= 100
Default20
page?integer

Page number, from 1. pages in the reply is the page count.

Range1 <= value <= 50
Default1
order?string

Field to sort by; a leading - sorts descending.

Match^-?[A-Za-z]{1,40}$
Default"-rating"
accumulation?string

total, perGame or per90 values.

Default"total"

Value in

  • "total"
  • "perGame"
  • "per90"
group?string

Column group to return.

Default"summary"

Value in

  • "summary"
  • "attack"
  • "defence"
  • "passing"
  • "goalkeeper"
curl -X GET "https://example.com/v1/sofascore/tournament/season/statistics?id=1&season_id=61627" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}