MLB Baseball Stats Scraper - Teams, Scores & Standings avatar

MLB Baseball Stats Scraper - Teams, Scores & Standings

Pricing

from $0.08 / 1,000 results

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

MLB Baseball Stats Scraper - Teams, Scores & Standings

$0.08/1K ๐Ÿ”ฅ Fast MLB baseball scraper! Teams, schedule, scores & standings from the official StatsAPI. No key. JSON, CSV, Excel or API in seconds. Pull thousands of data points for apps, betting & fantasy โšก

Pricing

from $0.08 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

MLB Baseball Stats Scraper โšพ

Scrape MLB teams, daily schedules with live scores, and season standings straight from the official MLB StatsAPI โ€” clean structured JSON, no API key, and datacenter-proxy friendly (runs cheap, no residential proxy needed).

Built for sports apps, betting models, fantasy baseball tools, and stats dashboards that need reliable Major League Baseball data without touching a flaky HTML page or paying for a gated API.


What it does

Pick a mode and go:

ModeReturnsInput used
teamsEvery current MLB club (30 teams)โ€”
scheduleAll games for a date, with scores + statusdate (YYYY-MM-DD)
standingsDivision standings for a seasonseason (YYYY)

Data comes from statsapi.mlb.com โ€” the same clean JSON feed that powers official scoreboards.


Example output

Teams (mode: teams)

{
"type": "team",
"id": 147,
"name": "New York Yankees",
"abbreviation": "NYY",
"location": "Bronx",
"league": "American League",
"division": "American League East",
"venue": "Yankee Stadium",
"scraped_at": "2026-07-16T12:00:00+00:00"
}

Schedule (mode: schedule, date: 2024-07-04)

{
"type": "game",
"game_pk": 744834,
"date": "2024-07-04T15:05:00Z",
"status": "Final",
"home_team": "Washington Nationals",
"home_score": 1,
"away_team": "New York Mets",
"away_score": 0,
"venue": "Nationals Park",
"scraped_at": "2026-07-16T12:00:00+00:00"
}

Standings (mode: standings, season: 2024)

{
"type": "standing",
"team": "Yankees",
"wins": 94,
"losses": 68,
"win_pct": 0.58,
"games_back": "-",
"division_rank": "1",
"scraped_at": "2026-07-16T12:00:00+00:00"
}

Input

FieldTypeDefaultNotes
modeselectteamsteams, schedule, or standings
datestring2024-07-04YYYY-MM-DD, used in schedule mode
seasonstring2024Four-digit year, used in standings mode
maxItemsinteger500Cap on records pushed (max 2000)

Pricing

Runs on 512 MB and finishes in seconds. Expect roughly ~$1 per 1,000 records on the Apify platform (usage-based) โ€” a single teams or standings pull is a fraction of a cent. No proxy costs because the endpoint is datacenter-friendly.


Why this scraper

  • No API key, no signup โ€” point and run.
  • Clean JSON in, clean JSON out โ€” no HTML parsing to break on redesigns.
  • Chrome-124 fingerprint via curl_cffi, with a stdlib urllib fallback for maximum reliability.
  • Fail-loud โ€” a mode that returns zero rows aborts the run instead of silently shipping empty data.
  • Nullable schema โ€” every field is optional, so partial upstream data never crashes your pipeline.

Comparison

This actorOfficial API directGeneric HTML scrapers
API key requiredโŒ Noโœ… Yes (rate-limited)โŒ No
Structured, flattened outputโœ…โš ๏ธ Deeply nestedโš ๏ธ Fragile
Proxy neededโŒ Datacenter OKโ€”โœ… Often residential
Scores + standings + teams in oneโœ…โš ๏ธ Multiple callsโŒ


Keywords: MLB scraper, baseball stats API, MLB schedule scraper, MLB standings scraper, baseball scores API, MLB teams data, sports data scraper, fantasy baseball data, sports betting data, MLB StatsAPI