AlertPlease note that the current, stable version of our Global Baseball API is v2. We strongly suggest integrating with this version.
API Map
To best utilize the Global Baseball API, you will need specific parameters to create your API calls. The map below shows every feed in the API, grouped by task; the key marks the identifier each feed takes, and each entry links to that feed's section on the Endpoints page.
Feeds that require no ID, or only a date, can be called directly. Their responses provide the tournament, match, competitor, and player IDs that the remaining feeds take.
Data Retrieval Examples
To find the home team win probability for a game:
- Call the Daily Schedule and find the match id for the game in question
- Call the Sport Event Probabilities using the match id
- Find the outcome element with the probability attribute
The venue name is displayed.
