LeaguesEndpoint 68 of 116
Season calendar
https://api.datasportsapi.com/
- Plan
- All plans
- Auth
Bearer dsa_live_…- Parameters
- 2 required · 0 optional
- Returns
SeasonDay[]
Returns each UTC day of a league season on which fixtures are scheduled, together with the number of fixtures — handy for drawing a season calendar or linking straight to a matchday via /v2/fixtures?date=&league=. Available since 2026-11-04.
Worth knowing
Days are sorted oldest first. The list is rebuilt every day, so a rescheduled fixture moves to its new date within a day.
01Parameters
idpathRequiredleague id issued by DataSportsAPI, a positive integer
seasonqueryRequiredseason id, as listed by /v2/leagues/{id}/seasons
02Request
The same call from the command line and each SDK. The SDK lines assume a client created with your key; left out, it is read from DATASPORTSAPI_API_KEY. Installing a client: SDKs & CLI.
curl -H "Authorization: Bearer dsa_live_…" \
"https://api.datasportsapi.com/v2/leagues/{id}/calendar?season=…"03Response
The top-level keys of the JSON body. Each object links to its full shape in the data reference.
dataSeasonDay[]meta- season, count (number of days), fixtureCount (fixtures across all those days)
{ "data": [ { "date": "2026-08-21", "fixtureCount": 1 }, { "date": "2026-08-22", "fixtureCount": 5 }, … ], "meta": { "season": 200386, "count": 112, "fixtureCount": 380 } }04Errors
- 403
history_not_in_planyour plan’s history window begins after this season ended
- 404
not_foundthe season id does not belong to this league
unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code