Streaks

View streaks

get/api/v1/streaks

Request

  • Base URL: https://statsapi.mlb.com
  • URL: https://statsapi.mlb.com/api/v1/streaks
  • Auth: none declared

Query parameters

streakOrg'PLAYER' | 'TEAM' | 'DIVISION' | 'LEAGUE' | 'SPORT' | 'LEAGUE_LIST'
streakStatStreakStatEnum[]
streakSpan'CAREER' | 'SEASON' | 'ON_GOING' | 'CURRENT_STREAK' | 'CURRENT_STREAK_IN_SEASON' | 'NOTABLE' | 'NOTABLE_IN_SEASON'
streakLevel'SEASON' | 'GAME' | 'AT_BAT' | 'PITCH'
streakThresholdinteger
inverseboolean
startersOnlyboolean
statGroupStatGroup[]

Category of statistic to return. Available types in /api/v1/statGroups

gameTypeGameTypeEnum[]

Type of Game. Available types in /api/v1/gameTypes

seasonstring[]

Season of play

teamIdinteger[]

Unique Team Identifier. Format: 141, 147, etc

leagueIdinteger[]

Unique League Identifier

sportIdinteger[]

Top level organization of a sport

activeStreakboolean

Whether or not a player is active

limitinteger

Number of results to return

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.