rotowire.com APIrotowire.com ↗
Access MLB player news, season stats, weekly lineup predictions, and betting props from RotoWire via 6 structured endpoints. Filter by position, season, or player name.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/baf3df9c-7ce2-4173-957c-3c7ffab5cd0e/get_baseball_news' \ -H 'X-API-Key: $PARSE_API_KEY'
Extract baseball player news from RotoWire, including real-time updates, injury reports, and lineup changes. Returns the latest news items with player names, teams, headlines, and injury status.
No input parameters required.
{
"type": "object",
"fields": {
"news": "array of news item objects with player_name, player_url, team, date, headline, body, injury, and is_injury_report fields",
"count": "integer total number of news items returned"
},
"sample": {
"data": {
"news": [
{
"body": "Goodman isnot in the lineupfor Thursday's contest against the Mets.",
"date": "May 7, 2026",
"team": "CColorado Rockies",
"injury": null,
"headline": "Sitting out matinee",
"player_url": "https://www.rotowire.com/baseball/player/hunter-goodman-17374",
"player_name": "Hunter Goodman",
"is_injury_report": false
}
],
"count": 25
},
"status": "success"
}
}About the rotowire.com API
The RotoWire API exposes 6 endpoints covering MLB player news, season statistics, projected weekly lineups, and betting props. The get_player_props endpoint returns moneyline odds across multiple sportsbooks for hits, home runs, RBIs, stolen bases, and pitcher wins, while get_player_stats supports filtering by season year and position (batters or pitchers) to return per-player averages, games, at-bats, and more.
News and Injury Updates
The get_baseball_news endpoint returns an array of news items, each containing player_name, team, headline, body, date, injury, and an is_injury_report boolean. This makes it straightforward to build a filtered injury feed or alert system that distinguishes routine lineup notes from actual injury reports without any additional parsing.
Season Stats and Lineup Projections
get_player_stats accepts two optional parameters: season (e.g. '2025', '2026') and position ('B' for batters, 'P' for pitchers). The response includes per-player fields for games, at-bats, runs, hits, doubles, home runs, RBIs, and more. get_weekly_lineups returns 7 daily objects, each with a games array listing away and home team lineups by player name, position, and profile URL — useful for daily fantasy lineup construction.
Player Search and Profiles
search_players takes a query string (minimum 2 characters) and returns matching players with their rotoPlayerID, team abbreviation, position, and a link slug such as aaron-judge-12959. That slug feeds directly into get_player_details, which returns the player's full name, date of birth, team, and profile URL. The two endpoints are designed to be chained: search first, then retrieve details.
Betting Props
get_player_props returns all currently available MLB player props from RotoWire's betting page, including gameID, playerID, name, team, opponent (opp), and odds columns keyed by sportsbook (e.g. mgm, dr). An optional player_name parameter supports case-insensitive partial matching to narrow results to a specific player across all available markets.
- Build a daily fantasy baseball lineup tool using
get_weekly_lineupsposition and player data. - Track MLB injury status in real time using the
is_injury_reportandinjuryfields fromget_baseball_news. - Compare sportsbook odds for player props like home runs and RBIs across multiple books via
get_player_props. - Pull season batting or pitching projections by filtering
get_player_statswithseasonandpositionparameters. - Chain
search_playersandget_player_detailsto resolve a player name to structured profile data including date of birth. - Alert users to lineup changes for a specific team by parsing the
gamesarray inget_weekly_lineups. - Aggregate player prop lines across sportsbooks to identify line discrepancies for a given player using
get_player_props.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does RotoWire have an official developer API?+
What does `get_player_props` actually return, and can I filter by sport or market type?+
gameID, playerID, name, team, opp, playerLink, and per-sportsbook odds columns. You can filter by player name using the optional player_name parameter. Filtering by market type (e.g. only home run props) is not exposed as a parameter. You can fork this API on Parse and revise it to add a market-type filter endpoint.How fresh is the data from `get_baseball_news`?+
Does the API cover other sports beyond MLB?+
Does `get_player_stats` return historical season data or only current-season projections?+
season parameter accepts a year string such as '2025' or '2026', allowing retrieval of stats for different seasons including projection years. Coverage of specific historical seasons depends on what RotoWire publishes. The API currently does not expose a game-log or game-by-game breakdown — only aggregated season-level stats. You can fork this API on Parse and revise it to add a game-log endpoint.