MLB Stats Scraper ⚾ Teams, Schedules, Rosters & Stats avatar

MLB Stats Scraper ⚾ Teams, Schedules, Rosters & Stats

Pricing

from $3.00 / 1,000 mlb stat records

Go to Apify Store
MLB Stats Scraper ⚾ Teams, Schedules, Rosters & Stats

MLB Stats Scraper ⚾ Teams, Schedules, Rosters & Stats

Scrape official Major League Baseball data from the MLB Stats API: all 30 teams, rosters, game schedules, scores, standings, and player hitting/pitching statistics. Fast, accurate, no API key required.

Pricing

from $3.00 / 1,000 mlb stat records

Rating

0.0

(0)

Developer

viralanalyzer

viralanalyzer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

MLB Stats Scraper ⚾

Scrape official Major League Baseball data directly from the official MLB Stats API. Access all 30 MLB teams, full rosters, player info, real-time game schedules, final/live scores, and division & league standings — fast, 100% reliable, and with no API keys or browser automation needed.


🌟 Key Features

  • ⚡ Direct Official API Connection: Queries official MLB endpoints with sub-second response times and 99.9% uptime.
  • ⚾ All 30 MLB Teams & Venues: Team names, abbreviations, divisions, leagues, and stadium/venue details.
  • 👥 Active Rosters & Player Details: Jersey numbers, positions, roster status, and player IDs.
  • 🏆 Complete Standings: Wins, losses, winning percentages, games back, streaks, run differential, and home/away splits.
  • 📅 Schedules & Scores: Matchups, game status, inning linescores, hits, errors, and winner/loser stats.
  • 🛡️ 100% Free of Bot-Blocks: Pure public JSON API access with built-in UAG-SG guardrails.

📥 Input Parameters

ParameterTypeDefaultDescription
modeString (select)"standings"Data to scrape: teams, roster, schedule, standings, or all.
seasonInteger2026MLB Season year.
teamIdsArray of strings[]Optional team IDs or names (e.g. ["Yankees", "Dodgers"] or [147, 119]).
startDateString""Start date for schedules/scores (YYYY-MM-DD).
endDateString""End date for schedules/scores (YYYY-MM-DD).
maxResultsInteger100Maximum number of records to return.

📤 Output Formats

Standings Record

{
"type": "standing",
"id": "mlb-standing-147-2026",
"teamId": 147,
"teamName": "New York Yankees",
"league": "American League",
"division": "American League East",
"divisionRank": "1",
"leagueRank": "1",
"wins": 75,
"losses": 45,
"winningPercentage": ".625",
"gamesBack": "-",
"streak": "W3",
"runsScored": 612,
"runsAllowed": 480,
"runDifferential": 132,
"homeRecord": "40-20",
"awayRecord": "35-25",
"lastTen": "7-3",
"season": 2026,
"source": "Official MLB Stats API",
"scrapedAt": "2026-08-17T05:34:00.000Z"
}

Game Schedule Record

{
"type": "game",
"id": "mlb-game-745120",
"gameId": 745120,
"gameDate": "2026-08-16T23:05:00Z",
"officialDate": "2026-08-16",
"status": "Final",
"isFinal": true,
"homeTeam": { "id": 147, "name": "New York Yankees", "score": 6, "isWinner": true },
"awayTeam": { "id": 111, "name": "Boston Red Sox", "score": 3, "isWinner": false },
"venue": "Yankee Stadium",
"linescore": { "homeHits": 9, "homeErrors": 0, "awayHits": 5, "awayErrors": 1 },
"season": 2026,
"source": "Official MLB Stats API",
"scrapedAt": "2026-08-17T05:34:00.000Z"
}

💰 Pricing

This Actor uses Pay Per Event (PPE) pricing:

EventPrice
stat-record$0.005 per item ($5.00 / 1,000 stats/games)