VOOZH about

URL: https://apify.com/alizarin_refrigerator-owner/mlb-stats-api

โ‡ฑ MLB baseball statistics API player stats game data standings ยท Apify


Pricing

from $0.01 / 1,000 results

Go to Apify Store

MLB Stats API - Baseball Data

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

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

40

Total users

3

Monthly active users

2 months ago

Last modified

Share

MLB Stats API

Fetch MLB baseball data including teams, players, schedules, standings, and game statistics from the official MLB Stats API.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode":true
}

Run with real data

{
"demoMode":false,
"task":"standings",
"leaderCategory":"homeRuns"
}

Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"standings"Yes*What data to fetch
teamIdinteger-NoMLB team ID (e.g., 147 for New York Yankees, 111 for Boston Red Sox). Required for team_roster and team_schedule.
playerIdinteger-NoMLB player ID for player_stats task
gameIdinteger-NoMLB game ID (gamePk) for game_boxscore task
seasoninteger-NoSeason year (e.g., 2024). Defaults to current season.
datestring-NoDate for schedule (YYYY-MM-DD format). Defaults to today.
leaderCategorystring"homeRuns"NoCategory for leaders (homeRuns, battingAverage, rbi, wins, era, strikeouts)
demoModebooleantrueNoReturn sample data without making API calls
webhookUrlstring-NoURL to receive results via POST request (Zapier, Make, n8n, or custom endpoint)

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
MLB Teams ListFetch all MLB teams with basic info (name, abbreviation, division, league)$0.01
Team RosterGet complete roster for a team including player positions, numbers, and status$0.01
Team ScheduleFetch team's upcoming and past games with scores and opponents$0.01
League StandingsCurrent MLB standings by division with wins, losses, PCT, GB$0.01
Player StatisticsDetailed player stats - batting (AVG, HR, RBI, OPS) or pitching (ERA, WHIP, K)$0.02
Game BoxscoreComplete game boxscore with batting/pitching lines, play-by-play summary$0.02
League ScheduleFull MLB schedule for a date range with game times and broadcasts$0.01
Stat LeadersLeague leaders in batting average, home runs, RBI, ERA, strikeouts, saves$0.02
Fantasy ProjectionsPlayer fantasy projections for DraftKings/FanDuel with projected points$0.03
Betting OddsGame betting lines including moneyline, run line, totals from multiple sportsbooks$0.05

Demo mode is free -- no charges for sample data.


Troubleshooting

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal

You might also like

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.

67

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 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!

Sports Odds Live Feed: DraftKings, Pinnacle, FanDuel, BetMGM

scrapemint/sports-odds-scraper

Pull live sports betting odds across DraftKings, Pinnacle, FanDuel, BetMGM, Caesars, Bet365 and more. H2H, spreads, totals, props. Normalized schema, best price per outcome, arbitrage detection. No third party API key. Pay per row.

Recipes Scraper

web.harvester/recipes-scraper

Powerful scraper can collect recipes from many websites, including popular ones like Cookpad, Allrecipes, Foodnetwork, Tasty, and many more. Download your data in any format (JSON, CSV, XML, RSS, HTML Table). Seamless integration with apps, reports, and databases.

329

5.0

Recipe Data Scraper - Extract from 500+ Cooking Websites

vulnv/recipe-scraper

Powerful recipe scraper that extracts ingredients, instructions, nutrition facts, and cooking metadata from 500+ popular cooking websites including AllRecipes, Food Network, BBC Good Food, Epicurious, and more. Perfect for food apps, meal planning, nutrition analysis, and culinary research.

Sports Intelligence Autopilot

actor_researcher.48/sports-intelligence-autopilot

Professional sports intelligence across 38 leagues ( NBA, NFL, Cricket, Soccer, F1, Horse Racing and many others). Real-time scores, stats, odds analysis. FREE mode with ESPN data. Premium: value bets, arbitrage, DFS, AI predictions. 20 modes, 6 MCPs, 58 tools with beautiful HTML reports.

Sports Betting Intelligence - Odds & Arbitrage AI

viralanalyzer/sports-betting-intelligence

Real-time odds comparison across 20+ bookmakers. Arbitrage detection.

87

5.0

Sports Odds Movement and Arbitrage Tracker

scrapemint/sports-odds-movement-tracker

Track live sports betting odds across 40+ sportsbooks (DraftKings, FanDuel, Pinnacle, Bet365). Filter by sport, region, market. Detect arbitrage and best price edges. Returns deduped JSON with moneyline, spread, and total lines.

Facebook Events Scraper

easyapi/facebook-events-scraper

Extract Facebook events data including title, date, cover image, ticket info and more. Perfect for event aggregators, market research, and monitoring competitor events. Supports both public and private events with authentication.