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.

What's new

The Odds Direct API is currently with the v1 version.

Version v1

v1.20

  • add kabaddiInfo & leagueGrouping information for /sports/v1/GetEvents

v1.19

  • add /betting/v1/DoBatchPlaceBet

v1.18

  • add eventId and betType in GetMarkets Push Change Data

v1.17

  • add /sports/v1/GetHotEvents and /sports/v1/GetHotBetting

v1.16

  • CheckUserBalance add B041 error code for not support single wallet

v1.15

  • GetSports & GetSports Push add liveParlayGame and adjust parlayGame calculation

v1.14

  • GetMarkets & GetMarkets Push add showCategory support 3-1 Corners & 3-2 Bookings

v1.13

  • Support New ESport BetTypes, BetType between 9089 ~ 9042

v1.12

  • Support new language with Bahasa Indonesia.

v1.11

  • Support Volleyball, BetType between 3900 ~ 3918

v1.10

  • Add basketBallInfo, baseBallInfo, volleyBallInfo to GetEvents response

v1.9

  • Add leagueIconUrl to GetEvents response

v1.8

  • Rename eventStatus to outrightStatus for /GetOutrights response.

v1.7

  • Added eventId in /GetEventResult soccerDetail.specialData
  • Added deathSuddenPenaltySequence, isPenaltyHandicap, isPenaltyOverUnder in /GetEventResult soccerDetail

v1.6

  • Added B036 error code as response for /GetParlayTickets API when parlay combination is non-valid.

v1.5

  • Added resourceId parameter as response for /GetBetDetails API.

v1.4

  • Added /GetStreaming response parameter StreamingUrlStreamer for showing Streamer url.

v1.3

  • Added /GetParlayTickets input parameter language,and added the responsecomboTypeName for displaying the parlay combo type name.
  • Added /GetBetDetails response parameter globalShowTime for showing event time.

v1.2

  • 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 parameter alreadyCashout & cashoutPrice, and remove 1 parameter cashouts

v1.1

  • Releasd version v1.
  • Modify the PlaceParlayBet process, for the original B006, B007, B008, B009, B010, B011, B012 exception, adjust to reply betStatus=1 (bet failed), and will return the latest priceInfo.
Version beta

beta.13

  • Added Event and Market Status Information
  • Modified the market categories description.
  • Modified all the API input parameters to camelcase.
  • Added /GetEvents livePeriodparameter description.

beta.12

  • Added /CheckUserBalance for getting user balance.
  • Added /GetMaintenanceTime for getting the system under maintenance time.
  • Modified /GetGameDetails to support multiple language content.

beta.11

  • Modified /GetSingleTicket & /GetParlayTickets point parameter, will return null when point is meaningless

beta.10

  • 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.

beta.9

  • Added Language parameter as request for PlaceBet,PlaceParlayBet,PlaceOutrightBet API.
  • Added StreamingUrl parameter as response for /GetStreaming API.
  • Added /GetOutrightTicket API for getting maxbet and minbet.

beta.8

  • Added anonymous login.
  • Added /GetAnnouncementAPI for getting announcement information.
  • Support Server-Send Event atGetSports,GetLeagues,GetEvents,GetMarketsand GetOutrights.

beta.7

  • Added clockDirection& seconds parameter at /GetEventsAPI.
  • Added clockDirection& seconds parameter at GameInfo class at /GetEventsAPI 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.

beta.6

  • Added isCashout parameter at /GetEvents API.
  • Added outrightGame parameter at /GetSports API.
  • Added /GetStramingAPI for get streaming url.
  • Added 4 new API for Cashout /GetCashoutInfo,/GetCashoutInfoByCustomer,/SellBack,/CheckSellingStatus.
  • Added cashoutEnabled & cashoutsat /GetBetDetails for support cashout information.
  • Added streamingOption & channelCode at /GetEvents API, and removed virtualgameinfo parameter.

beta.5

  • Modified /login and /refreshToken input parameter.

beta.4

  • Added marketCount and marketCategories 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.

beta.3

  • Added liveGameCount parameter at /GetSports and /GetLeagues API for getting live game count in all events.
  • Modified /GetMarkets API, return meaningless point as null (parameter point format to decimal?)
  • Modified /GetMarkets API, will return all markets when querying a single event.

beta.2

  • 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.

beta.1

  • Added isLive query option on /GetEvents.
  • Added placeOutrightBet API for betting outright.
  • Modified the /GetMarkets OddsPriceInfo class parameter format to decimal.
⚠️ **GitHub.com Fallback** ⚠️