/
v3.0.11Get access

generateRecommendationsByTotalOdd

Generates an AI-recommended express bet that matches a target total odd price. The AI picks games and markets whose combined odds are close to the requested total_odd_price. Used in the Bet Constructor feature.

Request parameters:

Name
DescriptionTypeValuesDefault
totalOddPrice
Target combined express odds (e.g. possibleWin / stakeAmount)number--
minOddPerGame
Minimum allowed odd per individual game number--
maxOddPerGame
Maximum allowed odd per individual gamenumber--
minGameCount
Minimum number of legs in the express number--
maxGameCount
Maximum number of legs in the express number--

Call example:

generateRecommendationsByTotalOdd({
  totalOddPrice: 5,
  minOddPerGame: 1.5,
  maxOddPerGame: 3.5
})

Response examples:

{
  total_price: 3.728,
  target_price: 2,
  price_difference: 1.728,
  legs_count: 3,
  recommendations: [{
    sport: 1,
    sport_alias: 'Football',
    region: 10001,
    region_alias: 'World',
    competition: 3119,
    competition_name: 'U20 International Friendlies',
    game: 29977304,
    home_team_name: 'Jordan U20',
    away_team_name: 'Iraq U20',
    start_time: '2026-06-08T15:00:00Z',
    market: 2287306914,
    market_type: 'OverUnder',
    tag: 106,
    selections: [6800536844],
    selection_prices: [1.65],
    is_player_market: false,
    reason: null
  }]
}

Response parameters:

NameDescriptionTypeValues
total_price
Actual combined odds of all returned legsnumber-
target_price
The requested totalOddPricenumber-
price_difference
Difference between total_price and target_pricenumber-
legs_count
Number of legs in the response number-
recommendations
List of recommended games array-
└─
object
└─ game
Swarm game IDnumber-
└─ sport
Sport IDnumber-
└─ sport_alias
Sport namestring-
└─ region
Region IDnumber-
└─ region_alias
Region name string-
└─ competition
League IDnumber-
└─ competition_name
League name string-
└─ home_team_name
Home team namestring-
└─ away_team_name
Away team namestring-
└─ start_time
Match start time in ISO 8601 UTCstring-
└─ market
Swarm market IDnumber-
└─ market_type
Market type key (e.g. "OverUnder", "TotalofSets")string-
└─ selections
Swarm selection IDs to add to betsliparray-
└─
number-
└─ selection_prices
Odds for each selection array-
└─
number-
└─ tag
Internal AI tag number-
└─ is_player_market
Whether this is a player-specific marketbooleantrue / false
└─ reason
AI explanation for the pick (currently always null)string-