MLB
Get Baseball Savant Expected Statistics
Returns the separate Expected Statistics leaderboard with batter, pitcher, and team views; season, team, batter-position, BIP/PA qualifier and threshold filters; local metric sorting; and pagination. League-average values are returned separately.
get/mlb/statcast-expected
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/mlb/statcast-expected
- Auth: API key in header x-api-key
Query parameters
type'batter' | 'pitcher' | 'batter-team' | 'pitcher-team'
Leaderboard view
yearinteger
Season from 2015 through the current season
team_idstring
Optional MLB team id from mlb_teams
position'C' | '1B' | '2B' | 'SS' | '3B' | 'LF' | 'CF' | 'RF' | 'DH'
Batter position; only supported for type=batter
filter_type'bip' | 'pa'
Minimum qualifier type
minimum'q' | '1' | '25' | '50' | '100' | '150' | '200' | '250' | '350' | '450' | '500' | '600'
Minimum BIP/PA threshold
sort'entity_name' | 'entity_team_name' | 'pa' | 'bip' | 'ba' | 'est_ba' | 'ba_minus_est_ba_diff' | 'slg' | 'est_slg' | 'slg_minus_est_slg_diff' | 'woba' | 'est_woba' | 'woba_minus_est_woba_diff' | 'wobacon' | 'est_wobacon' | 'wobacon_minus_est_wobacon_diff' | 'exit_velocity_avg' | 'hard_hit_percent' | 'barrels_per_bip' | 'barrels_per_pa'
Sort field
sort_dir'asc' | 'desc'
Sort direction
limitinteger
Rows per page (1-500)
offsetinteger
Zero-based row offset
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 3 revisions of this API.