MLB

Get Baseball Savant Statcast Park Factors rows

Returns season, venue, distance, distance-all, raw, or dimensions rows from Baseball Savant. Query filters are conditional on type and are live-echo validated; local sorting and pagination are applied to returned rows. The fence-stat and allDiffs controls only change display columns and do not change row data; CSV and linked venue detail pages are separate surfaces.

get/mlb/statcast-park-factors

Request

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

Query parameters

type'year' | 'venue' | 'distance' | 'distance-all' | 'raw' | 'dimensions'

Park Factors table mode

yearstring

Mode-specific season; see endpoint markdown and mlb_discovery for exact values

bat_side'R' | 'L'

Optional batter side for year, venue, or raw mode

condition'All' | 'Day' | 'Night' | 'Roof Closed' | 'Open Air'

Park condition for year and venue modes

rolling'1' | '2' | '3'

Rolling year count for year and venue modes

stat'index_wOBA' | 'index_wOBAcon' | 'index_xwOBAcon' | 'index_BACON' | 'index_xBAcon' | 'index_hardhit' | 'index_runs' | 'index_OBP' | 'index_Hits' | 'index_1B' | 'index_2B' | 'index_3B' | 'index_HR' | 'index_BB' | 'index_SO'

Venue mode metric

parks'mlb' | 'all'

Park population selector

sortstring

Local row field present in the selected mode's data

sort_dir'asc' | 'desc'

Local sort direction

limitinteger

Rows per page (1-500)

offsetinteger

Zero-based row offset

Headers

x-api-keystring required

API key required

Response

OK

boardstring
rowsobject[]
totalinteger
typestring

Example response

{
  "board": "statcast-park-factors",
  "total": 29,
  "type": "year"
}

Changes

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