MLB v3 Play-by-Play
Play By Play [Live & Final]
Changed onEach invididual play, its type and outcome, complete with player and team stats down to the play level, delivered live in real-time, called by game.
get/v3/mlb/pbp/{format}/PlayByPlay/{gameid}
Request
- Base URLhttps://api.sportsdata.io
- Auth
- API key in header Ocp-Apim-Subscription-Key
- or API key in query parameter key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
format'JSON' | 'XML' required
Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>.
gameidstring required
The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are <code>14620</code> or <code>16905</code>
Response
Success
Changes
- info
added the optional property
/to the response with the status
- info