MLB, College Baseball API
Get ready for real time MLB and College Baseball match/player statistics, live scores, match predictions, live events, highlights, game recaps, fouls, and post-match interviews on a global scale. Integrate a wide spectrum of pre-match and live game odds into your projects for a complete sports data solution.
MLB, College Baseball API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Baseball.Head 2 Head | ||
| GET |
BaseballHead2HeadController_getHead2HeadData /head-2-head |
Retrieve a list of the **last ten** head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results. Specify `teamIdOne`… |
| Baseball.Highlights | ||
| GET |
HighlightsController_getHighlightById /highlights/{id} |
Retrieve highlight information by specifying the highlight id path parameter. > Note: Used to check whether a highlight still exists or had its information updated. |
| GET |
HighlightsController_getGeoRestrictions /highlights/geo-restrictions/{id} |
> Refresh interval: Once an hour > Note: Endpoint is not available in the Basic/Free plan. Geo restrictions are a plague that have been around for quite a while. They restrict… |
| GET |
HighlightsController_getHighlights /highlights |
> Refresh interval: Once a minute > Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after… |
| Baseball.Players | ||
| GET |
BaseballPlayersController_getPlayerSummaryById /players/{id} |
> Refresh interval: Once a day Retrieve detailed player summary for specified `playerId`. Detailed player summary consists of the following information: | Type | Description | |… |
| GET |
BaseballPlayersController_getPlayers /players |
> Refresh interval: 15 minutes > Route returns only general player information. For additional player details check the `players/{playerId}` and `players/{playerId}/statistics`… |
| GET |
BaseballPlayersController_getPlayerStatisticsById /players/{id}/statistics |
> Refresh interval: Once a day Retrieve detailed player statistics for specified `playerId`. Detailed player statistics are aggregated on a `perSeason` level. Each season has the… |
| Baseball.Bookmakers | ||
| GET |
BaseballBookmakersController_getBookmakerById /bookmakers/{id} |
Retrieve bookmaker information by specifying the bookmaker id path parameter. > Note: Used to check whether a bookmaker still exists or had its information updated. |
| GET |
BaseballBookmakersController_getBookmakers /bookmakers |
> Refresh interval: Once a day Retrieve a list of supported bookmakers. There are two important parameters that are used to navigate through the pagination. The `limit` parameter… |
| Baseball.Statistics | ||
| GET |
BaseballMatchStatisticsController_getStatistics /statistics/{id} |
> Refresh interval: Every minute Retrieve aggregated **MLB team statistics** for a single match by specifying the `matchId` as the path parameter. The response is an array with… |
| Baseball.Match Box Score | ||
| GET |
BaseballBoxScoresController_getBoxScores /box-scores/{id} |
> Refresh interval: Every minute Retrieve detailed per-player **MLB box score statistics** by specifying the `matchId` as the path parameter. The response is an array with two… |
| Baseball.Odds | ||
| GET |
BaseballOddsController_getOddsV2 /odds |
> Prematch odds refresh interval: Multiple times a day > Live odds refresh interval: Once every 10 minutes > Note: Endpoint is not available in the Basic/Free plan. Retrieve a… |
| Baseball.Last Five Games | ||
| GET |
BaseballLastFiveGamesController_getLastFiveGames /last-five-games |
> Refresh interval: Immediately once a game is considered finished Retrieve a list of the **last five finished** games for a specific team. If a game was not finished (e.g. was… |
| Baseball.Teams | ||
| GET |
TeamController_getTeamById /teams/{id} |
Retrieve team information by specifying the team id path parameter. > Note: Used to check whether a team still exists or had its information updated. |
| GET |
TeamController_getTeams /teams |
Retrieve a list of teams that are supported by the API. By utilising either `league`, `name`, `displayName` or `abbreviation` query parameters you can check whether a specific… |
| GET |
TeamController_getTeamStats /teams/statistics/{id} |
> Refresh interval: Immediately once a match is finished. Retrieve team stats for each league and season by specifying the team's `id` path parameter. Requires `fromDate` query… |
| Baseball.Matches | ||
| GET |
BaseballMatchController_getMatchById /matches/{id} |
Retrieve detailed match information by specifying the match id path parameter. Fetched data will have additional information about the `venue`, weather `forecast`, match `stats`,… |
| GET |
BaseballMatchController_getMatches /matches |
> Refresh interval: Once a minute > Route returns only general match information. For additional match details check the `matches/{matchId}` route. Retrieve a list of matches… |
| Baseball.Standings | ||
| GET |
BaseballStandingsController_getStandings /standings |
> Refresh interval: Up to an hour after a match for the associated league and season is finished Retrieve standings data for a specific league, conference or division. There are… |
| Baseball.Lineups | ||
| GET |
BaseballLineupsController_getLineups /lineups/{matchId} |
> Lineups should be queried up to a few hours before the game starts. Retrieve home and away team lineups for a specific match. Below is an example of what you can aim to achieve… |
MLB, College Baseball API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $7.99 / month | 12 / second |
|
| ULTRA Recommended | $18.99 / month | 20 / second |
|
| MEGA | $44.99 / month | 100 / second |
|