ToolzerHub Docs

Get a knockout bracket (v1)

Returns a knockout stage's bracket for a season: rounds, ties, participants, scores and events. Use the knockout stage's sub-tournament id. Nothing found returns data: null.

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

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_or_url*string

Season id. List seasons with Get Sports Tournament (seasons). Or the tournament page's link, such as https://www.sofascore.com/football/tournament/england/premier-league/17#id:61627.

Length1 <= length <= 500
curl -X GET "https://example.com/v1/sofascore/sub-tournament/season/cup-tree?id=23&season_id_or_url=76953" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}