GetHotEvents - Saba-sports/OddsDirectAPI_CN GitHub Wiki

此API用于获取熱門赛事相关信息包含依熱門成度排序之盘口信息

Request

GET  /sports/{version}/GetHotEvents?language=cs
Accept: application/json
Accept-Encoding: br, gzip, deflate
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
Parameter Description
language 指定欲回应的数据语系,请参阅Language Table

Response

[
    {
        "event": {},
        "markets" []
    }
]
Name Format Description
event Event array 熱門赛事信息
markets Market array 熱門盘口信息列表

Event

赛事相关信息请参阅GetEvent

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 体育项目ID No —
eventId int 赛事ID No —
betType int 投注类型 No —
betTypeName string 投注类型名称 No —
marketId int 盘口ID No —
maxBet decimal 最大投注限额 No —
isLive bool 是否为滚球赛事 No —
marketStatus string 盘口状态running / suspend / closePrice / closed No —
gameMap short? [电子竞技专用]游戏地图当体育项目sport type = 43 且投注类型bettype于9001-9142之间 No —
gameRound short? [电子竞技专用] 游戏回合当体育项目sport type = 43 且投注类型bettype = 9007, 9011, 9027, 9062, 9068, 9070, 9071, 9072, 9073, 9077, 9089 No —
resourceId string 投注类型中的 X 和 Y 值格式为 XX 或 XXYY。 例如:投注类型 9007 Map 1 Firstto 5 Kills。收到的 resourceId 值为 0105。 No —
category int 投注类型分类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 (电子竞技适用 – 地图 1~30)41: Ending Game (末位数游戏) No —
showCategory string 投注类型分类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 (电子竞技适用 – 地图 1~30)41: Ending Game (末位数游戏) No —
sort int 排序球头当投注类型betType= 1,3,7,8,219,220,401,402,475,476,477,478,486,487,701,704,705,3907,3908,3913 且有多球头时, 其中只有SportType= 43(电子竞技)sort为0。 No —
combo int 赛事串关数量限制0: 该盘口不支持串关2: 下注时最少需要选2种组合3: 下注时最少需要选3种组合4,5....以此类推 No —
selections SelectionInfo[] 盘口赔率项目列表 No —

SelectionInfo

[
	{
	    "key": string,
	    "keyName": string,
	    "point": decimal?,
	    "point2": decimal?,
	    "oddsPrice": OddsPriceInfo
	}
]
Name Format Description Queryable Query Example
key string 投注类型选项 No —
keyName string 投注类型选项名称 No —
point decimal? 球头 No —
point2 decimal? 球头2 Only for bet type=646; point=HDP, point2=OU No —
oddsPrice OddsPriceInfo 赔率相关信息 No —
OddsPriceInfo
{
	"parlayPrice": decimal,
	"malayPrice": decimal,
	"hongKongPrice": decimal,
	"decimalPrice": decimal,
	"indoPrice": decimal,
	"americanPrice": decimal
}
Name Format Description Queryable Query Example
parlayPrice decimal 串关赔率 No —
malayPrice decimal 马来盘赔率 No —
hongKongPrice decimal 香港盘赔率 No —
decimalPrice decimal 欧洲盘赔率 No —
indoPrice decimal 印度尼西亚盘赔率 No —
americanPrice decimal 美国盘赔率 No —