logo
theme
MLB Data
FREE
By theapiguy
Updated 9 months ago

MLB Data API Documentation

Baseball MLB Data about players, teams, reports, and other stats.

Learn more about this API
Reports
GETBroadcast Info
GETInjuries
GETGet Transactions Over Period
GETPitching Leaders
GETHitting Leaders
Stats Data
GETProjected Hitting Stats
GETSeason Pitching Stats
GETCareer Hitting Stats
GETLeague Hitting Stats
GETLeague Pitching Stats
GETCareer Pitching Stats
GETProjected Pitching Stats
GETSeason Hitting Stats
Player Data
GETPlayer Teams
GETPlayer Search
GETPlayer Info
Game Data
GETGame Type Info
Team Data
GETGet Roster by Seasons
GETGet Teams by Season
GETGet 40-Man Roster
GETBroadcast Info

Retrieve information on broadcasts over a given period. startdate and enddate parameters should be in the YYYYMMDD format. Although you can omit the home_away parameter to retrieve both home and away game data, one will include the other. For example, a New York Met...

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication