MLB v3 Scores
MLB scores API.
Media & content#openapi#entertainment
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
MLB scores API.
Endpoints 18
- GETTeams (All)
/:format/AllTeams - GETAre Games In Progress
/:format/AreAnyGamesInProgressReturns <code>true</code> if there is at least one game being played at the time of the request or <code>false</code> if there are none. - GETCurrent Season
/:format/CurrentSeason - GETPlayer Details by Free Agents
/:format/FreeAgents - GETSchedules
/:format/Games/:season - GETGames by Date
/:format/GamesByDate/:date - GETNews
/:format/News - GETNews by Date
/:format/NewsByDate/:date - GETNews by Player
/:format/NewsByPlayerID/:playerid - GETPlayer Details by Player
/:format/Player/:playerid - GETPlayer Details by Active
/:format/Players - GETPlayers by Team
/:format/Players/:team - GETStadiums
/:format/Stadiums - GETStandings
/:format/Standings/:season - GETTeam Game Stats by Date
/:format/TeamGameStatsByDate/:date - GETTeam Game Logs By Season
/:format/TeamGameStatsBySeason/:season/:teamid/:numberofgamesGame by game log of total team statistics. - GETTeam Season Stats
/:format/TeamSeasonStats/:season - GETTeams (Active)
/:format/teams
API details
- Base URL
http://azure-api.sportsdata.io/v3/mlb/scoreshttps://azure-api.sportsdata.io/v3/mlb/scores- Authentication
- An API key in the Ocp-Apim-Subscription-Key header
An API key in the key query parameter - Operations
- 18 operations on 18 pathsGET 18
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
1.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the MLB v3 Scores in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the MLB v3 Scores collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the Ocp-Apim-Subscription-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Teams (All)” (GET /:format/AllTeams), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the MLB v3 Scores?
MLB scores API. It is listed under Media & content and has 18 endpoints.
Who publishes the MLB v3 Scores?
It is listed from SportsDataIO's public API description (an OpenAPI document), not published by SportsDataIO on Swastik Codes. Anyone who controls sportsdata.io can claim the profile by adding a DNS TXT record.
What is the base URL of the MLB v3 Scores?
Its description lists 2 base URLs: http://azure-api.sportsdata.io/v3/mlb/scores, https://azure-api.sportsdata.io/v3/mlb/scores. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the MLB v3 Scores?
It accepts 2 methods: an API key in the Ocp-Apim-Subscription-Key header; an API key in the key query parameter.
How many endpoints does the MLB v3 Scores have?
18 operations on 18 paths (18 GET).
Is forking the MLB v3 Scores free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.