MLB

Get Baseball Savant Swing Timing player details

Returns the four anonymous per-swing detail arrays expanded from a batter or pitcher Swing Timing row. Pass the row_id uniqueId from mlb-statcast-swing-timing and repeat its type and table filters so split values can be mapped to the upstream detail query.

get/mlb/statcast-swing-timing-details

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/mlb/statcast-swing-timing-details
  • Auth: API key in header x-api-key

Query parameters

row_idstring required

Unique row id from mlb-statcast-swing-timing, including any selected split values

type'batter' | 'pitcher' required

Player row type

seasonsstring[]

Season filters

game_typesstring[]

Game-type filters

splitsstring[]

Split dimensions

min_swings'q' | '1' | '5' | '10' | '25' | '50' | '100' | '200' | '500' | '1000'

Minimum swings

min_split'1' | '5' | '10' | '25' | '50' | '100' | '200' | '500' | '1000'

Minimum group swings

split_year'0' | '1'

Include year in the row grouping

teamsstring[]

MLB team ids

date_startstring

Filter start date in YYYY-MM-DD format

date_endstring

Filter end date in YYYY-MM-DD format

bat_side'L' | 'R'

Batter side

contact_type'2' | '4' | '9'

Contact type

attack_zone'0' | '1' | '1.1' | '2' | '3'

Attack zone

pitch_hand'L' | 'R'

Pitcher hand

pitch_typesstring[]

Pitch type codes

countsstring[]

Ball-strike counts

swing_timing_xstring[]

Tied-up/flail axis values

swing_timing_ystring[]

Early/late axis values

swing_timing_zstring[]

Over/under axis values

flagsstring[]

Positive swing timing flags

not_flagsstring[]

Excluded swing timing flags

Headers

x-api-keystring required

API key required

Response

OK

detailsobject
fetched_atstring
row_idstring
source_urlstring
totalinteger
typestring

Changes

No recorded changes to this operation across all 2 revisions of this API.