GetSingleTicket - Saba-sports/OddsDirectAPI GitHub Wiki

This API is to get the latest market information for a single bet.

Request

GET /betting/{version}/GetSingleTicket?SportType=1&MarketId=314297898&key=h
Content-Type: application/json
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Parameter Format Length Mandatory Description
sportType int Yes Specifies the identifier of the sport.
marketId int Yes Specifies the identifier of the market.
key string 10 Yes Specifies the key of the selection.
oddsType int -- Specifies the type of the odds.0 : by member setting (default) ; 1 : Malay Odds ; 2 : Hong Kong Odds ; 3 : Decimal Odds ; 4 : Indo Odds ; 5 : American Odds

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
}
Parameter Format Description
SportType int Specifies the identifier of the sport.
MarketId int Specifies the identifier of the market.
IsDecimalType bool Specifies whether the market only supports decimal odds.
Point decimal? Specifies the point spread.
Key string Specifies the key of the selection.
BetType int Specifies the type of the betting
OddsType int Specifies the type of the odds.1 : Malay Odds ; 2 : Hong Kong Odds ; 3 : Decimal Odds ; 4 : Indo Odds ; 5 : American Odds
Price double Specifies the price.
Status string Specifies the status of the market.running / suspend / closePrice / closed
MaxBet decimal Specifies the maximum bet amount for the market.
MinBet decimal Specifies the minimum bet amount for the market.
LiveHomeScore int Specifies the current score of the home team.
LiveAwayScore int Specifies the current score of the away team.
PayoutRate decimal Specifies the Maximum payable rate.