Home - Saba-sports/OddsDirectAPI GitHub Wiki
Saba has an industry-leading sports betting offer covering more than 60 sports, with 100 of thousands of events and markets offered for in-play betting per month. We pay attention to every sporting event and take quick and good actions to help our operators maintain good products and profitable profits for their businesses.
The document aims to provide information on the specifics of the Odds Direct API. Operators and developers could understand how to utilize this API to build nice and customized end-user-facing sports applications. More specifically, we will focus on:
- How to set up and authenticate to start developing and running applications.
- How to build queries.
- How to read the response payload.
The Odds Direct API is currently with the v1 version.
Version v1
- support bet type 653 ~ 688 for basketball player bet type. &
GetEventResultsaddplayerDetails
- adjust priceOption = 1 (better odds) & priceOption = 2 (any odds) to
PlaceParlayBet
- support isVirtual parameter for
GetSports,GetSports Push,GetLeagues,GetLeagues Push
- GetPromotion support Additional Odata Query Parameter
currency
- Support Betby betTypes, BetType between
13000~13011
- Reference add main bettype description
- add
kabaddiInfo&leagueGroupinginformation for/sports/v1/GetEvents
- add
/betting/v1/DoBatchPlaceBet
- add
eventIdandbetTypeinGetMarkets Push Change Data
- add
/sports/v1/GetHotEventsand/sports/v1/GetHotBetting
-
CheckUserBalanceaddB041error code for not support single wallet
-
GetSports&GetSports PushaddliveParlayGameand adjustparlayGamecalculation
-
GetMarkets&GetMarkets PushaddshowCategorysupport3-1 Corners&3-2 Bookings
- Support New ESport BetTypes, BetType between
9089~9042
- Support new language with Bahasa Indonesia.
- Support Volleyball, BetType between
3900~3918
- Add
basketBallInfo,baseBallInfo,volleyBallInfotoGetEventsresponse
- Add
leagueIconUrltoGetEventsresponse
- Rename
eventStatustooutrightStatusfor/GetOutrightsresponse.
- Added
eventIdin/GetEventResultsoccerDetail.specialData - Added
deathSuddenPenaltySequence,isPenaltyHandicap,isPenaltyOverUnderin/GetEventResultsoccerDetail
- Added B036 error code as response for
/GetParlayTicketsAPI when parlay combination is non-valid.
- Added
resourceIdparameter as response for/GetBetDetailsAPI.
- Added
/GetStreamingresponse parameterStreamingUrlStreamerfor showing Streamer url.
- Added
/GetParlayTicketsinput parameterlanguage,and added the responsecomboTypeNamefor displaying the parlay combo type name. - Added
/GetBetDetailsresponse parameterglobalShowTimefor showing event time.
- Added 3 new API for Cashout
/GetCashoutPrice、/SellBack&/CheckSellingStatus. - Added 3 new API for Result
/GetSportResults、/GetEventResults&/GetOutrightResults. - Modified
/GetBetDetailsAPI for support cashout, Add 2 parameteralreadyCashout&cashoutPrice, and remove 1 parametercashouts。
- Releasd version v1.
- Modify the
PlaceParlayBetprocess, for the original B006, B007, B008, B009, B010, B011, B012 exception, adjust to replybetStatus=1(bet failed), and will return the latestpriceInfo.
Version beta
- Added Event and Market Status Information
- Modified the market categories description.
- Modified all the API input parameters to camelcase.
- Added
/GetEventslivePeriodparameter description.
- Added
/CheckUserBalancefor getting user balance. - Added
/GetMaintenanceTimefor getting the system under maintenance time. - Modified
/GetGameDetailsto support multiple language content.
- Modified
/GetSingleTicket&/GetParlayTicketspoint parameter, will return null when point is meaningless
- Added Betting Flow
- Added
/CheckWaitingTicketStatusAPI for getting the latest ticket status. - Added
/GetSystemParlayDetailsAPI for getting System Parlay ticket details. - Added
/GetGameDetailsAPI for getting the game final result.
- Added
Languageparameter as request forPlaceBet,PlaceParlayBet,PlaceOutrightBetAPI. - Added
StreamingUrlparameter as response for/GetStreamingAPI. - Added
/GetOutrightTicketAPI for getting maxbet and minbet.
- Added anonymous login.
- Added
/GetAnnouncementAPI for getting announcement information. - Support Server-Send Event at
GetSports,GetLeagues,GetEvents,GetMarketsandGetOutrights.
- Added
clockDirection&secondsparameter at/GetEventsAPI. - Added
clockDirection&secondsparameter at GameInfo class at/GetEventsAPI to support more detail in play time. - Added
beachVolleyBallInfoparameter at/GetEventsAPI to support beach volleyball events - Added compress protocols require for using API.
- Modified
/GetCashoutInfoAPI to support multiple transId inputs.
- Added
isCashoutparameter at/GetEventsAPI. - Added
outrightGameparameter at/GetSportsAPI. - Added
/GetStramingAPI for get streaming url. - Added 4 new API for Cashout
/GetCashoutInfo,/GetCashoutInfoByCustomer,/SellBack,/CheckSellingStatus. - Added
cashoutEnabled&cashoutsat/GetBetDetailsfor support cashout information. - Added
streamingOption&channelCodeat/GetEventsAPI, and removedvirtualgameinfoparameter.
- Modified
/loginand/refreshTokeninput parameter.
- Added
marketCountandmarketCategoriesat/GetEventsAPI. - Trim all leading and trailing white-space characters for all team names.
- Modified GetEvents API's response that only returns the main market by default.
- Added
liveGameCountparameter at/GetSportsand/GetLeaguesAPI for getting live game count in all events. - Modified
/GetMarketsAPI, return meaningless point as null (parameterpointformat to decimal?) - Modified
/GetMarketsAPI, will return all markets when querying a single event.
- release new staging domain
apistaging.wx7777.comand the old one will be invalided in the future. - Added
kickOffTime&homeIconUrl&awayIconUrlon/GetEvents. - Added
GetPromotionsAPI for getting promotions events.
- Added
isLivequery option on/GetEvents. - Added
placeOutrightBetAPI for betting outright. - Modified the
/GetMarketsOddsPriceInfo class parameter format to decimal.