Teams
View team and affiliate teams
get/api/v1/teams/{teamId}/affiliates
Request
- Base URL: https://statsapi.mlb.com
- URL: https://statsapi.mlb.com/api/v1/teams/{teamId}/affiliates
- Auth: none declared
Path parameters
teamIdinteger required
Unique Team Identifier. Format: 141, 147, etc
Query parameters
teamIdsinteger[]
Unique Team Identifier. Format: 141, 147, etc
sportIdinteger
Top level organization of a sport
seasonstring
Season of play
gameType'SPRING_TRAINING' | 'REGULAR_SEASON' | 'FIRST_ROUND' | 'DIVISION_SERIES' | 'LEAGUE_CHAMPIONSHIP_SERIES' | 'WORLD_SERIES' | 'CHAMPIONSHIP' | 'NINETEENTH_CENTURY_SERIES' | 'PLAYOFFS' | 'ALL_STAR' | 'INTRASQUAD' | 'EXHIBITION'
Type of Game. Available types in /api/v1/gameTypes
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.