Pre Formatted Odds

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 the markets and bookmakers 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"
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ]
}

Relationship Details

Below you can find the details for this relationship.

Name Value
Relationship: odds
Nested Relationships: No nested relationships available for this endpoint.
Include Example: https://soccer.sportmonks.com/api/v2.0/livescores/now?include=odds

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.

This article was last updated on 2019-01-30 14:02:19

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?