toolzerhub API Docs

Get a team's events in a season (v1)

Returns one team's results or fixtures in a tournament season, 30 per page. A page past the end returns data: null.

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

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
team_id*integer

Team id (homeTeam.id or awayTeam.id on an event).

Range1 <= value <= 10000000000
span?string

last for results, most recent first, or next for fixtures.

Default"last"

Value in

  • "last"
  • "next"
page?integer

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

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