此API用于获取熱門赛事相关信息包含依熱門成度排序之盘口信息
Request
GET /sports/{version}/GetHotBetting?language=cs
Accept: application/json
Accept-Encoding: br, gzip, deflate
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
Response
{
"markets" []
}
Name |
Format |
Description |
markets |
Market array |
熱門盘口信息列表 |
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 |
体育项目ID |
Yes |
$filter=sporttype eq 1 |
eventId |
int |
赛事ID |
Yes |
$filter=eventid eq 38255274 备註:使用eventid eq 语法可以将该eventid的所有market全部回传 |
leagueId |
int |
联赛ID |
No |
- |
leagueName |
string |
联赛名称 |
No |
- |
leagueIconUrl |
string |
联赛图片URL, 如果图片不存在请使用预设联赛图片URL{domain}/LeagueImg/league_flag.pngdomain请用leagueIconUrl返回的domain取代 |
No |
- |
homeId |
int |
主队ID |
No |
- |
awayId |
int |
客队ID |
No |
- |
homeName |
string |
主队名称 |
No |
- |
awayName |
string |
客队名称 |
No |
- |
homeIconUrl |
string |
主队队徽URL, 如果图片不存在请使用预设主队队徽URL{domain}/TeamImg/team_flag_home.pngdomain请用homeIconUrl返回的domain取代 |
No |
- |
awayIconUrl |
string |
客队队徽URL, 如果图片不存在请使用预设客队队徽URL{domain}/TeamImg/team_flag_away.pngdomain请用homeIconUrl返回的domain取代 |
No |
- |
globalShowTime |
DateTime |
开赛时间 (时区GMT+0) |
No |
— |
betType |
int |
投注类型 |
Yes |
$filter=bettype eq 128 |
betTypeName |
string |
投注类型名称 |
No |
— |
marketId |
int |
盘口ID |
Yes |
$filter=marketId eq 274175476 |
maxBet |
decimal |
最大投注限额 |
No |
— |
isLive |
bool |
是否为滚球赛事 |
Yes |
$filter=islive eq true |
marketStatus |
string |
盘口状态running / suspend / closePrice / closed |
Yes |
$filter=marketStatus eq 'running' |
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 (末位数游戏) |
Yes |
$filter=category eq 0 |
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 (末位数游戏) |
Yes |
$filter=category eq '3-1' |
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。 |
Yes |
$filter=sort eq 1 |
combo |
int |
赛事串关数量限制0: 该盘口不支持串关2: 下注时最少需要选2种组合3: 下注时最少需要选3种组合4,5....以此类推 |
Yes |
$filter=combo ge 2 |
betChoice |
BetChoiceInfo |
盘口赔率選項 |
|
|
BetChoiceInfo
{
"key": string,
"keyName": string,
"point": decimal?,
"point2": decimal?,
"oddsPrice": OddsPriceInfo
}
Name |
Format |
Description |
key |
string |
投注类型选项 |
keyName |
string |
投注类型选项名称 |
point |
decimal? |
球头 |
point2 |
decimal? |
球头2 Only for bet type=646; point=HDP, point2=OU |
oddsPrice |
OddsPriceInfo |
赔率相关信息 |
OddsPriceInfo
{
"parlayPrice": decimal,
"malayPrice": decimal,
"hongKongPrice": decimal,
"decimalPrice": decimal,
"indoPrice": decimal,
"americanPrice": decimal
}
Name |
Format |
Description |
parlayPrice |
decimal |
串关赔率 |
malayPrice |
decimal |
马来盘赔率 |
hongKongPrice |
decimal |
香港盘赔率 |
decimalPrice |
decimal |
欧洲盘赔率 |
indoPrice |
decimal |
印度尼西亚盘赔率 |
americanPrice |
decimal |
美国盘赔率 |