Leagues
League fixtures
GET/v2/leagues/{id}/fixturesAll plans
The fixtures of one round of a season.
Parameters
id
our numeric id (positive integer)
season
a season id from /v2/leagues/{id}/seasons
round
a round number from /rounds (1–9999)
slug
the round’s slug from /rounds, when it has one
prefix
the round’s prefix from /rounds (only used together with slug)
Response
- data
Fixture[]- meta
- season, round, slug, prefix, count
- errors
- 400 bad_request — missing season or round, malformed slug or prefix404 not_found — season is not one of this league’s seasons (the message names the parameter; list them with /v2/leagues/{id}/seasons)
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/leagues/{id}/fixtures?season=…&round=…"
Example
{ "data": [ { "id": 201324, "round": { "number": 7, "name": null, "slug": null, "prefix": null }, … }, … ], "meta": { "season": 200386, "round": 7, "slug": null, "prefix": null, "count": 10 } }