Discover/RotoWire API
live

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

Endpoint health
verified 19h ago
get_player_details
get_baseball_news
get_weekly_lineups
get_player_stats
search_players
6/6 passing latest checkself-healing
Endpoints
6
Updated
22d ago

What is the RotoWire 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.

Try it

No input parameters required.

api.parse.bot/scraper/baf3df9c-7ce2-4173-957c-3c7ffab5cd0e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/baf3df9c-7ce2-4173-957c-3c7ffab5cd0e/get_baseball_news' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace rotowire-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.rotowire_mlb_api import RotoWire, Position, Season, PlayerNotFound

rw = RotoWire()

# List latest baseball news
for item in rw.newsitems.list():
    print(item.player_name, item.headline, item.is_injury_report)
    break

# Get weekly lineups
for day in rw.dailylineups.list():
    print(day.date, day.count)
    for game in day.games:
        print(game.away.team, "vs", game.home.team)
        for player in game.away.lineup:
            print(player.name, player.position)
            break
        break
    break

# Get player stats using Season and Position enums
for stat in rw.playerstats.list(season=Season.Y2025, position=Position.BATTERS):
    print(stat.player, stat.team, stat.hr, stat.avg, stat.ops)
    break

# Get player props
for prop in rw.playerprops.list(player_name="Judge"):
    print(prop.name, prop.team, prop.opp)
    break

# Search players and navigate to details
for match in rw.playermatches.search(query="Ohtani"):
    print(match.name, match.span, match.text)
    details = match.details.get()
    print(details.name, details.date_of_birth, details.url)
    break

# Direct player lookup by id
player = rw.players.get(player_id="aaron-judge-12959")
print(player.name, player.date_of_birth)
All endpoints · 6 totalmissing one? ·

Extract the latest baseball player news from RotoWire including real-time updates, injury reports, and lineup changes. Returns up to ~25 news items per call with player names, teams, headlines, body text, and injury status. No input parameters; always returns the current news feed.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "news": "array of news item objects",
    "count": "integer total number of news items returned"
  },
  "sample": {
    "data": {
      "news": [
        {
          "body": "Tatis went 4-for-6 with a double and one run scored in Tuesday's 5-3 extra-innings loss to the Reds.",
          "date": "June 10, 2026",
          "team": "OFSan Diego Padres",
          "injury": null,
          "headline": "Four knocks in loss",
          "player_url": "https://www.rotowire.com/baseball/player/fernando-tatis-14469",
          "player_name": "Fernando Tatis",
          "is_injury_report": false
        }
      ],
      "count": 25
    },
    "status": "success"
  }
}

About the RotoWire API

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.

Reliability & maintenanceVerified

The RotoWire API is a managed, monitored endpoint for rotowire.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when rotowire.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official rotowire.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
19h ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a daily fantasy baseball lineup tool using get_weekly_lineups position and player data.
  • Track MLB injury status in real time using the is_injury_report and injury fields from get_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_stats with season and position parameters.
  • Chain search_players and get_player_details to resolve a player name to structured profile data including date of birth.
  • Alert users to lineup changes for a specific team by parsing the games array in get_weekly_lineups.
  • Aggregate player prop lines across sportsbooks to identify line discrepancies for a given player using get_player_props.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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.

Frequently asked questions
Does RotoWire have an official developer API?+
RotoWire does not publish a general-purpose public developer API. The data in these endpoints comes from RotoWire's public-facing content at rotowire.com.
What does `get_player_props` actually return, and can I filter by sport or market type?+
The endpoint returns MLB player props only — specifically moneyline-style odds for hits, home runs, RBIs, stolen bases, and pitcher wins. Each prop object includes 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`?+
The endpoint reflects what is currently published on RotoWire's news feed, which is updated continuously throughout the day. There is no timestamp parameter to query historical news items; the endpoint always returns the current feed.
Does the API cover other sports beyond MLB?+
Currently the API covers MLB only — news, stats, lineups, and props are all baseball-specific. You can fork this API on Parse and revise it to add endpoints for NFL, NBA, or NHL content from RotoWire.
Does `get_player_stats` return historical season data or only current-season projections?+
The 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.
Page content last updated . Spec covers 6 endpoints from rotowire.com.
Related APIs in SportsSee all →
fantasypros.com API
Access expert consensus rankings, player projections, average draft position data, injury reports, and the latest player news from FantasyPros. Search by player name or position to retrieve detailed stats, rankings, and expert analysis across all major scoring formats.
baseball-reference.com API
Access comprehensive MLB and college baseball (NCAA Division I) statistics from Baseball-Reference. Retrieve player career and season stats, team rosters and performance data, game box scores, season schedules, league leaders, and college conference standings — all from a single API.
draftsharks.com API
Get comprehensive fantasy football insights by accessing redraft and dynasty rankings, player projections, injury histories, team depth charts, and strength-of-schedule analysis. Search player profiles and stay updated with the latest news articles to optimize your draft strategy and roster decisions.
prizepicks.com API
Access real-time player prop projections and betting lines from PrizePicks across multiple sports leagues. Filter by league, US state, and live status to retrieve current lines, opening lines, player profiles, game metadata, and trending props.
nfl.com API
Access real-time NFL data including game schedules, scores, player statistics, team rosters, standings, injury reports, fantasy rankings, and the latest news — all from nfl.com.
nhl.com API
Access data from nhl.com.
statmuse.com API
Get instant access to comprehensive sports statistics, player performance data, and team information across NBA, NFL, MLB, NHL, and more using natural language queries. Search for specific athletes or teams and discover historical sports information with intuitive search suggestions.
mykbostats.com API
Access comprehensive KBO league data including team standings, schedules, rosters, player profiles, and game details to track Korean baseball statistics and performance metrics. Search for players, view depth charts, get foreign player information, and analyze win matrices to stay informed about the Korean Baseball Organization.