View stats for an individual team.
Request
- Base URL: https://statsapi.mlb.com
- URL: https://statsapi.mlb.com/api/v1/teams/{teamId}/stats
- Auth: none declared
Path parameters
Unique Team Identifier. Format: 141, 147, etc
Query parameters
Top level organization of a sport
Season of play
Type of Game. Available types in /api/v1/gameTypes
Type of statistics. Format: Individual, Team, Career, etc. Available types in /api/v1/statTypes
Category of statistic to return. Available types in /api/v1/statGroups
Baseball stat to sort splits by.
The order of sorting, ascending or descending
Group stats by PLAYER, TEAM, SEASON, VENUE, SPORT or STAT_GROUP
A unique identifier for the opposing team. Must be used with Team ID
A unique identifier for the opposing team
Situation code for a given stat split.
Start date for range of data (must be used with end date). Format: MM/DD/YYYY
End date for range of data (must be used with start date). Format: MM/DD/YYYY
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.