GetHotBetting - Saba-sports/OddsDirectAPI GitHub Wiki

This API is to get hot market information with popularity sorting.

Request

GET  /sports/{version}/GetHotBetting?language=cs
Accept: application/json
Accept-Encoding: br, gzip, deflate
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Parameter Description
language Specific the language of the response context

Response

{
    "markets": []
}
Name Format Description
markets Market array Specifies the information of hot markets.

Market

{
	"sportType": int,
	"eventId": int,
	"leagueId": int,
	"leagueName": string,
	"leagueIconUrl": string,
	"homeId": int,
	"awayId": int,
	"homeName": string,
	"awayName": string,
	"homeIconUrl": string,
	"awayIconUrl": string,
	"globalShowTime": DateTime,
	"betType": int,
	"betTypeName": string,
	"marketId": int,
	"maxBet": decimal,
	"isLive": bool,
	"marketStatus": string,
	"gameMap": short?,
	"gameRound": short?,
	"resourceId": string,
	"category": int,
        "showCategory": string,
	"sort": int,
	"combo": int,
	"betChoice": BetChoiceInfo
}
Name Format Description Queryable Query Example
sportType int Specifies the identifier of the sport. Yes $filter=sporttype eq 1Note: Use the eventid eq syntax to return all the markets of the eventid
eventId int Specifies the identifier of the event. Yes $filter=eventid eq 38255274
leagueId int Specifies the identifier of the league. No -
leagueName string Specifies the name of the league. No -
leagueIconUrl string Specifies the URL of the league image.If the image not found, please change to use default url.{domain}/LeagueImg/league_flag.png Please replace domain with the domain returned by leagueIconUrl No -
homeId int Specifies the identifier of the home team. No -
awayId int Specifies the identifier of the away team. No -
homeName string Specifies the name of the home team. No -
awayName string Specifies the name of the away team. No -
homeIconUrl string Specifies the URL of the home team image.If the image not found, please change to use default url.{domain}/TeamImg/team_flag_home.png Please replace domain with the domain returned by homeIconUrl No -
awayIconUrl string Specifies the URL of the away team image.If the image not found, please change to use default url.{domain}/TeamImg/team_flag_away.png Please replace domain with the domain returned by awayIconUrl No -
globalShowTime DateTime Specifies the start time for the event. (time zone GMT+0) No
betType int Specifies the type of the betting Yes $filter=bettype eq 128
betTypeName string Specifies the name of the betting. No
marketId int Specifies the identifier of the market. Yes $filter=marketId eq 274175476
maxBet decimal Specifies the maximum bet amount for the market. No
isLive bool Specifies whether the game is live. Yes $filter=islive eq true
marketStatus string Specifies the status of the market.running / suspend / closePrice / closed Yes $filter=marketStatus eq 'running'
gameMap short? Specifies the map of game; Only for E-Sportwhen sport type = 43 and bet type in 9001-9142 No
gameRound short? Specifies the round of game; Only for E-Sportwhen sport type = 43 and bet type = 9007, 9011, 9027, 9062, 9068, 9070, 9071, 9072, 9073, 9077, 9089 No
resourceId string X and Y value in Bet Type Format: XX or XXYY. for Example: Bet Type 9007 - Map 1 First to 5 Kills, The value of resourceId is 0105. No
category int Specifies the category of bet choices.0: None 1: FullTime 2: Half 3: Corners /Bookings 4: Intervals 5: Specials 6: Players 7: FastMarket 8: Quarter 9: ExtraTime 10: Penalty 11-40: E-Sports Map 1~30 41: Ending Game Yes $filter=category eq 0
showCategory string Specifies the category of bet choices.0: None 1: FullTime 2: Half 3-1: Corners 3-2: Bookings 4: Intervals 5: Specials 6: Players 7: FastMarket 8: Quarter 9: ExtraTime 10: Penalty 11-40: E-Sports Map 1~30 41: Ending Game Yes $filter=category eq '3-1'
sort int Specifies the ranking betType.when betType= 1,3,7,8,219,220,401,402,475,476,477,478,486,487,701,704,705,3907,3908,3913 has multiple point, and only sportType = 43(E-sports) sort should be 0. Yes $filter=sort eq 1
combo int Specifies the minimum selections of the market when placing parlay.0 : means the market didn’t support parlay 2 : need select at least 2 selections when placing parlay3 : need to select at least 3 selections when placing parlay4,5 and so on Yes $filter=combo ge 2
betChoice BetChoiceInfo Specifies the information of the hot bet choice. No

BetChoiceInfo

{
    "key": string,
    "keyName": string,
    "point": decimal?,
    "point2": decimal?,
    "oddsPrice": OddsPriceInfo
}
Name Format Description Queryable Query Example
key string Specifies Bet choice key. No
keyName string Specifies the name of the bet choice key. No
point decimal? Specifies the point spread. No
point2 decimal? Specifies the point spread 2. Only for bet type=646; point=HDP, point2=OU No
oddsPrice OddsPriceInfo Specifies the information of odds. No
OddsPriceInfo
{
	"parlayPrice": decimal,
	"malayPrice": decimal,
	"hongKongPrice": decimal,
	"decimalPrice": decimal,
	"indoPrice": decimal,
	"americanPrice": decimal
}
Name Format Description Queryable Query Example
parlayPrice decimal Specifies the price of parlay price. No
malayPrice decimal Specifies the price of Malay odds type No
hongKongPrice decimal Specifies the price of Hong Kong odds type. No
decimalPrice decimal Specifies the price of Decimal odds type. No
indoPrice decimal Specifies the price of Indo odds type. No
americanPrice decimal Specifies the price of American odds type. No