GetSingleTicket - Saba-sports/OddsDirectAPI_CN GitHub Wiki

此API用于更新单注的盘口数据

Request

GET /betting/{version}/GetSingleTicket?SportType=1&MarketId=314297898&key=h
Content-Type: application/json
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
Parameter Format Length Mandatory Description
sportType int Yes 体育项目 ID
marketId int Yes 盘口ID
key string 10 Yes 投注类型选项
oddsType int -- 盘口赔率类型0 : by member setting (default) ; 1 : Malay Odds ; 2 : Hong Kong Odds ; 3 : Decimal Odds ; 4 : Indo Odds ; 5 : American Odds
betType int Yes 玩法类型

Response

{
    "sportType": int,
    "marketId": int,
    "isDecimalType": bool,
    "point": decimal?,
    "key": string,
    "betType": int,
    "oddsType": int,
    "price": double,
    "status": string,
    "maxBet": decimal,
    "minBet": decimal,
    "liveHomeScore": int,
    "liveAwayScore": int,
    "payoutRate": decimal,
    "aosExcluding": string,
    "isPackagedMatches": bool,
    "eventId": int?
}
Parameter Format Description
SportType int 赛事类型ID
MarketId int 盘口ID
IsDecimalType bool 是否仅支持欧洲盘
Point decimal? 球头
Key string 投注类型选项
BetType int 投注类型ID
OddsType int 盘口赔率类型1 : Malay Odds ; 2 : Hong Kong Odds ; 3 : Decimal Odds ; 4 : Indo Odds ; 5 : American Odds
Price double 赔率
Status string 盘口状态running / suspend / closePrice / closed
MaxBet decimal 最大下注限额
MinBet decimal 最小投注限额
LiveHomeScore int 主队得分
LiveAwayScore int 客队得分
PayoutRate decimal 可賠付比率
aosExcluding string bettype 392, 399, 405, 413, 414, 416, 493, 494, 495, 644且使用key aos相关的玩法时显示aos不包含的比分玩法
isPackagedMatches bool 是否為組合賽事
eventId int? 赛事ID