MLB Stats Scraper - Teams, Rosters, Scores & Standings avatar

MLB Stats Scraper - Teams, Rosters, Scores & Standings

Pricing

$4.00 / 1,000 mlb data records

Go to Apify Store
MLB Stats Scraper - Teams, Rosters, Scores & Standings

MLB Stats Scraper - Teams, Rosters, Scores & Standings

Scrape MLB teams, team rosters with player season stats, game scores and schedules, and division/league standings. No API key required.

Pricing

$4.00 / 1,000 mlb data records

Rating

0.0

(0)

Developer

Andrew

Andrew

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Extract Major League Baseball data on demand — teams, rosters, player season stats, game scores, box scores, standings, and stat leaderboards — all from one actor with seven scraping modes.

What you get

ModeWhat it returns
teamsAll 30 MLB teams: id, name, abbreviation, division, league, home venue
rosterA team's active 26-man roster with jersey number, position, and current-season batting or pitching stats per player
scheduleGames for a date or date range: status (scheduled/live/final), venue, home/away teams and scores, game type
standingsDivision and league standings: rank, wins, losses, win %, games back, streak — one or more seasons
playerStatsFull season hitting, pitching, or fielding stat lines for specific players or entire team rosters, across one or more seasons
gameDetailsPer-team box score lines (2 rows per game): runs, hits, doubles, triples, HR, RBI, walks, strikeouts, errors, innings pitched, ERA
leadersRanked statistical leaderboards for any hitting, pitching, or fielding category

Use cases

  • Fantasy baseball — pull live rosters, season stats, and leaderboards to research lineup and waiver-wire decisions
  • Sports betting models — feed schedules, box scores, and standings context into a line-setting or line-shopping model
  • Sports media — power a live scoreboard, standings widget, or player-stat lookup
  • Data science and analytics — build a historical or current-season dataset across multiple seasons for modeling and reporting
  • Dashboards — refresh a team or league dashboard with live scores, standings, and stat leaders on a schedule

How to use

  1. Choose a Mode: teams, roster, schedule, standings, playerStats, gameDetails, or leaders
  2. For roster mode, set Team ID (e.g. 147 for the New York Yankees) or Team abbreviation (e.g. NYY) — run teams mode first if you need to look up an ID
  3. For schedule and gameDetails modes, set Date (YYYY-MM-DD) for a single day, or Start date / End date for a range — leave blank for today's games. Optionally set Game type to filter to Regular Season, Spring Training, or a specific postseason round. gameDetails mode can instead take explicit Game PKs to box-score exact games.
  4. For standings mode, set Seasons (defaults to the current year) and League (American, National, or both)
  5. For playerStats mode, set Player IDs (specific players) or Team IDs (whole rosters), Stat group (hitting/pitching/fielding), and Seasons
  6. For leaders mode, set Leader categories (e.g. homeRuns, battingAverage, earnedRunAverage), Stat group, and Seasons
  7. Set Max items to cap the number of dataset rows (default 100; 0 = no cap)
  8. Run the actor — results appear in the Dataset tab

Output format

Every record includes a recordType field (team, player, game, standing, playerStat, gameDetail, or leader) so mixed-mode datasets stay easy to filter. Example roster record:

{
"recordType": "player",
"playerId": 592789,
"fullName": "Gerrit Cole",
"jerseyNumber": "45",
"position": "Pitcher",
"positionAbbreviation": "P",
"teamId": 147,
"statsGroup": "pitching",
"season": "2026",
"era": "3.15",
"wins": 12,
"losses": 6,
"strikeOuts": 198,
"whip": "1.05"
}

Example leaders record:

{
"recordType": "leader",
"category": "homeRuns",
"statGroup": "hitting",
"season": "2026",
"gameType": "R",
"rank": 1,
"value": "40",
"playerId": 656941,
"playerName": "Kyle Schwarber",
"teamId": 143,
"teamName": "Philadelphia Phillies",
"leagueId": 104,
"leagueName": "National League"
}

Example gameDetail record:

{
"recordType": "gameDetail",
"gamePk": 824911,
"officialDate": "2026-08-31",
"status": "Final",
"gameType": "R",
"venue": "Truist Park",
"teamId": 144,
"teamName": "Atlanta Braves",
"homeAway": "home",
"opponentTeamName": "San Francisco Giants",
"runs": 3,
"hits": 9,
"homeRuns": 1,
"strikeOuts": 10,
"errors": 0,
"pitchingInningsPitched": "9.0",
"pitchingEra": "3.58"
}

Example standing record:

{
"recordType": "standing",
"season": "2026",
"leagueName": "American League",
"divisionName": "American League East",
"teamName": "Rays",
"wins": 82,
"losses": 55,
"winningPercentage": ".599",
"gamesBack": "-",
"divisionRank": "1"
}