GetHotEvents - Saba-sports/OddsDirectAPI GitHub Wiki

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

Request

GET  /sports/{version}/GetHotEvents?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

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

Event

please reference GetEvents response

Market

{
	"sportType": int,
	"eventId": int,
	"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,
	"selections": SelectionInfo[]
}
Name Format Description Queryable Query Example
sportType int Specifies the identifier of the sport. No —
eventId int Specifies the identifier of the event. No —
betType int Specifies the type of the betting No —
betTypeName string Specifies the name of the betting. No —
marketId int Specifies the identifier of the market. No —
maxBet decimal Specifies the maximum bet amount for the market. No —
isLive bool Specifies whether the game is live. No —
marketStatus string Specifies the status of the market.running / suspend / closePrice / closed No —
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 No —
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 No —
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. No —
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 No —
selections SelectionInfo[] Specifies the information of bet choices. No —

SelectionInfo

[
	{
	    "key": string,
	    "keyName": string,
	    "point": decimal?,
	    "point2": decimal?,
	    "oddsPrice": OddsPriceInfo
	}
]
Name Format Description Queryable Query Example
key string Specifies Bet type selections key. No —
keyName string Specifies the name of the selections 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 —