linesapi_zh.yaml 122 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962
  1. swagger: '2.0'
  2. info:
  3. version: 1.0.0
  4. title: Pinnacle888 - Lines API 参考文档
  5. description: |
  6. 关于赔率和赛程的所有信息
  7. # 身份验证
  8. API 使用 HTTP Basic 访问身份验证。您需要发送 Authorization HTTP 请求头:
  9. `Authorization: Basic <Base64 value of UTF-8 encoded "username:password">`
  10. 示例:
  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: 获取赛程 - v3
  25. description: 返回指定运动的所有**未结算**赛事。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。请注意,使用 **since** 参数时,可能会收到完全相同的响应。这种情况很少见,可能是由于赛事属性的内部更新导致的。
  26. operationId: Fixtures_V3_Get
  27. consumes: []
  28. produces:
  29. - application/json
  30. parameters:
  31. - name: sportId
  32. in: query
  33. description: 要获取赛程的运动 ID。
  34. required: true
  35. type: integer
  36. format: int32
  37. - name: leagueIds
  38. in: query
  39. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 要仅检索直播赛事,请将值设置为 1 (isLive=1)。缺少或任何其他值将导致检索所有赛事,无论其直播状态如何。
  49. required: false
  50. type: boolean
  51. - name: since
  52. in: query
  53. description: 用于接收增量更新。使用上次 fixtures 响应中的 last 值。如果不提供 since 参数,赛程最多会延迟 1 分钟,以鼓励使用该参数。
  54. required: false
  55. type: integer
  56. format: int64
  57. - name: eventIds
  58. in: query
  59. description: 用于过滤的逗号分隔的赛事 ID 列表
  60. required: false
  61. type: array
  62. items:
  63. type: integer
  64. format: int32
  65. collectionFormat: multi
  66. responses:
  67. '200':
  68. description: 成功
  69. schema:
  70. $ref: '#/definitions/FixturesResponseV3'
  71. '400':
  72. description: 错误请求
  73. schema:
  74. $ref: '#/definitions/ErrorResponse'
  75. '401':
  76. description: 未授权
  77. schema:
  78. $ref: '#/definitions/ErrorResponse'
  79. '403':
  80. description: 禁止访问
  81. schema:
  82. $ref: '#/definitions/ErrorResponse'
  83. '500':
  84. description: 服务器内部错误
  85. schema:
  86. $ref: '#/definitions/ExtendedErrorResponse'
  87. /v2/fixtures/special:
  88. get:
  89. tags:
  90. - Fixtures
  91. summary: 获取特殊赛程 - v2
  92. description: 返回指定运动的所有**未结算**特殊赛事。
  93. operationId: Fixtures_Special_V2_Get
  94. consumes: []
  95. produces:
  96. - application/json
  97. parameters:
  98. - name: sportId
  99. in: query
  100. description: 要检索特殊赛事的运动 ID。
  101. required: true
  102. type: integer
  103. format: int32
  104. - name: leagueIds
  105. in: query
  106. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 用于接收增量更新。使用上次响应中的 last 字段值。如果不提供 since 参数,赛程最多会延迟 1 分钟,以鼓励使用该参数。
  116. required: false
  117. type: integer
  118. format: int64
  119. - name: category
  120. in: query
  121. description: 特殊赛事所属的类别。
  122. required: false
  123. type: string
  124. - name: eventId
  125. in: query
  126. description: 与特殊赛事关联的赛事 ID。
  127. required: false
  128. type: integer
  129. format: int64
  130. - name: specialId
  131. in: query
  132. description: 特殊赛事的 ID。
  133. required: false
  134. type: integer
  135. format: int64
  136. responses:
  137. '200':
  138. description: 成功
  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: 错误请求
  338. schema:
  339. $ref: '#/definitions/ErrorResponse'
  340. '401':
  341. description: 未授权
  342. schema:
  343. $ref: '#/definitions/ErrorResponse'
  344. '403':
  345. description: 禁止访问
  346. schema:
  347. $ref: '#/definitions/ErrorResponse'
  348. '500':
  349. description: 服务器内部错误
  350. schema:
  351. $ref: '#/definitions/ExtendedErrorResponse'
  352. deprecated: false
  353. /v3/fixtures/settled:
  354. get:
  355. tags:
  356. - Fixtures
  357. summary: 获取已结算赛程 - v3
  358. description: 返回指定运动在过去 24 小时内已结算的赛程。
  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。
  368. type: integer
  369. format: int32
  370. - name: leagueIds
  371. in: query
  372. required: false
  373. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 用于接收增量更新。使用上次响应中的 last 字段值。
  383. type: integer
  384. format: int64
  385. responses:
  386. '200':
  387. description: 成功
  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: 错误请求
  422. schema:
  423. $ref: '#/definitions/ErrorResponse'
  424. '401':
  425. description: 未授权
  426. schema:
  427. $ref: '#/definitions/ErrorResponse'
  428. '403':
  429. description: 禁止访问
  430. schema:
  431. $ref: '#/definitions/ErrorResponse'
  432. '500':
  433. description: 服务器内部错误
  434. schema:
  435. $ref: '#/definitions/ExtendedErrorResponse'
  436. /v3/fixtures/special/settled:
  437. get:
  438. tags:
  439. - Fixtures
  440. summary: 获取已结算特殊赛程 - v3
  441. description: 返回指定运动在过去 24 小时内已结算的所有特殊赛事。
  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。
  450. required: true
  451. type: integer
  452. format: int32
  453. - name: leagueIds
  454. in: query
  455. description: leagueIds 数组。这是可选参数。
  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: 用于接收增量更新。使用上次响应中的 last 字段值。
  465. required: false
  466. type: integer
  467. format: int64
  468. responses:
  469. '200':
  470. description: 成功
  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: 错误请求
  508. schema:
  509. $ref: '#/definitions/ErrorResponse'
  510. '401':
  511. description: 未授权
  512. schema:
  513. $ref: '#/definitions/ErrorResponse'
  514. '403':
  515. description: 禁止访问
  516. schema:
  517. $ref: '#/definitions/ErrorResponse'
  518. '500':
  519. description: 服务器内部错误
  520. schema:
  521. $ref: '#/definitions/ExtendedErrorResponse'
  522. deprecated: false
  523. /v3/odds:
  524. get:
  525. tags:
  526. - Odds
  527. summary: 获取直盘赔率 - v3
  528. description: 返回所有未结算赛事的直盘赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
  529. operationId: Odds_Straight_V3_Get
  530. consumes: []
  531. produces:
  532. - application/json
  533. parameters:
  534. - name: sportId
  535. in: query
  536. description: 要检索赔率的运动 ID。
  537. required: true
  538. type: integer
  539. format: int32
  540. - name: leagueIds
  541. in: query
  542. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 返回赔率的格式。默认为 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: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
  563. required: false
  564. type: integer
  565. format: int64
  566. - name: isLive
  567. in: query
  568. description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
  569. required: false
  570. type: boolean
  571. - name: eventIds
  572. in: query
  573. description: 按 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 字母货币代码,如 [/currency](https://pinny888.github.io/docs/?api=lines#tag/Others/operation/Currencies_V2_Get) 响应中所示。限额将以请求的货币返回。默认为 USD。
  583. required: false
  584. type: string
  585. responses:
  586. '200':
  587. description: 成功
  588. schema:
  589. $ref: '#/definitions/OddsResponseV3'
  590. '400':
  591. description: 错误请求
  592. schema:
  593. $ref: '#/definitions/ErrorResponse'
  594. '401':
  595. description: 未授权
  596. schema:
  597. $ref: '#/definitions/ErrorResponse'
  598. '403':
  599. description: 禁止访问
  600. schema:
  601. $ref: '#/definitions/ErrorResponse'
  602. '500':
  603. description: 服务器内部错误
  604. schema:
  605. $ref: '#/definitions/ExtendedErrorResponse'
  606. deprecated: true
  607. /v4/odds:
  608. get:
  609. tags:
  610. - Odds
  611. summary: 获取直盘赔率 - v4
  612. description: 返回所有未结算赛事的直盘赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
  613. operationId: Odds_Straight_V4_Get
  614. consumes: []
  615. produces:
  616. - application/json
  617. parameters:
  618. - name: sportId
  619. in: query
  620. description: 要检索赔率的运动 ID。
  621. required: true
  622. type: integer
  623. format: int32
  624. - name: leagueIds
  625. in: query
  626. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 返回赔率的格式。默认为 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: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
  647. required: false
  648. type: integer
  649. format: int64
  650. - name: isLive
  651. in: query
  652. description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
  653. required: false
  654. type: boolean
  655. - name: eventIds
  656. in: query
  657. description: 按 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 字母货币代码,如 [/currency](https://pinny888.github.io/docs/?api=lines#tag/Others/operation/Currencies_V2_Get) 响应中所示。限额将以请求的货币返回。默认为 USD。
  667. required: false
  668. type: string
  669. responses:
  670. '200':
  671. description: 成功
  672. schema:
  673. $ref: '#/definitions/OddsResponseV4'
  674. '400':
  675. description: 错误请求
  676. schema:
  677. $ref: '#/definitions/ErrorResponse'
  678. '401':
  679. description: 未授权
  680. schema:
  681. $ref: '#/definitions/ErrorResponse'
  682. '403':
  683. description: 禁止访问
  684. schema:
  685. $ref: '#/definitions/ErrorResponse'
  686. '500':
  687. description: 服务器内部错误
  688. schema:
  689. $ref: '#/definitions/ExtendedErrorResponse'
  690. /v3/odds/parlay:
  691. get:
  692. tags:
  693. - Odds
  694. summary: 获取串关赔率 - v3
  695. description: 返回所有未结算赛事的串关赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
  696. operationId: Odds_Parlays_V3_Get
  697. consumes: []
  698. produces:
  699. - application/json
  700. parameters:
  701. - name: sportId
  702. in: query
  703. description: 要检索赔率的运动 ID。
  704. required: true
  705. type: integer
  706. format: int32
  707. - name: leagueIds
  708. in: query
  709. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 返回赔率的格式。默认为 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: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
  730. required: false
  731. type: integer
  732. format: int64
  733. - name: isLive
  734. in: query
  735. description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
  736. required: false
  737. type: boolean
  738. - name: eventIds
  739. in: query
  740. description: 按 EventIds 过滤
  741. required: false
  742. type: array
  743. items:
  744. type: integer
  745. format: int64
  746. collectionFormat: multi
  747. responses:
  748. '200':
  749. description: 成功
  750. schema:
  751. $ref: '#/definitions/ParlayOddsResponseV3'
  752. '400':
  753. description: 错误请求
  754. schema:
  755. $ref: '#/definitions/ErrorResponse'
  756. '401':
  757. description: 未授权
  758. schema:
  759. $ref: '#/definitions/ErrorResponse'
  760. '403':
  761. description: 禁止访问
  762. schema:
  763. $ref: '#/definitions/ErrorResponse'
  764. '500':
  765. description: 服务器内部错误
  766. schema:
  767. $ref: '#/definitions/ExtendedErrorResponse'
  768. deprecated: true
  769. /v4/odds/parlay:
  770. get:
  771. tags:
  772. - Odds
  773. summary: 获取串关赔率 - v4
  774. description: 返回所有未结算赛事的串关赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
  775. operationId: Odds_Parlays_V4_Get
  776. consumes: []
  777. produces:
  778. - application/json
  779. parameters:
  780. - name: sportId
  781. in: query
  782. description: 要检索赔率的运动 ID。
  783. required: true
  784. type: integer
  785. format: int32
  786. - name: leagueIds
  787. in: query
  788. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 返回赔率的格式。默认为 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: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
  809. required: false
  810. type: integer
  811. format: int64
  812. - name: isLive
  813. in: query
  814. description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
  815. required: false
  816. type: boolean
  817. - name: eventIds
  818. in: query
  819. description: 按 EventIds 过滤
  820. required: false
  821. type: array
  822. items:
  823. type: integer
  824. format: int64
  825. collectionFormat: multi
  826. responses:
  827. '200':
  828. description: 成功
  829. schema:
  830. $ref: '#/definitions/ParlayOddsResponseV4'
  831. '400':
  832. description: 错误请求
  833. schema:
  834. $ref: '#/definitions/ErrorResponse'
  835. '401':
  836. description: 未授权
  837. schema:
  838. $ref: '#/definitions/ErrorResponse'
  839. '403':
  840. description: 禁止访问
  841. schema:
  842. $ref: '#/definitions/ErrorResponse'
  843. '500':
  844. description: 服务器内部错误
  845. schema:
  846. $ref: '#/definitions/ExtendedErrorResponse'
  847. /v1/odds/teaser:
  848. get:
  849. tags:
  850. - Odds
  851. summary: 获取过关赔率 - v1
  852. description: 返回指定过关的赔率。
  853. operationId: Odds_Teasers_V1_Get
  854. consumes: []
  855. produces:
  856. - application/json
  857. parameters:
  858. - name: teaserId
  859. in: query
  860. description: 唯一标识符。可以从 Get Teaser Groups 端点调用中检索过关详情。
  861. required: true
  862. type: integer
  863. format: int64
  864. responses:
  865. '200':
  866. description: 成功
  867. schema:
  868. $ref: '#/definitions/TeaserOddsResponse'
  869. '400':
  870. description: 错误请求
  871. schema:
  872. $ref: '#/definitions/ErrorResponse'
  873. '401':
  874. description: 未授权
  875. schema:
  876. $ref: '#/definitions/ErrorResponse'
  877. '403':
  878. description: 禁止访问
  879. schema:
  880. $ref: '#/definitions/ErrorResponse'
  881. '500':
  882. description: 服务器内部错误
  883. schema:
  884. $ref: '#/definitions/ExtendedErrorResponse'
  885. /v2/odds/special:
  886. get:
  887. tags:
  888. - Odds
  889. summary: 获取特殊赔率 - v2
  890. description: 返回所有未结算赛事的特殊赔率。
  891. operationId: Odds_Special_V2_Get
  892. consumes: []
  893. produces:
  894. - application/json
  895. parameters:
  896. - name: oddsFormat
  897. in: query
  898. description: 返回赔率的格式。[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。
  910. required: true
  911. type: integer
  912. format: int32
  913. - name: leagueIds
  914. in: query
  915. description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
  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: 用于接收增量更新。使用上次响应中的 last 值。如果不提供 since 参数,赛程最多会延迟 1 分钟,以鼓励使用该参数。
  925. required: false
  926. type: integer
  927. format: int64
  928. - name: specialId
  929. in: query
  930. description: 特殊赛事的 ID。这是可选参数。
  931. required: false
  932. type: integer
  933. format: int64
  934. responses:
  935. '200':
  936. description: 成功
  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: 错误请求
  999. schema:
  1000. $ref: '#/definitions/ErrorResponse'
  1001. '401':
  1002. description: 未授权
  1003. schema:
  1004. $ref: '#/definitions/ErrorResponse'
  1005. '403':
  1006. description: 禁止访问
  1007. schema:
  1008. $ref: '#/definitions/ErrorResponse'
  1009. '500':
  1010. description: 服务器内部错误
  1011. schema:
  1012. $ref: '#/definitions/ExtendedErrorResponse'
  1013. deprecated: false
  1014. /v2/line:
  1015. get:
  1016. tags:
  1017. - Line
  1018. summary: 获取直盘线 - v2
  1019. description: 返回最新线。
  1020. operationId: Line_Straight_V2_Get
  1021. consumes: []
  1022. produces:
  1023. - application/json
  1024. parameters:
  1025. - name: leagueId
  1026. in: query
  1027. description: 联赛 ID。
  1028. required: true
  1029. type: integer
  1030. format: int32
  1031. - name: handicap
  1032. in: query
  1033. description: SPREAD、TOTAL_POINTS 和 TEAM_TOTAL_POINTS 投注类型需要此参数
  1034. required: true
  1035. type: number
  1036. format: double
  1037. - name: oddsFormat
  1038. in: query
  1039. description: 返回赔率的格式。默认为 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: 运动标识
  1051. required: true
  1052. type: integer
  1053. format: int32
  1054. - name: eventId
  1055. in: query
  1056. description: 赛事标识
  1057. required: true
  1058. type: integer
  1059. format: int64
  1060. - name: periodNumber
  1061. in: query
  1062. description: 这代表比赛的周期。请查看 Get Periods 端点以获取每个运动当前支持的周期列表。
  1063. required: true
  1064. type: integer
  1065. format: int32
  1066. - name: betType
  1067. in: query
  1068. description: 投注类型
  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: 选择的队伍类型。仅 SPREAD、MONEYLINE 和 TEAM_TOTAL_POINTS 投注类型需要此参数
  1079. required: false
  1080. type: string
  1081. enum:
  1082. - Team1
  1083. - Team2
  1084. - Draw
  1085. - name: side
  1086. in: query
  1087. description: 选择的侧。仅 TOTAL_POINTS 和 TEAM_TOTAL_POINTS 需要此参数
  1088. required: false
  1089. type: string
  1090. enum:
  1091. - OVER
  1092. - UNDER
  1093. responses:
  1094. '200':
  1095. description: 成功
  1096. schema:
  1097. $ref: '#/definitions/LineResponseV2'
  1098. '400':
  1099. description: 错误请求
  1100. schema:
  1101. $ref: '#/definitions/ErrorResponse'
  1102. '401':
  1103. description: 未授权
  1104. schema:
  1105. $ref: '#/definitions/ErrorResponse'
  1106. '403':
  1107. description: 禁止访问
  1108. schema:
  1109. $ref: '#/definitions/ErrorResponse'
  1110. '500':
  1111. description: 服务器内部错误
  1112. schema:
  1113. $ref: '#/definitions/ExtendedErrorResponse'
  1114. /v3/line/parlay:
  1115. post:
  1116. tags:
  1117. - Line
  1118. summary: 获取串关线 - v3
  1119. description: 返回串关线并计算赔率。
  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: 成功
  1134. schema:
  1135. $ref: '#/definitions/ParlayLinesResponseV3'
  1136. '400':
  1137. description: 错误请求
  1138. schema:
  1139. $ref: '#/definitions/ErrorResponse'
  1140. '401':
  1141. description: 未授权
  1142. schema:
  1143. $ref: '#/definitions/ErrorResponse'
  1144. '403':
  1145. description: 禁止访问
  1146. schema:
  1147. $ref: '#/definitions/ErrorResponse'
  1148. '500':
  1149. description: 服务器内部错误
  1150. schema:
  1151. $ref: '#/definitions/ExtendedErrorResponse'
  1152. /v1/line/teaser:
  1153. post:
  1154. tags:
  1155. - Line
  1156. summary: 获取过关线 - v1
  1157. description: 在提交前验证过关投注。成功时返回投注限额和价格。
  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: 成功
  1172. schema:
  1173. $ref: '#/definitions/TeaserLinesResponse'
  1174. '400':
  1175. description: 错误请求
  1176. schema:
  1177. $ref: '#/definitions/ErrorResponse'
  1178. '401':
  1179. description: 未授权
  1180. schema:
  1181. $ref: '#/definitions/ErrorResponse'
  1182. '403':
  1183. description: 禁止访问
  1184. schema:
  1185. $ref: '#/definitions/ErrorResponse'
  1186. '500':
  1187. description: 服务器内部错误
  1188. schema:
  1189. $ref: '#/definitions/ExtendedErrorResponse'
  1190. /v2/line/special:
  1191. get:
  1192. tags:
  1193. - Line
  1194. operationId: Line_Special_V2_Get
  1195. summary: 获取特殊线 - v2
  1196. description: 返回特殊线并计算赔率。
  1197. consumes: []
  1198. produces:
  1199. - application/json
  1200. parameters:
  1201. - name: oddsFormat
  1202. in: query
  1203. description: 返回赔率的格式。[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。
  1215. required: true
  1216. type: integer
  1217. format: int64
  1218. - name: contestantId
  1219. in: query
  1220. description: 参赛者 ID。
  1221. required: true
  1222. type: integer
  1223. format: int64
  1224. - name: handicap
  1225. in: query
  1226. description: 参赛者的让分。由于参赛者的让分是一个可变属性,可能会发生 line/special 返回 status:SUCCESS,但让分与客户端在调用 line/special 时拥有的让分不同。可以在请求中指定 handicap 参数,如果参赛者的让分已更改,它将返回 status:NOT_EXISTS。这样 line/special 与 /line 的工作方式更加一致。
  1227. required: false
  1228. type: number
  1229. format: double
  1230. responses:
  1231. '200':
  1232. description: 成功
  1233. schema:
  1234. $ref: '#/definitions/SpecialLineResponse'
  1235. '400':
  1236. description: 错误请求
  1237. schema:
  1238. $ref: '#/definitions/ErrorResponse'
  1239. '401':
  1240. description: 未授权
  1241. schema:
  1242. $ref: '#/definitions/ErrorResponse'
  1243. '403':
  1244. description: 禁止访问
  1245. schema:
  1246. $ref: '#/definitions/ErrorResponse'
  1247. '500':
  1248. description: 服务器内部错误
  1249. schema:
  1250. $ref: '#/definitions/ExtendedErrorResponse'
  1251. deprecated: false
  1252. /v3/sports:
  1253. get:
  1254. tags:
  1255. - Others
  1256. summary: 获取运动项目 - v3
  1257. description: 返回所有运动项目及其当前是否有线的状态。
  1258. operationId: Sports_V3_Get
  1259. consumes: []
  1260. produces:
  1261. - application/json
  1262. parameters: []
  1263. responses:
  1264. '200':
  1265. description: 成功
  1266. schema:
  1267. $ref: '#/definitions/SportsResponseV3'
  1268. '401':
  1269. description: 未授权
  1270. schema:
  1271. $ref: '#/definitions/ErrorResponse'
  1272. '403':
  1273. description: 禁止访问
  1274. schema:
  1275. $ref: '#/definitions/ErrorResponse'
  1276. '500':
  1277. description: 服务器内部错误
  1278. schema:
  1279. $ref: '#/definitions/LinesErrorResponse'
  1280. /v3/leagues:
  1281. get:
  1282. tags:
  1283. - Others
  1284. summary: 获取联赛 - v3
  1285. description: 返回所有体育联赛及其当前是否有线的状态。
  1286. operationId: Leagues_V3_Get
  1287. consumes: []
  1288. produces:
  1289. - application/json
  1290. parameters:
  1291. - name: sportId
  1292. in: query
  1293. description: 请求联赛的运动 ID。
  1294. required: true
  1295. type: string
  1296. responses:
  1297. '200':
  1298. description: 成功
  1299. schema:
  1300. $ref: '#/definitions/LeaguesV3'
  1301. '400':
  1302. description: 错误请求
  1303. schema:
  1304. $ref: '#/definitions/ErrorResponse'
  1305. '401':
  1306. description: 未授权
  1307. schema:
  1308. $ref: '#/definitions/ErrorResponse'
  1309. '403':
  1310. description: 禁止访问
  1311. schema:
  1312. $ref: '#/definitions/ErrorResponse'
  1313. '500':
  1314. description: 服务器内部错误
  1315. schema:
  1316. $ref: '#/definitions/ExtendedErrorResponse'
  1317. /v1/periods:
  1318. get:
  1319. tags:
  1320. - Others
  1321. summary: 获取周期 - v1
  1322. description: 返回指定运动的所有周期。
  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: 成功
  1335. schema:
  1336. $ref: '#/definitions/SportPeriod'
  1337. examples:
  1338. application/json:
  1339. periods:
  1340. - number: 0
  1341. description: 全场
  1342. shortDescription: FT
  1343. - number: 1
  1344. description: 上半场
  1345. shortDescription: 1st H
  1346. - number: 2
  1347. description: 下半场
  1348. shortDescription: 2nd H
  1349. '400':
  1350. description: 错误请求
  1351. schema:
  1352. $ref: '#/definitions/ErrorResponse'
  1353. '401':
  1354. description: 未授权
  1355. schema:
  1356. $ref: '#/definitions/ErrorResponse'
  1357. '403':
  1358. description: 禁止访问
  1359. schema:
  1360. $ref: '#/definitions/ErrorResponse'
  1361. '500':
  1362. description: 服务器内部错误
  1363. schema:
  1364. $ref: '#/definitions/ExtendedErrorResponse'
  1365. /v2/inrunning:
  1366. get:
  1367. tags:
  1368. - Others
  1369. summary: 获取进行中赛事 - v2
  1370. description: 返回所有状态显示为正在进行中的直播足球赛事。
  1371. operationId: InRunning_V2_Get
  1372. consumes: []
  1373. produces:
  1374. - application/json
  1375. parameters: []
  1376. responses:
  1377. '200':
  1378. description: 成功
  1379. schema:
  1380. $ref: '#/definitions/InRunningResponse'
  1381. '401':
  1382. description: 未授权
  1383. schema:
  1384. $ref: '#/definitions/ErrorResponse'
  1385. '403':
  1386. description: 禁止访问
  1387. schema:
  1388. $ref: '#/definitions/ErrorResponse'
  1389. '500':
  1390. description: 服务器内部错误
  1391. schema:
  1392. $ref: '#/definitions/ExtendedLinesErrorResponse'
  1393. /v1/teaser/groups:
  1394. get:
  1395. tags:
  1396. - Others
  1397. summary: 获取过关组 - v1
  1398. description: 返回所有过关组。
  1399. operationId: Teaser_Groups_V1_Get
  1400. consumes: []
  1401. produces:
  1402. - application/json
  1403. parameters:
  1404. - name: oddsFormat
  1405. in: query
  1406. description: 返回赔率的格式。[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: 成功
  1418. schema:
  1419. $ref: '#/definitions/TeaserGroupsResponse'
  1420. '400':
  1421. description: 错误请求
  1422. schema:
  1423. $ref: '#/definitions/ErrorResponse'
  1424. '401':
  1425. description: 未授权
  1426. schema:
  1427. $ref: '#/definitions/ErrorResponse'
  1428. '403':
  1429. description: 禁止访问
  1430. schema:
  1431. $ref: '#/definitions/ErrorResponse'
  1432. '500':
  1433. description: 服务器内部错误
  1434. schema:
  1435. $ref: '#/definitions/ExtendedErrorResponse'
  1436. /v1/cancellationreasons:
  1437. get:
  1438. tags:
  1439. - Others
  1440. summary: 获取取消原因 - v1
  1441. description: 查找所有取消原因
  1442. operationId: CancellationReasons_V1_Get
  1443. consumes: []
  1444. produces:
  1445. - application/json
  1446. parameters: []
  1447. responses:
  1448. '200':
  1449. description: 成功
  1450. schema:
  1451. $ref: '#/definitions/CancellationReasonResponse'
  1452. '401':
  1453. description: 未授权
  1454. schema:
  1455. $ref: '#/definitions/ErrorResponse'
  1456. '403':
  1457. description: 禁止访问
  1458. schema:
  1459. $ref: '#/definitions/ErrorResponse'
  1460. '500':
  1461. description: 服务器内部错误
  1462. schema:
  1463. $ref: '#/definitions/ExtendedErrorResponse'
  1464. /v2/currencies:
  1465. get:
  1466. tags:
  1467. - Others
  1468. summary: 获取货币 - v2
  1469. description: 返回支持的货币列表
  1470. operationId: Currencies_V2_Get
  1471. consumes: []
  1472. produces:
  1473. - application/json
  1474. parameters: []
  1475. responses:
  1476. '200':
  1477. description: 成功
  1478. schema:
  1479. $ref: '#/definitions/SuccessfulCurrenciesResponse'
  1480. '401':
  1481. description: 未授权
  1482. schema:
  1483. $ref: '#/definitions/ErrorResponse'
  1484. '403':
  1485. description: 禁止访问
  1486. schema:
  1487. $ref: '#/definitions/ErrorResponse'
  1488. '500':
  1489. description: 服务器内部错误
  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: 标识发生的错误类型的标识符。
  1502. message:
  1503. type: string
  1504. description: 错误描述。
  1505. description: 包含遇到的错误详细信息。
  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: 标识发生的错误的代码。
  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: 标识发生的错误的代码。
  1539. CancellationReasonResponse:
  1540. type: object
  1541. properties:
  1542. cancellationReasons:
  1543. type: array
  1544. description: 包含取消原因列表。
  1545. items:
  1546. $ref: '#/definitions/CancellationReason'
  1547. description: 取消原因响应数据
  1548. CancellationReason:
  1549. type: object
  1550. properties:
  1551. code:
  1552. type: string
  1553. description: 服务器分配的取消代码
  1554. example: FBS_CW_65
  1555. description:
  1556. type: string
  1557. description: 取消原因的文本描述
  1558. example: The event was postponed
  1559. description: 取消数据
  1560. SuccessfulCurrenciesResponse:
  1561. type: object
  1562. properties:
  1563. currencies:
  1564. type: array
  1565. description: 货币容器。
  1566. items:
  1567. $ref: '#/definitions/Currency'
  1568. Currency:
  1569. type: object
  1570. properties:
  1571. code:
  1572. type: string
  1573. description: 货币代码。
  1574. example: AED
  1575. name:
  1576. type: string
  1577. description: 货币名称。
  1578. example: United Arab Emirates Dirham
  1579. rate:
  1580. type: number
  1581. format: double
  1582. description: 对美元的汇率。
  1583. example: 3.6738
  1584. FixturesResponseV1:
  1585. type: object
  1586. properties:
  1587. sportId:
  1588. type: integer
  1589. format: int32
  1590. description: 与请求的运动 ID 相同。
  1591. last:
  1592. type: integer
  1593. format: int64
  1594. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  1595. league:
  1596. type: array
  1597. description: 包含联赛列表。
  1598. items:
  1599. $ref: '#/definitions/FixturesLeagueV1'
  1600. FixturesLeagueV1:
  1601. type: object
  1602. properties:
  1603. id:
  1604. type: integer
  1605. format: int32
  1606. description: 联赛 ID。
  1607. events:
  1608. type: array
  1609. description: 包含赛事列表。
  1610. items:
  1611. $ref: '#/definitions/FixtureV1'
  1612. FixtureV1:
  1613. type: object
  1614. properties:
  1615. id:
  1616. type: integer
  1617. format: int64
  1618. description: 赛事 ID。
  1619. starts:
  1620. type: string
  1621. format: date-time
  1622. description: 赛事开始时间(UTC)。
  1623. home:
  1624. type: string
  1625. description: 主队名称。
  1626. away:
  1627. type: string
  1628. description: 客队名称。
  1629. rotNum:
  1630. type: string
  1631. description: Team1 轮换号码。请注意,在 /fixtures 的下一版本中,rotNum 属性将被弃用。可以使用 ParentId 来分组相关赛事。
  1632. liveStatus:
  1633. type: integer
  1634. format: int32
  1635. description: |
  1636. 指示赛事的直播状态。
  1637. 0 = 此赛事不提供直播投注,
  1638. 1 = 直播投注赛事,
  1639. 2 = 将为此赛事提供直播投注
  1640. enum:
  1641. - 0
  1642. - 1
  1643. - 2
  1644. homePitcher:
  1645. type: string
  1646. description: 主队投手。仅适用于棒球。
  1647. awayPitcher:
  1648. type: string
  1649. description: 客队投手。仅适用于棒球。
  1650. status:
  1651. type: string
  1652. description: |
  1653. 赛事状态。
  1654. O = 这是比赛的起始状态。这意味着线开放投注,
  1655. H = 此状态表示线暂时不可用于投注,
  1656. I = 此状态表示一条或多条线有红圈(较低的最大投注金额)
  1657. enum:
  1658. - O
  1659. - H
  1660. - I
  1661. parlayRestriction:
  1662. type: integer
  1663. format: int32
  1664. description: |
  1665. 赛事的串关状态。
  1666. 0 = 允许串关,无限制,
  1667. 1 = 不允许串关此赛事,
  1668. 2 = 允许串关,但有限制。串关中不能有来自同一赛事的多个腿。具有相同轮换号码的所有赛事被视为同一赛事。
  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: 与请求的运动 ID 相同。
  1680. last:
  1681. type: integer
  1682. format: int64
  1683. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  1684. league:
  1685. type: array
  1686. description: 包含联赛列表。
  1687. items:
  1688. $ref: '#/definitions/FixturesLeagueV3'
  1689. FixturesLeagueV3:
  1690. type: object
  1691. properties:
  1692. id:
  1693. type: integer
  1694. format: int32
  1695. description: 联赛 ID。
  1696. name:
  1697. type: string
  1698. description: 联赛名称。
  1699. events:
  1700. type: array
  1701. description: 包含赛事列表。
  1702. items:
  1703. $ref: '#/definitions/FixtureV3'
  1704. FixtureV3:
  1705. type: object
  1706. properties:
  1707. id:
  1708. type: integer
  1709. format: int64
  1710. description: 赛事 ID。
  1711. parentId:
  1712. type: integer
  1713. format: int64
  1714. description: 如果赛事链接到另一个赛事,将填充 parentId。直播赛事将把赛前赛事作为父 ID。
  1715. starts:
  1716. type: string
  1717. format: date-time
  1718. description: 赛事开始时间(UTC)。
  1719. home:
  1720. type: string
  1721. description: 主队名称。
  1722. away:
  1723. type: string
  1724. description: 客队名称。
  1725. liveStatus:
  1726. type: integer
  1727. format: int32
  1728. description: |
  1729. 指示赛事的直播状态。
  1730. 0 = 此赛事不提供直播投注,
  1731. 1 = 直播投注赛事,
  1732. 2 = 将为此赛事提供直播投注
  1733. enum:
  1734. - 0
  1735. - 1
  1736. - 2
  1737. homePitcher:
  1738. type: string
  1739. description: 主队投手。仅适用于棒球。
  1740. awayPitcher:
  1741. type: string
  1742. description: 客队投手。仅适用于棒球。
  1743. betAcceptanceType:
  1744. type: integer
  1745. format: int32
  1746. description: |
  1747. 足球直播赛事投注接受类型。此类型表示向相应客户提供直播足球赛事。
  1748. 0 = 不适用。无投注接受类型限制。
  1749. 1 = 危险区。
  1750. 2 = 直播延迟。
  1751. 3 = 两者都有。
  1752. enum:
  1753. - 0
  1754. - 1
  1755. - 2
  1756. - 3
  1757. parlayRestriction:
  1758. type: integer
  1759. format: int32
  1760. description: |
  1761. 赛事的串关状态。
  1762. 0 = 允许串关,无限制,
  1763. 1 = 不允许串关此赛事,
  1764. 2 = 允许串关,但有限制。串关中不能有来自同一赛事的多个腿。具有相同轮换号码的所有赛事被视为同一赛事。
  1765. enum:
  1766. - 0
  1767. - 1
  1768. - 2
  1769. altTeaser:
  1770. type: boolean
  1771. description: 赛事是否提供替代过关点数。具有替代过关点数的赛事可能与过关定义不同。
  1772. resultingUnit:
  1773. type: string
  1774. description: |
  1775. 指定赛事基于什么结算,例如角球、黄牌
  1776. version:
  1777. type: integer
  1778. format: int64
  1779. description: |
  1780. 赛程版本,当赛程有更改时会增加。
  1781. SettledFixturesSportV3:
  1782. type: object
  1783. properties:
  1784. sportId:
  1785. type: integer
  1786. format: int32
  1787. description: 与请求的运动 ID 相同。
  1788. last:
  1789. type: integer
  1790. format: int64
  1791. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  1792. leagues:
  1793. type: array
  1794. description: 包含联赛列表。
  1795. items:
  1796. $ref: '#/definitions/SettledFixturesLeagueV3'
  1797. SettledFixturesLeagueV3:
  1798. type: object
  1799. properties:
  1800. id:
  1801. type: integer
  1802. format: int32
  1803. description: 联赛 ID。
  1804. events:
  1805. type: array
  1806. description: 包含赛事列表。
  1807. items:
  1808. $ref: '#/definitions/SettledFixturesEventV3'
  1809. SettledFixturesEventV3:
  1810. type: object
  1811. properties:
  1812. id:
  1813. type: integer
  1814. format: int64
  1815. description: 赛事 ID。
  1816. periods:
  1817. type: array
  1818. description: 包含周期列表。
  1819. items:
  1820. $ref: '#/definitions/SettledFixturesPeriodV3'
  1821. SettledFixturesPeriodV3:
  1822. type: object
  1823. properties:
  1824. number:
  1825. type: integer
  1826. format: int32
  1827. description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
  1828. status:
  1829. type: integer
  1830. format: int32
  1831. description: |
  1832. 周期结算状态。
  1833. 1 = 赛事周期已结算,
  1834. 2 = 赛事周期已重新结算,
  1835. 3 = 赛事周期已取消,
  1836. 4 = 赛事周期已重新结算为取消,
  1837. 5 = 赛事已删除
  1838. enum:
  1839. - 1
  1840. - 2
  1841. - 3
  1842. - 4
  1843. - 5
  1844. settlementId:
  1845. type: integer
  1846. format: int64
  1847. description: 结算的唯一 ID。如果重新结算,将生成新的 settlementId 和 settledAt。
  1848. settledAt:
  1849. type: string
  1850. format: date-time
  1851. description: 周期结算的日期和时间(UTC)。
  1852. team1Score:
  1853. type: integer
  1854. format: int32
  1855. description: Team1 得分。
  1856. team2Score:
  1857. type: integer
  1858. format: int32
  1859. description: Team2 得分。
  1860. cancellationReason:
  1861. $ref: '#/definitions/CancellationReasonType'
  1862. CancellationReasonType:
  1863. type: object
  1864. properties:
  1865. code:
  1866. type: string
  1867. description: 取消原因代码
  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: 运动容器
  1883. items:
  1884. $ref: '#/definitions/InRunningSport'
  1885. InRunningSport:
  1886. type: object
  1887. properties:
  1888. id:
  1889. type: integer
  1890. format: int32
  1891. description: 运动 ID
  1892. leagues:
  1893. type: array
  1894. description: 联赛容器
  1895. items:
  1896. $ref: '#/definitions/InRunningLeague'
  1897. InRunningLeague:
  1898. type: object
  1899. properties:
  1900. id:
  1901. type: integer
  1902. format: int32
  1903. description: 联赛 ID
  1904. events:
  1905. type: array
  1906. description: 赛事容器
  1907. items:
  1908. $ref: '#/definitions/InRunningEvent'
  1909. InRunningEvent:
  1910. type: object
  1911. properties:
  1912. id:
  1913. type: integer
  1914. format: int64
  1915. description: 比赛 ID
  1916. state:
  1917. type: integer
  1918. format: int32
  1919. description: |
  1920. 比赛状态。
  1921. 1 = 上半场进行中,
  1922. 2 = 半场休息进行中,
  1923. 3 = 下半场进行中,
  1924. 4 = 常规时间结束,
  1925. 5 = 加时赛上半场进行中,
  1926. 6 = 加时赛半场休息进行中,
  1927. 7 = 加时赛下半场进行中,
  1928. 8 = 加时赛结束,
  1929. 9 = 比赛结束,
  1930. 10 = 比赛暂时暂停,
  1931. 11 = 点球大战进行中
  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: 已过分钟数
  1948. LeaguesV3:
  1949. type: object
  1950. properties:
  1951. leagues:
  1952. type: array
  1953. description: 联赛容器
  1954. items:
  1955. $ref: '#/definitions/LeagueV3'
  1956. LeagueV3:
  1957. type: object
  1958. properties:
  1959. id:
  1960. type: integer
  1961. format: int32
  1962. description: 联赛 ID。
  1963. name:
  1964. type: string
  1965. description: 联赛名称。
  1966. homeTeamType:
  1967. type: string
  1968. description: 指定主队是 team1 还是 team2。您需要此信息来下注。
  1969. hasOfferings:
  1970. type: boolean
  1971. description: 联赛当前是否有赛事或特殊赛事。
  1972. container:
  1973. type: string
  1974. description: 代表联赛的分组,通常是地区/国家
  1975. allowRoundRobins:
  1976. type: boolean
  1977. description: 指定您是否可以在此联赛的赛事上下注串关循环赛。
  1978. leagueSpecialsCount:
  1979. type: integer
  1980. format: int32
  1981. description: 指示给定联赛中有多少特殊赛事。
  1982. eventSpecialsCount:
  1983. type: integer
  1984. format: int32
  1985. description: 指示给定联赛中有多少比赛特殊赛事。
  1986. eventCount:
  1987. type: integer
  1988. format: int32
  1989. description: 指示给定联赛中有多少赛事。
  1990. LineResponseV2:
  1991. type: object
  1992. properties:
  1993. status:
  1994. type: string
  1995. description: 如果值为 NOT_EXISTS,则这将是响应中的唯一参数。所有其他参数都将为空。[SUCCESS = 成功, NOT_EXISTS = 不再提供线]
  1996. enum:
  1997. - SUCCESS
  1998. - NOT_EXISTS
  1999. price:
  2000. type: number
  2001. format: double
  2002. description: 最新价格。
  2003. lineId:
  2004. type: integer
  2005. format: int64
  2006. description: 下注所需的线标识。
  2007. altLineId:
  2008. type: integer
  2009. format: int64
  2010. description: 如果让分在替代线上,则需要此参数来下注,否则响应中将不会填充此参数。
  2011. team1Score:
  2012. type: integer
  2013. format: int32
  2014. description: 周期 0 的 Team 1 得分。仅适用于足球。
  2015. team2Score:
  2016. type: integer
  2017. format: int32
  2018. description: 周期 0 的 Team 2 得分。仅适用于足球。
  2019. team1RedCards:
  2020. type: integer
  2021. format: int32
  2022. description: 周期 0 的 Team 1 红牌数。仅适用于足球。
  2023. team2RedCards:
  2024. type: integer
  2025. format: int32
  2026. description: 周期 0 的 Team 2 红牌数。仅适用于足球。
  2027. maxRiskStake:
  2028. type: number
  2029. format: double
  2030. description: 最大可投注风险金额。
  2031. minRiskStake:
  2032. type: number
  2033. format: double
  2034. description: 最小可投注风险金额。
  2035. maxWinStake:
  2036. type: number
  2037. format: double
  2038. description: 最大可投注赢利金额。
  2039. minWinStake:
  2040. type: number
  2041. format: double
  2042. description: 最小可投注赢利金额。
  2043. effectiveAsOf:
  2044. type: string
  2045. description: 线在此日期和时间(UTC)生效。
  2046. periodTeam1Score:
  2047. type: integer
  2048. format: int32
  2049. description: 支持周期的 Team 1 得分。仅适用于足球。
  2050. periodTeam2Score:
  2051. type: integer
  2052. format: int32
  2053. description: 支持周期的 Team 2 得分。仅适用于足球。
  2054. periodTeam1RedCards:
  2055. type: integer
  2056. format: int32
  2057. description: 支持周期的 Team 1 红牌数。仅适用于足球。
  2058. periodTeam2RedCards:
  2059. type: integer
  2060. format: int32
  2061. description: 支持周期的 Team 2 红牌数。仅适用于足球。
  2062. ParlayLinesRequestV3:
  2063. type: object
  2064. properties:
  2065. oddsFormat:
  2066. type: string
  2067. description: 响应中的赔率将采用此格式。[American, Decimal, HongKong, Indonesian, Malay]
  2068. enum:
  2069. - American
  2070. - Decimal
  2071. - HongKong
  2072. - Indonesian
  2073. - Malay
  2074. legs:
  2075. type: array
  2076. description: 这是腿的集合
  2077. items:
  2078. $ref: '#/definitions/ParlayLineRequestV3'
  2079. ParlayLineRequestV3:
  2080. type: object
  2081. properties:
  2082. uniqueLegId:
  2083. type: string
  2084. description: 腿的唯一 ID。用于在响应中识别和匹配腿。
  2085. eventId:
  2086. type: integer
  2087. format: int64
  2088. description: 赛事 ID。
  2089. periodNumber:
  2090. type: integer
  2091. format: int32
  2092. description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)、2(下半场)。
  2093. legBetType:
  2094. type: string
  2095. description: 支持 SPREAD、MONEYLINE、TOTAL_POINTS 和 TEAM_TOTAL_POINTS。
  2096. enum:
  2097. - SPREAD
  2098. - MONEYLINE
  2099. - TOTAL_POINTS
  2100. - TEAM_TOTAL_POINTS
  2101. team:
  2102. type: string
  2103. description: 选择的队伍类型。仅 SPREAD 和 MONEYLINE 投注类型需要此参数。[Team1, Team2, Draw(仅限 MONEYLINE)]
  2104. enum:
  2105. - Team1
  2106. - Team2
  2107. - Draw
  2108. side:
  2109. type: string
  2110. description: 选择的侧。仅 TOTAL_POINTS 投注类型需要此参数。[OVER, UNDER]
  2111. enum:
  2112. - OVER
  2113. - UNDER
  2114. handicap:
  2115. type: number
  2116. format: double
  2117. description: SPREAD 和 TOTAL_POINTS 投注类型需要此参数。
  2118. required:
  2119. - uniqueLegId
  2120. - eventId
  2121. - periodNumber
  2122. - legBetType
  2123. ParlayLinesResponseV3:
  2124. type: object
  2125. properties:
  2126. status:
  2127. type: string
  2128. description: 串关状态 [VALID = 串关有效, PROCESSED_WITH_ERROR = 串关包含错误]
  2129. example: PROCESSED_WITH_ERROR
  2130. enum:
  2131. - VALID
  2132. - PROCESSED_WITH_ERROR
  2133. error:
  2134. type: string
  2135. description: INVALID_LEGS。表示一个或多个腿无效。仅在状态为 PROCESSED_WITH_ERROR 时填充。
  2136. example: INVALID_LEGS
  2137. minRiskStake:
  2138. type: number
  2139. format: double
  2140. description: 允许的最小投注金额。
  2141. maxParlayRiskStake:
  2142. type: number
  2143. format: double
  2144. description: 串关投注允许的最大投注金额。
  2145. maxRoundRobinTotalRisk:
  2146. type: number
  2147. format: double
  2148. description: 循环赛中所有串关投注允许的最大总投注金额。
  2149. maxRoundRobinTotalWin:
  2150. type: number
  2151. format: double
  2152. description: 循环赛中所有串关投注允许的最大总赢利金额。
  2153. roundRobinOptionWithOdds:
  2154. type: array
  2155. description: 提供所有可接受的循环赛选项数组,以及该选项的串关赔率。
  2156. items:
  2157. $ref: '#/definitions/RoundRobinOptionWithOddsV3'
  2158. legs:
  2159. type: array
  2160. description: 腿的集合(对象的格式如下所述)。
  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. 循环赛选项
  2172. Parlay = 包含所有投注的单个串关(非循环赛),
  2173. TwoLegRoundRobin = 多个串关,每个有 2 个投注(循环赛风格),
  2174. ThreeLegRoundRobin = 多个串关,每个有 3 个投注(循环赛风格),
  2175. FourLegRoundRobin = 多个串关,每个有 4 个投注(循环赛风格),
  2176. FiveLegRoundRobin = 多个串关,每个有 5 个投注(循环赛风格),
  2177. SixLegRoundRobin = 多个串关,每个有 6 个投注(循环赛风格),
  2178. SevenLegRoundRobin = 多个串关,每个有 7 个投注(循环赛风格),
  2179. EightLegRoundRobin = 多个串关,每个有 8 个投注(循环赛风格)
  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: 此选项的串关赔率。
  2193. unroundedDecimalOdds:
  2194. type: number
  2195. format: double
  2196. description: 未四舍五入的串关赔率(十进制格式),仅用于计算
  2197. numberOfBets:
  2198. type: number
  2199. format: int
  2200. description: roundRobinOption 中的投注数量。
  2201. required:
  2202. - roundRobinOption
  2203. - odds
  2204. - unroundedDecimalOdds
  2205. ParlayLineLeg:
  2206. type: object
  2207. properties:
  2208. status:
  2209. type: string
  2210. description: 请求状态。[VALID = 有效腿, PROCESSED_WITH_ERROR = 处理时出错]
  2211. enum:
  2212. - VALID
  2213. - PROCESSED_WITH_ERROR
  2214. errorCode:
  2215. type: string
  2216. description: |
  2217. 当状态为 PROCESSED_WITH_ERROR 时,提供一个代码指示具体问题。
  2218. CORRELATED = 该腿与另一个腿相关,
  2219. CANNOT_PARLAY_LIVE_GAME = 投注放在直播比赛上,
  2220. EVENT_NO_LONGER_AVAILABLE_FOR_BETTING = 该赛事不再可用于串关,
  2221. EVENT_NOT_OFFERED_FOR_PARLAY = 该赛事不提供串关,
  2222. LINE_DOES_NOT_BELONG_TO_EVENT = LineId 与请求中指定的 EventId 不匹配,
  2223. WAGER_TYPE_NO_LONGER_AVAILABLE_FOR_BETTING = 投注类型不再可用于投注,
  2224. WAGER_TYPE_NOT_VALID_FOR_PARLAY = 投注类型对串关无效,
  2225. 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: 来自请求的 legId 的回显。
  2238. lineId:
  2239. type: integer
  2240. format: int64
  2241. description: 线标识。
  2242. altLineId:
  2243. type: integer
  2244. format: int64
  2245. description: 如果请求了替代线,将返回该线的 ID。
  2246. price:
  2247. type: number
  2248. format: double
  2249. description: 价格
  2250. correlatedLegs:
  2251. type: array
  2252. description: 如果 errorCode 为 CORRELATED,将包含所有相关腿的 legIds。
  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: 唯一标识符。可以从调用 v1/teaser/groups 端点检索过关详情。
  2265. oddsFormat:
  2266. type: string
  2267. description: 返回赔率的格式。[American, Decimal, HongKong, Indonesian, Malay]
  2268. enum:
  2269. - American
  2270. - Decimal
  2271. - HongKong
  2272. - Indonesian
  2273. - Malay
  2274. legs:
  2275. type: array
  2276. description: 过关腿的集合。
  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: 客户端生成的用于唯一识别腿的 GUID。
  2289. eventId:
  2290. type: integer
  2291. format: int64
  2292. description: 唯一标识符。
  2293. periodNumber:
  2294. type: integer
  2295. format: int32
  2296. description: 正在投注的比赛周期。可以使用 v1/periods 端点检索某项运动的所有周期。
  2297. betType:
  2298. type: string
  2299. description: 投注类型。目前仅支持 SPREAD 和 TOTAL_POINTS。[SPREAD, TOTAL_POINTS]
  2300. enum:
  2301. - SPREAD
  2302. - TOTAL_POINTS
  2303. team:
  2304. type: string
  2305. description: 让分盘投注的队伍。[Team1, Team2]
  2306. enum:
  2307. - Team1
  2308. - Team2
  2309. side:
  2310. type: string
  2311. description: 总分盘投注的侧。[OVER, UNDER]
  2312. enum:
  2313. - OVER
  2314. - UNDER
  2315. handicap:
  2316. type: number
  2317. format: double
  2318. description: 点数。
  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: 请求状态。[VALID = 过关有效, PROCESSED_WITH_ERROR = 过关包含一个或多个错误]
  2331. example: PROCESSED_WITH_ERROR
  2332. enum:
  2333. - VALID
  2334. - PROCESSED_WITH_ERROR
  2335. errorCode:
  2336. type: string
  2337. description: |
  2338. 当状态为 PROCESSED_WITH_ERROR 时,提供一个代码指示具体问题。
  2339. INVALID_LEGS = 一个或多个腿无效,
  2340. SAME_EVENT_ONLY_REQUIRED = 指定的过关要求所有腿来自同一赛事,
  2341. TEASER_DISABLED = 过关已被禁用,无法投注,
  2342. TEASER_DOES_NOT_EXIST = 找不到过关标识符,
  2343. TOO_FEW_LEGS = 您不满足指定过关的最小腿数要求,
  2344. TOO_MANY_LEGS = 您超过了指定过关的最大腿数,
  2345. UNKNOWN = 发生未知错误
  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: 投注价格。
  2358. minRiskStake:
  2359. type: number
  2360. format: double
  2361. description: WIN_RISK_TYPE.RISK 的最小投注金额。
  2362. maxRiskStake:
  2363. type: number
  2364. format: double
  2365. description: WIN_RISK_TYPE.RISK 的最大投注金额。
  2366. minWinStake:
  2367. type: number
  2368. format: double
  2369. description: WIN_RISK_TYPE.WIN 的最小投注金额。
  2370. maxWinStake:
  2371. type: number
  2372. format: double
  2373. description: WIN_RISK_TYPE.WIN 的最大投注金额。
  2374. legs:
  2375. type: array
  2376. description: 来自请求的过关腿集合。
  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: 请求状态。[VALID = 过关有效, PROCESSED_WITH_ERROR = 过关包含错误]
  2388. example: PROCESSED_WITH_ERROR
  2389. enum:
  2390. - VALID
  2391. - PROCESSED_WITH_ERROR
  2392. errorCode:
  2393. type: string
  2394. description: |
  2395. 当状态为 PROCESSED_WITH_ERROR 时,提供一个代码指示具体问题。
  2396. EVENT_NOT_FOUND = 找不到指定的赛事,
  2397. POINTS_NO_LONGER_AVAILABLE = 请求的点数不再可用。这意味着线已移动,
  2398. UNKNOWN = 发生未知错误,
  2399. WAGER_TYPE_NOT_VALID_FOR_TEASER = 指定的投注类型对过关无效
  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: 来自请求的腿的唯一 ID 回显。
  2408. lineId:
  2409. type: integer
  2410. format: int64
  2411. description: 线标识。
  2412. required:
  2413. - legId
  2414. - status
  2415. OddsResponseV3:
  2416. type: object
  2417. properties:
  2418. sportId:
  2419. type: integer
  2420. format: int32
  2421. description: 与请求的运动 ID 相同。
  2422. last:
  2423. type: integer
  2424. format: int64
  2425. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  2426. leagues:
  2427. type: array
  2428. description: 包含联赛列表。
  2429. items:
  2430. $ref: '#/definitions/OddsLeagueV3'
  2431. OddsResponseV4:
  2432. type: object
  2433. properties:
  2434. sportId:
  2435. type: integer
  2436. format: int32
  2437. description: 与请求的运动 ID 相同。
  2438. last:
  2439. type: integer
  2440. format: int64
  2441. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  2442. leagues:
  2443. type: array
  2444. description: 包含联赛列表。
  2445. items:
  2446. $ref: '#/definitions/OddsLeagueV4'
  2447. OddsLeagueV3:
  2448. type: object
  2449. properties:
  2450. id:
  2451. type: integer
  2452. format: int32
  2453. description: 联赛 ID。
  2454. events:
  2455. type: array
  2456. description: 包含赛事列表。
  2457. items:
  2458. $ref: '#/definitions/OddsEventV3'
  2459. OddsLeagueV4:
  2460. type: object
  2461. properties:
  2462. id:
  2463. type: integer
  2464. format: int32
  2465. description: 联赛 ID。
  2466. events:
  2467. type: array
  2468. description: 包含赛事列表。
  2469. items:
  2470. $ref: '#/definitions/OddsEventV4'
  2471. OddsEventV3:
  2472. type: object
  2473. properties:
  2474. id:
  2475. type: integer
  2476. format: int64
  2477. description: 赛事 ID。
  2478. awayScore:
  2479. type: number
  2480. format: double
  2481. description: 客队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2482. homeScore:
  2483. type: number
  2484. format: double
  2485. description: 主队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2486. awayRedCards:
  2487. type: integer
  2488. format: int32
  2489. description: 客队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2490. homeRedCards:
  2491. type: integer
  2492. format: int32
  2493. description: 主队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2494. periods:
  2495. type: array
  2496. description: 包含周期列表。
  2497. items:
  2498. $ref: '#/definitions/OddsPeriodV3'
  2499. OddsEventV4:
  2500. type: object
  2501. properties:
  2502. id:
  2503. type: integer
  2504. format: int64
  2505. description: 赛事 ID。
  2506. awayScore:
  2507. type: number
  2508. format: double
  2509. description: 客队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2510. homeScore:
  2511. type: number
  2512. format: double
  2513. description: 主队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2514. awayRedCards:
  2515. type: integer
  2516. format: int32
  2517. description: 客队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2518. homeRedCards:
  2519. type: integer
  2520. format: int32
  2521. description: 主队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
  2522. periods:
  2523. type: array
  2524. description: 包含周期列表。
  2525. items:
  2526. $ref: '#/definitions/OddsPeriodV4'
  2527. OddsPeriodV3:
  2528. type: object
  2529. properties:
  2530. lineId:
  2531. type: integer
  2532. format: int64
  2533. description: 线 ID。
  2534. number:
  2535. type: integer
  2536. format: int32
  2537. description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
  2538. cutoff:
  2539. type: string
  2540. format: date-time
  2541. description: 周期的投注截止日期(UTC)。
  2542. status:
  2543. type: integer
  2544. format: int32
  2545. description: |
  2546. 1 - 在线,周期开放投注
  2547. 2 - 离线,周期不开放投注
  2548. example: 1
  2549. maxSpread:
  2550. type: number
  2551. format: double
  2552. description: 最大让分盘投注。仅在直盘赔率响应中。
  2553. maxMoneyline:
  2554. type: number
  2555. format: double
  2556. description: 最大独赢盘投注。仅在直盘赔率响应中。
  2557. maxTotal:
  2558. type: number
  2559. format: double
  2560. description: 最大总分盘投注。仅在直盘赔率响应中。
  2561. maxTeamTotal:
  2562. type: number
  2563. format: double
  2564. description: 最大队伍总分盘投注。仅在直盘赔率响应中。
  2565. moneylineUpdatedAt:
  2566. type: string
  2567. format: date-time
  2568. description: 最后一次独赢盘更新的日期时间。
  2569. spreadUpdatedAt:
  2570. type: string
  2571. format: date-time
  2572. description: 最后一次让分盘更新的日期时间。
  2573. totalUpdatedAt:
  2574. type: string
  2575. format: date-time
  2576. description: 最后一次总分盘更新的日期时间。
  2577. teamTotalUpdatedAt:
  2578. type: string
  2579. format: date-time
  2580. description: 最后一次队伍总分盘更新的日期时间。
  2581. spreads:
  2582. type: array
  2583. description: 让分盘赔率容器。
  2584. items:
  2585. $ref: '#/definitions/OddsSpreadV3'
  2586. moneyline:
  2587. $ref: '#/definitions/OddsMoneylineV3'
  2588. totals:
  2589. type: array
  2590. description: 队伍总分容器。
  2591. items:
  2592. $ref: '#/definitions/OddsTotalV3'
  2593. teamTotal:
  2594. $ref: '#/definitions/OddsTeamTotalsV3'
  2595. awayScore:
  2596. type: number
  2597. format: double
  2598. description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2599. homeScore:
  2600. type: number
  2601. format: double
  2602. description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2603. awayRedCards:
  2604. type: number
  2605. format: int32
  2606. description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2607. homeRedCards:
  2608. type: number
  2609. format: int32
  2610. description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2611. OddsPeriodV4:
  2612. type: object
  2613. properties:
  2614. lineId:
  2615. type: integer
  2616. format: int64
  2617. description: 线 ID。
  2618. number:
  2619. type: integer
  2620. format: int32
  2621. description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
  2622. cutoff:
  2623. type: string
  2624. format: date-time
  2625. description: 周期的投注截止日期(UTC)。
  2626. status:
  2627. type: integer
  2628. format: int32
  2629. description: |
  2630. 1 - 在线,周期开放投注
  2631. 2 - 离线,周期不开放投注
  2632. example: 1
  2633. maxSpread:
  2634. type: number
  2635. format: double
  2636. description: 最大让分盘投注。仅在直盘赔率响应中。
  2637. maxMoneyline:
  2638. type: number
  2639. format: double
  2640. description: 最大独赢盘投注。仅在直盘赔率响应中。
  2641. maxTotal:
  2642. type: number
  2643. format: double
  2644. description: 最大总分盘投注。仅在直盘赔率响应中。
  2645. maxTeamTotal:
  2646. type: number
  2647. format: double
  2648. description: 最大队伍总分盘投注。仅在直盘赔率响应中。
  2649. moneylineUpdatedAt:
  2650. type: string
  2651. format: date-time
  2652. description: 最后一次独赢盘更新的日期时间。
  2653. spreadUpdatedAt:
  2654. type: string
  2655. format: date-time
  2656. description: 最后一次让分盘更新的日期时间。
  2657. totalUpdatedAt:
  2658. type: string
  2659. format: date-time
  2660. description: 最后一次总分盘更新的日期时间。
  2661. teamTotalUpdatedAt:
  2662. type: string
  2663. format: date-time
  2664. description: 最后一次队伍总分盘更新的日期时间。
  2665. spreads:
  2666. type: array
  2667. description: 让分盘赔率容器。
  2668. items:
  2669. $ref: '#/definitions/OddsSpreadV4'
  2670. moneyline:
  2671. $ref: '#/definitions/OddsMoneylineV4'
  2672. totals:
  2673. type: array
  2674. description: 队伍总分容器。
  2675. items:
  2676. $ref: '#/definitions/OddsTotalV4'
  2677. teamTotal:
  2678. $ref: '#/definitions/OddsTeamTotalsV4'
  2679. awayScore:
  2680. type: number
  2681. format: double
  2682. description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2683. homeScore:
  2684. type: number
  2685. format: double
  2686. description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2687. awayRedCards:
  2688. type: number
  2689. format: int32
  2690. description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2691. homeRedCards:
  2692. type: number
  2693. format: int32
  2694. description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  2695. OddsSpreadV3:
  2696. type: object
  2697. properties:
  2698. altLineId:
  2699. type: integer
  2700. format: int64
  2701. description: 仅在为替代线时存在。
  2702. hdp:
  2703. type: number
  2704. format: double
  2705. description: 主队让分。
  2706. home:
  2707. type: number
  2708. format: double
  2709. description: 主队价格。
  2710. away:
  2711. type: number
  2712. format: double
  2713. description: 客队价格。
  2714. max:
  2715. type: number
  2716. format: double
  2717. nullable: true
  2718. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
  2719. OddsSpreadV4:
  2720. type: object
  2721. properties:
  2722. altLineId:
  2723. type: integer
  2724. format: int64
  2725. description: 仅在为替代线时存在。
  2726. hdp:
  2727. type: number
  2728. format: double
  2729. description: 主队让分。
  2730. home:
  2731. type: number
  2732. format: double
  2733. description: 主队价格。
  2734. away:
  2735. type: number
  2736. format: double
  2737. description: 客队价格。
  2738. max:
  2739. type: number
  2740. format: double
  2741. nullable: true
  2742. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
  2743. OddsMoneylineV3:
  2744. type: object
  2745. properties:
  2746. home:
  2747. type: number
  2748. format: double
  2749. description: 客队价格
  2750. away:
  2751. type: number
  2752. format: double
  2753. description: 客队价格。
  2754. draw:
  2755. type: number
  2756. format: double
  2757. description: 平局价格。仅在我们提供平局价格的事件中存在。
  2758. OddsMoneylineV4:
  2759. type: object
  2760. properties:
  2761. home:
  2762. type: number
  2763. format: double
  2764. description: 客队价格
  2765. away:
  2766. type: number
  2767. format: double
  2768. description: 客队价格。
  2769. draw:
  2770. type: number
  2771. format: double
  2772. description: 平局价格。仅在我们提供平局价格的事件中存在。
  2773. OddsTotalV3:
  2774. type: object
  2775. properties:
  2776. altLineId:
  2777. type: integer
  2778. format: int64
  2779. description: 仅在为替代线时存在。
  2780. points:
  2781. type: number
  2782. format: double
  2783. description: 总分。
  2784. over:
  2785. type: number
  2786. format: double
  2787. description: 大价格。
  2788. under:
  2789. type: number
  2790. format: double
  2791. description: 小价格。
  2792. max:
  2793. type: number
  2794. format: double
  2795. nullable: true
  2796. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
  2797. OddsTotalV4:
  2798. type: object
  2799. properties:
  2800. altLineId:
  2801. type: integer
  2802. format: int64
  2803. description: 仅在为替代线时存在。
  2804. points:
  2805. type: number
  2806. format: double
  2807. description: 总分。
  2808. over:
  2809. type: number
  2810. format: double
  2811. description: 大价格。
  2812. under:
  2813. type: number
  2814. format: double
  2815. description: 小价格。
  2816. max:
  2817. type: number
  2818. format: double
  2819. nullable: true
  2820. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
  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: 主队总分容器。
  2834. items:
  2835. $ref: '#/definitions/OddsTeamTotalV4'
  2836. away:
  2837. type: array
  2838. description: 客队总分容器。
  2839. items:
  2840. $ref: '#/definitions/OddsTeamTotalV4'
  2841. OddsTeamTotalV3:
  2842. type: object
  2843. properties:
  2844. points:
  2845. type: number
  2846. format: double
  2847. description: 总分。
  2848. over:
  2849. type: number
  2850. format: double
  2851. description: 大价格。
  2852. under:
  2853. type: number
  2854. format: double
  2855. description: 小价格。
  2856. OddsTeamTotalV4:
  2857. type: object
  2858. properties:
  2859. altLineId:
  2860. type: number
  2861. format: int64
  2862. description: 仅在为替代线时存在。
  2863. points:
  2864. type: number
  2865. format: double
  2866. description: 总分。
  2867. over:
  2868. type: number
  2869. format: double
  2870. description: 大价格。
  2871. under:
  2872. type: number
  2873. format: double
  2874. description: 小价格。
  2875. max:
  2876. type: number
  2877. format: double
  2878. nullable: true
  2879. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTeamTotal` 市场限额。
  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: 与请求的运动 ID 相同。
  2891. last:
  2892. type: integer
  2893. format: int64
  2894. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  2895. leagues:
  2896. type: array
  2897. description: 包含联赛列表。
  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: 与请求的运动 ID 相同。
  2911. last:
  2912. type: integer
  2913. format: int64
  2914. description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
  2915. leagues:
  2916. type: array
  2917. description: 包含联赛列表。
  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: 联赛 ID。
  2931. events:
  2932. type: array
  2933. description: 包含赛事列表。
  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: 联赛 ID。
  2946. events:
  2947. type: array
  2948. description: 包含赛事列表。
  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: 赛事 ID。
  2961. awayScore:
  2962. type: number
  2963. format: double
  2964. description: 客队得分。仅适用于直播足球赛事。
  2965. homeScore:
  2966. type: number
  2967. format: double
  2968. description: 主队得分。仅适用于直播足球赛事。
  2969. awayRedCards:
  2970. type: integer
  2971. format: int32
  2972. description: 客队红牌数。仅适用于直播足球赛事。
  2973. homeRedCards:
  2974. type: integer
  2975. format: int32
  2976. description: 主队红牌数。仅适用于直播足球赛事。
  2977. periods:
  2978. type: array
  2979. description: 包含周期列表。
  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: 赛事 ID。
  2992. awayScore:
  2993. type: number
  2994. format: double
  2995. description: 客队得分。仅适用于直播足球赛事。
  2996. homeScore:
  2997. type: number
  2998. format: double
  2999. description: 主队得分。仅适用于直播足球赛事。
  3000. awayRedCards:
  3001. type: integer
  3002. format: int32
  3003. description: 客队红牌数。仅适用于直播足球赛事。
  3004. homeRedCards:
  3005. type: integer
  3006. format: int32
  3007. description: 主队红牌数。仅适用于直播足球赛事。
  3008. periods:
  3009. type: array
  3010. description: 包含周期列表。
  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: 线 ID。
  3023. number:
  3024. type: integer
  3025. format: int32
  3026. description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
  3027. cutoff:
  3028. type: string
  3029. format: date-time
  3030. description: 周期的投注截止日期(UTC)。
  3031. status:
  3032. type: integer
  3033. format: int32
  3034. description: |
  3035. 1 - 在线,周期开放投注
  3036. 2 - 离线,周期不开放投注
  3037. example: 1
  3038. maxSpread:
  3039. type: number
  3040. format: double
  3041. description: 最大让分盘投注。仅在直盘赔率响应中。
  3042. maxMoneyline:
  3043. type: number
  3044. format: double
  3045. description: 最大独赢盘投注。仅在直盘赔率响应中。
  3046. maxTotal:
  3047. type: number
  3048. format: double
  3049. description: 最大总分盘投注。仅在直盘赔率响应中。
  3050. maxTeamTotal:
  3051. type: number
  3052. format: double
  3053. description: 最大队伍总分盘投注。仅在直盘赔率响应中。
  3054. moneylineUpdatedAt:
  3055. type: number
  3056. format: double
  3057. description: 最后一次独赢盘更新的日期时间。
  3058. spreadUpdatedAt:
  3059. type: number
  3060. format: double
  3061. description: 最后一次让分盘更新的日期时间。
  3062. totalUpdatedAt:
  3063. type: number
  3064. format: double
  3065. description: 最后一次总分盘更新的日期时间。
  3066. teamTotalUpdatedAt:
  3067. type: number
  3068. format: double
  3069. description: 最后一次队伍总分盘更新的日期时间。
  3070. spreads:
  3071. type: array
  3072. description: 让分盘赔率容器。
  3073. items:
  3074. $ref: '#/definitions/ParlayOddsSpreadV3'
  3075. moneyline:
  3076. $ref: '#/definitions/ParlayOddsMoneylineV3'
  3077. totals:
  3078. type: array
  3079. description: 队伍总分容器。
  3080. items:
  3081. $ref: '#/definitions/ParlayOddsTotalV3'
  3082. teamTotal:
  3083. $ref: '#/definitions/ParlayOddsTeamTotalsV3'
  3084. awayScore:
  3085. type: number
  3086. format: double
  3087. description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  3088. homeScore:
  3089. type: number
  3090. format: double
  3091. description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  3092. awayRedCards:
  3093. type: number
  3094. format: double
  3095. description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  3096. homeRedCards:
  3097. type: number
  3098. format: double
  3099. description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(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: 线 ID。
  3111. number:
  3112. type: integer
  3113. format: int32
  3114. description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
  3115. cutoff:
  3116. type: string
  3117. format: date-time
  3118. description: 周期的投注截止日期(UTC)。
  3119. status:
  3120. type: integer
  3121. format: int32
  3122. description: |
  3123. 1 - 在线,周期开放投注
  3124. 2 - 离线,周期不开放投注
  3125. example: 1
  3126. maxSpread:
  3127. type: number
  3128. format: double
  3129. description: 最大让分盘投注。仅在直盘赔率响应中。
  3130. maxMoneyline:
  3131. type: number
  3132. format: double
  3133. description: 最大独赢盘投注。仅在直盘赔率响应中。
  3134. maxTotal:
  3135. type: number
  3136. format: double
  3137. description: 最大总分盘投注。仅在直盘赔率响应中。
  3138. maxTeamTotal:
  3139. type: number
  3140. format: double
  3141. description: 最大队伍总分盘投注。仅在直盘赔率响应中。
  3142. moneylineUpdatedAt:
  3143. type: number
  3144. format: double
  3145. description: 最后一次独赢盘更新的日期时间。
  3146. spreadUpdatedAt:
  3147. type: number
  3148. format: double
  3149. description: 最后一次让分盘更新的日期时间。
  3150. totalUpdatedAt:
  3151. type: number
  3152. format: double
  3153. description: 最后一次总分盘更新的日期时间。
  3154. teamTotalUpdatedAt:
  3155. type: number
  3156. format: double
  3157. description: 最后一次队伍总分盘更新的日期时间。
  3158. spreads:
  3159. type: array
  3160. description: 让分盘赔率容器。
  3161. items:
  3162. $ref: '#/definitions/ParlayOddsSpreadV4'
  3163. moneyline:
  3164. $ref: '#/definitions/ParlayOddsMoneylineV4'
  3165. totals:
  3166. type: array
  3167. description: 队伍总分容器。
  3168. items:
  3169. $ref: '#/definitions/ParlayOddsTotalV4'
  3170. teamTotal:
  3171. $ref: '#/definitions/ParlayOddsTeamTotalsV4'
  3172. awayScore:
  3173. type: number
  3174. format: double
  3175. description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  3176. homeScore:
  3177. type: number
  3178. format: double
  3179. description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  3180. awayRedCards:
  3181. type: number
  3182. format: double
  3183. description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
  3184. homeRedCards:
  3185. type: number
  3186. format: double
  3187. description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(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: 仅在为替代线时存在。
  3199. hdp:
  3200. type: number
  3201. format: double
  3202. description: 主队让分。
  3203. home:
  3204. type: number
  3205. format: double
  3206. description: 主队价格。
  3207. away:
  3208. type: number
  3209. format: double
  3210. description: 客队价格。
  3211. max:
  3212. type: number
  3213. format: double
  3214. nullable: true
  3215. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
  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: 仅在为替代线时存在。
  3227. hdp:
  3228. type: number
  3229. format: double
  3230. description: 主队让分。
  3231. home:
  3232. type: number
  3233. format: double
  3234. description: 主队价格。
  3235. away:
  3236. type: number
  3237. format: double
  3238. description: 客队价格。
  3239. max:
  3240. type: number
  3241. format: double
  3242. nullable: true
  3243. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
  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: 客队价格
  3255. away:
  3256. type: number
  3257. format: double
  3258. description: 客队价格。
  3259. draw:
  3260. type: number
  3261. format: double
  3262. description: 平局价格。仅在我们提供平局价格的事件中存在。
  3263. required:
  3264. - home
  3265. - away
  3266. ParlayOddsMoneylineV4:
  3267. type: object
  3268. properties:
  3269. home:
  3270. type: number
  3271. format: double
  3272. description: 客队价格
  3273. away:
  3274. type: number
  3275. format: double
  3276. description: 客队价格。
  3277. draw:
  3278. type: number
  3279. format: double
  3280. description: 平局价格。仅在我们提供平局价格的事件中存在。
  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: 客队总分容器。
  3301. items:
  3302. $ref: '#/definitions/ParlayOddsTeamTotalV4'
  3303. home:
  3304. type: array
  3305. description: 主队总分容器。
  3306. items:
  3307. $ref: '#/definitions/ParlayOddsTeamTotalV4'
  3308. ParlayOddsTotalsV3:
  3309. type: object
  3310. properties:
  3311. altLineId:
  3312. type: number
  3313. format: int64
  3314. description: 替代线的线 ID。仅在为替代线时存在。
  3315. points:
  3316. type: number
  3317. format: double
  3318. description: 总分。
  3319. over:
  3320. type: number
  3321. format: double
  3322. description: 大价格。
  3323. under:
  3324. type: number
  3325. format: double
  3326. description: 小价格。
  3327. max:
  3328. type: number
  3329. format: double
  3330. nullable: true
  3331. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
  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: 替代线的线 ID。仅在为替代线时存在。
  3343. points:
  3344. type: number
  3345. format: double
  3346. description: 总分。
  3347. over:
  3348. type: number
  3349. format: double
  3350. description: 大价格。
  3351. under:
  3352. type: number
  3353. format: double
  3354. description: 小价格。
  3355. max:
  3356. type: number
  3357. format: double
  3358. nullable: true
  3359. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
  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: 仅在为替代线时存在。
  3371. points:
  3372. type: number
  3373. format: double
  3374. description: 总分。
  3375. over:
  3376. type: number
  3377. format: double
  3378. description: 大价格。
  3379. under:
  3380. type: number
  3381. format: double
  3382. description: 小价格。
  3383. max:
  3384. type: number
  3385. format: double
  3386. nullable: true
  3387. description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTeamTotal` 市场限额。
  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: 唯一标识符。可以从调用 Get Teaser Groups 端点检索过关详情。
  3399. sportId:
  3400. type: integer
  3401. format: int32
  3402. description: 唯一标识符。可以从调用 Get Sports 端点检索运动详情。
  3403. leagues:
  3404. type: array
  3405. description: 联赛集合。
  3406. items:
  3407. $ref: '#/definitions/TeaserOddsLeague'
  3408. TeaserOddsLeague:
  3409. type: object
  3410. properties:
  3411. id:
  3412. type: integer
  3413. format: int32
  3414. description: 唯一标识符。可以从调用 Get Leagues 端点检索联赛详情。
  3415. events:
  3416. type: array
  3417. description: 赛事集合。
  3418. items:
  3419. $ref: '#/definitions/TeaserOddsEvent'
  3420. TeaserOddsEvent:
  3421. type: object
  3422. properties:
  3423. id:
  3424. type: integer
  3425. format: int64
  3426. description: 唯一标识符。
  3427. periods:
  3428. type: array
  3429. description: 周期集合,指示可用于投注的周期编号。
  3430. items:
  3431. $ref: '#/definitions/TeaserOddsPeriod'
  3432. TeaserOddsPeriod:
  3433. type: object
  3434. properties:
  3435. number:
  3436. type: integer
  3437. format: int32
  3438. description: 请求的比赛周期。请参考 v1/periods 端点以检索某项运动的所有有效周期。
  3439. lineId:
  3440. type: integer
  3441. format: int64
  3442. description: 唯一标识符。
  3443. spreadUpdatedAt:
  3444. type: string
  3445. format: date-time
  3446. description: 最后一次让分盘更新的日期时间。
  3447. totalUpdatedAt:
  3448. type: string
  3449. format: date-time
  3450. description: 最后一次总分盘更新的日期时间。
  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: 最大投注金额。
  3462. homeHdp:
  3463. type: number
  3464. format: double
  3465. description: 主队让分。请参考 Get Fixtures 端点以确定主队和客队。
  3466. awayHdp:
  3467. type: number
  3468. format: double
  3469. description: 客队让分。请参考 Get Fixtures 端点以确定主队和客队。
  3470. altHdp:
  3471. type: boolean
  3472. description: 让分是否提供替代过关点数。具有替代过关点数的事件可能与过关定义不同。
  3473. example: false
  3474. TeaserOddsTotalPoints:
  3475. type: object
  3476. properties:
  3477. maxBet:
  3478. type: number
  3479. format: double
  3480. description: 最大投注金额。
  3481. overPoints:
  3482. type: number
  3483. format: double
  3484. description: 大点数。
  3485. underPoints:
  3486. type: number
  3487. format: double
  3488. description: 小点数。
  3489. SportPeriod:
  3490. type: object
  3491. properties:
  3492. number:
  3493. type: integer
  3494. format: int32
  3495. description: 周期编号
  3496. description:
  3497. type: string
  3498. description: 周期的描述
  3499. shortDescription:
  3500. type: string
  3501. description: 周期的简短描述
  3502. SportsResponseV3:
  3503. type: object
  3504. properties:
  3505. sports:
  3506. type: array
  3507. description: 运动容器.
  3508. items:
  3509. $ref: '#/definitions/SportV3'
  3510. SportV3:
  3511. type: object
  3512. properties:
  3513. id:
  3514. type: integer
  3515. format: int32
  3516. description: 运动 ID.
  3517. name:
  3518. type: string
  3519. description: 运动名称。
  3520. hasOfferings:
  3521. type: boolean
  3522. description: 运动当前是否有赛事或特殊赛事。
  3523. leagueSpecialsCount:
  3524. type: integer
  3525. format: int32
  3526. description: 指示给定运动中有多少特殊赛事。
  3527. eventSpecialsCount:
  3528. type: integer
  3529. format: int32
  3530. description: 指示给定运动中有多少赛事特殊赛事。
  3531. eventCount:
  3532. type: integer
  3533. format: int32
  3534. description: 指示给定运动中有多少赛事。
  3535. TeaserGroupsResponse:
  3536. type: object
  3537. properties:
  3538. teaserGroups:
  3539. type: array
  3540. description: 包含可用过关的过关组集合。
  3541. items:
  3542. $ref: '#/definitions/TeaserGroups'
  3543. TeaserGroups:
  3544. type: object
  3545. properties:
  3546. id:
  3547. type: integer
  3548. format: int64
  3549. description: 唯一标识符。
  3550. name:
  3551. type: string
  3552. description: 过关组的友好名称
  3553. teasers:
  3554. type: array
  3555. description: 过关集合。
  3556. items:
  3557. $ref: '#/definitions/TeaserGroupsTeaser'
  3558. TeaserGroupsTeaser:
  3559. type: object
  3560. properties:
  3561. id:
  3562. type: integer
  3563. format: int64
  3564. description: 唯一标识符。
  3565. description:
  3566. type: string
  3567. description: 过关的描述。
  3568. sportId:
  3569. type: integer
  3570. format: int32
  3571. description: 唯一运动标识符。可以从调用 v2/sports 端点检索运动详情。
  3572. minLegs:
  3573. type: integer
  3574. format: int32
  3575. description: 必须选择的最小腿数。
  3576. maxLegs:
  3577. type: integer
  3578. format: int32
  3579. description: 可以选择的最大腿数。
  3580. sameEventOnly:
  3581. type: boolean
  3582. description: 如果为 'true',则所有腿必须来自同一赛事,否则腿可以来自不同赛事。
  3583. payouts:
  3584. type: array
  3585. description: 指示所有可能赔付组合的赔付集合。
  3586. items:
  3587. $ref: '#/definitions/TeaserGroupsPayout'
  3588. leagues:
  3589. type: array
  3590. description: 可用于过关的联赛集合。
  3591. items:
  3592. $ref: '#/definitions/TeaserGroupsLeague'
  3593. TeaserGroupsPayout:
  3594. type: object
  3595. properties:
  3596. numberOfLegs:
  3597. type: integer
  3598. format: int32
  3599. description: 必须投注并获胜才能获得相关价格的腿数。
  3600. price:
  3601. type: number
  3602. format: double
  3603. description: 给定指定腿数的投注价格。
  3604. TeaserGroupsLeague:
  3605. type: object
  3606. properties:
  3607. id:
  3608. type: integer
  3609. format: int32
  3610. description: 唯一标识符。可以从调用 v2/leagues 端点检索联赛详情。
  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: 对于给定联赛,线将被调整的点数。
  3622. SpecialsFixturesResponseV2:
  3623. type: object
  3624. properties:
  3625. sportId:
  3626. format: int32
  3627. description: 要检索赔率的运动 ID。
  3628. type: integer
  3629. last:
  3630. format: int64
  3631. description: 用于仅在后续请求中检索更改。在后续调用中提供此值作为 Since 参数,以仅检索更改。
  3632. type: integer
  3633. leagues:
  3634. description: 包含联赛列表。
  3635. type: array
  3636. items:
  3637. $ref: '#/definitions/SpecialsFixturesLeagueV2'
  3638. SpecialsFixturesLeagueV2:
  3639. type: object
  3640. properties:
  3641. id:
  3642. format: int32
  3643. description: 赛程联赛 ID。
  3644. type: integer
  3645. specials:
  3646. description: 特殊赛事集合
  3647. type: array
  3648. items:
  3649. $ref: '#/definitions/SpecialFixtureV2'
  3650. SpecialFixtureV2:
  3651. type: object
  3652. properties:
  3653. id:
  3654. format: int64
  3655. description: 唯一 ID
  3656. type: integer
  3657. betType:
  3658. description: 类型 [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: 特殊赛事名称。
  3666. type: string
  3667. date:
  3668. format: date-time
  3669. description: 特殊赛事的日期(UTC)。
  3670. type: string
  3671. cutoff:
  3672. format: date-time
  3673. description: 投注截止日期(UTC)。
  3674. type: string
  3675. category:
  3676. description: 特殊赛事所属的类别。
  3677. type: string
  3678. units:
  3679. description: 特殊赛事上下文中的测量单位。这适用于特殊投注类型让分和大小。在曲棍球特殊赛事中,这可能是进球数。
  3680. type: string
  3681. status:
  3682. description: |
  3683. 特殊赛事状态
  3684. O = 这是比赛的起始状态。这意味着线开放投注,
  3685. H = 此状态表示线暂时不可用于投注,
  3686. I = 此状态表示一条或多条线有红圈(较低的最大投注金额)
  3687. enum:
  3688. - O
  3689. - H
  3690. - I
  3691. type: string
  3692. event:
  3693. $ref: '#/definitions/SpecialsFixturesEventV2'
  3694. contestants:
  3695. description: 可用于投注的参赛者线。
  3696. type: array
  3697. items:
  3698. $ref: '#/definitions/SpecialsFixturesContestant'
  3699. liveStatus:
  3700. format: int32
  3701. description: |
  3702. 当特殊赛事链接到赛事时,我们将返回赛事的直播状态,否则将为 0。0 = 此赛事不提供直播投注,1 = 直播投注赛事,2 = 将为此比赛提供直播投注,但在不同赛事上。
  3703. 请注意,在 LiveStatus=1 的特殊赛事上下注时,会应用直播延迟。
  3704. enum:
  3705. - 0
  3706. - 1
  3707. - 2
  3708. type: integer
  3709. SpecialsFixturesEventV2:
  3710. type: object
  3711. description: 与特殊赛事关联的可选赛事。
  3712. properties:
  3713. id:
  3714. format: int32
  3715. description: 赛事 ID
  3716. type: integer
  3717. periodNumber:
  3718. format: int32
  3719. description: 比赛的周期。例如在足球中 0(全场)、1(上半场)和 2(下半场)
  3720. type: integer
  3721. home:
  3722. description: 主队名称。
  3723. type: string
  3724. away:
  3725. description: 客队名称。
  3726. type: string
  3727. SpecialsFixturesContestant:
  3728. type: object
  3729. properties:
  3730. id:
  3731. format: int64
  3732. description: 参赛者 ID。
  3733. type: integer
  3734. name:
  3735. description: 参赛者名称。
  3736. type: string
  3737. rotNum:
  3738. format: int32
  3739. description: 轮换号码。
  3740. type: integer
  3741. SettledSpecialsResponseV3:
  3742. description: 已结算特殊赛事请求的响应 dto
  3743. type: object
  3744. properties:
  3745. sportId:
  3746. format: int32
  3747. description: 要检索赔率的运动 ID。
  3748. type: integer
  3749. last:
  3750. format: int64
  3751. description: 已结算赛程的最后索引
  3752. type: integer
  3753. leagues:
  3754. description: 联赛列表。
  3755. type: array
  3756. items:
  3757. $ref: '#/definitions/SettledSpecialsLeagueV3'
  3758. SettledSpecialsLeagueV3:
  3759. description: 用于保存联赛所有已结算特殊赛事的联赛 Dto
  3760. type: object
  3761. properties:
  3762. id:
  3763. format: int32
  3764. description: 联赛 ID。
  3765. type: integer
  3766. specials:
  3767. description: 已结算特殊赛事集合
  3768. type: array
  3769. items:
  3770. $ref: '#/definitions/SettledSpecialV3'
  3771. SettledSpecialV3:
  3772. description: 已结算特殊赛事
  3773. type: object
  3774. properties:
  3775. id:
  3776. format: int64
  3777. description: 已结算特殊赛事的 ID
  3778. type: integer
  3779. status:
  3780. format: int32
  3781. description: 已结算特殊赛事的状态。
  3782. type: integer
  3783. settlementId:
  3784. format: int64
  3785. description: 已结算特殊赛事的 ID
  3786. type: integer
  3787. settledAt:
  3788. format: date-time
  3789. description: 结算日期时间
  3790. type: string
  3791. cancellationReason:
  3792. $ref: '#/definitions/CancellationReasonType'
  3793. description: 特殊赛事的取消原因
  3794. contestants:
  3795. description: 参赛者集合
  3796. type: array
  3797. items:
  3798. $ref: '#/definitions/SettledContestants'
  3799. SettledContestants:
  3800. description: 已结算特殊赛事
  3801. type: object
  3802. properties:
  3803. id:
  3804. format: int64
  3805. description: 参赛者 ID。
  3806. type: integer
  3807. name:
  3808. description: 参赛者名称
  3809. type: string
  3810. example: Union Magdalena
  3811. outcome:
  3812. type: string
  3813. description: |
  3814. 参赛者结果。
  3815. W = 获胜,
  3816. L = 失败,
  3817. X = 取消,
  3818. T = 平局,
  3819. Z = 取消
  3820. enum:
  3821. - W
  3822. - L
  3823. - X
  3824. - T
  3825. - Z
  3826. SpecialLineResponse:
  3827. type: object
  3828. properties:
  3829. status:
  3830. description: 状态 [SUCCESS = 成功, NOT_EXISTS = 不再提供线]
  3831. enum:
  3832. - SUCCESS
  3833. - NOT_EXISTS
  3834. type: string
  3835. specialId:
  3836. format: int64
  3837. description: 特殊赛事 ID。
  3838. type: integer
  3839. contestantId:
  3840. format: int64
  3841. description: 参赛者 ID。
  3842. type: integer
  3843. minRiskStake:
  3844. format: double
  3845. description: 最小可投注风险金额。
  3846. type: number
  3847. maxRiskStake:
  3848. format: double
  3849. description: 最大可投注风险金额。
  3850. type: number
  3851. minWinStake:
  3852. format: double
  3853. description: 最小可投注赢利金额。
  3854. type: number
  3855. maxWinStake:
  3856. format: double
  3857. description: 最大可投注赢利金额。
  3858. type: number
  3859. lineId:
  3860. format: int64
  3861. description: 下注所需的线标识。
  3862. type: integer
  3863. price:
  3864. format: double
  3865. description: 最新价格。
  3866. type: number
  3867. handicap:
  3868. format: double
  3869. description: 让分。
  3870. type: number
  3871. SpecialOddsResponseV2:
  3872. type: object
  3873. properties:
  3874. sportId:
  3875. format: int32
  3876. description: 要检索赔率的运动 ID。
  3877. type: integer
  3878. last:
  3879. format: int64
  3880. description: 用于仅在后续请求中检索更改。在后续调用中提供此值作为 Since 参数,以仅检索更改。
  3881. type: integer
  3882. leagues:
  3883. description: 包含联赛列表。
  3884. type: array
  3885. items:
  3886. $ref: '#/definitions/SpecialOddsLeagueV2'
  3887. SpecialOddsLeagueV2:
  3888. type: object
  3889. properties:
  3890. id:
  3891. format: int32
  3892. description: 联赛 ID。
  3893. type: integer
  3894. specials:
  3895. description: 赛程特殊赛事集合。
  3896. type: array
  3897. items:
  3898. $ref: '#/definitions/SpecialOddsSpecialV2'
  3899. SpecialOddsSpecialV2:
  3900. type: object
  3901. properties:
  3902. id:
  3903. format: int64
  3904. description: 特殊赛事 ID。
  3905. type: integer
  3906. maxRisk:
  3907. format: double
  3908. description: 最大风险金额。
  3909. type: number
  3910. contestantLines:
  3911. description: 可用于投注的参赛者线。
  3912. type: array
  3913. items:
  3914. $ref: '#/definitions/SpecialOddsContestantLineV2'
  3915. SpecialOddsContestantLineV2:
  3916. type: object
  3917. properties:
  3918. id:
  3919. format: int64
  3920. description: 参赛者线 ID。
  3921. type: integer
  3922. lineId:
  3923. format: int64
  3924. description: 下注所需的线标识符。
  3925. type: integer
  3926. price:
  3927. format: double
  3928. description: 线的价格。
  3929. type: number
  3930. handicap:
  3931. format: double
  3932. description: 表示让分、大小等的数字。
  3933. type: number
  3934. max:
  3935. format: double
  3936. description: 每个参赛者的最大投注量金额。请参阅[如何从最大投注量计算最大风险](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