MLB v3 Play-by-Play
MLB play-by-play 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 play-by-play API.
Endpoints 2
- GETPlay By Play
/:format/PlayByPlay/:gameid - GETPlay By Play Delta
/:format/PlayByPlayDelta/:date/:minutes
API details
- Base URL
http://azure-api.sportsdata.io/v3/mlb/pbphttps://azure-api.sportsdata.io/v3/mlb/pbp- Authentication
- An API key in the Ocp-Apim-Subscription-Key header
An API key in the key query parameter - Operations
- 2 operations on 2 pathsGET 2
- 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 Play-by-Play 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 Play-by-Play 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 “Play By Play” (GET /:format/PlayByPlay/:gameid), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the MLB v3 Play-by-Play?
MLB play-by-play API. It is listed under Media & content and has 2 endpoints.
Who publishes the MLB v3 Play-by-Play?
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 Play-by-Play?
Its description lists 2 base URLs: http://azure-api.sportsdata.io/v3/mlb/pbp, https://azure-api.sportsdata.io/v3/mlb/pbp. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the MLB v3 Play-by-Play?
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 Play-by-Play have?
2 operations on 2 paths (2 GET).
Is forking the MLB v3 Play-by-Play free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.