toolzerhub API Docs

Get one season's events (v1)

Returns a sub-tournament's results or fixtures in a season, 30 per page; span=all returns the whole season. A page past the end returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/sub-tournament/season/events

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

id*integer

Sub-tournament id (tournament.id on an event): one league phase, group or bracket inside a tournament.

Range1 <= value <= 10000000000
season_id*integer

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

Range1 <= value <= 10000000000
span?string

last for results, next for fixtures, all for the whole season.

Default"last"

Value in

  • "last"
  • "next"
  • "all"
page?integer

Page number, from 1. hasNextPage says whether another page exists.

Range1 <= value <= 50
Default1
curl -X GET "https://example.com/v1/sofascore/sub-tournament/season/events?id=1&season_id=61627" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}