MLB

Get Baseball Savant Rolling Windows rows

Returns the six embedded Batter/Pitcher rolling-window tables, filtered by metric, role, and plate-appearance window. Each group is sorted by the selected metric delta in the same direction as the first-party page and paginated independently. The upstream page has no season, team, or game-type filters.

get/mlb/statcast-rolling

Request

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

Query parameters

metric'xwoba' | 'woba' | 'ba' | 'xba' | 'slg' | 'xslg'

Displayed metric

role'Batter' | 'Pitcher'

Optional player role; omit for both

window_pa'50' | '100' | '250'

Optional rolling plate-appearance window; omit for all

limitinteger

Rows per group (1-500)

offsetinteger

Zero-based row offset per group (0-5000)

Headers

x-api-keystring required

API key required

Response

OK

fetched_atstring
limitinteger
metricstring
offsetinteger
source_urlstring
totalinteger

Example response

{
  "limit": 100,
  "metric": "xwoba",
  "total": 2509
}

Changes

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