MLB StatsAPI Baseball Data Scraper
Pricing
from $0.03 / 1,000 item extracteds
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
from $0.03 / 1,000 item extracteds
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; requires startDate and may be up to 366 days later. Used only for schedules.
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).
For playerStats only: supported hitting, pitching, or fielding groups.
[ "hitting"]For playerStats only: supported season, advanced, career, or year-by-year scopes.
[ "season"]For schedules only: MLB game-type codes such as R (regular season), S (spring), or P (postseason).
Maximum number of deduplicated records saved to the dataset.