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
- add
kabaddiInfo
&leagueGrouping
information for/sports/v1/GetEvents
- add
/betting/v1/DoBatchPlaceBet
- add
eventId
andbetType
inGetMarkets Push Change Data
- add
/sports/v1/GetHotEvents
and/sports/v1/GetHotBetting
-
CheckUserBalance
addB041
error code for not support single wallet
-
GetSports
&GetSports Push
addliveParlayGame
and adjustparlayGame
calculation
-
GetMarkets
&GetMarkets Push
addshowCategory
support3-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
,volleyBallInfo
toGetEvents
response
- Add
leagueIconUrl
toGetEvents
response
- Rename
eventStatus
tooutrightStatus
for/GetOutrights
response.
- Added
eventId
in/GetEventResult
soccerDetail.specialData
- Added
deathSuddenPenaltySequence
,isPenaltyHandicap
,isPenaltyOverUnder
in/GetEventResult
soccerDetail
- Added B036 error code as response for
/GetParlayTickets
API when parlay combination is non-valid.
- Added
resourceId
parameter as response for/GetBetDetails
API.
- Added
/GetStreaming
response parameterStreamingUrlStreamer
for showing Streamer url.
- Added
/GetParlayTickets
input parameterlanguage
,and added the responsecomboTypeName
for displaying the parlay combo type name. - Added
/GetBetDetails
response parameterglobalShowTime
for showing event time.
- Added 3 new API for Cashout
/GetCashoutPrice
、/SellBack
&/CheckSellingStatus
. - Added 3 new API for Result
/GetSportResults
、/GetEventResults
&/GetOutrightResults
. - Modified
/GetBetDetails
API for support cashout, Add 2 parameteralreadyCashout
&cashoutPrice
, and remove 1 parametercashouts
。
- Releasd version v1.
- Modify the
PlaceParlayBet
process, 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
/GetEvents
livePeriod
parameter description.
- Added
/CheckUserBalance
for getting user balance. - Added
/GetMaintenanceTime
for getting the system under maintenance time. - Modified
/GetGameDetails
to support multiple language content.
- Modified
/GetSingleTicket
&/GetParlayTickets
point parameter, will return null when point is meaningless
- Added Betting Flow
- Added
/CheckWaitingTicketStatus
API for getting the latest ticket status. - Added
/GetSystemParlayDetails
API for getting System Parlay ticket details. - Added
/GetGameDetails
API for getting the game final result.
- Added
Language
parameter as request forPlaceBet
,PlaceParlayBet
,PlaceOutrightBet
API. - Added
StreamingUrl
parameter as response for/GetStreaming
API. - Added
/GetOutrightTicket
API for getting maxbet and minbet.
- Added anonymous login.
- Added
/GetAnnouncement
API for getting announcement information. - Support Server-Send Event at
GetSports
,GetLeagues
,GetEvents
,GetMarkets
andGetOutrights
.
- Added
clockDirection
&seconds
parameter at/GetEvents
API. - Added
clockDirection
&seconds
parameter at GameInfo class at/GetEvents
API to support more detail in play time. - Added
beachVolleyBallInfo
parameter at/GetEvents
API to support beach volleyball events - Added compress protocols require for using API.
- Modified
/GetCashoutInfo
API to support multiple transId inputs.
- Added
isCashout
parameter at/GetEvents
API. - Added
outrightGame
parameter at/GetSports
API. - Added
/GetStraming
API for get streaming url. - Added 4 new API for Cashout
/GetCashoutInfo
,/GetCashoutInfoByCustomer
,/SellBack
,/CheckSellingStatus
. - Added
cashoutEnabled
&cashouts
at/GetBetDetails
for support cashout information. - Added
streamingOption
&channelCode
at/GetEvents
API, and removedvirtualgameinfo
parameter.
- Modified
/login
and/refreshToken
input parameter.
- Added
marketCount
andmarketCategories
at/GetEvents
API. - 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
liveGameCount
parameter at/GetSports
and/GetLeagues
API for getting live game count in all events. - Modified
/GetMarkets
API, return meaningless point as null (parameterpoint
format to decimal?) - Modified
/GetMarkets
API, will return all markets when querying a single event.
- release new staging domain
apistaging.wx7777.com
and the old one will be invalided in the future. - Added
kickOffTime
&homeIconUrl
&awayIconUrl
on/GetEvents
. - Added
GetPromotions
API for getting promotions events.
- Added
isLive
query option on/GetEvents
. - Added
placeOutrightBet
API for betting outright. - Modified the
/GetMarkets
OddsPriceInfo class parameter format to decimal.