MLB Player Stats, Scores & Standings Scraper
Scrape MLB teams, rosters, player season stats, schedules, final scores and division standings from the official MLB Stats API. Covers all 30 Major League Baseball clubs with wins, losses, runs and records. Export to JSON, CSV or Excel.
{ "title": "Yankees", "id": 147, "url": "https://www.mlb.com/team/147", "teamName": "Yankees", "season": "2024", "wins": 94, "losses": 68, "winningPct": ".580", "divisionRank": "1" }
Every run returns clean, typed records, ready for your CRM, spreadsheet or database.
- One clean record per result, deduped and normalized
- Stable schema in JSON, CSV or Excel, or read it via the Apify API
- Pay per use in the cloud, nothing to install or maintain
A real example record, exactly the shape you receive.
| Title | Id | Url | Team Name |
|---|---|---|---|
| Yankees | 147 | https://www.mlb.com/team/147 | Yankees |
| Orioles | 110 | https://www.mlb.com/team/110 | Orioles |
| Red Sox | 111 | https://www.mlb.com/team/111 | Red Sox |
| Rays | 139 | https://www.mlb.com/team/139 | Rays |
| Blue Jays | 141 | https://www.mlb.com/team/141 | Blue Jays |
{ "title": "Yankees", "id": 147, "url": "https://www.mlb.com/team/147", "teamName": "Yankees", "season": "2024", "wins": 94, "losses": 68, "winningPct": ".580", "divisionRank": "1" }
Frequently asked questions
How do I get a specific team's full roster with stats?
Choose roster mode, select the team from the dropdown, set the season, and keep Include Player Stats enabled. Each player record comes back with a full bio plus a hitting or pitching season stat line, picked automatically based on position.
Can I pull standings for past seasons?
Yes. Standings mode accepts any season year and league (American, National, or both) and returns one record per team with wins, losses, ranks, games back, run differential, and streak.
How do I get final scores for a given day?
Use schedule mode and set the date in YYYY-MM-DD format. You get one record per game with home and away scores, the winner flag, venue, and status.
Where do I find player IDs for players mode?
Run teams or roster mode first. Every team and player record includes its MLB ID, which you paste into the Player IDs list for players mode.
Does this need an API key or login?
No. It reads public MLB Stats API data and runs over the Apify Proxy for reliable access, with no key or account required. --- This is an independent tool that collects publicly available data from the MLB Stats API for research and analysis. It is not affiliated with, endorsed by, or sponsored by Major League Baseball or MLB Advanced Media. All team names, player names, and statistics are the property of their respective owners.
Ready when you are.
Run the scraper live on Apify right now, or have us build one tailored to exactly what you need.