/
v3.0.11Get access

getBetBuilderOdds

The method returns the bet builder price for 2 or more events if the events can be combined as a bet builder selection.

Request parameters:

Name
DescriptionTypeValuesDefault
array--
└─
object-
└─ SelectionId
The Id of the eventnumber--
└─ SelectionName
The 'type_1' property of the eventstring--
└─ MarketId
The Id of the marketnumber--
└─ SelectionTypeId
The 'type_id' property of the eventnumber--
└─ HomeValue
The 'home_value' property of the event, if it existsnumber--
└─ AwayValue
The 'away_value' property of the event, if it existsstring--

Call example:

getBetBuilderOdds({
  selections: [{
    SelectionId: 6551585965,
    SelectionName: 'W1',
    MarketId: 2200963753,
    SelectionTypeId: 5452
  }, {
    SelectionName: 'Over',
    SelectionId: 6551586877,
    SelectionTypeId: 5450,
    MarketId: 2200964058
  }]
})

Response examples:

{
  code: 0,
  rid: 2014887881,
  data: {
    result: 0,
    result_text: null,
    details: {
      OddsPerMatch: [{
        MatchId: 29247884,
        Odd: 3.03
      }],
      RejectedIds: [],
      TotalOdd: 3.03
    }
  }
}

Response parameters:

NameDescriptionTypeValues
OddsPerMatch
array-
└─
object
└─ MatchId
The Id of the gamenumber-
└─ Odd
The price of the bet builder selectionnumber-
RejectedIds
array-
└─
The Ids of events that cannot be combined with the bet builder eventsnumber-
TotalOdd
The total price of bet builder eventsnumber-