VOOZH about

URL: https://apify.com/burbn/mlb-team-roster-scraper

โ‡ฑ MLB Team Roster ยท Apify


Pricing

from $5.00 / 1,000 results

Go to Apify Store

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!

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Kevin

Kevin

Maintained by Community

Actor stats

0

Bookmarked

12

Total users

1

Monthly active users

5 months ago

Last modified

Share

โšพ MLB Team Roster & Player ID Scraper

Extract complete MLB rosters with deep player insights! ๐ŸŸ๏ธ This powerful Apify actor fetches comprehensive player data including real-time stats, injury tracking, cross-platform IDs (ESPN, Yahoo, MLB), and fantasy points. Perfect for analytics, betting apps, and fantasy baseball!

๐ŸŽฏ What This Actor Does

This actor allows you to:

  • Get complete team rosters - All players for any MLB team
  • Player statistics - Detailed performance data for each player
  • Physical attributes - Height, weight, birthday, birthplace
  • Injury tracking - Current injury status and return dates
  • Fantasy points - Fantasy scoring for each player
  • External links - MLB, ESPN, Yahoo, Fantasy Pros, and more
  • Player IDs - IDs across all major platforms
  • Education background - College and high school information
  • Batch processing - Scrape multiple teams in one run

๐Ÿš€ How to Use

Step 1: Get Team Abbreviations

Determine which MLB teams you want to scrape. Use standard 2-3 letter team codes:

CHW(Chicago White Sox)
NYY(New York Yankees)
LAD(Los Angeles Dodgers)
BOS(Boston Red Sox)

Step 2: Configure the Actor

InputDescriptionDefault
teamAbbreviationsArray of MLB team abbreviationsRequired
includeStatsInclude detailed player statisticstrue
includeFantasyPointsInclude fantasy points calculationtrue

Step 3: Run and Get Results

Run the actor and download your roster data in JSON, CSV, or Excel format.

๐Ÿ“Š Output Data Structure

Each player result contains:

๐Ÿ‘ค Basic Information

FieldDescription
playerIDUnique player identifier
longNameFull player name
jerseyNumJersey number
posPosition (P, C, 1B, 2B, 3B, SS, LF, CF, RF, etc.)

๐ŸŸ๏ธ Team Information

FieldDescription
teamTeam name
teamAbvTeam abbreviation
teamIDTeam ID

๐Ÿ“ Physical Attributes

FieldDescription
heightPlayer height (e.g., "6-2")
weightPlayer weight in pounds
bDayBirthday (MM/DD/YYYY)
birthPlaceBirthplace (City, State/Country)

โšพ Playing Style

FieldDescription
batBatting hand (R/L/S)
throwThrowing hand (R/L)
isStartingPitcherWhether player is a starting pitcher (True/False)

๏ฟฝ Status Information

FieldDescription
espnStatusCurrent player status (Active, etc.)
lastGamePlayedLast game played (YYYYMMDD_TEAM@TEAM)

๐Ÿฅ Injury Information

FieldDescription
injuryStatusInjury designation
injuryDescriptionDescription of injury
injuryDateDate of injury (YYYYMMDD)
injuryReturnDateExpected return date

๐ŸŽ“ Education Background

FieldDescription
collegeCollege attended
highSchoolHigh school attended

๏ฟฝ External Links

FieldDescription
mlbLinkMLB.com player page
mlbHeadshotMLB.com headshot image
espnLinkESPN player page
espnHeadshotESPN headshot image
yahooLinkYahoo Sports player page
fantasyProsLinkFantasy Pros player page

๏ฟฝ Player IDs

FieldDescription
mlbIDMLB ID
mlbIDFullFull MLB ID with name
espnIDESPN ID
yahooPlayerIDYahoo Sports ID
cbsPlayerIDCBS Sports ID
cbsPlayerIDFullFull CBS ID with name
rotoWirePlayerIDRotoWire ID
rotoWirePlayerIDFullFull RotoWire ID with name
sleeperBotIDSleeper Fantasy ID
fantasyProsPlayerIDFantasy Pros ID
bRefIDBaseball Reference ID
bRefID2Alternate Baseball Reference ID

๐Ÿ“‹ Example Input

{
"teamAbbreviations":[
"CHW",
"NYY",
"LAD"
],
"includeStats":true,
"includeFantasyPoints":true
}

๐Ÿ“‹ Example Output

{
"playerID":"673357",
"longName":"Luis Robert Jr.",
"jerseyNum":"88",
"pos":"CF",
"team":"CHW",
"teamAbv":"CHW",
"teamID":"6",
"height":"6-2",
"weight":"225",
"bDay":"8/3/1997",
"birthPlace":"Ciego de Avila, Cuba",
"bat":"R",
"throw":"R",
"isStartingPitcher":"False",
"espnStatus":"Active",
"lastGamePlayed":"20250826_KC@CHW",
"injuryStatus":"",
"injuryDescription":"",
"injuryDate":"",
"injuryReturnDate":"",
"college":"",
"highSchool":"",
"mlbLink":"https://www.mlb.com/player/luis-robert-jr-673357",
"mlbHeadshot":"https://img.mlbstatic.com/mlb-photos/image/upload/d_people:generic:headshot:silo:current.png/r_max/w_180,q_auto:best/v1/people/673357/headshot/silo/current",
"espnLink":"https://www.espn.com/mlb/player/_/id/39631",
"espnHeadshot":"https://a.espncdn.com/i/headshots/mlb/players/full/39631.png",
"yahooLink":"https://sports.yahoo.com/mlb/players/10765",
"fantasyProsLink":"https://www.fantasypros.com/mlb/players/luis-robert.php",
"mlbID":"673357",
"mlbIDFull":"luis-robert-jr-673357",
"espnID":"39631",
"yahooPlayerID":"10765",
"cbsPlayerID":"2826875",
"rotoWirePlayerID":"14686",
"rotoWirePlayerIDFull":"luis-robert-14686",
"sleeperBotID":"1388",
"fantasyProsPlayerID":"6935",
"bRefID":"roberlu01",
"bRefID2":"robert001lui"
}

๐ŸŽจ Dataset Views

The actor provides 6 organized table views:

ViewDescription
โšพ Players OverviewAll players with basic info, physical attributes, and status
๐ŸŽฏ PitchersPitcher-specific data including starter status and injury info
๐Ÿฅ Injury ReportInjury status and details for all players
๐Ÿ”— External LinksLinks and headshots from MLB, ESPN, Yahoo, Fantasy Pros
๏ฟฝ Player IDsAll player IDs across different platforms
๐ŸŽ“ Education BackgroundCollege, high school, and birthplace information

๐Ÿ’ก Use Cases

  • Sports Analytics - Analyze team composition, player demographics, and roster trends
  • Fantasy Baseball - Build comprehensive player databases for fantasy leagues
  • Team Management - Track roster changes and player availability
  • Injury Tracking - Monitor injury status across teams
  • Player Research - Access complete player profiles with all external links
  • Data Integration - Map player IDs across different platforms
  • Scouting Reports - Gather player information for scouting purposes
  • Mobile Apps - Feed roster data into sports applications
  • Sports Journalism - Quick access to player data for articles and reports

๐ŸŸ๏ธ MLB Team Abbreviations

Common team abbreviations you can use:

TeamAbbreviationTeamAbbreviation
Arizona DiamondbacksARIMiami MarlinsMIA
Atlanta BravesATLMilwaukee BrewersMIL
Baltimore OriolesBALMinnesota TwinsMIN
Boston Red SoxBOSNew York MetsNYM
Chicago CubsCHCNew York YankeesNYY
Chicago White SoxCHWOakland AthleticsOAK
Cincinnati RedsCINPhiladelphia PhilliesPHI
Cleveland GuardiansCLEPittsburgh PiratesPIT
Colorado RockiesCOLSan Diego PadresSD
Detroit TigersDETSan Francisco GiantsSF
Houston AstrosHOUSeattle MarinersSEA
Kansas City RoyalsKCSt. Louis CardinalsSTL
Los Angeles AngelsLAATampa Bay RaysTB
Los Angeles DodgersLADTexas RangersTEX
Toronto Blue JaysTORWashington NationalsWAS

๐Ÿ“Š Player Positions

The scraper returns the following position codes:

PositionCodePositionCode
PitcherPLeft FieldLF
CatcherCCenter FieldCF
First Base1BRight FieldRF
Second Base2BInfieldIF
Third Base3BOutfieldOF
ShortstopSSDesignated HitterDH

๐ŸŽฏ Pitcher Classification

For pitchers, the isStartingPitcher field indicates:

  • True - Starting pitcher
  • False - Relief pitcher

๐Ÿฅ Injury Status

The scraper provides comprehensive injury tracking:

  • injuryStatus - Current designation (IL, DTD, etc.)
  • injuryDescription - Description of the injury
  • injuryDate - When the injury occurred
  • injuryReturnDate - Expected return date

๐Ÿ“ž Support

For questions, feedback, or issues, please contact us through Apify or open an issue.

๐Ÿ”Ž Tags

MLB scraper, MLB roster scraper, baseball roster, MLB team data, baseball player data, MLB player stats, fantasy baseball, sports scraper, baseball scraper, MLB data extractor, player statistics, baseball analytics, Apify MLB scraper, MLB team roster


Happy scraping! โšพโœจ

You might also like

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

69

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.

ESPN Sports Scores & Schedules - NBA, NFL, MLB, NHL, MLS, EPL..

hgservices/apify-actor-espn

Get live scores, schedules, and game results from ESPN โ€” covering NBA, NFL, MLB, NHL, MLS, EPL, NCAA, and more. No API key needed. Filter by team, date, or status. Output includes scores, venues, broadcasts, and team details.

49

5.0

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.

Sports Betting Intelligence - Odds & Arbitrage AI

viralanalyzer/sports-betting-intelligence

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

88

5.0

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

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.