Introduction
The odds
include returns a pre-formatted structured representation of odds available for this game. The example below shows how the formation is done. Basically it's grouped by market and bookmaker. Relational data cannot be loaded via nested includes and include filtering is not possible.
Note that due to the formation the response time might be slower than when using the
flatOdds
include. You may use themarkets
andbookmakers
query string parameters to filter odds. You can pass in a comma separated list of ids.
"odds": {
"data": [
{
"id": 1,
"name": "3Way Result",
"bookmaker": {
"data": [
{
"id": 150,
"name": "BWin",
"odds": {
"data": [
{
"label": "1",
"value": "7.00",
"dp3": "7.000",
"american": "60",
"winning": false,
"handicap": null,
"total": null,
"bookmaker_event_id": "8014027",
"last_update": {
"date": "2018-12-21 21:40:08.000000",
"timezone_type": 3,
"timezone": "UTC"
}
},
{
"label": "2",
"value": "1.53",
"dp3": "1.530",
"american": "-189",
"winning": true,
"handicap": null,
"total": null,
"bookmaker_event_id": "8014027",
"last_update": {
"date": "2018-12-21 21:40:08.000000",
"timezone_type": 3,
"timezone": "UTC"
}
},
{
"label": "X",
"value": "4.00",
"dp3": "4.000",
"american": "30",
"winning": false,
"handicap": null,
"total": null,
"bookmaker_event_id": "8014027",
"last_update": {
"date": "2018-12-21 21:40:08.000000",
"timezone_type": 3,
"timezone": "UTC"
}
}
]
}
}
]
}
}
]
}
Please note that the winning attribute is not yet beeing calculated for every market. This is on the agenda and will be completed in the future.
Relationship Details
Below you can find the details for this relationship.
Questions?
We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.