We added an endpoint that can be used to programmatically see which markets have settlement for given leagues.
https://opticodds.readme.io/reference/get_markets-settleable
We added an endpoint that can be used to programmatically see which markets have settlement for given leagues.
https://opticodds.readme.io/reference/get_markets-settleable
Due to the ever changing nature of our id system, we are now introducing numerical ids as another option on all of our sports/leagues/teams/players/fixtures/tournaments models.
Currently, the first step is just exposing these, the next part will be allowing users to make requests using them.
In addition, we have gotten some requests from users about wanting a way to know whether the player is the same across leagues. Currently, Lionel Messi
has a different ID
per league, we are also introducing a base_id
on the Team and Player model that can be used to identify that the player is the same across leagues. Request support will be coming in the future.
You can now filter with is_live=true
to only get live odds returned, is_live=false
to only get prematch odds. We also return is_live
as part of the response so if you do not pass this parameter, you can still tell whether odds are prematch or live.
We now send market_id
, sportsbook_id
, and league_id
as part of an odd message. We do not pass a sport_id
because the sport
value is already the id.
We added a new parameter to the fixtures/odds/historical endpoint that allows you to get when an odd was suspended or taken off the board. To see this, you need to add the query param and value include_locked=True
when making your requests.
To make a more uniform id available, we added the numerical_id
field on the markets endpoints. We will be adding a similar variable for all of our other models.
"limits": {
"max": 500
}
Added the down
, the distance_to_go
and the field_position
as new fields that will be filled out for NCAAF and NFL games if the data exists.
"in_play": {
"period": "2",
"clock": "4:13",
"last_play": "Timeout at 04:13.",
"time_min": null,
"time_sec": null,
"balls": null,
"outs": null,
"strikes": null,
"runners": null,
"batter": null,
"pitcher": null,
"possession": "Buffalo Bills",
"down": 1,
"distance_to_go": "10",
"field_position": "JAX 41"
},