Season
View all seasons
This endpoint allows you to view all seasons for a given Division, League or Sport. One of the following parameters must be present: divisionId, leagueId or sportId.
get/api/v1/seasons/all
Request
- Base URL: https://statsapi.mlb.com
- URL: https://statsapi.mlb.com/api/v1/seasons/all
- Auth: none declared
Query parameters
divisionIdinteger
Unique Division Identifier
leagueIdinteger
Unique League Identifier
sportIdinteger
Top level organization of a sport
withGameTypeDatesboolean
Retrieve dates for each game type
fieldsstring[]
Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.