Betting Player Props - by Game
This works in the same way as Betting Markets by Market Type but is prefiltered to the Player Props type only. Ideal if your application will only ever require Player Props, but if you also want Team Props etc. it is recommended to use the by Market Type endpoint.
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
Desired response format. Valid entries are <code>JSON</code> or <code>XML</code>.
The unique GameID of the game in question.
Query parameters
This parameter indicates which <code>BettingOutcome</code> records to return in the payload. By default, this endpoint only returns available outcomes, excluding the unlisted bets. <br><br>
<b>Important Note:</b> the default parameter of available is much faster and provides the best performance. Passing unlisted will return unlisted odds, but these are cached for much longer and may be several minutes old. For best performance, the default parameter is highly recommended. <br><br>
Possible values include: <br><br> <code>available</code> - excludes any betting outcomes that have been removed/unlisted by the respective sportsbook. This is more lightweight and delivers odds much faster than using unlisted. <br><br> <code>unlisted</code> - includes the most recently available betting outcome per sportsbook, for each listed market, even those outcomes are expired/unlisted or otherwise unavailable from the respective sportsbook. This is a far heavier payload, and it's cached for much longer than available. <br><br>
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.