Config

List all situation codes

get/api/v1/situationCodes

Request

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

Query parameters

Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attributestring[]
Season of playstring
Category of statistic to return. Available types in /api/v1/statGroups'HITTING' | 'PITCHING' | 'FIELDING' | 'CATCHING' | 'RUNNING' | 'GAME' | 'TEAM' | 'STREAK'

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.