/
v3.0.11Get access

getBetBuilderMarketsV2

The method returns the markets that are available for combining with the already selected events as a bet builder selection.

Request parameters:

Name
DescriptionTypeValuesDefault
bet_builder_markets
array--
└─
object-
└─ MatchId
The Id of the gamenumber--
└─ Selections
The selected eventsarray--
└─
object-
└─ AwayValue
The 'away_value' property of the event, if it existsnumber--
└─ HomeValue
The 'home_value' property of the event, if it existsnumber--
└─ SelectionName
The 'type_1' property of the eventstring--
└─ SelectionId
The Id of the eventnumber--
└─ SelectionTypeId
The 'type_id' of the selected eventnumber--
└─ MarketId
The Id of the selected marketnumber--
matchId
Searched match idnumber--
selectionIds
Array of numeric selection idsarray--

Call example:

getBetBuilderMarketsV2({
  betBuilderMarkets: [{
    MatchId: 29247884,
    Selections: [{
      SelectionId: 6551585965,
      SelectionName: 'W1',
      MarketId: 2200963753,
      SelectionTypeId: 5452
    }]
  }]
})

Response examples:

{
  code: 0,
  rid: 264290448,
  data: {
    result: 0,
    result_text: null,
    details: [{
      MatchId: 29247884,
      BetBuilderMarkets: [{
        Kind: 'OverUnder',
        NameNumber: 1.5,
        AdditionalSequence: 0,
        Sequence: 0,
        PointSequence: 0,
        Events: [{
          Kind: 'Over',
          Name: 'Over',
          K: 3.06,
          HomeValue: 0,
          AwayValue: 0
        }, {
          Kind: 'Under',
          Name: 'Under',
          K: 13.21,
          HomeValue: 0,
          AwayValue: 0
        }]
      }, {
        Kind: 'OverUnder',
        NameNumber: 2.5,
        AdditionalSequence: 0,
        Sequence: 0,
        PointSequence: 0,
        Events: [{
          Kind: 'Over',
          Name: 'Over',
          K: 3.54,
          HomeValue: 0,
          AwayValue: 0
        }, {
          Kind: 'Under',
          Name: 'Under',
          K: 7.87,
          HomeValue: 0,
          AwayValue: 0
        }]
      }, {
        Kind: 'OverUnder',
        NameNumber: 3.5,
        AdditionalSequence: 0,
        Sequence: 0,
        PointSequence: 0,
        Events: [{
          Kind: 'Over',
          Name: 'Over',
          K: 5.58,
          HomeValue: 0,
          AwayValue: 0
        }, {
          Kind: 'Under',
          Name: 'Under',
          K: 4.27,
          HomeValue: 0,
          AwayValue: 0
        }]
      }]
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
details
The bet builder available markets for all the requested gamesarray-
└─
The bet builder available markets for a single gameobject
└─ MatchId
The Id of the gamenumber-
└─ BetBuilderMarkets
array-
└─ Kind
The 'market_type' of the marketnumber-
└─ NameNumber
The 'base' of the marketnumber-
└─ Sequence
The 'sequence' of the marketnumber-
└─ PointSequence
The 'point_sequence' of the marketnumber-
└─ Events
array-
└─ Kind
The 'market_type' parameter of the eventstring-
└─ K
The price of the bet builder selectionnumber-
└─ HomeValue
The 'home_value' parameter of the eventnumber-
└─ AwayValue
The 'away_value' parameter of the eventstring-
└─ Name
The name of the eventstring-