Free API
Concierge API
Enterprise API
List seasons for a league
Available for: Free API, Concierge API, Enterprise API.
Get the seasons for a league, including their IDs, names, dates, and season parts. Use these IDs to relate season-based markets and events, and changedSince to retrieve modified season records.
Free API covers its supported sportsbooks and delayed REST data. Concierge API covers NFL, NBA, MLB, NHL, and WNBA. Enterprise API follows the data scope selected for your integration.
Path Parameters
- Type: stringleaguerequired
Query Parameters
- Type: stringchanged
Since - Type: stringapi
-version
Headers
- Type: stringX
- A P I - Version
Responses
- 401
Authentication is missing, invalid, expired, or revoked.
- 403
This request is outside the key's API tier or data scope.
Request Example for get/season/{league}
curl 'https://data.unabated.com/season/{league}' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": 1,
"name": null,
"leagueId": 1,
"startDate": null,
"endDate": null,
"seasonParts": [
{
"id": 1,
"name": null,
"startDate": null,
"endDate": null,
"seasonPartType": {
"id": 1,
"name": null
}
}
],
"modifiedOn": null
}
],
"success": true,
"messages": [
"string"
],
"pagination": {
"nextCursor": null,
"previousCursor": null
}
}