Baseball Savant Scraper (Statcast) avatar

Baseball Savant Scraper (Statcast)

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Baseball Savant Scraper (Statcast)

Baseball Savant Scraper (Statcast)

Scrape Baseball Savant (baseballsavant.mlb.com) for Statcast data - expected stats (xBA, xSLG, xwOBA, xERA), sprint speed leaderboards, and percentile rankings for all MLB players.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Scrape Baseball Savant — MLB's official Statcast data platform. Retrieve expected statistics (xBA, xSLG, xwOBA, xERA), sprint speed leaderboards, and percentile rankings for every MLB player.

What You Can Scrape

ModeData
xStatsExpected batting avg (xBA), slugging (xSLG), weighted on-base (xwOBA), and for pitchers: ERA and xERA
sprintSpeedSprint speed (ft/sec), bolts (top sprints), and home-to-first times for every qualifier
percentileRankingsFull percentile scores across xwOBA, exit velocity, K%, BB%, whiff%, chase%, barrel%

Input

FieldTypeDefaultDescription
modeselectxStatsWhich Statcast dataset to retrieve
statTypeselectbatterBatter or pitcher stats (xStats/percentileRankings only)
yearinteger2023MLB season year (2015–2024)
minPAstringqQualifying threshold: q for qualified, or a number like 50
maxItemsinteger100Maximum records to return

Output

Each record contains:

{
"playerName": "Freddie Freeman",
"playerId": 518692,
"year": 2023,
"statType": "batter",
"plateAppearances": 730,
"battingAvg": 0.331,
"xBA": 0.315,
"slugging": 0.567,
"xSLG": 0.567,
"wOBA": 0.411,
"xwOBA": 0.406,
"profileUrl": "https://baseballsavant.mlb.com/savant-player/518692",
"mode": "xStats",
"scrapedAt": "2024-01-01T00:00:00+00:00"
}

FAQs

Does this require an API key? No. All data is fetched from Baseball Savant's public CSV export endpoints — no authentication required.

What years are supported? 2015–2024. Statcast data began in 2015.

What is xERA? Expected ERA is a pitcher metric based on the quality of contact allowed, not actual results. Lower xERA indicates better underlying performance.

What does sprint speed measure? Sprint speed is measured in feet per second during a player's fastest runs of at least 90 feet. The league average is approximately 27 ft/sec.

Can I get both batter and pitcher stats in one run? Run the actor twice — once with statType: batter and once with statType: pitcher.