Get a team's events in a group (v1)
Returns one team's events in a sub-tournament season, 30 per page; span=all returns all. A page past the end returns data: null.
Authorization
ApiKeyAuth In: header
Query Parameters
Sub-tournament id (tournament.id on an event): one league phase, group or bracket inside a tournament.
1 <= value <= 10000000000Season 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.
1 <= length <= 500Team id (homeTeam.id or awayTeam.id on an event). Or the team's Sofascore link, such as https://www.sofascore.com/football/team/arsenal/42, or its name (the best Sofascore search match is used).
1 <= length <= 500last for results, next for fixtures, all for the whole season.
"last"Value in
- "last"
- "next"
- "all"
Page number, from 1. hasNextPage says whether another page exists.
1 <= value <= 501curl -X GET "https://example.com/v1/sofascore/sub-tournament/season/team/events?id=1&season_id_or_url=61627&team_id_or_url=35" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}