Free API
Concierge API
Enterprise API
List period types for a league
Available for: Free API, Concierge API, Enterprise API.
Get the period IDs, names, and abbreviations associated with the selected league. Use them to interpret league-specific game, half, quarter, and other period markets in the odds response.
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/period-type/{league}
curl 'https://data.unabated.com/period-type/{league}' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": 1,
"name": null,
"abbreviation": null,
"leagueIds": [
1
]
}
],
"success": true,
"messages": [
"string"
],
"pagination": {
"nextCursor": null,
"previousCursor": null
}
}