The Bets element holds an array of Bet. Every Bet holds data as it was received from the provider/s. All the Bets are a part of their Market ancestor (parent of Bets).
XML
<Bets> <Bet Id="231321231232315" Name="1" Line="1:0" BaseLine="0:1" Status="2" Price="40.769" ProviderBetId="0" LastUpdate="2017-03-04T16:09:35Z" Probability="0.02281" SuspensionReason="1" PriceUS="+3976.9" PriceHK="39.769"/> <Bet Id="231321231232316" Name="X" Line="1:0" BaseLine="0:1" Status="2" Price="8.949" ProviderBetId="0" LastUpdate="2017-03-04T16:09:35Z" Probability = "0.10392" SuspensionReason="1" PriceUS="+794.9" PriceHK="7.949"/> <Bet Id="231321231232317" Name="2" Line="1:0" BaseLine="0:1" Status="2" Price="1.065" ProviderBetId="0" LastUpdate="2017-03-04T16:09:35Z" Probability = "0.87327" SuspensionReason="1" PriceUS=" -1538.46" PriceHK="0.065"/> </Bets>
JSON
{ "Bets": { "Bet": [ { "Id": "231321231232315", "Name": "1", "Line": "1:0", "BaseLine": "0:1", "Status": "2", "Price": "40.769", "ProviderBetId": "0", "LastUpdate": "2017-03-04T16:09:35Z", "Probability": "0.02281", "SuspensionReason": "1", "PriceUS": "+3976.9", "PriceHK": "39.769" }, { "Id": "231321231232316", "Name": "X", "Line": "1:0", "BaseLine": "0:1", "Status": "2", "Price": "8.949", "ProviderBetId": "0", "LastUpdate": "2017-03-04T16:09:35Z", "Probability": "0.10392", "SuspensionReason": "1", "PriceUS": "+794.9", "PriceHK": "7.949" }, { "Id": "231321231232317", "Name": "2", "Line": "1:0", "BaseLine": "0:1", "Status": "2", "Price": "1.065", "ProviderBetId": "0", "LastUpdate": "2017-03-04T16:09:35Z", "Probability": "0.87327", "SuspensionReason": "1", "PriceUS": " -1538.46", "PriceHK": "0.065" } ] } }
Model - Bet
Element | Data Type | Description |
---|---|---|
Id | string | The uniqueness of the bet id is for a specific market under a specific fixture |
Name | string | The name of the bet |
Line | string | The line of the bet |
BaseLine | string | The baseline helps you group all bets that belong together. In the example above – all bets with the same baseline (0:2) belong together |
Status | enum | The status of the bet |
StartPrice | double | Not supported sent with 1 as default value |
Price | double | The price (odd) of the bet |
Settlement | enum | Represents how the bet was settled (resulted) |
ProviderBetId | string | OPTIONAL: The bet ID, as shown by the provider |
LastUpdate | DateTime | Timestamp representing the time the bet was last updated |
ParticipantId | int | OPTIONAL: Reference ID to the participant in the fixtureNote: Provided in outright fixtures or in player's markets |
Probability | double | OPTIONAL: The Probability field is configurable per customer request. Probability won't be calculated and will be sent with value= "-1" in the following cases:
|
PlayerName | string | OPTIONAL: Appears only in player props markets, which are markets where the player's names are the bets. |
SuspensionReason | int | The reason the bet was suspended |
PriceUS | string | OPTIONAL: The PriceUS field is configurable per customer request. The price (odd) of the bet in American odds format |
PriceHK | string | OPTIONAL: The PriceHK field is configurable per customer request. The price (odd) of the bet in Hong Kong odds format |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article