linesapi.yaml 126 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962
  1. swagger: '2.0'
  2. info:
  3. version: 1.0.0
  4. title: Pinnacle888 - Lines API Reference
  5. description: |
  6. All about odds and fixtures
  7. # Authentication
  8. API uses HTTP Basic access authentication.You need to send Authorization HTTP Request header:
  9. `Authorization: Basic <Base64 value of UTF-8 encoded "username:password">`
  10. Example:
  11. `Authorization: Basic U03MyOT23YbzMDc6d3c3O1DQ1`
  12. x-logo:
  13. url: ''
  14. host: api.pinnacle888.com
  15. schemes:
  16. - https
  17. security:
  18. - basicAuth: []
  19. paths:
  20. /v3/fixtures:
  21. get:
  22. tags:
  23. - Fixtures
  24. summary: Get Fixtures - v3
  25. description: Returns all **non-settled** events for the given sport. Please note that it is possible that the event is in Get Fixtures response but not in Get Odds. This happens when the odds are not currently available for wagering. Please note that it is possible to receive the same exact response when using **since** parameter. This is rare and can be caused by internal updates of event properties.
  26. operationId: Fixtures_V3_Get
  27. consumes: []
  28. produces:
  29. - application/json
  30. parameters:
  31. - name: sportId
  32. in: query
  33. description: The sport id to retrieve the fixutres for.
  34. required: true
  35. type: integer
  36. format: int32
  37. - name: leagueIds
  38. in: query
  39. description: The leagueIds array may contain a list of comma separated league ids.
  40. required: false
  41. type: array
  42. items:
  43. type: integer
  44. format: int32
  45. collectionFormat: multi
  46. - name: isLive
  47. in: query
  48. description: To retrieve ONLY live events set the value to 1 (isLive=1). Missing or any other value will result in retrieval of events regardless of their Live status.
  49. required: false
  50. type: boolean
  51. - name: since
  52. in: query
  53. description: This is used to receive incremental updates. Use the value of last from previous fixtures response. When since parameter is not provided, the fixtures are delayed up to 1 minute to encourage the use of the parameter.
  54. required: false
  55. type: integer
  56. format: int64
  57. - name: eventIds
  58. in: query
  59. description: Comma separated list of event ids to filter by
  60. required: false
  61. type: array
  62. items:
  63. type: integer
  64. format: int32
  65. collectionFormat: multi
  66. responses:
  67. '200':
  68. description: OK
  69. schema:
  70. $ref: '#/definitions/FixturesResponseV3'
  71. '400':
  72. description: BadRequest
  73. schema:
  74. $ref: '#/definitions/ErrorResponse'
  75. '401':
  76. description: Unauthorized
  77. schema:
  78. $ref: '#/definitions/ErrorResponse'
  79. '403':
  80. description: Forbidden
  81. schema:
  82. $ref: '#/definitions/ErrorResponse'
  83. '500':
  84. description: InternalServerError
  85. schema:
  86. $ref: '#/definitions/ExtendedErrorResponse'
  87. /v2/fixtures/special:
  88. get:
  89. tags:
  90. - Fixtures
  91. summary: Get Special Fixtures - v2
  92. description: Returns all **non-settled** specials for the given sport.
  93. operationId: Fixtures_Special_V2_Get
  94. consumes: []
  95. produces:
  96. - application/json
  97. parameters:
  98. - name: sportId
  99. in: query
  100. description: Id of a sport for which to retrieve the specials.
  101. required: true
  102. type: integer
  103. format: int32
  104. - name: leagueIds
  105. in: query
  106. description: The leagueIds array may contain a list of comma separated league ids.
  107. required: false
  108. type: array
  109. items:
  110. type: integer
  111. format: int32
  112. collectionFormat: multi
  113. - name: since
  114. in: query
  115. description: This is used to receive incremental updates. Use the value of last field from the previous response. When since parameter is not provided, the fixtures are delayed up to 1 min to encourage the use of the parameter.
  116. required: false
  117. type: integer
  118. format: int64
  119. - name: category
  120. in: query
  121. description: The category the special falls under.
  122. required: false
  123. type: string
  124. - name: eventId
  125. in: query
  126. description: Id of an event associated with a special.
  127. required: false
  128. type: integer
  129. format: int64
  130. - name: specialId
  131. in: query
  132. description: Id of the special.
  133. required: false
  134. type: integer
  135. format: int64
  136. responses:
  137. '200':
  138. description: OK
  139. schema:
  140. $ref: '#/definitions/SpecialsFixturesResponseV2'
  141. examples:
  142. application/json:
  143. sportId: 4
  144. last: 636433059508250600
  145. leagues:
  146. - id: 487
  147. specials:
  148. - id: 1
  149. betType: MULTI_WAY_HEAD_TO_HEAD
  150. name: Will the 4th quarter be odd or even?
  151. date: '2017-10-11T14:00:00Z'
  152. cutoff: '2017-10-11T14:00:00Z'
  153. category: 1/4 Totals
  154. units: ""
  155. status: I
  156. event:
  157. id: 1
  158. periodNumber: 0
  159. contestants:
  160. - id: 1
  161. name: Odd
  162. rotNum: 100
  163. - id: 2
  164. name: Even
  165. rotNum: 101
  166. - id: 2
  167. betType: MULTI_WAY_HEAD_TO_HEAD
  168. name: Will the 3rd quarter be odd or even?
  169. date: '2017-10-11T14:00:00Z'
  170. cutoff: '2017-10-11T14:00:00Z'
  171. category: 1/4 Totals
  172. units: ""
  173. status: I
  174. event:
  175. id: 1
  176. periodNumber: 0
  177. contestants:
  178. - id: 3
  179. name: Odd
  180. rotNum: 100
  181. - id: 4
  182. name: Even
  183. rotNum: 101
  184. - id: 3
  185. betType: MULTI_WAY_HEAD_TO_HEAD
  186. name: Will the 2nd quarter be odd or even?
  187. date: '2017-10-11T14:00:00Z'
  188. cutoff: '2017-10-11T14:00:00Z'
  189. category: 1/4 Totals
  190. units: ""
  191. status: H
  192. event:
  193. id: 1
  194. periodNumber: 0
  195. contestants:
  196. - id: 5
  197. name: Odd
  198. rotNum: 100
  199. - id: 6
  200. name: Even
  201. rotNum: 101
  202. - id: 4
  203. betType: MULTI_WAY_HEAD_TO_HEAD
  204. name: Will the 1st quarter be odd or even?
  205. date: '2017-10-11T14:00:00Z'
  206. cutoff: '2017-10-11T14:00:00Z'
  207. category: 1/4 Totals
  208. units: ""
  209. status: I
  210. event:
  211. id: 1
  212. periodNumber: 0
  213. contestants:
  214. - id: 7
  215. name: Odd
  216. rotNum: 100
  217. - id: 8
  218. name: Even
  219. rotNum: 101
  220. - id: 5
  221. betType: MULTI_WAY_HEAD_TO_HEAD
  222. name: Will the 4th quarter be odd or even?
  223. date: '2017-10-11T14:00:00Z'
  224. cutoff: '2017-10-11T14:00:00Z'
  225. category: 1/4 Totals
  226. units: ""
  227. status: null
  228. event:
  229. id: 2
  230. periodNumber: 0
  231. contestants:
  232. - id: 9
  233. name: Odd
  234. rotNum: 100
  235. - id: 10
  236. name: Even
  237. rotNum: 101
  238. - id: 6
  239. betType: MULTI_WAY_HEAD_TO_HEAD
  240. name: Will the 3rd quarter be odd or even?
  241. date: '2017-10-11T14:00:00Z'
  242. cutoff: '2017-10-11T14:00:00Z'
  243. category: 1/4 Totals
  244. units: ""
  245. status: I
  246. event:
  247. id: 2
  248. periodNumber: 0
  249. contestants:
  250. - id: 11
  251. name: Odd
  252. rotNum: 100
  253. - id: 12
  254. name: Even
  255. rotNum: 101
  256. - id: 7
  257. betType: MULTI_WAY_HEAD_TO_HEAD
  258. name: Will the 2nd quarter be odd or even?
  259. date: '2017-10-11T14:00:00Z'
  260. cutoff: '2017-10-11T14:00:00Z'
  261. category: 1/4 Totals
  262. units: ""
  263. status: I
  264. event:
  265. id: 2
  266. periodNumber: 0
  267. contestants:
  268. - id: 13
  269. name: Odd
  270. rotNum: 100
  271. - id: 14
  272. name: Even
  273. rotNum: 101
  274. - id: 8
  275. betType: MULTI_WAY_HEAD_TO_HEAD
  276. name: Will the 1st quarter be odd or even?
  277. date: '2017-10-11T14:00:00Z'
  278. cutoff: '2017-10-11T14:00:00Z'
  279. category: 1/4 Totals
  280. units: ""
  281. status: H
  282. event:
  283. id: 2
  284. periodNumber: 0
  285. contestants:
  286. - id: 15
  287. name: Odd
  288. rotNum: 100
  289. - id: 16
  290. name: Even
  291. rotNum: 101
  292. - id: 9
  293. betType: MULTI_WAY_HEAD_TO_HEAD
  294. name: Who will win the NBA finals?
  295. date: '2017-10-11T14:00:00Z'
  296. cutoff: '2017-10-11T14:00:00Z'
  297. category: Outright Winner
  298. units: ""
  299. status: I
  300. contestants:
  301. - id: 17
  302. name: Golden State Warriors
  303. rotNum: 100
  304. - id: 18
  305. name: Cleveland Cavaliers
  306. rotNum: 101
  307. - id: 19
  308. name: San Antonio Spurs
  309. rotNum: 102
  310. - id: 20
  311. name: Chicago Bulls
  312. rotNum: 103
  313. - id: 578
  314. specials:
  315. - id: 10
  316. betType: MULTI_WAY_HEAD_TO_HEAD
  317. name: Who will win the WNBA finals?
  318. date: '2017-10-11T14:00:00Z'
  319. cutoff: '2017-10-11T14:00:00Z'
  320. category: Outright Winner
  321. units: ""
  322. status: I
  323. contestants:
  324. - id: 21
  325. name: Minnesota Lynx
  326. rotNum: 100
  327. - id: 22
  328. name: Indiana Fever
  329. rotNum: 101
  330. - id: 23
  331. name: Phoenix Mercury
  332. rotNum: 102
  333. - id: 24
  334. name: Chicago Sky
  335. rotNum: 103
  336. '400':
  337. description: BadRequest
  338. schema:
  339. $ref: '#/definitions/ErrorResponse'
  340. '401':
  341. description: Unauthorized
  342. schema:
  343. $ref: '#/definitions/ErrorResponse'
  344. '403':
  345. description: Forbidden
  346. schema:
  347. $ref: '#/definitions/ErrorResponse'
  348. '500':
  349. description: InternalServerError
  350. schema:
  351. $ref: '#/definitions/ExtendedErrorResponse'
  352. deprecated: false
  353. /v3/fixtures/settled:
  354. get:
  355. tags:
  356. - Fixtures
  357. summary: Get Settled Fixtures - v3
  358. description: Returns fixtures settled in the last 24 hours for the given sport.
  359. operationId: Fixtures_Settled_V3_Get
  360. consumes: []
  361. produces:
  362. - application/json
  363. parameters:
  364. - name: sportId
  365. in: query
  366. required: true
  367. description: Id of the sport for which to retrieve the settled.
  368. type: integer
  369. format: int32
  370. - name: leagueIds
  371. in: query
  372. required: false
  373. description: The leagueIds array may contain a list of comma separated league ids.
  374. type: array
  375. items:
  376. type: integer
  377. format: int32
  378. collectionFormat: multi
  379. - name: since
  380. in: query
  381. required: false
  382. description: This is used to receive incremental updates. Use the value of last from previous response.
  383. type: integer
  384. format: int64
  385. responses:
  386. '200':
  387. description: OK
  388. schema:
  389. $ref: '#/definitions/SettledFixturesSportV3'
  390. examples:
  391. application/json:
  392. sportId: 0
  393. last: 0
  394. leagues:
  395. - id: 0
  396. events:
  397. - id: 0
  398. periods:
  399. - number: 0
  400. status: 0
  401. settlementId: 0
  402. settledAt: '2017-09-03T18:21:22.3846289-07:00'
  403. team1Score: 0
  404. team2Score: 0
  405. cancellationReason:
  406. code: string
  407. details:
  408. correctTeam1Id: string
  409. correctTeam2Id: string
  410. correctListedPitcher1: string
  411. correctListedPitcher2: string
  412. correctSpread: '0.0'
  413. correctTotalPoints: '0.0'
  414. correctTeam1TotalPoints: '0.0'
  415. correctTeam2TotalPoints: '0.0'
  416. correctTeam1Score: '0'
  417. correctTeam2Score: '0'
  418. correctTeam1TennisSetsScore: '0'
  419. correctTeam2TennisSetsScore: '0'
  420. '400':
  421. description: BadRequest
  422. schema:
  423. $ref: '#/definitions/ErrorResponse'
  424. '401':
  425. description: Unauthorized
  426. schema:
  427. $ref: '#/definitions/ErrorResponse'
  428. '403':
  429. description: Forbidden
  430. schema:
  431. $ref: '#/definitions/ErrorResponse'
  432. '500':
  433. description: InternalServerError
  434. schema:
  435. $ref: '#/definitions/ExtendedErrorResponse'
  436. /v3/fixtures/special/settled:
  437. get:
  438. tags:
  439. - Fixtures
  440. summary: Get Settled Special Fixtures - v3
  441. description: Returns all specials which are settled in the last 24 hours for the given Sport.
  442. operationId: Fixtures_Specials_Settled_V3_Get
  443. consumes: []
  444. produces:
  445. - application/json
  446. parameters:
  447. - name: sportId
  448. in: query
  449. description: Id of the sport for which to retrieve the settled specials.
  450. required: true
  451. type: integer
  452. format: int32
  453. - name: leagueIds
  454. in: query
  455. description: Array of leagueIds. This is optional parameter.
  456. required: false
  457. type: array
  458. items:
  459. type: integer
  460. format: int32
  461. collectionFormat: multi
  462. - name: since
  463. in: query
  464. description: This is used to receive incremental updates. Use the value of last from previous response.
  465. required: false
  466. type: integer
  467. format: int64
  468. responses:
  469. '200':
  470. description: OK
  471. schema:
  472. $ref: '#/definitions/SettledSpecialsResponseV3'
  473. examples:
  474. application/json:
  475. sportId: 0
  476. last: 0
  477. leagues:
  478. - id: 0
  479. specials:
  480. - id: 0
  481. status: 0
  482. settlementId: 0
  483. settledAt: '2017-10-11T15:05:50.996671Z'
  484. contestants:
  485. - id: 1
  486. name: Barranquilla
  487. outcome: "X"
  488. - id: 2
  489. name: Valledupar
  490. outcome: "X"
  491. cancellationReason:
  492. code: string
  493. details:
  494. correctTeam1Id: string
  495. correctTeam2Id: string
  496. correctListedPitcher1: string
  497. correctListedPitcher2: string
  498. correctSpread: '0.0'
  499. correctTotalPoints: '0.0'
  500. correctTeam1TotalPoints: '0.0'
  501. correctTeam2TotalPoints: '0.0'
  502. correctTeam1Score: '0'
  503. correctTeam2Score: '0'
  504. correctTeam1TennisSetsScore: '0'
  505. correctTeam2TennisSetsScore: '0'
  506. '400':
  507. description: BadRequest
  508. schema:
  509. $ref: '#/definitions/ErrorResponse'
  510. '401':
  511. description: Unauthorized
  512. schema:
  513. $ref: '#/definitions/ErrorResponse'
  514. '403':
  515. description: Forbidden
  516. schema:
  517. $ref: '#/definitions/ErrorResponse'
  518. '500':
  519. description: InternalServerError
  520. schema:
  521. $ref: '#/definitions/ExtendedErrorResponse'
  522. deprecated: false
  523. /v3/odds:
  524. get:
  525. tags:
  526. - Odds
  527. summary: Get Straight Odds - v3
  528. description: Returns straight odds for all non-settled events. Please note that it is possible that the event is in Get Fixtures response but not in Get Odds. This happens when the odds are not currently available for wagering.
  529. operationId: Odds_Straight_V3_Get
  530. consumes: []
  531. produces:
  532. - application/json
  533. parameters:
  534. - name: sportId
  535. in: query
  536. description: The sportid for which to retrieve the odds.
  537. required: true
  538. type: integer
  539. format: int32
  540. - name: leagueIds
  541. in: query
  542. description: The leagueIds array may contain a list of comma separated league ids.
  543. required: false
  544. type: array
  545. items:
  546. type: integer
  547. format: int32
  548. collectionFormat: multi
  549. - name: oddsFormat
  550. in: query
  551. description: Format in which we return the odds. Default is American. [American, Decimal, HongKong, Indonesian, Malay]
  552. required: false
  553. type: string
  554. enum:
  555. - American
  556. - Decimal
  557. - HongKong
  558. - Indonesian
  559. - Malay
  560. - name: since
  561. in: query
  562. description: This is used to receive incremental updates. Use the value of last from previous odds response. When since parameter is not provided, the odds are delayed up to 1 min to encourage the use of the parameter. Please note that when using since parameter you will get in the response ONLY changed periods. If a period did not have any changes it will not be in the response.
  563. required: false
  564. type: integer
  565. format: int64
  566. - name: isLive
  567. in: query
  568. description: To retrieve ONLY live odds set the value to 1 (isLive=1). Otherwise response will have all odds.
  569. required: false
  570. type: boolean
  571. - name: eventIds
  572. in: query
  573. description: Filter by EventIds
  574. required: false
  575. type: array
  576. items:
  577. type: integer
  578. format: int64
  579. collectionFormat: multi
  580. - name: toCurrencyCode
  581. in: query
  582. description: 3 letter currency code as in the [/currency](https://pinny888.github.io/docs/?api=lines#tag/Others/operation/Currencies_V2_Get) response. Limits will be returned in the requested currency. Default is USD.
  583. required: false
  584. type: string
  585. responses:
  586. '200':
  587. description: OK
  588. schema:
  589. $ref: '#/definitions/OddsResponseV3'
  590. '400':
  591. description: BadRequest
  592. schema:
  593. $ref: '#/definitions/ErrorResponse'
  594. '401':
  595. description: Unauthorized
  596. schema:
  597. $ref: '#/definitions/ErrorResponse'
  598. '403':
  599. description: Forbidden
  600. schema:
  601. $ref: '#/definitions/ErrorResponse'
  602. '500':
  603. description: InternalServerError
  604. schema:
  605. $ref: '#/definitions/ExtendedErrorResponse'
  606. deprecated: true
  607. /v4/odds:
  608. get:
  609. tags:
  610. - Odds
  611. summary: Get Straight Odds - v4
  612. description: Returns straight odds for all non-settled events. Please note that it is possible that the event is in Get Fixtures response but not in Get Odds. This happens when the odds are not currently available for wagering.
  613. operationId: Odds_Straight_V4_Get
  614. consumes: []
  615. produces:
  616. - application/json
  617. parameters:
  618. - name: sportId
  619. in: query
  620. description: The sportid for which to retrieve the odds.
  621. required: true
  622. type: integer
  623. format: int32
  624. - name: leagueIds
  625. in: query
  626. description: The leagueIds array may contain a list of comma separated league ids.
  627. required: false
  628. type: array
  629. items:
  630. type: integer
  631. format: int32
  632. collectionFormat: multi
  633. - name: oddsFormat
  634. in: query
  635. description: Format in which we return the odds. Default is American. [American, Decimal, HongKong, Indonesian, Malay]
  636. required: false
  637. type: string
  638. enum:
  639. - American
  640. - Decimal
  641. - HongKong
  642. - Indonesian
  643. - Malay
  644. - name: since
  645. in: query
  646. description: This is used to receive incremental updates. Use the value of last from previous odds response. When since parameter is not provided, the odds are delayed up to 1 min to encourage the use of the parameter. Please note that when using since parameter you will get in the response ONLY changed periods. If a period did not have any changes it will not be in the response.
  647. required: false
  648. type: integer
  649. format: int64
  650. - name: isLive
  651. in: query
  652. description: To retrieve ONLY live odds set the value to 1 (isLive=1). Otherwise response will have all odds.
  653. required: false
  654. type: boolean
  655. - name: eventIds
  656. in: query
  657. description: Filter by EventIds
  658. required: false
  659. type: array
  660. items:
  661. type: integer
  662. format: int64
  663. collectionFormat: multi
  664. - name: toCurrencyCode
  665. in: query
  666. description: 3 letter currency code as in the [/currency](https://pinny888.github.io/docs/?api=lines#tag/Others/operation/Currencies_V2_Get) response. Limits will be returned in the requested currency. Default is USD.
  667. required: false
  668. type: string
  669. responses:
  670. '200':
  671. description: OK
  672. schema:
  673. $ref: '#/definitions/OddsResponseV4'
  674. '400':
  675. description: BadRequest
  676. schema:
  677. $ref: '#/definitions/ErrorResponse'
  678. '401':
  679. description: Unauthorized
  680. schema:
  681. $ref: '#/definitions/ErrorResponse'
  682. '403':
  683. description: Forbidden
  684. schema:
  685. $ref: '#/definitions/ErrorResponse'
  686. '500':
  687. description: InternalServerError
  688. schema:
  689. $ref: '#/definitions/ExtendedErrorResponse'
  690. /v3/odds/parlay:
  691. get:
  692. tags:
  693. - Odds
  694. summary: Get Parlay Odds - v3
  695. description: Returns parlay odds for all non-settled events. Please note that it is possible that the event is in Get Fixtures response but notin Get Odds. This happens when the odds are not currently available for wagering.
  696. operationId: Odds_Parlays_V3_Get
  697. consumes: []
  698. produces:
  699. - application/json
  700. parameters:
  701. - name: sportId
  702. in: query
  703. description: The sportid for which to retrieve the odds.
  704. required: true
  705. type: integer
  706. format: int32
  707. - name: leagueIds
  708. in: query
  709. description: The leagueIds array may contain a list of comma separated league ids.
  710. required: false
  711. type: array
  712. items:
  713. type: integer
  714. format: int32
  715. collectionFormat: multi
  716. - name: oddsFormat
  717. in: query
  718. description: Format in which we return the odds. Default is American. [American, Decimal, HongKong, Indonesian, Malay]
  719. required: false
  720. type: string
  721. enum:
  722. - American
  723. - Decimal
  724. - HongKong
  725. - Indonesian
  726. - Malay
  727. - name: since
  728. in: query
  729. description: This is used to receive incremental updates. Use the value of last from previous odds response. When since parameter is not provided, the odds are delayed up to 1 min to encourage the use of the parameter. Please note that when using since parameter you will get in the response ONLY changed periods. If a period didn’t have any changes it will not be in the response.
  730. required: false
  731. type: integer
  732. format: int64
  733. - name: isLive
  734. in: query
  735. description: To retrieve ONLY live odds set the value to 1 (isLive=1). Otherwise response will have all odds.
  736. required: false
  737. type: boolean
  738. - name: eventIds
  739. in: query
  740. description: Filter by EventIds
  741. required: false
  742. type: array
  743. items:
  744. type: integer
  745. format: int64
  746. collectionFormat: multi
  747. responses:
  748. '200':
  749. description: OK
  750. schema:
  751. $ref: '#/definitions/ParlayOddsResponseV3'
  752. '400':
  753. description: BadRequest
  754. schema:
  755. $ref: '#/definitions/ErrorResponse'
  756. '401':
  757. description: Unauthorized
  758. schema:
  759. $ref: '#/definitions/ErrorResponse'
  760. '403':
  761. description: Forbidden
  762. schema:
  763. $ref: '#/definitions/ErrorResponse'
  764. '500':
  765. description: InternalServerError
  766. schema:
  767. $ref: '#/definitions/ExtendedErrorResponse'
  768. deprecated: true
  769. /v4/odds/parlay:
  770. get:
  771. tags:
  772. - Odds
  773. summary: Get Parlay Odds - v4
  774. description: Returns parlay odds for all non-settled events. Please note that it is possible that the event is in Get Fixtures response but notin Get Odds. This happens when the odds are not currently available for wagering.
  775. operationId: Odds_Parlays_V4_Get
  776. consumes: []
  777. produces:
  778. - application/json
  779. parameters:
  780. - name: sportId
  781. in: query
  782. description: The sportid for which to retrieve the odds.
  783. required: true
  784. type: integer
  785. format: int32
  786. - name: leagueIds
  787. in: query
  788. description: The leagueIds array may contain a list of comma separated league ids.
  789. required: false
  790. type: array
  791. items:
  792. type: integer
  793. format: int32
  794. collectionFormat: multi
  795. - name: oddsFormat
  796. in: query
  797. description: Format in which we return the odds. Default is American. [American, Decimal, HongKong, Indonesian, Malay]
  798. required: false
  799. type: string
  800. enum:
  801. - American
  802. - Decimal
  803. - HongKong
  804. - Indonesian
  805. - Malay
  806. - name: since
  807. in: query
  808. description: This is used to receive incremental updates. Use the value of last from previous odds response. When since parameter is not provided, the odds are delayed up to 1 min to encourage the use of the parameter. Please note that when using since parameter you will get in the response ONLY changed periods. If a period didn’t have any changes it will not be in the response.
  809. required: false
  810. type: integer
  811. format: int64
  812. - name: isLive
  813. in: query
  814. description: To retrieve ONLY live odds set the value to 1 (isLive=1). Otherwise response will have all odds.
  815. required: false
  816. type: boolean
  817. - name: eventIds
  818. in: query
  819. description: Filter by EventIds
  820. required: false
  821. type: array
  822. items:
  823. type: integer
  824. format: int64
  825. collectionFormat: multi
  826. responses:
  827. '200':
  828. description: OK
  829. schema:
  830. $ref: '#/definitions/ParlayOddsResponseV4'
  831. '400':
  832. description: BadRequest
  833. schema:
  834. $ref: '#/definitions/ErrorResponse'
  835. '401':
  836. description: Unauthorized
  837. schema:
  838. $ref: '#/definitions/ErrorResponse'
  839. '403':
  840. description: Forbidden
  841. schema:
  842. $ref: '#/definitions/ErrorResponse'
  843. '500':
  844. description: InternalServerError
  845. schema:
  846. $ref: '#/definitions/ExtendedErrorResponse'
  847. /v1/odds/teaser:
  848. get:
  849. tags:
  850. - Odds
  851. summary: Get Teaser Odds - v1
  852. description: Returns odds for specified teaser.
  853. operationId: Odds_Teasers_V1_Get
  854. consumes: []
  855. produces:
  856. - application/json
  857. parameters:
  858. - name: teaserId
  859. in: query
  860. description: Unique identifier.Teaser details can be retrieved from a call to Get Teaser Groups endpoint.
  861. required: true
  862. type: integer
  863. format: int64
  864. responses:
  865. '200':
  866. description: OK
  867. schema:
  868. $ref: '#/definitions/TeaserOddsResponse'
  869. '400':
  870. description: BadRequest
  871. schema:
  872. $ref: '#/definitions/ErrorResponse'
  873. '401':
  874. description: Unauthorized
  875. schema:
  876. $ref: '#/definitions/ErrorResponse'
  877. '403':
  878. description: Forbidden
  879. schema:
  880. $ref: '#/definitions/ErrorResponse'
  881. '500':
  882. description: InternalServerError
  883. schema:
  884. $ref: '#/definitions/ExtendedErrorResponse'
  885. /v2/odds/special:
  886. get:
  887. tags:
  888. - Odds
  889. summary: Get Special Odds - v2
  890. description: Returns odds for specials for all non-settled events.
  891. operationId: Odds_Special_V2_Get
  892. consumes: []
  893. produces:
  894. - application/json
  895. parameters:
  896. - name: oddsFormat
  897. in: query
  898. description: Format the odds are returned in. [American, Decimal, HongKong, Indonesian, Malay]
  899. required: false
  900. type: string
  901. enum:
  902. - American
  903. - Decimal
  904. - HongKong
  905. - Indonesian
  906. - Malay
  907. - name: sportId
  908. in: query
  909. description: Id of a sport for which to retrieve the specials.
  910. required: true
  911. type: integer
  912. format: int32
  913. - name: leagueIds
  914. in: query
  915. description: The leagueIds array may contain a list of comma separated league ids.
  916. required: false
  917. type: array
  918. items:
  919. type: integer
  920. format: int32
  921. collectionFormat: multi
  922. - name: since
  923. in: query
  924. description: This is used to receive incremental updates. Use the value of last from previous response. When since parameter is not provided, the fixtures are delayed up to 1 min to encourage the use of the parameter.
  925. required: false
  926. type: integer
  927. format: int64
  928. - name: specialId
  929. in: query
  930. description: Id of the special. This is an optional argument.
  931. required: false
  932. type: integer
  933. format: int64
  934. responses:
  935. '200':
  936. description: OK
  937. schema:
  938. $ref: '#/definitions/SpecialOddsResponseV2'
  939. examples:
  940. application/json:
  941. sportId: 4
  942. last: 636433059510590700
  943. leagues:
  944. - id: 487
  945. specials:
  946. - id: 1
  947. maxBet: 100
  948. contestantLines:
  949. - id: 1
  950. lineId: 1001
  951. price: -199
  952. handicap: null
  953. max: 100
  954. - id: 2
  955. lineId: 1002
  956. price: -198
  957. handicap: null
  958. max: 100
  959. - id: 7
  960. maxBet: 100
  961. contestantLines:
  962. - id: 13
  963. lineId: 1013
  964. price: -187
  965. handicap: null
  966. max: 100
  967. - id: 14
  968. lineId: 1014
  969. price: -186
  970. handicap: null
  971. max: 100
  972. - id: 578
  973. specials:
  974. - id: 10
  975. maxBet: 100
  976. contestantLines:
  977. - id: 21
  978. lineId: 1021
  979. price: -179
  980. handicap: null
  981. max: 100
  982. - id: 22
  983. lineId: 1022
  984. price: -178
  985. handicap: null
  986. max: 100
  987. - id: 23
  988. lineId: 1023
  989. price: -177
  990. handicap: null
  991. max: 100
  992. - id: 24
  993. lineId: 1024
  994. price: -176
  995. handicap: null
  996. max: 100
  997. '400':
  998. description: BadRequest
  999. schema:
  1000. $ref: '#/definitions/ErrorResponse'
  1001. '401':
  1002. description: Unauthorized
  1003. schema:
  1004. $ref: '#/definitions/ErrorResponse'
  1005. '403':
  1006. description: Forbidden
  1007. schema:
  1008. $ref: '#/definitions/ErrorResponse'
  1009. '500':
  1010. description: InternalServerError
  1011. schema:
  1012. $ref: '#/definitions/ExtendedErrorResponse'
  1013. deprecated: false
  1014. /v2/line:
  1015. get:
  1016. tags:
  1017. - Line
  1018. summary: Get Straight Line - v2
  1019. description: Returns latest line.
  1020. operationId: Line_Straight_V2_Get
  1021. consumes: []
  1022. produces:
  1023. - application/json
  1024. parameters:
  1025. - name: leagueId
  1026. in: query
  1027. description: League Id.
  1028. required: true
  1029. type: integer
  1030. format: int32
  1031. - name: handicap
  1032. in: query
  1033. description: This is needed for SPREAD, TOTAL_POINTS and TEAM_TOTAL_POINTS bet types
  1034. required: true
  1035. type: number
  1036. format: double
  1037. - name: oddsFormat
  1038. in: query
  1039. description: Format in which we return the odds. Default is American.
  1040. required: true
  1041. type: string
  1042. enum:
  1043. - American
  1044. - Decimal
  1045. - HongKong
  1046. - Indonesian
  1047. - Malay
  1048. - name: sportId
  1049. in: query
  1050. description: Sport identification
  1051. required: true
  1052. type: integer
  1053. format: int32
  1054. - name: eventId
  1055. in: query
  1056. description: Event identification
  1057. required: true
  1058. type: integer
  1059. format: int64
  1060. - name: periodNumber
  1061. in: query
  1062. description: This represents the period of the match. Please check Get Periods endpoint for the list of currently supported periods per sport.
  1063. required: true
  1064. type: integer
  1065. format: int32
  1066. - name: betType
  1067. in: query
  1068. description: Bet Type
  1069. required: true
  1070. type: string
  1071. enum:
  1072. - SPREAD
  1073. - MONEYLINE
  1074. - TOTAL_POINTS
  1075. - TEAM_TOTAL_POINTS
  1076. - name: team
  1077. in: query
  1078. description: Chosen team type. This is needed only for SPREAD, MONEYLINE and TEAM_TOTAL_POINTS bet types
  1079. required: false
  1080. type: string
  1081. enum:
  1082. - Team1
  1083. - Team2
  1084. - Draw
  1085. - name: side
  1086. in: query
  1087. description: Chosen side. This is needed only for TOTAL_POINTS and TEAM_TOTAL_POINTS
  1088. required: false
  1089. type: string
  1090. enum:
  1091. - OVER
  1092. - UNDER
  1093. responses:
  1094. '200':
  1095. description: OK
  1096. schema:
  1097. $ref: '#/definitions/LineResponseV2'
  1098. '400':
  1099. description: BadRequest
  1100. schema:
  1101. $ref: '#/definitions/ErrorResponse'
  1102. '401':
  1103. description: Unauthorized
  1104. schema:
  1105. $ref: '#/definitions/ErrorResponse'
  1106. '403':
  1107. description: Forbidden
  1108. schema:
  1109. $ref: '#/definitions/ErrorResponse'
  1110. '500':
  1111. description: InternalServerError
  1112. schema:
  1113. $ref: '#/definitions/ExtendedErrorResponse'
  1114. /v3/line/parlay:
  1115. post:
  1116. tags:
  1117. - Line
  1118. summary: Get Parlay Line - v3
  1119. description: Returns parlay lines and calculate odds.
  1120. operationId: Line_Parlay_V3_Post
  1121. consumes:
  1122. - application/json
  1123. produces:
  1124. - application/json
  1125. parameters:
  1126. - in: body
  1127. name: request
  1128. required: true
  1129. schema:
  1130. $ref: '#/definitions/ParlayLinesRequestV3'
  1131. responses:
  1132. '200':
  1133. description: OK
  1134. schema:
  1135. $ref: '#/definitions/ParlayLinesResponseV3'
  1136. '400':
  1137. description: BadRequest
  1138. schema:
  1139. $ref: '#/definitions/ErrorResponse'
  1140. '401':
  1141. description: Unauthorized
  1142. schema:
  1143. $ref: '#/definitions/ErrorResponse'
  1144. '403':
  1145. description: Forbidden
  1146. schema:
  1147. $ref: '#/definitions/ErrorResponse'
  1148. '500':
  1149. description: InternalServerError
  1150. schema:
  1151. $ref: '#/definitions/ExtendedErrorResponse'
  1152. /v1/line/teaser:
  1153. post:
  1154. tags:
  1155. - Line
  1156. summary: Get Teaser Line - v1
  1157. description: Validates a teaser bet prior to submission. Returns bet limit and price on success.
  1158. operationId: Line_Teaser_V1_Post
  1159. consumes:
  1160. - application/json
  1161. produces:
  1162. - application/json
  1163. parameters:
  1164. - in: body
  1165. name: teaserLinesRequest
  1166. required: true
  1167. schema:
  1168. $ref: '#/definitions/LinesRequestTeaser'
  1169. responses:
  1170. '200':
  1171. description: OK
  1172. schema:
  1173. $ref: '#/definitions/TeaserLinesResponse'
  1174. '400':
  1175. description: BadRequest
  1176. schema:
  1177. $ref: '#/definitions/ErrorResponse'
  1178. '401':
  1179. description: Unauthorized
  1180. schema:
  1181. $ref: '#/definitions/ErrorResponse'
  1182. '403':
  1183. description: Forbidden
  1184. schema:
  1185. $ref: '#/definitions/ErrorResponse'
  1186. '500':
  1187. description: InternalServerError
  1188. schema:
  1189. $ref: '#/definitions/ExtendedErrorResponse'
  1190. /v2/line/special:
  1191. get:
  1192. tags:
  1193. - Line
  1194. operationId: Line_Special_V2_Get
  1195. summary: Get Special Line - v2
  1196. description: Returns special lines and calculate odds.
  1197. consumes: []
  1198. produces:
  1199. - application/json
  1200. parameters:
  1201. - name: oddsFormat
  1202. in: query
  1203. description: Format the odds are returned in. [American, Decimal, HongKong, Indonesian, Malay]
  1204. required: true
  1205. type: string
  1206. enum:
  1207. - American
  1208. - Decimal
  1209. - HongKong
  1210. - Indonesian
  1211. - Malay
  1212. - name: specialId
  1213. in: query
  1214. description: Id of the special.
  1215. required: true
  1216. type: integer
  1217. format: int64
  1218. - name: contestantId
  1219. in: query
  1220. description: Id of the contestant.
  1221. required: true
  1222. type: integer
  1223. format: int64
  1224. - name: handicap
  1225. in: query
  1226. description: handicap of the contestant. As contestant's handicap is a mutable property, it may happened that line/special returns status:SUCCESS, but with the different handicap from the one that client had at the moment of calling the line/special. One can specify handicap parameter in the request and if the contestant's handicap changed, it would return status:NOT_EXISTS. This way line/special is more aligned to how /line works.
  1227. required: false
  1228. type: number
  1229. format: double
  1230. responses:
  1231. '200':
  1232. description: OK
  1233. schema:
  1234. $ref: '#/definitions/SpecialLineResponse'
  1235. '400':
  1236. description: BadRequest
  1237. schema:
  1238. $ref: '#/definitions/ErrorResponse'
  1239. '401':
  1240. description: Unauthorized
  1241. schema:
  1242. $ref: '#/definitions/ErrorResponse'
  1243. '403':
  1244. description: Forbidden
  1245. schema:
  1246. $ref: '#/definitions/ErrorResponse'
  1247. '500':
  1248. description: InternalServerError
  1249. schema:
  1250. $ref: '#/definitions/ExtendedErrorResponse'
  1251. deprecated: false
  1252. /v3/sports:
  1253. get:
  1254. tags:
  1255. - Others
  1256. summary: Get Sports - v3
  1257. description: Returns all sports with the status whether they currently have lines or not.
  1258. operationId: Sports_V3_Get
  1259. consumes: []
  1260. produces:
  1261. - application/json
  1262. parameters: []
  1263. responses:
  1264. '200':
  1265. description: OK
  1266. schema:
  1267. $ref: '#/definitions/SportsResponseV3'
  1268. '401':
  1269. description: Unauthorized
  1270. schema:
  1271. $ref: '#/definitions/ErrorResponse'
  1272. '403':
  1273. description: Forbidden
  1274. schema:
  1275. $ref: '#/definitions/ErrorResponse'
  1276. '500':
  1277. description: InternalServerError
  1278. schema:
  1279. $ref: '#/definitions/LinesErrorResponse'
  1280. /v3/leagues:
  1281. get:
  1282. tags:
  1283. - Others
  1284. summary: Get Leagues - v3
  1285. description: Returns all sports leagues with the status whether they currently have lines or not.
  1286. operationId: Leagues_V3_Get
  1287. consumes: []
  1288. produces:
  1289. - application/json
  1290. parameters:
  1291. - name: sportId
  1292. in: query
  1293. description: Sport id for which the leagues are requested.
  1294. required: true
  1295. type: string
  1296. responses:
  1297. '200':
  1298. description: OK
  1299. schema:
  1300. $ref: '#/definitions/LeaguesV3'
  1301. '400':
  1302. description: BadRequest
  1303. schema:
  1304. $ref: '#/definitions/ErrorResponse'
  1305. '401':
  1306. description: Unauthorized
  1307. schema:
  1308. $ref: '#/definitions/ErrorResponse'
  1309. '403':
  1310. description: Forbidden
  1311. schema:
  1312. $ref: '#/definitions/ErrorResponse'
  1313. '500':
  1314. description: InternalServerError
  1315. schema:
  1316. $ref: '#/definitions/ExtendedErrorResponse'
  1317. /v1/periods:
  1318. get:
  1319. tags:
  1320. - Others
  1321. summary: Get Periods - v1
  1322. description: Returns all periods for a given sport.
  1323. operationId: Periods_V1_Get
  1324. consumes: []
  1325. produces:
  1326. - application/json
  1327. parameters:
  1328. - name: sportId
  1329. in: query
  1330. required: true
  1331. type: string
  1332. responses:
  1333. '200':
  1334. description: OK
  1335. schema:
  1336. $ref: '#/definitions/SportPeriod'
  1337. examples:
  1338. application/json:
  1339. periods:
  1340. - number: 0
  1341. description: Match
  1342. shortDescription: FT
  1343. - number: 1
  1344. description: 1st Half
  1345. shortDescription: 1st H
  1346. - number: 2
  1347. description: 2nd Half
  1348. shortDescription: 2nd H
  1349. '400':
  1350. description: BadRequest
  1351. schema:
  1352. $ref: '#/definitions/ErrorResponse'
  1353. '401':
  1354. description: Unauthorized
  1355. schema:
  1356. $ref: '#/definitions/ErrorResponse'
  1357. '403':
  1358. description: Forbidden
  1359. schema:
  1360. $ref: '#/definitions/ErrorResponse'
  1361. '500':
  1362. description: InternalServerError
  1363. schema:
  1364. $ref: '#/definitions/ExtendedErrorResponse'
  1365. /v2/inrunning:
  1366. get:
  1367. tags:
  1368. - Others
  1369. summary: Get In-Running - v2
  1370. description: Returns all live soccer events that have a status that indicates the event is in progress.
  1371. operationId: InRunning_V2_Get
  1372. consumes: []
  1373. produces:
  1374. - application/json
  1375. parameters: []
  1376. responses:
  1377. '200':
  1378. description: OK
  1379. schema:
  1380. $ref: '#/definitions/InRunningResponse'
  1381. '401':
  1382. description: Unauthorized
  1383. schema:
  1384. $ref: '#/definitions/ErrorResponse'
  1385. '403':
  1386. description: Forbidden
  1387. schema:
  1388. $ref: '#/definitions/ErrorResponse'
  1389. '500':
  1390. description: InternalServerError
  1391. schema:
  1392. $ref: '#/definitions/ExtendedLinesErrorResponse'
  1393. /v1/teaser/groups:
  1394. get:
  1395. tags:
  1396. - Others
  1397. summary: Get Teaser Groups - v1
  1398. description: Returns all teaser groups.
  1399. operationId: Teaser_Groups_V1_Get
  1400. consumes: []
  1401. produces:
  1402. - application/json
  1403. parameters:
  1404. - name: oddsFormat
  1405. in: query
  1406. description: Format the odds are returned in. [American, Decimal, HongKong, Indonesian, Malay]
  1407. required: true
  1408. type: string
  1409. enum:
  1410. - American
  1411. - Decimal
  1412. - HongKong
  1413. - Indonesian
  1414. - Malay
  1415. responses:
  1416. '200':
  1417. description: OK
  1418. schema:
  1419. $ref: '#/definitions/TeaserGroupsResponse'
  1420. '400':
  1421. description: BadRequest
  1422. schema:
  1423. $ref: '#/definitions/ErrorResponse'
  1424. '401':
  1425. description: Unauthorized
  1426. schema:
  1427. $ref: '#/definitions/ErrorResponse'
  1428. '403':
  1429. description: Forbidden
  1430. schema:
  1431. $ref: '#/definitions/ErrorResponse'
  1432. '500':
  1433. description: InternalServerError
  1434. schema:
  1435. $ref: '#/definitions/ExtendedErrorResponse'
  1436. /v1/cancellationreasons:
  1437. get:
  1438. tags:
  1439. - Others
  1440. summary: Get Cancellation Reasons - v1
  1441. description: Lookup for all the cancellation reasons
  1442. operationId: CancellationReasons_V1_Get
  1443. consumes: []
  1444. produces:
  1445. - application/json
  1446. parameters: []
  1447. responses:
  1448. '200':
  1449. description: OK
  1450. schema:
  1451. $ref: '#/definitions/CancellationReasonResponse'
  1452. '401':
  1453. description: Unauthorized
  1454. schema:
  1455. $ref: '#/definitions/ErrorResponse'
  1456. '403':
  1457. description: Forbidden
  1458. schema:
  1459. $ref: '#/definitions/ErrorResponse'
  1460. '500':
  1461. description: InternalServerError
  1462. schema:
  1463. $ref: '#/definitions/ExtendedErrorResponse'
  1464. /v2/currencies:
  1465. get:
  1466. tags:
  1467. - Others
  1468. summary: Get Currencies - v2
  1469. description: Returns the list of supported currencies
  1470. operationId: Currencies_V2_Get
  1471. consumes: []
  1472. produces:
  1473. - application/json
  1474. parameters: []
  1475. responses:
  1476. '200':
  1477. description: OK
  1478. schema:
  1479. $ref: '#/definitions/SuccessfulCurrenciesResponse'
  1480. '401':
  1481. description: Unauthorized
  1482. schema:
  1483. $ref: '#/definitions/ErrorResponse'
  1484. '403':
  1485. description: Forbidden
  1486. schema:
  1487. $ref: '#/definitions/ErrorResponse'
  1488. '500':
  1489. description: InternalServerError
  1490. schema:
  1491. $ref: '#/definitions/ExtendedErrorResponse'
  1492. securityDefinitions:
  1493. basicAuth:
  1494. type: basic
  1495. definitions:
  1496. ErrorResponse:
  1497. type: object
  1498. properties:
  1499. code:
  1500. type: string
  1501. description: Identifier representing the type of error that occurred.
  1502. message:
  1503. type: string
  1504. description: Description of the error.
  1505. description: Contains details of an error that was encountered.
  1506. ExtendedErrorResponse:
  1507. type: object
  1508. properties:
  1509. ref:
  1510. type: string
  1511. code:
  1512. type: string
  1513. message:
  1514. type: string
  1515. LinesErrorResponse:
  1516. type: object
  1517. properties:
  1518. status:
  1519. type: string
  1520. error:
  1521. $ref: '#/definitions/ErrorResponse'
  1522. code:
  1523. type: integer
  1524. format: int32
  1525. description: Code identifying an error that occurred.
  1526. ExtendedLinesErrorResponse:
  1527. type: object
  1528. properties:
  1529. ref:
  1530. type: string
  1531. status:
  1532. type: string
  1533. error:
  1534. $ref: '#/definitions/ErrorResponse'
  1535. code:
  1536. type: integer
  1537. format: int32
  1538. description: Code identifying an error that occurred.
  1539. CancellationReasonResponse:
  1540. type: object
  1541. properties:
  1542. cancellationReasons:
  1543. type: array
  1544. description: Contains a list of Cancellation Reasons.
  1545. items:
  1546. $ref: '#/definitions/CancellationReason'
  1547. description: Cancellation Response Data
  1548. CancellationReason:
  1549. type: object
  1550. properties:
  1551. code:
  1552. type: string
  1553. description: Cancellation code assigned by the server
  1554. example: FBS_CW_65
  1555. description:
  1556. type: string
  1557. description: Text description for the cancellation reason
  1558. example: The event was postponed
  1559. description: Cancellation Data
  1560. SuccessfulCurrenciesResponse:
  1561. type: object
  1562. properties:
  1563. currencies:
  1564. type: array
  1565. description: Currencies container.
  1566. items:
  1567. $ref: '#/definitions/Currency'
  1568. Currency:
  1569. type: object
  1570. properties:
  1571. code:
  1572. type: string
  1573. description: Currency code.
  1574. example: AED
  1575. name:
  1576. type: string
  1577. description: Currency name.
  1578. example: United Arab Emirates Dirham
  1579. rate:
  1580. type: number
  1581. format: double
  1582. description: Exchange rate to USD.
  1583. example: 3.6738
  1584. FixturesResponseV1:
  1585. type: object
  1586. properties:
  1587. sportId:
  1588. type: integer
  1589. format: int32
  1590. description: Same as requested sport Id.
  1591. last:
  1592. type: integer
  1593. format: int64
  1594. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  1595. league:
  1596. type: array
  1597. description: Contains a list of Leagues.
  1598. items:
  1599. $ref: '#/definitions/FixturesLeagueV1'
  1600. FixturesLeagueV1:
  1601. type: object
  1602. properties:
  1603. id:
  1604. type: integer
  1605. format: int32
  1606. description: League ID.
  1607. events:
  1608. type: array
  1609. description: Contains a list of events.
  1610. items:
  1611. $ref: '#/definitions/FixtureV1'
  1612. FixtureV1:
  1613. type: object
  1614. properties:
  1615. id:
  1616. type: integer
  1617. format: int64
  1618. description: Event id.
  1619. starts:
  1620. type: string
  1621. format: date-time
  1622. description: Start time of the event in UTC.
  1623. home:
  1624. type: string
  1625. description: Home team name.
  1626. away:
  1627. type: string
  1628. description: Away team name.
  1629. rotNum:
  1630. type: string
  1631. description: Team1 rotation number. Please note that in the next version of /fixtures, rotNum property will be decomissioned. ParentId can be used instead to group the related events.
  1632. liveStatus:
  1633. type: integer
  1634. format: int32
  1635. description: |
  1636. Indicates live status of the event.
  1637. 0 = No live betting will be offered on this event,
  1638. 1 = Live betting event,
  1639. 2 = Live betting will be offered on this event
  1640. enum:
  1641. - 0
  1642. - 1
  1643. - 2
  1644. homePitcher:
  1645. type: string
  1646. description: Home team pitcher. Only for Baseball.
  1647. awayPitcher:
  1648. type: string
  1649. description: Away team pitcher. Only for Baseball.
  1650. status:
  1651. type: string
  1652. description: |
  1653. Status of the event.
  1654. O = This is the starting status of a game. It means that the lines are open for betting,
  1655. H = This status indicates that the lines are temporarily unavailable for betting,
  1656. I = This status indicates that one or more lines have a red circle (lower maximum bet amount)
  1657. enum:
  1658. - O
  1659. - H
  1660. - I
  1661. parlayRestriction:
  1662. type: integer
  1663. format: int32
  1664. description: |
  1665. Parlay status of the event.
  1666. 0 = Allowed to parlay, without restrictions,
  1667. 1 = Not allowed to parlay this event,
  1668. 2 = Allowed to parlay with the restrictions. You can not have more than one leg from the same event in the parlay. All events with the same rotation number are treated as same event.
  1669. enum:
  1670. - 0
  1671. - 1
  1672. - 2
  1673. FixturesResponseV3:
  1674. type: object
  1675. properties:
  1676. sportId:
  1677. type: integer
  1678. format: int32
  1679. description: Same as requested sport Id.
  1680. last:
  1681. type: integer
  1682. format: int64
  1683. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  1684. league:
  1685. type: array
  1686. description: Contains a list of Leagues.
  1687. items:
  1688. $ref: '#/definitions/FixturesLeagueV3'
  1689. FixturesLeagueV3:
  1690. type: object
  1691. properties:
  1692. id:
  1693. type: integer
  1694. format: int32
  1695. description: League ID.
  1696. name:
  1697. type: string
  1698. description: League Name.
  1699. events:
  1700. type: array
  1701. description: Contains a list of events.
  1702. items:
  1703. $ref: '#/definitions/FixtureV3'
  1704. FixtureV3:
  1705. type: object
  1706. properties:
  1707. id:
  1708. type: integer
  1709. format: int64
  1710. description: Event id.
  1711. parentId:
  1712. type: integer
  1713. format: int64
  1714. description: If event is linked to another event, parentId will be populated. Live event would have pre game event as parent id.
  1715. starts:
  1716. type: string
  1717. format: date-time
  1718. description: Start time of the event in UTC.
  1719. home:
  1720. type: string
  1721. description: Home team name.
  1722. away:
  1723. type: string
  1724. description: Away team name.
  1725. liveStatus:
  1726. type: integer
  1727. format: int32
  1728. description: |
  1729. Indicates live status of the event.
  1730. 0 = No live betting will be offered on this event,
  1731. 1 = Live betting event,
  1732. 2 = Live betting will be offered on this event
  1733. enum:
  1734. - 0
  1735. - 1
  1736. - 2
  1737. homePitcher:
  1738. type: string
  1739. description: Home team pitcher. Only for Baseball.
  1740. awayPitcher:
  1741. type: string
  1742. description: Away team pitcher. Only for Baseball.
  1743. betAcceptanceType:
  1744. type: integer
  1745. format: int32
  1746. description: |
  1747. Soccer live event bet acceptance type. This type indicates that the live soccer event is offered to the corresponding customer.
  1748. 0 = Not Applicable. No bet acceptance type restriction.
  1749. 1 = Danger Zone.
  1750. 2 = Live Delay.
  1751. 3 = Both.
  1752. enum:
  1753. - 0
  1754. - 1
  1755. - 2
  1756. - 3
  1757. parlayRestriction:
  1758. type: integer
  1759. format: int32
  1760. description: |
  1761. Parlay status of the event.
  1762. 0 = Allowed to parlay, without restrictions,
  1763. 1 = Not allowed to parlay this event,
  1764. 2 = Allowed to parlay with the restrictions. You cannot have more than one leg from the same event in the parlay. All events with the same rotation number are treated as same event.
  1765. enum:
  1766. - 0
  1767. - 1
  1768. - 2
  1769. altTeaser:
  1770. type: boolean
  1771. description: Whether an event is offer with alternative teaser points. Events with alternative teaser points may vary from teaser definition.
  1772. resultingUnit:
  1773. type: string
  1774. description: |
  1775. Specifies based on what the event will be resulted, e.g. Corners, Bookings
  1776. version:
  1777. type: integer
  1778. format: int64
  1779. description: |
  1780. Fixture version, goes up when there is a change in the fixture.
  1781. SettledFixturesSportV3:
  1782. type: object
  1783. properties:
  1784. sportId:
  1785. type: integer
  1786. format: int32
  1787. description: Same as requested sport Id.
  1788. last:
  1789. type: integer
  1790. format: int64
  1791. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  1792. leagues:
  1793. type: array
  1794. description: Contains a list of Leagues.
  1795. items:
  1796. $ref: '#/definitions/SettledFixturesLeagueV3'
  1797. SettledFixturesLeagueV3:
  1798. type: object
  1799. properties:
  1800. id:
  1801. type: integer
  1802. format: int32
  1803. description: League Id.
  1804. events:
  1805. type: array
  1806. description: Contains a list of events.
  1807. items:
  1808. $ref: '#/definitions/SettledFixturesEventV3'
  1809. SettledFixturesEventV3:
  1810. type: object
  1811. properties:
  1812. id:
  1813. type: integer
  1814. format: int64
  1815. description: Event Id.
  1816. periods:
  1817. type: array
  1818. description: Contains a list of periods.
  1819. items:
  1820. $ref: '#/definitions/SettledFixturesPeriodV3'
  1821. SettledFixturesPeriodV3:
  1822. type: object
  1823. properties:
  1824. number:
  1825. type: integer
  1826. format: int32
  1827. description: This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half)
  1828. status:
  1829. type: integer
  1830. format: int32
  1831. description: |
  1832. Period settlement status.
  1833. 1 = Event period is settled,
  1834. 2 = Event period is re-settled,
  1835. 3 = Event period is cancelled,
  1836. 4 = Event period is re-settled as cancelled,
  1837. 5 = Event is deleted
  1838. enum:
  1839. - 1
  1840. - 2
  1841. - 3
  1842. - 4
  1843. - 5
  1844. settlementId:
  1845. type: integer
  1846. format: int64
  1847. description: Unique id of the settlement. In case of a re-settlement, a new settlementId and settledAt will be generated.
  1848. settledAt:
  1849. type: string
  1850. format: date-time
  1851. description: Date and time in UTC when the period was settled.
  1852. team1Score:
  1853. type: integer
  1854. format: int32
  1855. description: Team1 score.
  1856. team2Score:
  1857. type: integer
  1858. format: int32
  1859. description: Team2 score.
  1860. cancellationReason:
  1861. $ref: '#/definitions/CancellationReasonType'
  1862. CancellationReasonType:
  1863. type: object
  1864. properties:
  1865. code:
  1866. type: string
  1867. description: Cancellation Reason Code
  1868. details:
  1869. $ref: '#/definitions/CancellationReasonDetailsType'
  1870. CancellationReasonDetailsType:
  1871. type: object
  1872. properties:
  1873. key:
  1874. type: string
  1875. value:
  1876. type: string
  1877. InRunningResponse:
  1878. type: object
  1879. properties:
  1880. sports:
  1881. type: array
  1882. description: Sports container
  1883. items:
  1884. $ref: '#/definitions/InRunningSport'
  1885. InRunningSport:
  1886. type: object
  1887. properties:
  1888. id:
  1889. type: integer
  1890. format: int32
  1891. description: Sport Id
  1892. leagues:
  1893. type: array
  1894. description: Leagues container
  1895. items:
  1896. $ref: '#/definitions/InRunningLeague'
  1897. InRunningLeague:
  1898. type: object
  1899. properties:
  1900. id:
  1901. type: integer
  1902. format: int32
  1903. description: League Id
  1904. events:
  1905. type: array
  1906. description: Events container
  1907. items:
  1908. $ref: '#/definitions/InRunningEvent'
  1909. InRunningEvent:
  1910. type: object
  1911. properties:
  1912. id:
  1913. type: integer
  1914. format: int64
  1915. description: Game Id
  1916. state:
  1917. type: integer
  1918. format: int32
  1919. description: |
  1920. State of the game.
  1921. 1 = First half in progress,
  1922. 2 = Half time in progress,
  1923. 3 = Second half in progress,
  1924. 4 = End of regular time,
  1925. 5 = First half extra time in progress,
  1926. 6 = Extra time half time in progress,
  1927. 7 = Second half extra time in progress,
  1928. 8 = End of extra time,
  1929. 9 = End of Game,
  1930. 10 = Game is temporary suspended,
  1931. 11 = Penalties in progress
  1932. enum:
  1933. - 1
  1934. - 2
  1935. - 3
  1936. - 4
  1937. - 5
  1938. - 6
  1939. - 7
  1940. - 8
  1941. - 9
  1942. - 10
  1943. - 11
  1944. elapsed:
  1945. type: integer
  1946. format: int32
  1947. description: Elapsed minutes
  1948. LeaguesV3:
  1949. type: object
  1950. properties:
  1951. leagues:
  1952. type: array
  1953. description: Leagues container
  1954. items:
  1955. $ref: '#/definitions/LeagueV3'
  1956. LeagueV3:
  1957. type: object
  1958. properties:
  1959. id:
  1960. type: integer
  1961. format: int32
  1962. description: League Id.
  1963. name:
  1964. type: string
  1965. description: Name of the league.
  1966. homeTeamType:
  1967. type: string
  1968. description: Specifies whether the home team is team1 or team2. You need this information to place a bet.
  1969. hasOfferings:
  1970. type: boolean
  1971. description: Whether the league currently has events or specials.
  1972. container:
  1973. type: string
  1974. description: Represents grouping for the league, usually a region/country
  1975. allowRoundRobins:
  1976. type: boolean
  1977. description: Specifies whether you can place parlay round robins on events in this league.
  1978. leagueSpecialsCount:
  1979. type: integer
  1980. format: int32
  1981. description: Indicates how many specials are in the given league.
  1982. eventSpecialsCount:
  1983. type: integer
  1984. format: int32
  1985. description: Indicates how many game specials are in the given league.
  1986. eventCount:
  1987. type: integer
  1988. format: int32
  1989. description: Indicates how many events are in the given league.
  1990. LineResponseV2:
  1991. type: object
  1992. properties:
  1993. status:
  1994. type: string
  1995. description: If the value is NOT_EXISTS, than this will be the only parameter in the response. All other params would be empty. [SUCCESS = OK, NOT_EXISTS = Line not offered anymore]
  1996. enum:
  1997. - SUCCESS
  1998. - NOT_EXISTS
  1999. price:
  2000. type: number
  2001. format: double
  2002. description: Latest price.
  2003. lineId:
  2004. type: integer
  2005. format: int64
  2006. description: Line identification needed to place a bet.
  2007. altLineId:
  2008. type: integer
  2009. format: int64
  2010. description: This would be needed to place the bet if the handicap is on alternate line, otherwise it will not be populated in the response.
  2011. team1Score:
  2012. type: integer
  2013. format: int32
  2014. description: Team 1 score for the period 0. Applicable to soccer only.
  2015. team2Score:
  2016. type: integer
  2017. format: int32
  2018. description: Team 2 score for the period 0. Applicable to soccer only.
  2019. team1RedCards:
  2020. type: integer
  2021. format: int32
  2022. description: Team 1 red cards for the period 0. Applicable to soccer only.
  2023. team2RedCards:
  2024. type: integer
  2025. format: int32
  2026. description: Team 2 red cards for the period 0. Applicable to soccer only.
  2027. maxRiskStake:
  2028. type: number
  2029. format: double
  2030. description: Maximum bettable risk amount.
  2031. minRiskStake:
  2032. type: number
  2033. format: double
  2034. description: Minimum bettable risk amount.
  2035. maxWinStake:
  2036. type: number
  2037. format: double
  2038. description: Maximum bettable win amount.
  2039. minWinStake:
  2040. type: number
  2041. format: double
  2042. description: Minimum bettable win amount.
  2043. effectiveAsOf:
  2044. type: string
  2045. description: Line is effective as of this date and time in UTC.
  2046. periodTeam1Score:
  2047. type: integer
  2048. format: int32
  2049. description: Team 1 score for the supported periods. Applicable to soccer only.
  2050. periodTeam2Score:
  2051. type: integer
  2052. format: int32
  2053. description: Team 2 score for the supported periods. Applicable to soccer only.
  2054. periodTeam1RedCards:
  2055. type: integer
  2056. format: int32
  2057. description: Team 1 red cards for the supported periods. Applicable to soccer only.
  2058. periodTeam2RedCards:
  2059. type: integer
  2060. format: int32
  2061. description: Team 2 red cards for the supported periods. Applicable to soccer only.
  2062. ParlayLinesRequestV3:
  2063. type: object
  2064. properties:
  2065. oddsFormat:
  2066. type: string
  2067. description: Odds in the response will be in this format. [American, Decimal, HongKong, Indonesian, Malay]
  2068. enum:
  2069. - American
  2070. - Decimal
  2071. - HongKong
  2072. - Indonesian
  2073. - Malay
  2074. legs:
  2075. type: array
  2076. description: This is a collection of legs
  2077. items:
  2078. $ref: '#/definitions/ParlayLineRequestV3'
  2079. ParlayLineRequestV3:
  2080. type: object
  2081. properties:
  2082. uniqueLegId:
  2083. type: string
  2084. description: This unique id of the leg. It used to identify and match leg in the response.
  2085. eventId:
  2086. type: integer
  2087. format: int64
  2088. description: Id of the event.
  2089. periodNumber:
  2090. type: integer
  2091. format: int32
  2092. description: This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half), 2 (2nd Half)
  2093. legBetType:
  2094. type: string
  2095. description: SPREAD, MONEYLINE, TOTAL_POINTS and TEAM_TOTAL_POINTS are supported.
  2096. enum:
  2097. - SPREAD
  2098. - MONEYLINE
  2099. - TOTAL_POINTS
  2100. - TEAM_TOTAL_POINTS
  2101. team:
  2102. type: string
  2103. description: Chosen team type. This is needed only for SPREAD and MONEYLINE wager types. [Team1, Team2, Draw (MONEYLINE only)]
  2104. enum:
  2105. - Team1
  2106. - Team2
  2107. - Draw
  2108. side:
  2109. type: string
  2110. description: Chosen side. This is needed only for TOTAL_POINTS wager type. [OVER, UNDER]
  2111. enum:
  2112. - OVER
  2113. - UNDER
  2114. handicap:
  2115. type: number
  2116. format: double
  2117. description: This is needed for SPREAD and TOTAL_POINTS bet type.
  2118. required:
  2119. - uniqueLegId
  2120. - eventId
  2121. - periodNumber
  2122. - legBetType
  2123. ParlayLinesResponseV3:
  2124. type: object
  2125. properties:
  2126. status:
  2127. type: string
  2128. description: Status of the parlay [VALID = Parlay is valid, PROCESSED_WITH_ERROR = Parlay contains error(s)]
  2129. example: PROCESSED_WITH_ERROR
  2130. enum:
  2131. - VALID
  2132. - PROCESSED_WITH_ERROR
  2133. error:
  2134. type: string
  2135. description: INVALID_LEGS. Signifies that one or more legs are invalid. Populated only if status is PROCESSED_WITH_ERROR.
  2136. example: INVALID_LEGS
  2137. minRiskStake:
  2138. type: number
  2139. format: double
  2140. description: Minimum allowed stake amount.
  2141. maxParlayRiskStake:
  2142. type: number
  2143. format: double
  2144. description: Maximum allowed stake amount for parlay bets.
  2145. maxRoundRobinTotalRisk:
  2146. type: number
  2147. format: double
  2148. description: Maximum allowed total stake amount for all the parlay bets in the round robin.
  2149. maxRoundRobinTotalWin:
  2150. type: number
  2151. format: double
  2152. description: Maximum allowed total win amount for all the parlay bets in the round robin.
  2153. roundRobinOptionWithOdds:
  2154. type: array
  2155. description: Provides array with all acceptable Round Robin options with parlay odds for that option.
  2156. items:
  2157. $ref: '#/definitions/RoundRobinOptionWithOddsV3'
  2158. legs:
  2159. type: array
  2160. description: The collection of legs (the format of the object is described below).
  2161. items:
  2162. $ref: '#/definitions/ParlayLineLeg'
  2163. required:
  2164. - status
  2165. RoundRobinOptionWithOddsV3:
  2166. type: object
  2167. properties:
  2168. roundRobinOption:
  2169. type: string
  2170. description: |
  2171. RoundRobinOptions
  2172. Parlay = Single parlay that include all wagers (No Round Robin),
  2173. TwoLegRoundRobin = Multiple parlays having 2 wagers each (round robin style),
  2174. ThreeLegRoundRobin = Multiple parlays having 3 wagers each (round robin style),
  2175. FourLegRoundRobin = Multiple parlays having 4 wagers each (round robin style),
  2176. FiveLegRoundRobin = Multiple parlays having 5 wagers each (round robin style),
  2177. SixLegRoundRobin = Multiple parlays having 6 wagers each (round robin style),
  2178. SevenLegRoundRobin = Multiple parlays having 7 wagers each (round robin style),
  2179. EightLegRoundRobin = Multiple parlays having 8 wagers each (round robin style)
  2180. enum:
  2181. - Parlay
  2182. - TwoLegRoundRobin
  2183. - ThreeLegRoundRobin
  2184. - FourLegRoundRobin
  2185. - FiveLegRoundRobin
  2186. - SixLegRoundRobin
  2187. - SevenLegRoundRobin
  2188. - EightLegRoundRobin
  2189. odds:
  2190. type: number
  2191. format: double
  2192. description: Parlay odds for this option.
  2193. unroundedDecimalOdds:
  2194. type: number
  2195. format: double
  2196. description: Unrounded parlay odds in decimal format to be used for calculations only
  2197. numberOfBets:
  2198. type: number
  2199. format: int
  2200. description: Number of bets in the roundRobinOption.
  2201. required:
  2202. - roundRobinOption
  2203. - odds
  2204. - unroundedDecimalOdds
  2205. ParlayLineLeg:
  2206. type: object
  2207. properties:
  2208. status:
  2209. type: string
  2210. description: Status of the request. [VALID = Valid leg, PROCESSED_WITH_ERROR = Processed with error]
  2211. enum:
  2212. - VALID
  2213. - PROCESSED_WITH_ERROR
  2214. errorCode:
  2215. type: string
  2216. description: |
  2217. When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.
  2218. CORRELATED = The leg is correlated with another one,
  2219. CANNOT_PARLAY_LIVE_GAME = The wager is placed on Live game,
  2220. EVENT_NO_LONGER_AVAILABLE_FOR_BETTING = The event is no longer offered for Parlays,
  2221. EVENT_NOT_OFFERED_FOR_PARLAY = The event is not offered for Parlays,
  2222. LINE_DOES_NOT_BELONG_TO_EVENT = LineId does not match the EventId specified in the request,
  2223. WAGER_TYPE_NO_LONGER_AVAILABLE_FOR_BETTING = Wager Type no longer available for betting,
  2224. WAGER_TYPE_NOT_VALID_FOR_PARLAY = Wager Type not valid for parlay,
  2225. WAGER_TYPE_CONFLICTS_WITH_OTHER_LEG = Wager Type conflicts with other leg
  2226. enum:
  2227. - CORRELATED
  2228. - CANNOT_PARLAY_LIVE_GAME
  2229. - EVENT_NO_LONGER_AVAILABLE_FOR_BETTING
  2230. - EVENT_NOT_OFFERED_FOR_PARLAY
  2231. - LINE_DOES_NOT_BELONG_TO_EVENT
  2232. - WAGER_TYPE_NO_LONGER_AVAILABLE_FOR_BETTING
  2233. - WAGER_TYPE_NOT_VALID_FOR_PARLAY
  2234. - WAGER_TYPE_CONFLICTS_WITH_OTHER_LEG
  2235. legId:
  2236. type: string
  2237. description: Echo of the legId from the request.
  2238. lineId:
  2239. type: integer
  2240. format: int64
  2241. description: Line identification.
  2242. altLineId:
  2243. type: integer
  2244. format: int64
  2245. description: If alternate Line was requested, the Id of that line will be returned.
  2246. price:
  2247. type: number
  2248. format: double
  2249. description: Price
  2250. correlatedLegs:
  2251. type: array
  2252. description: If errorCode is CORRELATED will contain legIds of all correlated legs.
  2253. items:
  2254. type: string
  2255. required:
  2256. - legId
  2257. - status
  2258. LinesRequestTeaser:
  2259. type: object
  2260. properties:
  2261. teaserId:
  2262. type: integer
  2263. format: int64
  2264. description: Unique identifier. Teaser details can be retrieved from a call to v1/teaser/groups endpoint.
  2265. oddsFormat:
  2266. type: string
  2267. description: Format the odds are returned in.. = [American, Decimal, HongKong, Indonesian, Malay]
  2268. enum:
  2269. - American
  2270. - Decimal
  2271. - HongKong
  2272. - Indonesian
  2273. - Malay
  2274. legs:
  2275. type: array
  2276. description: Collection of Teaser Legs.
  2277. items:
  2278. $ref: '#/definitions/TeaserLineRequest'
  2279. required:
  2280. - teaserId
  2281. - oddsFormat
  2282. - legs
  2283. TeaserLineRequest:
  2284. type: object
  2285. properties:
  2286. legId:
  2287. type: string
  2288. description: Client genereated GUID for uniquely identifying the leg.
  2289. eventId:
  2290. type: integer
  2291. format: int64
  2292. description: Unique identifier.
  2293. periodNumber:
  2294. type: integer
  2295. format: int32
  2296. description: Period of the match that is being bet on. v1/periods endpoint can be used to retrieve all periods for a sport.
  2297. betType:
  2298. type: string
  2299. description: Type of bet. Currently only SPREAD and TOTAL_POINTS are supported. [SPREAD, TOTAL_POINTS]
  2300. enum:
  2301. - SPREAD
  2302. - TOTAL_POINTS
  2303. team:
  2304. type: string
  2305. description: Team being bet on for a spread line. [Team1, Team2]
  2306. enum:
  2307. - Team1
  2308. - Team2
  2309. side:
  2310. type: string
  2311. description: Side of a total line being bet on. [OVER, UNDER]
  2312. enum:
  2313. - OVER
  2314. - UNDER
  2315. handicap:
  2316. type: number
  2317. format: double
  2318. description: Number of points.
  2319. required:
  2320. - legId
  2321. - eventId
  2322. - periodNumber
  2323. - betType
  2324. - handicap
  2325. TeaserLinesResponse:
  2326. type: object
  2327. properties:
  2328. status:
  2329. type: string
  2330. description: Status of the request. [VALID = Teaser is valid, PROCESSED_WITH_ERROR = Teaser contains one or more errors]
  2331. example: PROCESSED_WITH_ERROR
  2332. enum:
  2333. - VALID
  2334. - PROCESSED_WITH_ERROR
  2335. errorCode:
  2336. type: string
  2337. description: |
  2338. When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.
  2339. INVALID_LEGS = One or more of the legs is invalid,
  2340. SAME_EVENT_ONLY_REQUIRED = Teaser specified requires that all legs are from the same event,
  2341. TEASER_DISABLED = Teaser has been disabled and cannot be bet on,
  2342. TEASER_DOES_NOT_EXIST = The teaser identifier could not be found,
  2343. TOO_FEW_LEGS = You do not meet the minimum number of legs requirement for the teaser specified,
  2344. TOO_MANY_LEGS = You are above the maximum number of legs for the teaser specified,
  2345. UNKNOWN = An unknown error has occurred
  2346. enum:
  2347. - INVALID_LEGS
  2348. - SAME_EVENT_ONLY_REQUIRED
  2349. - TEASER_DISABLED
  2350. - TEASER_DOES_NOT_EXIST
  2351. - TOO_FEW_LEGS
  2352. - TOO_MANY_LEGS
  2353. - UNKNOWN
  2354. price:
  2355. type: number
  2356. format: double
  2357. description: Price for the bet.
  2358. minRiskStake:
  2359. type: number
  2360. format: double
  2361. description: Minimum bet amount for WIN_RISK_TYPE.RISK.
  2362. maxRiskStake:
  2363. type: number
  2364. format: double
  2365. description: Maximum bet amount for WIN_RISK_TYPE.RISK.
  2366. minWinStake:
  2367. type: number
  2368. format: double
  2369. description: Minimum bet amount for WIN_RISK_TYPE.WIN.
  2370. maxWinStake:
  2371. type: number
  2372. format: double
  2373. description: Maximum bet amount for WIN_RISK_TYPE.WIN.
  2374. legs:
  2375. type: array
  2376. description: Collection of Teaser Legs from the request.
  2377. items:
  2378. $ref: '#/definitions/TeaserLineLeg'
  2379. required:
  2380. - status
  2381. - legs
  2382. TeaserLineLeg:
  2383. type: object
  2384. properties:
  2385. status:
  2386. type: string
  2387. description: Status of the request. [VALID = Teaser is valid, PROCESSED_WITH_ERROR = Teaser contains error(s)]
  2388. example: PROCESSED_WITH_ERROR
  2389. enum:
  2390. - VALID
  2391. - PROCESSED_WITH_ERROR
  2392. errorCode:
  2393. type: string
  2394. description: |
  2395. When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.
  2396. EVENT_NOT_FOUND = The event specified could not be found,
  2397. POINTS_NO_LONGER_AVAILABLE = The points requested are no longer available. This means that the lines moved,
  2398. UNKNOWN = An unknown error has occured,
  2399. WAGER_TYPE_NOT_VALID_FOR_TEASER = The specified wager type is not valid for teasers
  2400. enum:
  2401. - EVENT_NOT_FOUND
  2402. - POINTS_NO_LONGER_AVAILABLE
  2403. - UNKNOWN
  2404. - WAGER_TYPE_NOT_VALID_FOR_TEASER
  2405. legId:
  2406. type: string
  2407. description: Echo of the unique id for the leg from the request.
  2408. lineId:
  2409. type: integer
  2410. format: int64
  2411. description: Line identification.
  2412. required:
  2413. - legId
  2414. - status
  2415. OddsResponseV3:
  2416. type: object
  2417. properties:
  2418. sportId:
  2419. type: integer
  2420. format: int32
  2421. description: Same as requested sport Id.
  2422. last:
  2423. type: integer
  2424. format: int64
  2425. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  2426. leagues:
  2427. type: array
  2428. description: Contains a list of Leagues.
  2429. items:
  2430. $ref: '#/definitions/OddsLeagueV3'
  2431. OddsResponseV4:
  2432. type: object
  2433. properties:
  2434. sportId:
  2435. type: integer
  2436. format: int32
  2437. description: Same as requested sport Id.
  2438. last:
  2439. type: integer
  2440. format: int64
  2441. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  2442. leagues:
  2443. type: array
  2444. description: Contains a list of Leagues.
  2445. items:
  2446. $ref: '#/definitions/OddsLeagueV4'
  2447. OddsLeagueV3:
  2448. type: object
  2449. properties:
  2450. id:
  2451. type: integer
  2452. format: int32
  2453. description: League Id.
  2454. events:
  2455. type: array
  2456. description: Contains a list of events.
  2457. items:
  2458. $ref: '#/definitions/OddsEventV3'
  2459. OddsLeagueV4:
  2460. type: object
  2461. properties:
  2462. id:
  2463. type: integer
  2464. format: int32
  2465. description: League Id.
  2466. events:
  2467. type: array
  2468. description: Contains a list of events.
  2469. items:
  2470. $ref: '#/definitions/OddsEventV4'
  2471. OddsEventV3:
  2472. type: object
  2473. properties:
  2474. id:
  2475. type: integer
  2476. format: int64
  2477. description: Event Id.
  2478. awayScore:
  2479. type: number
  2480. format: double
  2481. description: Away team score. Only for live soccer events.Supported only for full match period (number=0).
  2482. homeScore:
  2483. type: number
  2484. format: double
  2485. description: Home team score. Only for live soccer events.Supported only for full match period (number=0).
  2486. awayRedCards:
  2487. type: integer
  2488. format: int32
  2489. description: Away team red cards. Only for live soccer events. Supported only for full match period (number=0).
  2490. homeRedCards:
  2491. type: integer
  2492. format: int32
  2493. description: Home team red cards. Only for live soccer events.Supported only for full match period (number=0).
  2494. periods:
  2495. type: array
  2496. description: Contains a list of periods.
  2497. items:
  2498. $ref: '#/definitions/OddsPeriodV3'
  2499. OddsEventV4:
  2500. type: object
  2501. properties:
  2502. id:
  2503. type: integer
  2504. format: int64
  2505. description: Event Id.
  2506. awayScore:
  2507. type: number
  2508. format: double
  2509. description: Away team score. Only for live soccer events.Supported only for full match period (number=0).
  2510. homeScore:
  2511. type: number
  2512. format: double
  2513. description: Home team score. Only for live soccer events.Supported only for full match period (number=0).
  2514. awayRedCards:
  2515. type: integer
  2516. format: int32
  2517. description: Away team red cards. Only for live soccer events. Supported only for full match period (number=0).
  2518. homeRedCards:
  2519. type: integer
  2520. format: int32
  2521. description: Home team red cards. Only for live soccer events.Supported only for full match period (number=0).
  2522. periods:
  2523. type: array
  2524. description: Contains a list of periods.
  2525. items:
  2526. $ref: '#/definitions/OddsPeriodV4'
  2527. OddsPeriodV3:
  2528. type: object
  2529. properties:
  2530. lineId:
  2531. type: integer
  2532. format: int64
  2533. description: Line Id.
  2534. number:
  2535. type: integer
  2536. format: int32
  2537. description: This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half)
  2538. cutoff:
  2539. type: string
  2540. format: date-time
  2541. description: Period’s wagering cut-off date in UTC.
  2542. status:
  2543. type: integer
  2544. format: int32
  2545. description: |
  2546. 1 - online, period is open for betting
  2547. 2 - offline, period is not open for betting
  2548. example: 1
  2549. maxSpread:
  2550. type: number
  2551. format: double
  2552. description: Maximum spread bet. Only in straight odds response.
  2553. maxMoneyline:
  2554. type: number
  2555. format: double
  2556. description: Maximum moneyline bet. Only in straight odds response.
  2557. maxTotal:
  2558. type: number
  2559. format: double
  2560. description: Maximum total points bet. Only in straight odds response.
  2561. maxTeamTotal:
  2562. type: number
  2563. format: double
  2564. description: Maximum team total points bet. Only in straight odds response.
  2565. moneylineUpdatedAt:
  2566. type: string
  2567. format: date-time
  2568. description: Date time of the last moneyline update.
  2569. spreadUpdatedAt:
  2570. type: string
  2571. format: date-time
  2572. description: Date time of the last spread update.
  2573. totalUpdatedAt:
  2574. type: string
  2575. format: date-time
  2576. description: Date time of the last total update.
  2577. teamTotalUpdatedAt:
  2578. type: string
  2579. format: date-time
  2580. description: Date time of the last team total update.
  2581. spreads:
  2582. type: array
  2583. description: Container for spread odds.
  2584. items:
  2585. $ref: '#/definitions/OddsSpreadV3'
  2586. moneyline:
  2587. $ref: '#/definitions/OddsMoneylineV3'
  2588. totals:
  2589. type: array
  2590. description: Container for team total points.
  2591. items:
  2592. $ref: '#/definitions/OddsTotalV3'
  2593. teamTotal:
  2594. $ref: '#/definitions/OddsTeamTotalsV3'
  2595. awayScore:
  2596. type: number
  2597. format: double
  2598. description: Period away team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  2599. homeScore:
  2600. type: number
  2601. format: double
  2602. description: Period home team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  2603. awayRedCards:
  2604. type: number
  2605. format: int32
  2606. description: Period away team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  2607. homeRedCards:
  2608. type: number
  2609. format: int32
  2610. description: Period home team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time number=3).
  2611. OddsPeriodV4:
  2612. type: object
  2613. properties:
  2614. lineId:
  2615. type: integer
  2616. format: int64
  2617. description: Line Id.
  2618. number:
  2619. type: integer
  2620. format: int32
  2621. description: This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half)
  2622. cutoff:
  2623. type: string
  2624. format: date-time
  2625. description: Period’s wagering cut-off date in UTC.
  2626. status:
  2627. type: integer
  2628. format: int32
  2629. description: |
  2630. 1 - online, period is open for betting
  2631. 2 - offline, period is not open for betting
  2632. example: 1
  2633. maxSpread:
  2634. type: number
  2635. format: double
  2636. description: Maximum spread bet. Only in straight odds response.
  2637. maxMoneyline:
  2638. type: number
  2639. format: double
  2640. description: Maximum moneyline bet. Only in straight odds response.
  2641. maxTotal:
  2642. type: number
  2643. format: double
  2644. description: Maximum total points bet. Only in straight odds response.
  2645. maxTeamTotal:
  2646. type: number
  2647. format: double
  2648. description: Maximum team total points bet. Only in straight odds response.
  2649. moneylineUpdatedAt:
  2650. type: string
  2651. format: date-time
  2652. description: Date time of the last moneyline update.
  2653. spreadUpdatedAt:
  2654. type: string
  2655. format: date-time
  2656. description: Date time of the last spread update.
  2657. totalUpdatedAt:
  2658. type: string
  2659. format: date-time
  2660. description: Date time of the last total update.
  2661. teamTotalUpdatedAt:
  2662. type: string
  2663. format: date-time
  2664. description: Date time of the last team total update.
  2665. spreads:
  2666. type: array
  2667. description: Container for spread odds.
  2668. items:
  2669. $ref: '#/definitions/OddsSpreadV4'
  2670. moneyline:
  2671. $ref: '#/definitions/OddsMoneylineV4'
  2672. totals:
  2673. type: array
  2674. description: Container for team total points.
  2675. items:
  2676. $ref: '#/definitions/OddsTotalV4'
  2677. teamTotal:
  2678. $ref: '#/definitions/OddsTeamTotalsV4'
  2679. awayScore:
  2680. type: number
  2681. format: double
  2682. description: Period away team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  2683. homeScore:
  2684. type: number
  2685. format: double
  2686. description: Period home team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  2687. awayRedCards:
  2688. type: number
  2689. format: int32
  2690. description: Period away team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  2691. homeRedCards:
  2692. type: number
  2693. format: int32
  2694. description: Period home team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time number=3).
  2695. OddsSpreadV3:
  2696. type: object
  2697. properties:
  2698. altLineId:
  2699. type: integer
  2700. format: int64
  2701. description: This is present only if it’s alternative line.
  2702. hdp:
  2703. type: number
  2704. format: double
  2705. description: Home team handicap.
  2706. home:
  2707. type: number
  2708. format: double
  2709. description: Home team price.
  2710. away:
  2711. type: number
  2712. format: double
  2713. description: Away team price.
  2714. max:
  2715. type: number
  2716. format: double
  2717. nullable: true
  2718. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxSpread` market limit.
  2719. OddsSpreadV4:
  2720. type: object
  2721. properties:
  2722. altLineId:
  2723. type: integer
  2724. format: int64
  2725. description: This is present only if it’s alternative line.
  2726. hdp:
  2727. type: number
  2728. format: double
  2729. description: Home team handicap.
  2730. home:
  2731. type: number
  2732. format: double
  2733. description: Home team price.
  2734. away:
  2735. type: number
  2736. format: double
  2737. description: Away team price.
  2738. max:
  2739. type: number
  2740. format: double
  2741. nullable: true
  2742. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxSpread` market limit.
  2743. OddsMoneylineV3:
  2744. type: object
  2745. properties:
  2746. home:
  2747. type: number
  2748. format: double
  2749. description: Away team price
  2750. away:
  2751. type: number
  2752. format: double
  2753. description: Away team price.
  2754. draw:
  2755. type: number
  2756. format: double
  2757. description: Draw price. This is present only for events we offer price for draw.
  2758. OddsMoneylineV4:
  2759. type: object
  2760. properties:
  2761. home:
  2762. type: number
  2763. format: double
  2764. description: Away team price
  2765. away:
  2766. type: number
  2767. format: double
  2768. description: Away team price.
  2769. draw:
  2770. type: number
  2771. format: double
  2772. description: Draw price. This is present only for events we offer price for draw.
  2773. OddsTotalV3:
  2774. type: object
  2775. properties:
  2776. altLineId:
  2777. type: integer
  2778. format: int64
  2779. description: This is present only if it’s alternative line.
  2780. points:
  2781. type: number
  2782. format: double
  2783. description: Total points.
  2784. over:
  2785. type: number
  2786. format: double
  2787. description: Over price.
  2788. under:
  2789. type: number
  2790. format: double
  2791. description: Under price.
  2792. max:
  2793. type: number
  2794. format: double
  2795. nullable: true
  2796. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxTotal` market limit.
  2797. OddsTotalV4:
  2798. type: object
  2799. properties:
  2800. altLineId:
  2801. type: integer
  2802. format: int64
  2803. description: This is present only if it’s alternative line.
  2804. points:
  2805. type: number
  2806. format: double
  2807. description: Total points.
  2808. over:
  2809. type: number
  2810. format: double
  2811. description: Over price.
  2812. under:
  2813. type: number
  2814. format: double
  2815. description: Under price.
  2816. max:
  2817. type: number
  2818. format: double
  2819. nullable: true
  2820. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxTotal` market limit.
  2821. OddsTeamTotalsV3:
  2822. type: object
  2823. properties:
  2824. home:
  2825. $ref: '#/definitions/OddsTeamTotalV3'
  2826. away:
  2827. $ref: '#/definitions/OddsTeamTotalV3'
  2828. OddsTeamTotalsV4:
  2829. type: object
  2830. properties:
  2831. home:
  2832. type: array
  2833. description: Container for Home team's total points.
  2834. items:
  2835. $ref: '#/definitions/OddsTeamTotalV4'
  2836. away:
  2837. type: array
  2838. description: Container for Away team's total points.
  2839. items:
  2840. $ref: '#/definitions/OddsTeamTotalV4'
  2841. OddsTeamTotalV3:
  2842. type: object
  2843. properties:
  2844. points:
  2845. type: number
  2846. format: double
  2847. description: Total points.
  2848. over:
  2849. type: number
  2850. format: double
  2851. description: Over price.
  2852. under:
  2853. type: number
  2854. format: double
  2855. description: Under price.
  2856. OddsTeamTotalV4:
  2857. type: object
  2858. properties:
  2859. altLineId:
  2860. type: number
  2861. format: int64
  2862. description: This is present only if it’s alternative line.
  2863. points:
  2864. type: number
  2865. format: double
  2866. description: Total points.
  2867. over:
  2868. type: number
  2869. format: double
  2870. description: Over price.
  2871. under:
  2872. type: number
  2873. format: double
  2874. description: Under price.
  2875. max:
  2876. type: number
  2877. format: double
  2878. nullable: true
  2879. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxTeamTotal` market limit.
  2880. required:
  2881. - points
  2882. - over
  2883. - under
  2884. ParlayOddsResponseV3:
  2885. type: object
  2886. properties:
  2887. sportId:
  2888. type: integer
  2889. format: int32
  2890. description: Same as requested sport Id.
  2891. last:
  2892. type: integer
  2893. format: int64
  2894. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  2895. leagues:
  2896. type: array
  2897. description: Contains a list of Leagues.
  2898. items:
  2899. $ref: '#/definitions/ParlayOddsLeagueV3'
  2900. required:
  2901. - sportId
  2902. - last
  2903. - leagues
  2904. ParlayOddsResponseV4:
  2905. type: object
  2906. properties:
  2907. sportId:
  2908. type: integer
  2909. format: int32
  2910. description: Same as requested sport Id.
  2911. last:
  2912. type: integer
  2913. format: int64
  2914. description: Use this value for the subsequent requests for since query parameter to get just the changes since previous response.
  2915. leagues:
  2916. type: array
  2917. description: Contains a list of Leagues.
  2918. items:
  2919. $ref: '#/definitions/ParlayOddsLeagueV4'
  2920. required:
  2921. - sportId
  2922. - last
  2923. - leagues
  2924. ParlayOddsLeagueV3:
  2925. type: object
  2926. properties:
  2927. id:
  2928. type: integer
  2929. format: int32
  2930. description: League Id.
  2931. events:
  2932. type: array
  2933. description: Contains a list of events.
  2934. items:
  2935. $ref: '#/definitions/ParlayOddsEventV3'
  2936. required:
  2937. - id
  2938. - events
  2939. ParlayOddsLeagueV4:
  2940. type: object
  2941. properties:
  2942. id:
  2943. type: integer
  2944. format: int32
  2945. description: League Id.
  2946. events:
  2947. type: array
  2948. description: Contains a list of events.
  2949. items:
  2950. $ref: '#/definitions/ParlayOddsEventV4'
  2951. required:
  2952. - id
  2953. - events
  2954. ParlayOddsEventV3:
  2955. type: object
  2956. properties:
  2957. id:
  2958. type: integer
  2959. format: int64
  2960. description: Event Id.
  2961. awayScore:
  2962. type: number
  2963. format: double
  2964. description: Away team score. Only for live soccer events.
  2965. homeScore:
  2966. type: number
  2967. format: double
  2968. description: Home team score. Only for live soccer events.
  2969. awayRedCards:
  2970. type: integer
  2971. format: int32
  2972. description: Away team red cards. Only for live soccer events.
  2973. homeRedCards:
  2974. type: integer
  2975. format: int32
  2976. description: Home team red cards. Only for live soccer events.
  2977. periods:
  2978. type: array
  2979. description: Contains a list of periods.
  2980. items:
  2981. $ref: '#/definitions/ParlayOddsPeriodV3'
  2982. required:
  2983. - id
  2984. - periods
  2985. ParlayOddsEventV4:
  2986. type: object
  2987. properties:
  2988. id:
  2989. type: integer
  2990. format: int64
  2991. description: Event Id.
  2992. awayScore:
  2993. type: number
  2994. format: double
  2995. description: Away team score. Only for live soccer events.
  2996. homeScore:
  2997. type: number
  2998. format: double
  2999. description: Home team score. Only for live soccer events.
  3000. awayRedCards:
  3001. type: integer
  3002. format: int32
  3003. description: Away team red cards. Only for live soccer events.
  3004. homeRedCards:
  3005. type: integer
  3006. format: int32
  3007. description: Home team red cards. Only for live soccer events.
  3008. periods:
  3009. type: array
  3010. description: Contains a list of periods.
  3011. items:
  3012. $ref: '#/definitions/ParlayOddsPeriodV4'
  3013. required:
  3014. - id
  3015. - periods
  3016. ParlayOddsPeriodV3:
  3017. type: object
  3018. properties:
  3019. lineId:
  3020. type: integer
  3021. format: int64
  3022. description: Line Id.
  3023. number:
  3024. type: integer
  3025. format: int32
  3026. description: This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half)
  3027. cutoff:
  3028. type: string
  3029. format: date-time
  3030. description: Period’s wagering cut-off date in UTC.
  3031. status:
  3032. type: integer
  3033. format: int32
  3034. description: |
  3035. 1 - online, period is open for betting
  3036. 2 - offline, period is not open for betting
  3037. example: 1
  3038. maxSpread:
  3039. type: number
  3040. format: double
  3041. description: Maximum spread bet. Only in straight odds response.
  3042. maxMoneyline:
  3043. type: number
  3044. format: double
  3045. description: Maximum moneyline bet. Only in straight odds response.
  3046. maxTotal:
  3047. type: number
  3048. format: double
  3049. description: Maximum total points bet. Only in straight odds response.
  3050. maxTeamTotal:
  3051. type: number
  3052. format: double
  3053. description: Maximum team total points bet. Only in straight odds response.
  3054. moneylineUpdatedAt:
  3055. type: number
  3056. format: double
  3057. description: Date time of the last moneyline update.
  3058. spreadUpdatedAt:
  3059. type: number
  3060. format: double
  3061. description: Date time of the last spread update.
  3062. totalUpdatedAt:
  3063. type: number
  3064. format: double
  3065. description: Date time of the last total update.
  3066. teamTotalUpdatedAt:
  3067. type: number
  3068. format: double
  3069. description: Date time of the last team total update.
  3070. spreads:
  3071. type: array
  3072. description: Container for spread odds.
  3073. items:
  3074. $ref: '#/definitions/ParlayOddsSpreadV3'
  3075. moneyline:
  3076. $ref: '#/definitions/ParlayOddsMoneylineV3'
  3077. totals:
  3078. type: array
  3079. description: Container for team total points.
  3080. items:
  3081. $ref: '#/definitions/ParlayOddsTotalV3'
  3082. teamTotal:
  3083. $ref: '#/definitions/ParlayOddsTeamTotalsV3'
  3084. awayScore:
  3085. type: number
  3086. format: double
  3087. description: Period away team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  3088. homeScore:
  3089. type: number
  3090. format: double
  3091. description: Period home team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  3092. awayRedCards:
  3093. type: number
  3094. format: double
  3095. description: Period away team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  3096. homeRedCards:
  3097. type: number
  3098. format: double
  3099. description: Period home team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time number=3).
  3100. required:
  3101. - lineId
  3102. - number
  3103. - cutoff
  3104. ParlayOddsPeriodV4:
  3105. type: object
  3106. properties:
  3107. lineId:
  3108. type: integer
  3109. format: int64
  3110. description: Line Id.
  3111. number:
  3112. type: integer
  3113. format: int32
  3114. description: This represents the period of the match. For example, for soccer we have 0 (Game), 1 (1st Half) & 2 (2nd Half)
  3115. cutoff:
  3116. type: string
  3117. format: date-time
  3118. description: Period’s wagering cut-off date in UTC.
  3119. status:
  3120. type: integer
  3121. format: int32
  3122. description: |
  3123. 1 - online, period is open for betting
  3124. 2 - offline, period is not open for betting
  3125. example: 1
  3126. maxSpread:
  3127. type: number
  3128. format: double
  3129. description: Maximum spread bet. Only in straight odds response.
  3130. maxMoneyline:
  3131. type: number
  3132. format: double
  3133. description: Maximum moneyline bet. Only in straight odds response.
  3134. maxTotal:
  3135. type: number
  3136. format: double
  3137. description: Maximum total points bet. Only in straight odds response.
  3138. maxTeamTotal:
  3139. type: number
  3140. format: double
  3141. description: Maximum team total points bet. Only in straight odds response.
  3142. moneylineUpdatedAt:
  3143. type: number
  3144. format: double
  3145. description: Date time of the last moneyline update.
  3146. spreadUpdatedAt:
  3147. type: number
  3148. format: double
  3149. description: Date time of the last spread update.
  3150. totalUpdatedAt:
  3151. type: number
  3152. format: double
  3153. description: Date time of the last total update.
  3154. teamTotalUpdatedAt:
  3155. type: number
  3156. format: double
  3157. description: Date time of the last team total update.
  3158. spreads:
  3159. type: array
  3160. description: Container for spread odds.
  3161. items:
  3162. $ref: '#/definitions/ParlayOddsSpreadV4'
  3163. moneyline:
  3164. $ref: '#/definitions/ParlayOddsMoneylineV4'
  3165. totals:
  3166. type: array
  3167. description: Container for team total points.
  3168. items:
  3169. $ref: '#/definitions/ParlayOddsTotalV4'
  3170. teamTotal:
  3171. $ref: '#/definitions/ParlayOddsTeamTotalsV4'
  3172. awayScore:
  3173. type: number
  3174. format: double
  3175. description: Period away team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  3176. homeScore:
  3177. type: number
  3178. format: double
  3179. description: Period home team score. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  3180. awayRedCards:
  3181. type: number
  3182. format: double
  3183. description: Period away team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time (number=3).
  3184. homeRedCards:
  3185. type: number
  3186. format: double
  3187. description: Period home team red cards. Only for live soccer events. Supported only for Match (number=0) and Extra Time number=3).
  3188. required:
  3189. - lineId
  3190. - number
  3191. - cutoff
  3192. ParlayOddsSpreadV3:
  3193. type: object
  3194. properties:
  3195. altLineId:
  3196. type: integer
  3197. format: int64
  3198. description: This is present only if it’s alternative line.
  3199. hdp:
  3200. type: number
  3201. format: double
  3202. description: Home team handicap.
  3203. home:
  3204. type: number
  3205. format: double
  3206. description: Home team price.
  3207. away:
  3208. type: number
  3209. format: double
  3210. description: Away team price.
  3211. max:
  3212. type: number
  3213. format: double
  3214. nullable: true
  3215. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxSpread` market limit.
  3216. required:
  3217. - hdp
  3218. - home
  3219. - away
  3220. ParlayOddsSpreadV4:
  3221. type: object
  3222. properties:
  3223. altLineId:
  3224. type: integer
  3225. format: int64
  3226. description: This is present only if it’s alternative line.
  3227. hdp:
  3228. type: number
  3229. format: double
  3230. description: Home team handicap.
  3231. home:
  3232. type: number
  3233. format: double
  3234. description: Home team price.
  3235. away:
  3236. type: number
  3237. format: double
  3238. description: Away team price.
  3239. max:
  3240. type: number
  3241. format: double
  3242. nullable: true
  3243. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxSpread` market limit.
  3244. required:
  3245. - hdp
  3246. - home
  3247. - away
  3248. ParlayOddsMoneylineV3:
  3249. type: object
  3250. properties:
  3251. home:
  3252. type: number
  3253. format: double
  3254. description: Away team price
  3255. away:
  3256. type: number
  3257. format: double
  3258. description: Away team price.
  3259. draw:
  3260. type: number
  3261. format: double
  3262. description: Draw price. This is present only for events we offer price for draw.
  3263. required:
  3264. - home
  3265. - away
  3266. ParlayOddsMoneylineV4:
  3267. type: object
  3268. properties:
  3269. home:
  3270. type: number
  3271. format: double
  3272. description: Away team price
  3273. away:
  3274. type: number
  3275. format: double
  3276. description: Away team price.
  3277. draw:
  3278. type: number
  3279. format: double
  3280. description: Draw price. This is present only for events we offer price for draw.
  3281. required:
  3282. - home
  3283. - away
  3284. ParlayOddsTotalV3:
  3285. $ref: '#/definitions/ParlayOddsTotalsV3'
  3286. ParlayOddsTotalV4:
  3287. $ref: '#/definitions/ParlayOddsTotalsV4'
  3288. ParlayOddsTeamTotalsV3:
  3289. type: object
  3290. properties:
  3291. away:
  3292. $ref: '#/definitions/ParlayOddsTotalsV3'
  3293. home:
  3294. $ref: '#/definitions/ParlayOddsTotalsV3'
  3295. ParlayOddsTeamTotalsV4:
  3296. type: object
  3297. properties:
  3298. away:
  3299. type: array
  3300. description: Container for Away team's total points.
  3301. items:
  3302. $ref: '#/definitions/ParlayOddsTeamTotalV4'
  3303. home:
  3304. type: array
  3305. description: Container for Home team's total points.
  3306. items:
  3307. $ref: '#/definitions/ParlayOddsTeamTotalV4'
  3308. ParlayOddsTotalsV3:
  3309. type: object
  3310. properties:
  3311. altLineId:
  3312. type: number
  3313. format: int64
  3314. description: Line Id for the alternate line. This is present only if it’s alternative line.
  3315. points:
  3316. type: number
  3317. format: double
  3318. description: Total points.
  3319. over:
  3320. type: number
  3321. format: double
  3322. description: Over price.
  3323. under:
  3324. type: number
  3325. format: double
  3326. description: Under price.
  3327. max:
  3328. type: number
  3329. format: double
  3330. nullable: true
  3331. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxTotal` market limit.
  3332. required:
  3333. - points
  3334. - over
  3335. - under
  3336. ParlayOddsTotalsV4:
  3337. type: object
  3338. properties:
  3339. altLineId:
  3340. type: number
  3341. format: int64
  3342. description: Line Id for the alternate line. This is present only if it’s alternative line.
  3343. points:
  3344. type: number
  3345. format: double
  3346. description: Total points.
  3347. over:
  3348. type: number
  3349. format: double
  3350. description: Over price.
  3351. under:
  3352. type: number
  3353. format: double
  3354. description: Under price.
  3355. max:
  3356. type: number
  3357. format: double
  3358. nullable: true
  3359. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxTotal` market limit.
  3360. required:
  3361. - points
  3362. - over
  3363. - under
  3364. ParlayOddsTeamTotalV4:
  3365. type: object
  3366. properties:
  3367. altLineId:
  3368. type: number
  3369. format: int64
  3370. description: This is present only if it’s alternative line.
  3371. points:
  3372. type: number
  3373. format: double
  3374. description: Total points.
  3375. over:
  3376. type: number
  3377. format: double
  3378. description: Over price.
  3379. under:
  3380. type: number
  3381. format: double
  3382. description: Under price.
  3383. max:
  3384. type: number
  3385. format: double
  3386. nullable: true
  3387. description: Maximum bet volume. Present only on alternative lines, if set it overides `maxTeamTotal` market limit.
  3388. required:
  3389. - points
  3390. - over
  3391. - under
  3392. TeaserOddsResponse:
  3393. type: object
  3394. properties:
  3395. teaserId:
  3396. type: integer
  3397. format: int64
  3398. description: Unique identifier. Teaser details can be retrieved from a call to Get Teaser Groups endpoint.
  3399. sportId:
  3400. type: integer
  3401. format: int32
  3402. description: Unique identifier. Sport details can be retrieved from a call to Get Sports endpoint.
  3403. leagues:
  3404. type: array
  3405. description: A collection of League.
  3406. items:
  3407. $ref: '#/definitions/TeaserOddsLeague'
  3408. TeaserOddsLeague:
  3409. type: object
  3410. properties:
  3411. id:
  3412. type: integer
  3413. format: int32
  3414. description: Unique identifier. League details can be retrieved from a call to Get Leagues endpoint.
  3415. events:
  3416. type: array
  3417. description: A collection of Event.
  3418. items:
  3419. $ref: '#/definitions/TeaserOddsEvent'
  3420. TeaserOddsEvent:
  3421. type: object
  3422. properties:
  3423. id:
  3424. type: integer
  3425. format: int64
  3426. description: Unique identifier.
  3427. periods:
  3428. type: array
  3429. description: A collection of periods indicating the period numbers available for betting.
  3430. items:
  3431. $ref: '#/definitions/TeaserOddsPeriod'
  3432. TeaserOddsPeriod:
  3433. type: object
  3434. properties:
  3435. number:
  3436. type: integer
  3437. format: int32
  3438. description: Period of the match that the request is for. Refer to v1/periods endpoint to retrieve all valid periods for a sport.
  3439. lineId:
  3440. type: integer
  3441. format: int64
  3442. description: Unique identifier.
  3443. spreadUpdatedAt:
  3444. type: string
  3445. format: date-time
  3446. description: Date time of the last spread update.
  3447. totalUpdatedAt:
  3448. type: string
  3449. format: date-time
  3450. description: Date time of the last total update.
  3451. spread:
  3452. $ref: '#/definitions/TeaserOddsSpread'
  3453. total:
  3454. $ref: '#/definitions/TeaserOddsTotalPoints'
  3455. TeaserOddsSpread:
  3456. type: object
  3457. properties:
  3458. maxBet:
  3459. type: number
  3460. format: double
  3461. description: Maximum bet amount.
  3462. homeHdp:
  3463. type: number
  3464. format: double
  3465. description: Home team handicap. Refer to Get Fixtures endpoint to determine home and away teams.
  3466. awayHdp:
  3467. type: number
  3468. format: double
  3469. description: Away team handicap. Refer to Get Fixtures endpoint to determine home and away teams.
  3470. altHdp:
  3471. type: boolean
  3472. description: Whether the spread is offer with alterantive teaser points. Events with alternative teaser points may vary from teaser definition.
  3473. example: false
  3474. TeaserOddsTotalPoints:
  3475. type: object
  3476. properties:
  3477. maxBet:
  3478. type: number
  3479. format: double
  3480. description: Maximum bet amount.
  3481. overPoints:
  3482. type: number
  3483. format: double
  3484. description: Over points.
  3485. underPoints:
  3486. type: number
  3487. format: double
  3488. description: Under points.
  3489. SportPeriod:
  3490. type: object
  3491. properties:
  3492. number:
  3493. type: integer
  3494. format: int32
  3495. description: Period Number
  3496. description:
  3497. type: string
  3498. description: Description for the period
  3499. shortDescription:
  3500. type: string
  3501. description: Short description for the period
  3502. SportsResponseV3:
  3503. type: object
  3504. properties:
  3505. sports:
  3506. type: array
  3507. description: Sports container.
  3508. items:
  3509. $ref: '#/definitions/SportV3'
  3510. SportV3:
  3511. type: object
  3512. properties:
  3513. id:
  3514. type: integer
  3515. format: int32
  3516. description: Sport Id.
  3517. name:
  3518. type: string
  3519. description: Sport name.
  3520. hasOfferings:
  3521. type: boolean
  3522. description: Whether the sport currently has events or specials.
  3523. leagueSpecialsCount:
  3524. type: integer
  3525. format: int32
  3526. description: Indicates how many specials are in the given sport.
  3527. eventSpecialsCount:
  3528. type: integer
  3529. format: int32
  3530. description: Indicates how many event specials are in the given sport.
  3531. eventCount:
  3532. type: integer
  3533. format: int32
  3534. description: Indicates how many events are in the given sport.
  3535. TeaserGroupsResponse:
  3536. type: object
  3537. properties:
  3538. teaserGroups:
  3539. type: array
  3540. description: A collection of TeaserGroups containing available teasers.
  3541. items:
  3542. $ref: '#/definitions/TeaserGroups'
  3543. TeaserGroups:
  3544. type: object
  3545. properties:
  3546. id:
  3547. type: integer
  3548. format: int64
  3549. description: Unique identifier.
  3550. name:
  3551. type: string
  3552. description: Friendly name for the Teaser Group
  3553. teasers:
  3554. type: array
  3555. description: A collection of Teaser.
  3556. items:
  3557. $ref: '#/definitions/TeaserGroupsTeaser'
  3558. TeaserGroupsTeaser:
  3559. type: object
  3560. properties:
  3561. id:
  3562. type: integer
  3563. format: int64
  3564. description: Unique identifier.
  3565. description:
  3566. type: string
  3567. description: Description for the Teaser.
  3568. sportId:
  3569. type: integer
  3570. format: int32
  3571. description: Unique Sport identifier. Sport details can be retrieved from a call to v2/sports endpoint.
  3572. minLegs:
  3573. type: integer
  3574. format: int32
  3575. description: Minimum number of legs that must be selected.
  3576. maxLegs:
  3577. type: integer
  3578. format: int32
  3579. description: Maximum number of legs that can be selected.
  3580. sameEventOnly:
  3581. type: boolean
  3582. description: If 'true' then all legs must be from the same event, otherwise legs can be from different events.
  3583. payouts:
  3584. type: array
  3585. description: A collection of Payout indicating all possible payout combinations.
  3586. items:
  3587. $ref: '#/definitions/TeaserGroupsPayout'
  3588. leagues:
  3589. type: array
  3590. description: A collection of Leagues available to the teaser.
  3591. items:
  3592. $ref: '#/definitions/TeaserGroupsLeague'
  3593. TeaserGroupsPayout:
  3594. type: object
  3595. properties:
  3596. numberOfLegs:
  3597. type: integer
  3598. format: int32
  3599. description: Number of legs that must be bet and won to get the associated price.
  3600. price:
  3601. type: number
  3602. format: double
  3603. description: Price of the bet given the specified number of legs.
  3604. TeaserGroupsLeague:
  3605. type: object
  3606. properties:
  3607. id:
  3608. type: integer
  3609. format: int32
  3610. description: Unique identifier. League details can be retrieved from a call to v2/leagues endpoint.
  3611. spread:
  3612. $ref: '#/definitions/TeaserGroupsBetType'
  3613. total:
  3614. $ref: '#/definitions/TeaserGroupsBetType'
  3615. TeaserGroupsBetType:
  3616. type: object
  3617. properties:
  3618. points:
  3619. type: number
  3620. format: double
  3621. description: Number of points the line will be teased for the given league.
  3622. SpecialsFixturesResponseV2:
  3623. type: object
  3624. properties:
  3625. sportId:
  3626. format: int32
  3627. description: Id of a sport for which to retrieve the odds.
  3628. type: integer
  3629. last:
  3630. format: int64
  3631. description: Used for retrieving changes only on subsequent requests. Provide this value as the Since paramter in subsequent calls to only retrieve changes.
  3632. type: integer
  3633. leagues:
  3634. description: Contains a list of Leagues.
  3635. type: array
  3636. items:
  3637. $ref: '#/definitions/SpecialsFixturesLeagueV2'
  3638. SpecialsFixturesLeagueV2:
  3639. type: object
  3640. properties:
  3641. id:
  3642. format: int32
  3643. description: FixturesLeague Id.
  3644. type: integer
  3645. specials:
  3646. description: A collection of Specials
  3647. type: array
  3648. items:
  3649. $ref: '#/definitions/SpecialFixtureV2'
  3650. SpecialFixtureV2:
  3651. type: object
  3652. properties:
  3653. id:
  3654. format: int64
  3655. description: Unique Id
  3656. type: integer
  3657. betType:
  3658. description: The type [MULTI_WAY_HEAD_TO_HEAD, SPREAD, OVER_UNDER]
  3659. enum:
  3660. - MULTI_WAY_HEAD_TO_HEAD
  3661. - SPREAD
  3662. - OVER_UNDER
  3663. type: string
  3664. name:
  3665. description: Name of the special.
  3666. type: string
  3667. date:
  3668. format: date-time
  3669. description: Date of the special in UTC.
  3670. type: string
  3671. cutoff:
  3672. format: date-time
  3673. description: Wagering cutoff date in UTC.
  3674. type: string
  3675. category:
  3676. description: The category that the special falls under.
  3677. type: string
  3678. units:
  3679. description: Measurment in the context of the special. This is applicable to specials bet type spead and over/under. In a hockey special this could be goals.
  3680. type: string
  3681. status:
  3682. description: |
  3683. Status of the Special
  3684. O = This is the starting status of a game. It means that the lines are open for betting,
  3685. H = This status indicates that the lines are temporarily unavailable for betting,
  3686. I = This status indicates that one or more lines have a red circle (a lower maximum bet amount)
  3687. enum:
  3688. - O
  3689. - H
  3690. - I
  3691. type: string
  3692. event:
  3693. $ref: '#/definitions/SpecialsFixturesEventV2'
  3694. contestants:
  3695. description: ContestantLines available for wagering.
  3696. type: array
  3697. items:
  3698. $ref: '#/definitions/SpecialsFixturesContestant'
  3699. liveStatus:
  3700. format: int32
  3701. description: |
  3702. When a special is linked to an event, we will return live status of the event, otherwise it will be 0. 0 = No live betting will be offered on this event, 1 = Live betting event, 2 = Live betting will be offered on this match, but on a different event.
  3703. Please note that live delay is applied when placing bets on special with LiveStatus=1
  3704. enum:
  3705. - 0
  3706. - 1
  3707. - 2
  3708. type: integer
  3709. SpecialsFixturesEventV2:
  3710. type: object
  3711. description: Optional event asscoaited with the special.
  3712. properties:
  3713. id:
  3714. format: int32
  3715. description: Event Id
  3716. type: integer
  3717. periodNumber:
  3718. format: int32
  3719. description: The period of the match. For example in soccer 0 (Game), 1 (1st Half) & 2 (2nd Half)
  3720. type: integer
  3721. home:
  3722. description: Home team name.
  3723. type: string
  3724. away:
  3725. description: Away team name.
  3726. type: string
  3727. SpecialsFixturesContestant:
  3728. type: object
  3729. properties:
  3730. id:
  3731. format: int64
  3732. description: Contestant Id.
  3733. type: integer
  3734. name:
  3735. description: Name of the contestant.
  3736. type: string
  3737. rotNum:
  3738. format: int32
  3739. description: Rotation Number.
  3740. type: integer
  3741. SettledSpecialsResponseV3:
  3742. description: Response dto for SettledSpecials request
  3743. type: object
  3744. properties:
  3745. sportId:
  3746. format: int32
  3747. description: Id of a sport for which to retrieve the odds.
  3748. type: integer
  3749. last:
  3750. format: int64
  3751. description: Last index for the settled fixture
  3752. type: integer
  3753. leagues:
  3754. description: List of Leagues.
  3755. type: array
  3756. items:
  3757. $ref: '#/definitions/SettledSpecialsLeagueV3'
  3758. SettledSpecialsLeagueV3:
  3759. description: League Dto to hold all settled specials for the league
  3760. type: object
  3761. properties:
  3762. id:
  3763. format: int32
  3764. description: League Id.
  3765. type: integer
  3766. specials:
  3767. description: A collection of Settled Specials
  3768. type: array
  3769. items:
  3770. $ref: '#/definitions/SettledSpecialV3'
  3771. SettledSpecialV3:
  3772. description: Settled Special
  3773. type: object
  3774. properties:
  3775. id:
  3776. format: int64
  3777. description: Id for the Settled Special
  3778. type: integer
  3779. status:
  3780. format: int32
  3781. description: Status of the settled special.
  3782. type: integer
  3783. settlementId:
  3784. format: int64
  3785. description: Id for the Settled Special
  3786. type: integer
  3787. settledAt:
  3788. format: date-time
  3789. description: Settled DateTime
  3790. type: string
  3791. cancellationReason:
  3792. $ref: '#/definitions/CancellationReasonType'
  3793. description: Cancellation Reason for Special Event
  3794. contestants:
  3795. description: A collection of contestants
  3796. type: array
  3797. items:
  3798. $ref: '#/definitions/SettledContestants'
  3799. SettledContestants:
  3800. description: Settled Special
  3801. type: object
  3802. properties:
  3803. id:
  3804. format: int64
  3805. description: Contestant Id.
  3806. type: integer
  3807. name:
  3808. description: Contestant name
  3809. type: string
  3810. example: Union Magdalena
  3811. outcome:
  3812. type: string
  3813. description: |
  3814. Contestant outcomes.
  3815. W = Won,
  3816. L = Lost,
  3817. X = Cancelled,
  3818. T = Tie,
  3819. Z = Scratched
  3820. enum:
  3821. - W
  3822. - L
  3823. - X
  3824. - T
  3825. - Z
  3826. SpecialLineResponse:
  3827. type: object
  3828. properties:
  3829. status:
  3830. description: Status [SUCCESS = OK, NOT_EXISTS = Line not offered anymore]
  3831. enum:
  3832. - SUCCESS
  3833. - NOT_EXISTS
  3834. type: string
  3835. specialId:
  3836. format: int64
  3837. description: Special Id.
  3838. type: integer
  3839. contestantId:
  3840. format: int64
  3841. description: Contestant Id.
  3842. type: integer
  3843. minRiskStake:
  3844. format: double
  3845. description: Minimum bettable risk amount.
  3846. type: number
  3847. maxRiskStake:
  3848. format: double
  3849. description: Maximum bettable risk amount.
  3850. type: number
  3851. minWinStake:
  3852. format: double
  3853. description: Minimum bettable win amount.
  3854. type: number
  3855. maxWinStake:
  3856. format: double
  3857. description: Maximum bettable win amount.
  3858. type: number
  3859. lineId:
  3860. format: int64
  3861. description: Line identification needed to place a bet.
  3862. type: integer
  3863. price:
  3864. format: double
  3865. description: Latest price.
  3866. type: number
  3867. handicap:
  3868. format: double
  3869. description: Handicap.
  3870. type: number
  3871. SpecialOddsResponseV2:
  3872. type: object
  3873. properties:
  3874. sportId:
  3875. format: int32
  3876. description: Id of a sport for which to retrieve the odds.
  3877. type: integer
  3878. last:
  3879. format: int64
  3880. description: Used for retrieving changes only on subsequent requests. Provide this value as the Since paramter in subsequent calls to only retrieve changes.
  3881. type: integer
  3882. leagues:
  3883. description: Contains a list of Leagues.
  3884. type: array
  3885. items:
  3886. $ref: '#/definitions/SpecialOddsLeagueV2'
  3887. SpecialOddsLeagueV2:
  3888. type: object
  3889. properties:
  3890. id:
  3891. format: int32
  3892. description: League id.
  3893. type: integer
  3894. specials:
  3895. description: A collection of FixturesSpecial.
  3896. type: array
  3897. items:
  3898. $ref: '#/definitions/SpecialOddsSpecialV2'
  3899. SpecialOddsSpecialV2:
  3900. type: object
  3901. properties:
  3902. id:
  3903. format: int64
  3904. description: Special Id.
  3905. type: integer
  3906. maxRisk:
  3907. format: double
  3908. description: Maximum risk amount.
  3909. type: number
  3910. contestantLines:
  3911. description: ContestantLines available for wagering on.
  3912. type: array
  3913. items:
  3914. $ref: '#/definitions/SpecialOddsContestantLineV2'
  3915. SpecialOddsContestantLineV2:
  3916. type: object
  3917. properties:
  3918. id:
  3919. format: int64
  3920. description: ContestantLine Id.
  3921. type: integer
  3922. lineId:
  3923. format: int64
  3924. description: Line identifier required for placing a bet.
  3925. type: integer
  3926. price:
  3927. format: double
  3928. description: Price of the line.
  3929. type: number
  3930. handicap:
  3931. format: double
  3932. description: 'A number indicating the spread, over/under etc.'
  3933. type: number
  3934. max:
  3935. format: double
  3936. description: Maximum bet volume amount per contestant. See [How to calculate max risk from the max volume](https://github.com/pinny888/pinny888.github.io/blob/main/FAQs.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds)
  3937. type: number