MLB Stats: Schedule, Scores and Player Stats by Date
Pricing
from $1.50 / 1,000 stat row returneds
MLB Stats: Schedule, Scores and Player Stats by Date
MLB stats scraper for daily game schedules, live scores, linescores and player stats. Extract official MLB data by date or player name. Misses are free.
Pricing
from $1.50 / 1,000 stat row returneds
Rating
0.0
(0)
Developer
Adriana Voss
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Get official MLB game schedules, live scores, linescores, pitching decisions, and player stats from MLB Stats API. Look up daily MLB schedules with linescores and pitching decisions by date, or player season batting and pitching stats by player name or MLB person ID. Pay per stat row returned; empty days, unplayed games, and misses are free.
Used by sports analytics desks, fantasy baseball tools, betting models, media outlets, and baseball researchers needing clean, structured MLB data without maintaining brittle browser scrapers.
How to use
- In the Apify Console. Open the actor page and click Start — the
datesfield is already pre-filled with a working example. Results land in the run's dataset as soon as each item is found. - Via the API. Call it directly with a POST request — no Console needed once you have an API token:
curl "https://api.apify.com/v2/acts/accountable_eel~mlb-stats-lookup/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-X POST \-H "Content-Type: application/json" \-d '{"dates":["2026-10-10"]}'
- On a schedule. Save this actor as an Apify Task with the input you want, then add a Schedule (hourly, daily, weekly) so it runs on its own — no server of your own required.
Input
{"dates": ["2026-10-10"]}
One date (YYYY-MM-DD) or player name/ID per line. E.g. '2026-10-10', 'Aaron Judge', '660271'. Accepted formats: 2026-10-10, Aaron Judge, Shohei Ohtani, 660271.
Output
One row per game or player stat record, for example:
| query | found | status | mode | gamePk | gameDate | officialDate | season | gameType | gameStatus | detailedState | seriesDescription | awayTeam | awayTeamId | awayScore | awayHits | awayErrors | awayWins | awayLosses | awayWinner | homeTeam | homeTeamId | homeScore | homeHits | homeErrors | homeWins | homeLosses | homeWinner | venue | winningPitcher | losingPitcher | savePitcher | playerId | fullName | primaryPosition | primaryNumber | currentAge | currentTeam | currentTeamId | statGroup | gamesPlayed | avg | homeRuns | rbi | hits | atBats | obp | slg | ops | stolenBases | era | wins | losses | saves | inningsPitched | strikeOuts | whip | sourceUrl | scrapedAt |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026-10-10 | true | OK | 1970-01-01T00:00:00.000Z |
A miss comes back as a row with "found": false and is never charged. Missing fields or stats not applicable to a given mode (such as pitcher ERA on a batter, or player statistics on a schedule row) are null, never 0 or empty strings.
Pricing
- Stat row returned: $3.00 per 1,000 rows
Plus a $0.003 start fee per run. Charged only for games and player records returned in the dataset — dates with no games and not-found players are never charged.
Example runs
Paste any of these into the Input tab and press Start. All three return rows with no key, no token, and no external accounts.
Daily game schedule and scores by date (default).
{"mode": "schedule","dates": ["2026-10-10"],"maxItems": 20}
Player season stats by name.
{"mode": "player","dates": ["Aaron Judge","Shohei Ohtani"],"maxItems": 20}
Specific player stats by MLB Person ID and season.
{"mode": "player","dates": ["660271"],"season": "2024","maxItems": 20}
Use it from Clay, n8n, Make, or an AI agent
This actor runs synchronously over plain HTTP — call it directly from a script, a workflow tool, or an AI agent, no Apify Console needed once you have an API token.
curl "https://api.apify.com/v2/acts/accountable_eel~mlb-stats-lookup/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-X POST \-H "Content-Type: application/json" \-d '{"dates":["2026-10-10"]}'
n8n. Add an HTTP Request node: Method POST, URL https://api.apify.com/v2/acts/accountable_eel~mlb-stats-lookup/run-sync-get-dataset-items?token=<YOUR_TOKEN>, Body Content Type JSON, JSON Body {"dates":["2026-10-10"]} (swap in an expression from an earlier node for a real value).
Clay. Add an "HTTP API" column: Method POST, URL https://api.apify.com/v2/acts/accountable_eel~mlb-stats-lookup/run-sync-get-dataset-items?token=<YOUR_TOKEN>, Body {"dates":["{{date or player}}"]}, mapping the row's date or player into the dates array.
MCP. In Claude, Cursor, or any MCP client with the Apify MCP server, ask for "mlb stats scraper" — the agent will find and run this actor.