View stats from search
Request
- Base URL: https://statsapi.mlb.com
- URL: https://statsapi.mlb.com/api/v1/stats/search
- Auth: none declared
Query parameters
Category of statistic to return. Available types in /api/v1/statGroups
Comma delimited list of unique primary keys
Comma delimited list of unique play identifiers
Comma delimited list of Seasons of play
Type of Game. Available types in /api/v1/gameTypes
Date of Game. Format: YYYY-MM-DD
Date of Game. Format: YYYY-MM-DD
Date of Game. Format: YYYY-MM-DD
Unique Team Identifier. Format: 141, 147, etc
Unique Team Identifier. Format: 141, 147, etc
Unique Team Identifier. Format: 141, 147, etc
Comma delimited list of top level organizations of a sport
Comma delimited list of top level organizations of a sport
Comma delimited list of top level organizations of a sport
Comma delimited list of Unique league identifiers
Comma delimited list of Unique league identifiers
Comma delimited list of Unique league identifiers
Comma delimited list of Unique League Identifiers
Comma delimited list of Unique League Identifiers
Comma delimited list of Unique League Identifiers
Unique Team Identifier. Format: 141, 147, etc
Unique Team Identifier. Format: 141, 147, etc
A unique identifier for a player
Return "ALL" or only "QUALIFIED" players based on plate appearances.
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
A unique identifier for a player
Unique Venue Identifier
Handedness of pitcher
Bat side of hitter
Classification of pitch (fastball, curveball, etc...)
Result of the pitch (ball, called strike, etc...)
Type of event
All of the details of a player's position
All of the details of a player's position
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Minimum value to filter on
Maximum value to filter on
Whether or not a play resulted in a barreled ball
Trajectory of hit (line drive, fly ball, etc...)
Number of results to return
The pointer to start for a return set; used for pagination
Group stats by PLAYER, TEAM, SEASON, VENUE, SPORT or STAT_GROUP
Group stats by PLAYER, TEAM, SEASON, VENUE, SPORT or STAT_GROUP
Baseball stat to sort splits by.
The prefix modifier for the sort stat. avg, min, max. I.E minExitVelocity, maxLaunchAngle, avgHitDistance
The order of sorting, ascending or descending
Only return averages above this percentile. used for best effort plays
Minimum occurrences to filter upon
Minimum occurrences to filter upon
Minimum occurrences to filter upon
Minimum occurrences to filter upon
Situation code for a given stat split.
Columns to return totals
Show events with null metrics
Baseball stat fields to populate
The at bat number of a given game. Format: 1, 2, 3, etc
The pitch number of a given game. Format: 1, 2, 3, etc
Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute
Whether or not a player is active
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.