Introduction
The flatOdds
include provides you with a basic representation of odds. Via nested includes it's possible to add market
and bookmaker
information. flatOdds
also load much faster compared to the odds
include, even when adding nested includes. We suggest to use this include if your application is in need of odds.
The
flatOdds
include is the preferred include by SportMonks! You may use themarkets
andbookmakers
query string parameters to filter odds. You can pass in a comma separated list of ids.
"flatOdds": {
"data": [
{
"bookmaker_id": 150,
"bookmaker_event_id": "8014027",
"market_id": 1,
"odds": [
{
"label": "1",
"value": "7.00",
"dp3": "7.000",
"american": "60",
"winning": false,
"handicap": null,
"total": null,
"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,
"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,
"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.