VOOZH about

URL: https://apify.com/jungle_synthesizer/mlb-statsapi-trade-deadline-pennant-race-scraper

โ‡ฑ MLB Stats API โ€” Trade Deadline & Pennant Race Tracker ยท Apify


๐Ÿ‘ MLB Stats API โ€” Trade Deadline & Pennant Race Tracker avatar

MLB Stats API โ€” Trade Deadline & Pennant Race Tracker

Pricing

Pay per event

Go to Apify Store

MLB Stats API โ€” Trade Deadline & Pennant Race Tracker

Pulls live game schedules, standings, and trade-deadline transactions from the official MLB Stats API (statsapi.mlb.com). Surface box-score results, wild-card race standings, and real-time roster moves from the /transactions endpoint โ€” the differentiator that competing actors don't expose.

Pricing

Pay per event

Rating

0.0

(0)

Developer

๐Ÿ‘ BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Share

Pull live game schedules, standings, wild-card race data, and trade-deadline transactions from the official MLB Stats API (statsapi.mlb.com). Three modes in one actor โ€” the only Apify actor that surfaces the /transactions endpoint for real-time roster moves.

What this actor does

  • Schedule mode โ€” Pulls box scores and game results for any date range. Includes home/away teams, scores, winning/losing/save pitchers, venue, and game status.
  • Standings mode โ€” Snapshots current AL and NL division standings including wild-card race position (wildCardRank, wildCardGamesBack, wins/losses).
  • Transactions mode โ€” The trade-deadline differentiator: streams roster moves (trades, DFA, call-ups, options) from the /transactions endpoint for any date window.

Input

FieldTypeDefaultDescription
modestringscheduleschedule, standings, or transactions
startDatestringtodayStart date YYYY-MM-DD (schedule / transactions)
endDatestringstartDateEnd date YYYY-MM-DD (schedule / transactions)
leagueIdsstring103,104League IDs for standings (103=AL, 104=NL)
gameTypestringRGame type: R=Regular, S=Spring, E=Exhibition, D=Division Series
maxItemsinteger10Maximum records to return (0 = no limit)

Output schema

Every record shares the same 17-field flat schema regardless of mode:

FieldNotes
game_pkMLB game ID (or transaction ID)
game_dateDate YYYY-MM-DD
game_typeR / standings / transaction
seasonMLB season year
home_team / home_team_abbrevHome team name and abbreviation
home_scoreRuns scored (home) โ€” wins count in standings mode
away_team / away_team_abbrevAway team or division rank in standings mode
away_scoreRuns scored (away) โ€” losses in standings mode
venueBallpark name โ€” games back in standings mode
statusGame status or wild-card games back
winning_pitcherWP name (Final games) โ€” wild-card rank in standings
losing_pitcherLP name (Final games) โ€” games played in standings
save_pitcherSave pitcher name if applicable
home_runs_totalTotal HRs in game (when available)
sourcestatsapi.mlb.com/schedule | /standings | /transactions

Trade deadline use case

The July 31 trade deadline is the highest-traffic period in baseball analytics. Set mode: transactions with startDate: 2026-07-28 and endDate: 2026-08-01 to capture every roster move in the deadline window:

{
"mode":"transactions",
"startDate":"2026-07-28",
"endDate":"2026-08-01",
"maxItems":0
}

Pennant race use case

Track the wild-card standings as the pennant race heats up in August and September:

{
"mode":"standings",
"leagueIds":"103,104",
"maxItems":0
}

API details

  • Source: https://statsapi.mlb.com/api/v1/ (official MLB Stats API)
  • Authentication: none required โ€” fully open public API
  • Rate limits: generous; actor uses a 150ms courtesy delay
  • Proxy: none needed

You might also like

MLB Player & Game Stats Scraper

scrapers_lat/mlb-stats-scraper

Extract MLB teams, rosters, player season stats, schedules, scores and standings from the public MLB Stats API.

2

5.0

MLB Stats Scraper

crawlerbros/mlb-stats-scraper

Scrape the official MLB Stats API, comprehensive baseball data including teams, players, schedules, standings, and detailed statistics. Official MLB data source, no authentication required.

79

MLB Stats Scraper

crawlergang/mlb-stats-scraper

Scrape the official MLB Stats API, comprehensive baseball data including teams, players, schedules, standings, and detailed statistics. Official MLB data source, no authentication required.

2

5.0

MLB Stats API

gentle_cloud/mlb-stats-api

Extract baseball data from MLB official free API. Get teams, standings, game schedules/scores, and detailed player statistics for any season.

77

MLB Baseball Stats Scraper

crawlerbros/mlb-baseball-stats-scraper

Scrape the official MLB Stats API - comprehensive baseball data including teams, player batting/pitching stats, schedules, and standings. Official MLB data source, no authentication required.

15

MLB Stats Scraper

parseforge/mlb-stats-scraper

Scrape Major League Baseball data from the official MLB Stats API - schedules, teams, rosters, player stats, and live game feeds. No API key required.

MLB Stats API - Baseball Data

alizarin_refrigerator-owner/mlb-stats-api

Comprehensive MLB baseball statistics including player stats, game logs, standings & historical data. Perfect for fantasy sports, betting & analytics.

MLB StatsAPI Baseball Data Scraper

parseforge/mlb-statsapi-scraper

Tap the official MLB StatsAPI for teams, players, schedules, venues, leagues, divisions, and seasons. Filter by sport id and season year to build rosters, standings, or game calendars. Useful for fantasy tools, baseball analytics, and historical season research.

MLB Team Roster

burbn/mlb-team-roster-scraper

Extract complete MLB rosters with deep player insights! ๐ŸŸ๏ธ Get real-time stats, injury tracking, cross-platform IDs (ESPN, Yahoo, MLB), and fantasy points. ๐Ÿš€ High-speed, multi-team support, and 6+ organized views for perfect data analysis. Perfect for analytics and betting apps!