MLB StatsAPI Baseball Data Scraper
Pricing
Pay per event
MLB StatsAPI Baseball Data Scraper
Extract official MLB schedules, scores, teams, rosters, standings, players, statistics, leagues, divisions, and venues from StatsAPI.
MLB StatsAPI Baseball Data Scraper
Pricing
Pay per event
Extract official MLB schedules, scores, teams, rosters, standings, players, statistics, leagues, divisions, and venues from StatsAPI.
MLB entity or workflow to retrieve.
Baseball season year. Defaults to the current UTC year.
First schedule date in YYYY-MM-DD format. Used only for schedule records.
Last schedule date in YYYY-MM-DD format, up to 366 days after the start date.
StatsAPI sport ID. Use 1 for Major League Baseball.
Optional MLB team IDs. Required for rosters; filters schedules, teams, and standings.
Optional MLB player IDs. Required for playerStats and supported for targeted player lookups.
League IDs used for standings. Defaults to American League (103) and National League (104).
Player statistic groups to request.
[ "hitting"]Optional MLB game-type codes such as R (regular season), S (spring), or P (postseason).
Maximum number of deduplicated records saved to the dataset.