| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962 |
- swagger: '2.0'
- info:
- version: 1.0.0
- title: Pinnacle888 - Lines API 参考文档
- description: |
- 关于赔率和赛程的所有信息
- # 身份验证
- API 使用 HTTP Basic 访问身份验证。您需要发送 Authorization HTTP 请求头:
- `Authorization: Basic <Base64 value of UTF-8 encoded "username:password">`
- 示例:
- `Authorization: Basic U03MyOT23YbzMDc6d3c3O1DQ1`
- x-logo:
- url: ''
- host: api.pinnacle888.com
- schemes:
- - https
- security:
- - basicAuth: []
- paths:
- /v3/fixtures:
- get:
- tags:
- - Fixtures
- summary: 获取赛程 - v3
- description: 返回指定运动的所有**未结算**赛事。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。请注意,使用 **since** 参数时,可能会收到完全相同的响应。这种情况很少见,可能是由于赛事属性的内部更新导致的。
- operationId: Fixtures_V3_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要获取赛程的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: isLive
- in: query
- description: 要仅检索直播赛事,请将值设置为 1 (isLive=1)。缺少或任何其他值将导致检索所有赛事,无论其直播状态如何。
- required: false
- type: boolean
- - name: since
- in: query
- description: 用于接收增量更新。使用上次 fixtures 响应中的 last 值。如果不提供 since 参数,赛程最多会延迟 1 分钟,以鼓励使用该参数。
- required: false
- type: integer
- format: int64
- - name: eventIds
- in: query
- description: 用于过滤的逗号分隔的赛事 ID 列表
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/FixturesResponseV3'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v2/fixtures/special:
- get:
- tags:
- - Fixtures
- summary: 获取特殊赛程 - v2
- description: 返回指定运动的所有**未结算**特殊赛事。
- operationId: Fixtures_Special_V2_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要检索特殊赛事的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: since
- in: query
- description: 用于接收增量更新。使用上次响应中的 last 字段值。如果不提供 since 参数,赛程最多会延迟 1 分钟,以鼓励使用该参数。
- required: false
- type: integer
- format: int64
- - name: category
- in: query
- description: 特殊赛事所属的类别。
- required: false
- type: string
- - name: eventId
- in: query
- description: 与特殊赛事关联的赛事 ID。
- required: false
- type: integer
- format: int64
- - name: specialId
- in: query
- description: 特殊赛事的 ID。
- required: false
- type: integer
- format: int64
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SpecialsFixturesResponseV2'
- examples:
- application/json:
- sportId: 4
- last: 636433059508250600
- leagues:
- - id: 487
- specials:
- - id: 1
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 4th quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: I
- event:
- id: 1
- periodNumber: 0
- contestants:
- - id: 1
- name: Odd
- rotNum: 100
- - id: 2
- name: Even
- rotNum: 101
- - id: 2
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 3rd quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: I
- event:
- id: 1
- periodNumber: 0
- contestants:
- - id: 3
- name: Odd
- rotNum: 100
- - id: 4
- name: Even
- rotNum: 101
- - id: 3
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 2nd quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: H
- event:
- id: 1
- periodNumber: 0
- contestants:
- - id: 5
- name: Odd
- rotNum: 100
- - id: 6
- name: Even
- rotNum: 101
- - id: 4
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 1st quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: I
- event:
- id: 1
- periodNumber: 0
- contestants:
- - id: 7
- name: Odd
- rotNum: 100
- - id: 8
- name: Even
- rotNum: 101
- - id: 5
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 4th quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: null
- event:
- id: 2
- periodNumber: 0
- contestants:
- - id: 9
- name: Odd
- rotNum: 100
- - id: 10
- name: Even
- rotNum: 101
- - id: 6
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 3rd quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: I
- event:
- id: 2
- periodNumber: 0
- contestants:
- - id: 11
- name: Odd
- rotNum: 100
- - id: 12
- name: Even
- rotNum: 101
- - id: 7
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 2nd quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: I
- event:
- id: 2
- periodNumber: 0
- contestants:
- - id: 13
- name: Odd
- rotNum: 100
- - id: 14
- name: Even
- rotNum: 101
- - id: 8
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Will the 1st quarter be odd or even?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: 1/4 Totals
- units: ""
- status: H
- event:
- id: 2
- periodNumber: 0
- contestants:
- - id: 15
- name: Odd
- rotNum: 100
- - id: 16
- name: Even
- rotNum: 101
- - id: 9
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Who will win the NBA finals?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: Outright Winner
- units: ""
- status: I
- contestants:
- - id: 17
- name: Golden State Warriors
- rotNum: 100
- - id: 18
- name: Cleveland Cavaliers
- rotNum: 101
- - id: 19
- name: San Antonio Spurs
- rotNum: 102
- - id: 20
- name: Chicago Bulls
- rotNum: 103
- - id: 578
- specials:
- - id: 10
- betType: MULTI_WAY_HEAD_TO_HEAD
- name: Who will win the WNBA finals?
- date: '2017-10-11T14:00:00Z'
- cutoff: '2017-10-11T14:00:00Z'
- category: Outright Winner
- units: ""
- status: I
- contestants:
- - id: 21
- name: Minnesota Lynx
- rotNum: 100
- - id: 22
- name: Indiana Fever
- rotNum: 101
- - id: 23
- name: Phoenix Mercury
- rotNum: 102
- - id: 24
- name: Chicago Sky
- rotNum: 103
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- deprecated: false
- /v3/fixtures/settled:
- get:
- tags:
- - Fixtures
- summary: 获取已结算赛程 - v3
- description: 返回指定运动在过去 24 小时内已结算的赛程。
- operationId: Fixtures_Settled_V3_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- required: true
- description: 要检索已结算赛事的运动 ID。
- type: integer
- format: int32
- - name: leagueIds
- in: query
- required: false
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: since
- in: query
- required: false
- description: 用于接收增量更新。使用上次响应中的 last 字段值。
- type: integer
- format: int64
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SettledFixturesSportV3'
- examples:
- application/json:
- sportId: 0
- last: 0
- leagues:
- - id: 0
- events:
- - id: 0
- periods:
- - number: 0
- status: 0
- settlementId: 0
- settledAt: '2017-09-03T18:21:22.3846289-07:00'
- team1Score: 0
- team2Score: 0
- cancellationReason:
- code: string
- details:
- correctTeam1Id: string
- correctTeam2Id: string
- correctListedPitcher1: string
- correctListedPitcher2: string
- correctSpread: '0.0'
- correctTotalPoints: '0.0'
- correctTeam1TotalPoints: '0.0'
- correctTeam2TotalPoints: '0.0'
- correctTeam1Score: '0'
- correctTeam2Score: '0'
- correctTeam1TennisSetsScore: '0'
- correctTeam2TennisSetsScore: '0'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v3/fixtures/special/settled:
- get:
- tags:
- - Fixtures
- summary: 获取已结算特殊赛程 - v3
- description: 返回指定运动在过去 24 小时内已结算的所有特殊赛事。
- operationId: Fixtures_Specials_Settled_V3_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要检索已结算特殊赛事的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组。这是可选参数。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: since
- in: query
- description: 用于接收增量更新。使用上次响应中的 last 字段值。
- required: false
- type: integer
- format: int64
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SettledSpecialsResponseV3'
- examples:
- application/json:
- sportId: 0
- last: 0
- leagues:
- - id: 0
- specials:
- - id: 0
- status: 0
- settlementId: 0
- settledAt: '2017-10-11T15:05:50.996671Z'
- contestants:
- - id: 1
- name: Barranquilla
- outcome: "X"
- - id: 2
- name: Valledupar
- outcome: "X"
- cancellationReason:
- code: string
- details:
- correctTeam1Id: string
- correctTeam2Id: string
- correctListedPitcher1: string
- correctListedPitcher2: string
- correctSpread: '0.0'
- correctTotalPoints: '0.0'
- correctTeam1TotalPoints: '0.0'
- correctTeam2TotalPoints: '0.0'
- correctTeam1Score: '0'
- correctTeam2Score: '0'
- correctTeam1TennisSetsScore: '0'
- correctTeam2TennisSetsScore: '0'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- deprecated: false
- /v3/odds:
- get:
- tags:
- - Odds
- summary: 获取直盘赔率 - v3
- description: 返回所有未结算赛事的直盘赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
- operationId: Odds_Straight_V3_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要检索赔率的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。默认为 American。[American, Decimal, HongKong, Indonesian, Malay]
- required: false
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: since
- in: query
- description: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
- required: false
- type: integer
- format: int64
- - name: isLive
- in: query
- description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
- required: false
- type: boolean
- - name: eventIds
- in: query
- description: 按 EventIds 过滤
- required: false
- type: array
- items:
- type: integer
- format: int64
- collectionFormat: multi
- - name: toCurrencyCode
- in: query
- description: 3 字母货币代码,如 [/currency](https://pinny888.github.io/docs/?api=lines#tag/Others/operation/Currencies_V2_Get) 响应中所示。限额将以请求的货币返回。默认为 USD。
- required: false
- type: string
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/OddsResponseV3'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- deprecated: true
- /v4/odds:
- get:
- tags:
- - Odds
- summary: 获取直盘赔率 - v4
- description: 返回所有未结算赛事的直盘赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
- operationId: Odds_Straight_V4_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要检索赔率的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。默认为 American。[American, Decimal, HongKong, Indonesian, Malay]
- required: false
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: since
- in: query
- description: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
- required: false
- type: integer
- format: int64
- - name: isLive
- in: query
- description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
- required: false
- type: boolean
- - name: eventIds
- in: query
- description: 按 EventIds 过滤
- required: false
- type: array
- items:
- type: integer
- format: int64
- collectionFormat: multi
- - name: toCurrencyCode
- in: query
- description: 3 字母货币代码,如 [/currency](https://pinny888.github.io/docs/?api=lines#tag/Others/operation/Currencies_V2_Get) 响应中所示。限额将以请求的货币返回。默认为 USD。
- required: false
- type: string
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/OddsResponseV4'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v3/odds/parlay:
- get:
- tags:
- - Odds
- summary: 获取串关赔率 - v3
- description: 返回所有未结算赛事的串关赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
- operationId: Odds_Parlays_V3_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要检索赔率的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。默认为 American。[American, Decimal, HongKong, Indonesian, Malay]
- required: false
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: since
- in: query
- description: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
- required: false
- type: integer
- format: int64
- - name: isLive
- in: query
- description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
- required: false
- type: boolean
- - name: eventIds
- in: query
- description: 按 EventIds 过滤
- required: false
- type: array
- items:
- type: integer
- format: int64
- collectionFormat: multi
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/ParlayOddsResponseV3'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- deprecated: true
- /v4/odds/parlay:
- get:
- tags:
- - Odds
- summary: 获取串关赔率 - v4
- description: 返回所有未结算赛事的串关赔率。请注意,赛事可能出现在 Get Fixtures 响应中,但不在 Get Odds 中。这种情况发生在赔率目前不可用于投注时。
- operationId: Odds_Parlays_V4_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 要检索赔率的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。默认为 American。[American, Decimal, HongKong, Indonesian, Malay]
- required: false
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: since
- in: query
- description: 用于接收增量更新。使用上次 odds 响应中的 last 值。如果不提供 since 参数,赔率最多会延迟 1 分钟,以鼓励使用该参数。请注意,使用 since 参数时,响应中只包含已更改的周期。如果某个周期没有任何更改,它将不会出现在响应中。
- required: false
- type: integer
- format: int64
- - name: isLive
- in: query
- description: 要仅检索直播赔率,请将值设置为 1 (isLive=1)。否则响应将包含所有赔率。
- required: false
- type: boolean
- - name: eventIds
- in: query
- description: 按 EventIds 过滤
- required: false
- type: array
- items:
- type: integer
- format: int64
- collectionFormat: multi
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/ParlayOddsResponseV4'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v1/odds/teaser:
- get:
- tags:
- - Odds
- summary: 获取过关赔率 - v1
- description: 返回指定过关的赔率。
- operationId: Odds_Teasers_V1_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: teaserId
- in: query
- description: 唯一标识符。可以从 Get Teaser Groups 端点调用中检索过关详情。
- required: true
- type: integer
- format: int64
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/TeaserOddsResponse'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v2/odds/special:
- get:
- tags:
- - Odds
- summary: 获取特殊赔率 - v2
- description: 返回所有未结算赛事的特殊赔率。
- operationId: Odds_Special_V2_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。[American, Decimal, HongKong, Indonesian, Malay]
- required: false
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: sportId
- in: query
- description: 要检索特殊赛事的运动 ID。
- required: true
- type: integer
- format: int32
- - name: leagueIds
- in: query
- description: leagueIds 数组可包含逗号分隔的联赛 ID 列表。
- required: false
- type: array
- items:
- type: integer
- format: int32
- collectionFormat: multi
- - name: since
- in: query
- description: 用于接收增量更新。使用上次响应中的 last 值。如果不提供 since 参数,赛程最多会延迟 1 分钟,以鼓励使用该参数。
- required: false
- type: integer
- format: int64
- - name: specialId
- in: query
- description: 特殊赛事的 ID。这是可选参数。
- required: false
- type: integer
- format: int64
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SpecialOddsResponseV2'
- examples:
- application/json:
- sportId: 4
- last: 636433059510590700
- leagues:
- - id: 487
- specials:
- - id: 1
- maxBet: 100
- contestantLines:
- - id: 1
- lineId: 1001
- price: -199
- handicap: null
- max: 100
- - id: 2
- lineId: 1002
- price: -198
- handicap: null
- max: 100
- - id: 7
- maxBet: 100
- contestantLines:
- - id: 13
- lineId: 1013
- price: -187
- handicap: null
- max: 100
- - id: 14
- lineId: 1014
- price: -186
- handicap: null
- max: 100
- - id: 578
- specials:
- - id: 10
- maxBet: 100
- contestantLines:
- - id: 21
- lineId: 1021
- price: -179
- handicap: null
- max: 100
- - id: 22
- lineId: 1022
- price: -178
- handicap: null
- max: 100
- - id: 23
- lineId: 1023
- price: -177
- handicap: null
- max: 100
- - id: 24
- lineId: 1024
- price: -176
- handicap: null
- max: 100
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- deprecated: false
- /v2/line:
- get:
- tags:
- - Line
- summary: 获取直盘线 - v2
- description: 返回最新线。
- operationId: Line_Straight_V2_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: leagueId
- in: query
- description: 联赛 ID。
- required: true
- type: integer
- format: int32
- - name: handicap
- in: query
- description: SPREAD、TOTAL_POINTS 和 TEAM_TOTAL_POINTS 投注类型需要此参数
- required: true
- type: number
- format: double
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。默认为 American。
- required: true
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: sportId
- in: query
- description: 运动标识
- required: true
- type: integer
- format: int32
- - name: eventId
- in: query
- description: 赛事标识
- required: true
- type: integer
- format: int64
- - name: periodNumber
- in: query
- description: 这代表比赛的周期。请查看 Get Periods 端点以获取每个运动当前支持的周期列表。
- required: true
- type: integer
- format: int32
- - name: betType
- in: query
- description: 投注类型
- required: true
- type: string
- enum:
- - SPREAD
- - MONEYLINE
- - TOTAL_POINTS
- - TEAM_TOTAL_POINTS
- - name: team
- in: query
- description: 选择的队伍类型。仅 SPREAD、MONEYLINE 和 TEAM_TOTAL_POINTS 投注类型需要此参数
- required: false
- type: string
- enum:
- - Team1
- - Team2
- - Draw
- - name: side
- in: query
- description: 选择的侧。仅 TOTAL_POINTS 和 TEAM_TOTAL_POINTS 需要此参数
- required: false
- type: string
- enum:
- - OVER
- - UNDER
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/LineResponseV2'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v3/line/parlay:
- post:
- tags:
- - Line
- summary: 获取串关线 - v3
- description: 返回串关线并计算赔率。
- operationId: Line_Parlay_V3_Post
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: request
- required: true
- schema:
- $ref: '#/definitions/ParlayLinesRequestV3'
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/ParlayLinesResponseV3'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v1/line/teaser:
- post:
- tags:
- - Line
- summary: 获取过关线 - v1
- description: 在提交前验证过关投注。成功时返回投注限额和价格。
- operationId: Line_Teaser_V1_Post
- consumes:
- - application/json
- produces:
- - application/json
- parameters:
- - in: body
- name: teaserLinesRequest
- required: true
- schema:
- $ref: '#/definitions/LinesRequestTeaser'
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/TeaserLinesResponse'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v2/line/special:
- get:
- tags:
- - Line
- operationId: Line_Special_V2_Get
- summary: 获取特殊线 - v2
- description: 返回特殊线并计算赔率。
- consumes: []
- produces:
- - application/json
- parameters:
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。[American, Decimal, HongKong, Indonesian, Malay]
- required: true
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- - name: specialId
- in: query
- description: 特殊赛事的 ID。
- required: true
- type: integer
- format: int64
- - name: contestantId
- in: query
- description: 参赛者 ID。
- required: true
- type: integer
- format: int64
- - name: handicap
- in: query
- description: 参赛者的让分。由于参赛者的让分是一个可变属性,可能会发生 line/special 返回 status:SUCCESS,但让分与客户端在调用 line/special 时拥有的让分不同。可以在请求中指定 handicap 参数,如果参赛者的让分已更改,它将返回 status:NOT_EXISTS。这样 line/special 与 /line 的工作方式更加一致。
- required: false
- type: number
- format: double
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SpecialLineResponse'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- deprecated: false
- /v3/sports:
- get:
- tags:
- - Others
- summary: 获取运动项目 - v3
- description: 返回所有运动项目及其当前是否有线的状态。
- operationId: Sports_V3_Get
- consumes: []
- produces:
- - application/json
- parameters: []
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SportsResponseV3'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/LinesErrorResponse'
- /v3/leagues:
- get:
- tags:
- - Others
- summary: 获取联赛 - v3
- description: 返回所有体育联赛及其当前是否有线的状态。
- operationId: Leagues_V3_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- description: 请求联赛的运动 ID。
- required: true
- type: string
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/LeaguesV3'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v1/periods:
- get:
- tags:
- - Others
- summary: 获取周期 - v1
- description: 返回指定运动的所有周期。
- operationId: Periods_V1_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: sportId
- in: query
- required: true
- type: string
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SportPeriod'
- examples:
- application/json:
- periods:
- - number: 0
- description: 全场
- shortDescription: FT
- - number: 1
- description: 上半场
- shortDescription: 1st H
- - number: 2
- description: 下半场
- shortDescription: 2nd H
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v2/inrunning:
- get:
- tags:
- - Others
- summary: 获取进行中赛事 - v2
- description: 返回所有状态显示为正在进行中的直播足球赛事。
- operationId: InRunning_V2_Get
- consumes: []
- produces:
- - application/json
- parameters: []
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/InRunningResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedLinesErrorResponse'
- /v1/teaser/groups:
- get:
- tags:
- - Others
- summary: 获取过关组 - v1
- description: 返回所有过关组。
- operationId: Teaser_Groups_V1_Get
- consumes: []
- produces:
- - application/json
- parameters:
- - name: oddsFormat
- in: query
- description: 返回赔率的格式。[American, Decimal, HongKong, Indonesian, Malay]
- required: true
- type: string
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/TeaserGroupsResponse'
- '400':
- description: 错误请求
- schema:
- $ref: '#/definitions/ErrorResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v1/cancellationreasons:
- get:
- tags:
- - Others
- summary: 获取取消原因 - v1
- description: 查找所有取消原因
- operationId: CancellationReasons_V1_Get
- consumes: []
- produces:
- - application/json
- parameters: []
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/CancellationReasonResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- /v2/currencies:
- get:
- tags:
- - Others
- summary: 获取货币 - v2
- description: 返回支持的货币列表
- operationId: Currencies_V2_Get
- consumes: []
- produces:
- - application/json
- parameters: []
- responses:
- '200':
- description: 成功
- schema:
- $ref: '#/definitions/SuccessfulCurrenciesResponse'
- '401':
- description: 未授权
- schema:
- $ref: '#/definitions/ErrorResponse'
- '403':
- description: 禁止访问
- schema:
- $ref: '#/definitions/ErrorResponse'
- '500':
- description: 服务器内部错误
- schema:
- $ref: '#/definitions/ExtendedErrorResponse'
- securityDefinitions:
- basicAuth:
- type: basic
- definitions:
- ErrorResponse:
- type: object
- properties:
- code:
- type: string
- description: 标识发生的错误类型的标识符。
- message:
- type: string
- description: 错误描述。
- description: 包含遇到的错误详细信息。
- ExtendedErrorResponse:
- type: object
- properties:
- ref:
- type: string
- code:
- type: string
- message:
- type: string
- LinesErrorResponse:
- type: object
- properties:
- status:
- type: string
- error:
- $ref: '#/definitions/ErrorResponse'
- code:
- type: integer
- format: int32
- description: 标识发生的错误的代码。
- ExtendedLinesErrorResponse:
- type: object
- properties:
- ref:
- type: string
- status:
- type: string
- error:
- $ref: '#/definitions/ErrorResponse'
- code:
- type: integer
- format: int32
- description: 标识发生的错误的代码。
- CancellationReasonResponse:
- type: object
- properties:
- cancellationReasons:
- type: array
- description: 包含取消原因列表。
- items:
- $ref: '#/definitions/CancellationReason'
- description: 取消原因响应数据
- CancellationReason:
- type: object
- properties:
- code:
- type: string
- description: 服务器分配的取消代码
- example: FBS_CW_65
- description:
- type: string
- description: 取消原因的文本描述
- example: The event was postponed
- description: 取消数据
- SuccessfulCurrenciesResponse:
- type: object
- properties:
- currencies:
- type: array
- description: 货币容器。
- items:
- $ref: '#/definitions/Currency'
- Currency:
- type: object
- properties:
- code:
- type: string
- description: 货币代码。
- example: AED
- name:
- type: string
- description: 货币名称。
- example: United Arab Emirates Dirham
- rate:
- type: number
- format: double
- description: 对美元的汇率。
- example: 3.6738
- FixturesResponseV1:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- league:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/FixturesLeagueV1'
- FixturesLeagueV1:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/FixtureV1'
- FixtureV1:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- starts:
- type: string
- format: date-time
- description: 赛事开始时间(UTC)。
- home:
- type: string
- description: 主队名称。
- away:
- type: string
- description: 客队名称。
- rotNum:
- type: string
- description: Team1 轮换号码。请注意,在 /fixtures 的下一版本中,rotNum 属性将被弃用。可以使用 ParentId 来分组相关赛事。
- liveStatus:
- type: integer
- format: int32
- description: |
- 指示赛事的直播状态。
- 0 = 此赛事不提供直播投注,
- 1 = 直播投注赛事,
- 2 = 将为此赛事提供直播投注
- enum:
- - 0
- - 1
- - 2
- homePitcher:
- type: string
- description: 主队投手。仅适用于棒球。
- awayPitcher:
- type: string
- description: 客队投手。仅适用于棒球。
- status:
- type: string
- description: |
- 赛事状态。
- O = 这是比赛的起始状态。这意味着线开放投注,
- H = 此状态表示线暂时不可用于投注,
- I = 此状态表示一条或多条线有红圈(较低的最大投注金额)
- enum:
- - O
- - H
- - I
- parlayRestriction:
- type: integer
- format: int32
- description: |
- 赛事的串关状态。
- 0 = 允许串关,无限制,
- 1 = 不允许串关此赛事,
- 2 = 允许串关,但有限制。串关中不能有来自同一赛事的多个腿。具有相同轮换号码的所有赛事被视为同一赛事。
- enum:
- - 0
- - 1
- - 2
- FixturesResponseV3:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- league:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/FixturesLeagueV3'
- FixturesLeagueV3:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- name:
- type: string
- description: 联赛名称。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/FixtureV3'
- FixtureV3:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- parentId:
- type: integer
- format: int64
- description: 如果赛事链接到另一个赛事,将填充 parentId。直播赛事将把赛前赛事作为父 ID。
- starts:
- type: string
- format: date-time
- description: 赛事开始时间(UTC)。
- home:
- type: string
- description: 主队名称。
- away:
- type: string
- description: 客队名称。
- liveStatus:
- type: integer
- format: int32
- description: |
- 指示赛事的直播状态。
- 0 = 此赛事不提供直播投注,
- 1 = 直播投注赛事,
- 2 = 将为此赛事提供直播投注
- enum:
- - 0
- - 1
- - 2
- homePitcher:
- type: string
- description: 主队投手。仅适用于棒球。
- awayPitcher:
- type: string
- description: 客队投手。仅适用于棒球。
- betAcceptanceType:
- type: integer
- format: int32
- description: |
- 足球直播赛事投注接受类型。此类型表示向相应客户提供直播足球赛事。
- 0 = 不适用。无投注接受类型限制。
- 1 = 危险区。
- 2 = 直播延迟。
- 3 = 两者都有。
- enum:
- - 0
- - 1
- - 2
- - 3
- parlayRestriction:
- type: integer
- format: int32
- description: |
- 赛事的串关状态。
- 0 = 允许串关,无限制,
- 1 = 不允许串关此赛事,
- 2 = 允许串关,但有限制。串关中不能有来自同一赛事的多个腿。具有相同轮换号码的所有赛事被视为同一赛事。
- enum:
- - 0
- - 1
- - 2
- altTeaser:
- type: boolean
- description: 赛事是否提供替代过关点数。具有替代过关点数的赛事可能与过关定义不同。
- resultingUnit:
- type: string
- description: |
- 指定赛事基于什么结算,例如角球、黄牌
- version:
- type: integer
- format: int64
- description: |
- 赛程版本,当赛程有更改时会增加。
- SettledFixturesSportV3:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- leagues:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/SettledFixturesLeagueV3'
- SettledFixturesLeagueV3:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/SettledFixturesEventV3'
- SettledFixturesEventV3:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- periods:
- type: array
- description: 包含周期列表。
- items:
- $ref: '#/definitions/SettledFixturesPeriodV3'
- SettledFixturesPeriodV3:
- type: object
- properties:
- number:
- type: integer
- format: int32
- description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
- status:
- type: integer
- format: int32
- description: |
- 周期结算状态。
- 1 = 赛事周期已结算,
- 2 = 赛事周期已重新结算,
- 3 = 赛事周期已取消,
- 4 = 赛事周期已重新结算为取消,
- 5 = 赛事已删除
- enum:
- - 1
- - 2
- - 3
- - 4
- - 5
- settlementId:
- type: integer
- format: int64
- description: 结算的唯一 ID。如果重新结算,将生成新的 settlementId 和 settledAt。
- settledAt:
- type: string
- format: date-time
- description: 周期结算的日期和时间(UTC)。
- team1Score:
- type: integer
- format: int32
- description: Team1 得分。
- team2Score:
- type: integer
- format: int32
- description: Team2 得分。
- cancellationReason:
- $ref: '#/definitions/CancellationReasonType'
- CancellationReasonType:
- type: object
- properties:
- code:
- type: string
- description: 取消原因代码
- details:
- $ref: '#/definitions/CancellationReasonDetailsType'
- CancellationReasonDetailsType:
- type: object
- properties:
- key:
- type: string
- value:
- type: string
- InRunningResponse:
- type: object
- properties:
- sports:
- type: array
- description: 运动容器
- items:
- $ref: '#/definitions/InRunningSport'
- InRunningSport:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 运动 ID
- leagues:
- type: array
- description: 联赛容器
- items:
- $ref: '#/definitions/InRunningLeague'
- InRunningLeague:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID
- events:
- type: array
- description: 赛事容器
- items:
- $ref: '#/definitions/InRunningEvent'
- InRunningEvent:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 比赛 ID
- state:
- type: integer
- format: int32
- description: |
- 比赛状态。
- 1 = 上半场进行中,
- 2 = 半场休息进行中,
- 3 = 下半场进行中,
- 4 = 常规时间结束,
- 5 = 加时赛上半场进行中,
- 6 = 加时赛半场休息进行中,
- 7 = 加时赛下半场进行中,
- 8 = 加时赛结束,
- 9 = 比赛结束,
- 10 = 比赛暂时暂停,
- 11 = 点球大战进行中
- enum:
- - 1
- - 2
- - 3
- - 4
- - 5
- - 6
- - 7
- - 8
- - 9
- - 10
- - 11
- elapsed:
- type: integer
- format: int32
- description: 已过分钟数
- LeaguesV3:
- type: object
- properties:
- leagues:
- type: array
- description: 联赛容器
- items:
- $ref: '#/definitions/LeagueV3'
- LeagueV3:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- name:
- type: string
- description: 联赛名称。
- homeTeamType:
- type: string
- description: 指定主队是 team1 还是 team2。您需要此信息来下注。
- hasOfferings:
- type: boolean
- description: 联赛当前是否有赛事或特殊赛事。
- container:
- type: string
- description: 代表联赛的分组,通常是地区/国家
- allowRoundRobins:
- type: boolean
- description: 指定您是否可以在此联赛的赛事上下注串关循环赛。
- leagueSpecialsCount:
- type: integer
- format: int32
- description: 指示给定联赛中有多少特殊赛事。
- eventSpecialsCount:
- type: integer
- format: int32
- description: 指示给定联赛中有多少比赛特殊赛事。
- eventCount:
- type: integer
- format: int32
- description: 指示给定联赛中有多少赛事。
- LineResponseV2:
- type: object
- properties:
- status:
- type: string
- description: 如果值为 NOT_EXISTS,则这将是响应中的唯一参数。所有其他参数都将为空。[SUCCESS = 成功, NOT_EXISTS = 不再提供线]
- enum:
- - SUCCESS
- - NOT_EXISTS
- price:
- type: number
- format: double
- description: 最新价格。
- lineId:
- type: integer
- format: int64
- description: 下注所需的线标识。
- altLineId:
- type: integer
- format: int64
- description: 如果让分在替代线上,则需要此参数来下注,否则响应中将不会填充此参数。
- team1Score:
- type: integer
- format: int32
- description: 周期 0 的 Team 1 得分。仅适用于足球。
- team2Score:
- type: integer
- format: int32
- description: 周期 0 的 Team 2 得分。仅适用于足球。
- team1RedCards:
- type: integer
- format: int32
- description: 周期 0 的 Team 1 红牌数。仅适用于足球。
- team2RedCards:
- type: integer
- format: int32
- description: 周期 0 的 Team 2 红牌数。仅适用于足球。
- maxRiskStake:
- type: number
- format: double
- description: 最大可投注风险金额。
- minRiskStake:
- type: number
- format: double
- description: 最小可投注风险金额。
- maxWinStake:
- type: number
- format: double
- description: 最大可投注赢利金额。
- minWinStake:
- type: number
- format: double
- description: 最小可投注赢利金额。
- effectiveAsOf:
- type: string
- description: 线在此日期和时间(UTC)生效。
- periodTeam1Score:
- type: integer
- format: int32
- description: 支持周期的 Team 1 得分。仅适用于足球。
- periodTeam2Score:
- type: integer
- format: int32
- description: 支持周期的 Team 2 得分。仅适用于足球。
- periodTeam1RedCards:
- type: integer
- format: int32
- description: 支持周期的 Team 1 红牌数。仅适用于足球。
- periodTeam2RedCards:
- type: integer
- format: int32
- description: 支持周期的 Team 2 红牌数。仅适用于足球。
- ParlayLinesRequestV3:
- type: object
- properties:
- oddsFormat:
- type: string
- description: 响应中的赔率将采用此格式。[American, Decimal, HongKong, Indonesian, Malay]
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- legs:
- type: array
- description: 这是腿的集合
- items:
- $ref: '#/definitions/ParlayLineRequestV3'
- ParlayLineRequestV3:
- type: object
- properties:
- uniqueLegId:
- type: string
- description: 腿的唯一 ID。用于在响应中识别和匹配腿。
- eventId:
- type: integer
- format: int64
- description: 赛事 ID。
- periodNumber:
- type: integer
- format: int32
- description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)、2(下半场)。
- legBetType:
- type: string
- description: 支持 SPREAD、MONEYLINE、TOTAL_POINTS 和 TEAM_TOTAL_POINTS。
- enum:
- - SPREAD
- - MONEYLINE
- - TOTAL_POINTS
- - TEAM_TOTAL_POINTS
- team:
- type: string
- description: 选择的队伍类型。仅 SPREAD 和 MONEYLINE 投注类型需要此参数。[Team1, Team2, Draw(仅限 MONEYLINE)]
- enum:
- - Team1
- - Team2
- - Draw
- side:
- type: string
- description: 选择的侧。仅 TOTAL_POINTS 投注类型需要此参数。[OVER, UNDER]
- enum:
- - OVER
- - UNDER
- handicap:
- type: number
- format: double
- description: SPREAD 和 TOTAL_POINTS 投注类型需要此参数。
- required:
- - uniqueLegId
- - eventId
- - periodNumber
- - legBetType
- ParlayLinesResponseV3:
- type: object
- properties:
- status:
- type: string
- description: 串关状态 [VALID = 串关有效, PROCESSED_WITH_ERROR = 串关包含错误]
- example: PROCESSED_WITH_ERROR
- enum:
- - VALID
- - PROCESSED_WITH_ERROR
- error:
- type: string
- description: INVALID_LEGS。表示一个或多个腿无效。仅在状态为 PROCESSED_WITH_ERROR 时填充。
- example: INVALID_LEGS
- minRiskStake:
- type: number
- format: double
- description: 允许的最小投注金额。
- maxParlayRiskStake:
- type: number
- format: double
- description: 串关投注允许的最大投注金额。
- maxRoundRobinTotalRisk:
- type: number
- format: double
- description: 循环赛中所有串关投注允许的最大总投注金额。
- maxRoundRobinTotalWin:
- type: number
- format: double
- description: 循环赛中所有串关投注允许的最大总赢利金额。
- roundRobinOptionWithOdds:
- type: array
- description: 提供所有可接受的循环赛选项数组,以及该选项的串关赔率。
- items:
- $ref: '#/definitions/RoundRobinOptionWithOddsV3'
- legs:
- type: array
- description: 腿的集合(对象的格式如下所述)。
- items:
- $ref: '#/definitions/ParlayLineLeg'
- required:
- - status
- RoundRobinOptionWithOddsV3:
- type: object
- properties:
- roundRobinOption:
- type: string
- description: |
- 循环赛选项
- Parlay = 包含所有投注的单个串关(非循环赛),
- TwoLegRoundRobin = 多个串关,每个有 2 个投注(循环赛风格),
- ThreeLegRoundRobin = 多个串关,每个有 3 个投注(循环赛风格),
- FourLegRoundRobin = 多个串关,每个有 4 个投注(循环赛风格),
- FiveLegRoundRobin = 多个串关,每个有 5 个投注(循环赛风格),
- SixLegRoundRobin = 多个串关,每个有 6 个投注(循环赛风格),
- SevenLegRoundRobin = 多个串关,每个有 7 个投注(循环赛风格),
- EightLegRoundRobin = 多个串关,每个有 8 个投注(循环赛风格)
- enum:
- - Parlay
- - TwoLegRoundRobin
- - ThreeLegRoundRobin
- - FourLegRoundRobin
- - FiveLegRoundRobin
- - SixLegRoundRobin
- - SevenLegRoundRobin
- - EightLegRoundRobin
- odds:
- type: number
- format: double
- description: 此选项的串关赔率。
- unroundedDecimalOdds:
- type: number
- format: double
- description: 未四舍五入的串关赔率(十进制格式),仅用于计算
- numberOfBets:
- type: number
- format: int
- description: roundRobinOption 中的投注数量。
- required:
- - roundRobinOption
- - odds
- - unroundedDecimalOdds
- ParlayLineLeg:
- type: object
- properties:
- status:
- type: string
- description: 请求状态。[VALID = 有效腿, PROCESSED_WITH_ERROR = 处理时出错]
- enum:
- - VALID
- - PROCESSED_WITH_ERROR
- errorCode:
- type: string
- description: |
- 当状态为 PROCESSED_WITH_ERROR 时,提供一个代码指示具体问题。
- CORRELATED = 该腿与另一个腿相关,
- CANNOT_PARLAY_LIVE_GAME = 投注放在直播比赛上,
- EVENT_NO_LONGER_AVAILABLE_FOR_BETTING = 该赛事不再可用于串关,
- EVENT_NOT_OFFERED_FOR_PARLAY = 该赛事不提供串关,
- LINE_DOES_NOT_BELONG_TO_EVENT = LineId 与请求中指定的 EventId 不匹配,
- WAGER_TYPE_NO_LONGER_AVAILABLE_FOR_BETTING = 投注类型不再可用于投注,
- WAGER_TYPE_NOT_VALID_FOR_PARLAY = 投注类型对串关无效,
- WAGER_TYPE_CONFLICTS_WITH_OTHER_LEG = 投注类型与其他腿冲突
- enum:
- - CORRELATED
- - CANNOT_PARLAY_LIVE_GAME
- - EVENT_NO_LONGER_AVAILABLE_FOR_BETTING
- - EVENT_NOT_OFFERED_FOR_PARLAY
- - LINE_DOES_NOT_BELONG_TO_EVENT
- - WAGER_TYPE_NO_LONGER_AVAILABLE_FOR_BETTING
- - WAGER_TYPE_NOT_VALID_FOR_PARLAY
- - WAGER_TYPE_CONFLICTS_WITH_OTHER_LEG
- legId:
- type: string
- description: 来自请求的 legId 的回显。
- lineId:
- type: integer
- format: int64
- description: 线标识。
- altLineId:
- type: integer
- format: int64
- description: 如果请求了替代线,将返回该线的 ID。
- price:
- type: number
- format: double
- description: 价格
- correlatedLegs:
- type: array
- description: 如果 errorCode 为 CORRELATED,将包含所有相关腿的 legIds。
- items:
- type: string
- required:
- - legId
- - status
- LinesRequestTeaser:
- type: object
- properties:
- teaserId:
- type: integer
- format: int64
- description: 唯一标识符。可以从调用 v1/teaser/groups 端点检索过关详情。
- oddsFormat:
- type: string
- description: 返回赔率的格式。[American, Decimal, HongKong, Indonesian, Malay]
- enum:
- - American
- - Decimal
- - HongKong
- - Indonesian
- - Malay
- legs:
- type: array
- description: 过关腿的集合。
- items:
- $ref: '#/definitions/TeaserLineRequest'
- required:
- - teaserId
- - oddsFormat
- - legs
- TeaserLineRequest:
- type: object
- properties:
- legId:
- type: string
- description: 客户端生成的用于唯一识别腿的 GUID。
- eventId:
- type: integer
- format: int64
- description: 唯一标识符。
- periodNumber:
- type: integer
- format: int32
- description: 正在投注的比赛周期。可以使用 v1/periods 端点检索某项运动的所有周期。
- betType:
- type: string
- description: 投注类型。目前仅支持 SPREAD 和 TOTAL_POINTS。[SPREAD, TOTAL_POINTS]
- enum:
- - SPREAD
- - TOTAL_POINTS
- team:
- type: string
- description: 让分盘投注的队伍。[Team1, Team2]
- enum:
- - Team1
- - Team2
- side:
- type: string
- description: 总分盘投注的侧。[OVER, UNDER]
- enum:
- - OVER
- - UNDER
- handicap:
- type: number
- format: double
- description: 点数。
- required:
- - legId
- - eventId
- - periodNumber
- - betType
- - handicap
- TeaserLinesResponse:
- type: object
- properties:
- status:
- type: string
- description: 请求状态。[VALID = 过关有效, PROCESSED_WITH_ERROR = 过关包含一个或多个错误]
- example: PROCESSED_WITH_ERROR
- enum:
- - VALID
- - PROCESSED_WITH_ERROR
- errorCode:
- type: string
- description: |
- 当状态为 PROCESSED_WITH_ERROR 时,提供一个代码指示具体问题。
- INVALID_LEGS = 一个或多个腿无效,
- SAME_EVENT_ONLY_REQUIRED = 指定的过关要求所有腿来自同一赛事,
- TEASER_DISABLED = 过关已被禁用,无法投注,
- TEASER_DOES_NOT_EXIST = 找不到过关标识符,
- TOO_FEW_LEGS = 您不满足指定过关的最小腿数要求,
- TOO_MANY_LEGS = 您超过了指定过关的最大腿数,
- UNKNOWN = 发生未知错误
- enum:
- - INVALID_LEGS
- - SAME_EVENT_ONLY_REQUIRED
- - TEASER_DISABLED
- - TEASER_DOES_NOT_EXIST
- - TOO_FEW_LEGS
- - TOO_MANY_LEGS
- - UNKNOWN
- price:
- type: number
- format: double
- description: 投注价格。
- minRiskStake:
- type: number
- format: double
- description: WIN_RISK_TYPE.RISK 的最小投注金额。
- maxRiskStake:
- type: number
- format: double
- description: WIN_RISK_TYPE.RISK 的最大投注金额。
- minWinStake:
- type: number
- format: double
- description: WIN_RISK_TYPE.WIN 的最小投注金额。
- maxWinStake:
- type: number
- format: double
- description: WIN_RISK_TYPE.WIN 的最大投注金额。
- legs:
- type: array
- description: 来自请求的过关腿集合。
- items:
- $ref: '#/definitions/TeaserLineLeg'
- required:
- - status
- - legs
- TeaserLineLeg:
- type: object
- properties:
- status:
- type: string
- description: 请求状态。[VALID = 过关有效, PROCESSED_WITH_ERROR = 过关包含错误]
- example: PROCESSED_WITH_ERROR
- enum:
- - VALID
- - PROCESSED_WITH_ERROR
- errorCode:
- type: string
- description: |
- 当状态为 PROCESSED_WITH_ERROR 时,提供一个代码指示具体问题。
- EVENT_NOT_FOUND = 找不到指定的赛事,
- POINTS_NO_LONGER_AVAILABLE = 请求的点数不再可用。这意味着线已移动,
- UNKNOWN = 发生未知错误,
- WAGER_TYPE_NOT_VALID_FOR_TEASER = 指定的投注类型对过关无效
- enum:
- - EVENT_NOT_FOUND
- - POINTS_NO_LONGER_AVAILABLE
- - UNKNOWN
- - WAGER_TYPE_NOT_VALID_FOR_TEASER
- legId:
- type: string
- description: 来自请求的腿的唯一 ID 回显。
- lineId:
- type: integer
- format: int64
- description: 线标识。
- required:
- - legId
- - status
- OddsResponseV3:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- leagues:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/OddsLeagueV3'
- OddsResponseV4:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- leagues:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/OddsLeagueV4'
- OddsLeagueV3:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/OddsEventV3'
- OddsLeagueV4:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/OddsEventV4'
- OddsEventV3:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- awayScore:
- type: number
- format: double
- description: 客队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- homeScore:
- type: number
- format: double
- description: 主队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- awayRedCards:
- type: integer
- format: int32
- description: 客队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- homeRedCards:
- type: integer
- format: int32
- description: 主队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- periods:
- type: array
- description: 包含周期列表。
- items:
- $ref: '#/definitions/OddsPeriodV3'
- OddsEventV4:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- awayScore:
- type: number
- format: double
- description: 客队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- homeScore:
- type: number
- format: double
- description: 主队得分。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- awayRedCards:
- type: integer
- format: int32
- description: 客队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- homeRedCards:
- type: integer
- format: int32
- description: 主队红牌数。仅适用于直播足球赛事。仅支持全场周期(number=0)。
- periods:
- type: array
- description: 包含周期列表。
- items:
- $ref: '#/definitions/OddsPeriodV4'
- OddsPeriodV3:
- type: object
- properties:
- lineId:
- type: integer
- format: int64
- description: 线 ID。
- number:
- type: integer
- format: int32
- description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
- cutoff:
- type: string
- format: date-time
- description: 周期的投注截止日期(UTC)。
- status:
- type: integer
- format: int32
- description: |
- 1 - 在线,周期开放投注
- 2 - 离线,周期不开放投注
- example: 1
- maxSpread:
- type: number
- format: double
- description: 最大让分盘投注。仅在直盘赔率响应中。
- maxMoneyline:
- type: number
- format: double
- description: 最大独赢盘投注。仅在直盘赔率响应中。
- maxTotal:
- type: number
- format: double
- description: 最大总分盘投注。仅在直盘赔率响应中。
- maxTeamTotal:
- type: number
- format: double
- description: 最大队伍总分盘投注。仅在直盘赔率响应中。
- moneylineUpdatedAt:
- type: string
- format: date-time
- description: 最后一次独赢盘更新的日期时间。
- spreadUpdatedAt:
- type: string
- format: date-time
- description: 最后一次让分盘更新的日期时间。
- totalUpdatedAt:
- type: string
- format: date-time
- description: 最后一次总分盘更新的日期时间。
- teamTotalUpdatedAt:
- type: string
- format: date-time
- description: 最后一次队伍总分盘更新的日期时间。
- spreads:
- type: array
- description: 让分盘赔率容器。
- items:
- $ref: '#/definitions/OddsSpreadV3'
- moneyline:
- $ref: '#/definitions/OddsMoneylineV3'
- totals:
- type: array
- description: 队伍总分容器。
- items:
- $ref: '#/definitions/OddsTotalV3'
- teamTotal:
- $ref: '#/definitions/OddsTeamTotalsV3'
- awayScore:
- type: number
- format: double
- description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeScore:
- type: number
- format: double
- description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- awayRedCards:
- type: number
- format: int32
- description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeRedCards:
- type: number
- format: int32
- description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- OddsPeriodV4:
- type: object
- properties:
- lineId:
- type: integer
- format: int64
- description: 线 ID。
- number:
- type: integer
- format: int32
- description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
- cutoff:
- type: string
- format: date-time
- description: 周期的投注截止日期(UTC)。
- status:
- type: integer
- format: int32
- description: |
- 1 - 在线,周期开放投注
- 2 - 离线,周期不开放投注
- example: 1
- maxSpread:
- type: number
- format: double
- description: 最大让分盘投注。仅在直盘赔率响应中。
- maxMoneyline:
- type: number
- format: double
- description: 最大独赢盘投注。仅在直盘赔率响应中。
- maxTotal:
- type: number
- format: double
- description: 最大总分盘投注。仅在直盘赔率响应中。
- maxTeamTotal:
- type: number
- format: double
- description: 最大队伍总分盘投注。仅在直盘赔率响应中。
- moneylineUpdatedAt:
- type: string
- format: date-time
- description: 最后一次独赢盘更新的日期时间。
- spreadUpdatedAt:
- type: string
- format: date-time
- description: 最后一次让分盘更新的日期时间。
- totalUpdatedAt:
- type: string
- format: date-time
- description: 最后一次总分盘更新的日期时间。
- teamTotalUpdatedAt:
- type: string
- format: date-time
- description: 最后一次队伍总分盘更新的日期时间。
- spreads:
- type: array
- description: 让分盘赔率容器。
- items:
- $ref: '#/definitions/OddsSpreadV4'
- moneyline:
- $ref: '#/definitions/OddsMoneylineV4'
- totals:
- type: array
- description: 队伍总分容器。
- items:
- $ref: '#/definitions/OddsTotalV4'
- teamTotal:
- $ref: '#/definitions/OddsTeamTotalsV4'
- awayScore:
- type: number
- format: double
- description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeScore:
- type: number
- format: double
- description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- awayRedCards:
- type: number
- format: int32
- description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeRedCards:
- type: number
- format: int32
- description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- OddsSpreadV3:
- type: object
- properties:
- altLineId:
- type: integer
- format: int64
- description: 仅在为替代线时存在。
- hdp:
- type: number
- format: double
- description: 主队让分。
- home:
- type: number
- format: double
- description: 主队价格。
- away:
- type: number
- format: double
- description: 客队价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
- OddsSpreadV4:
- type: object
- properties:
- altLineId:
- type: integer
- format: int64
- description: 仅在为替代线时存在。
- hdp:
- type: number
- format: double
- description: 主队让分。
- home:
- type: number
- format: double
- description: 主队价格。
- away:
- type: number
- format: double
- description: 客队价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
- OddsMoneylineV3:
- type: object
- properties:
- home:
- type: number
- format: double
- description: 客队价格
- away:
- type: number
- format: double
- description: 客队价格。
- draw:
- type: number
- format: double
- description: 平局价格。仅在我们提供平局价格的事件中存在。
- OddsMoneylineV4:
- type: object
- properties:
- home:
- type: number
- format: double
- description: 客队价格
- away:
- type: number
- format: double
- description: 客队价格。
- draw:
- type: number
- format: double
- description: 平局价格。仅在我们提供平局价格的事件中存在。
- OddsTotalV3:
- type: object
- properties:
- altLineId:
- type: integer
- format: int64
- description: 仅在为替代线时存在。
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
- OddsTotalV4:
- type: object
- properties:
- altLineId:
- type: integer
- format: int64
- description: 仅在为替代线时存在。
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
- OddsTeamTotalsV3:
- type: object
- properties:
- home:
- $ref: '#/definitions/OddsTeamTotalV3'
- away:
- $ref: '#/definitions/OddsTeamTotalV3'
- OddsTeamTotalsV4:
- type: object
- properties:
- home:
- type: array
- description: 主队总分容器。
- items:
- $ref: '#/definitions/OddsTeamTotalV4'
- away:
- type: array
- description: 客队总分容器。
- items:
- $ref: '#/definitions/OddsTeamTotalV4'
- OddsTeamTotalV3:
- type: object
- properties:
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- OddsTeamTotalV4:
- type: object
- properties:
- altLineId:
- type: number
- format: int64
- description: 仅在为替代线时存在。
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTeamTotal` 市场限额。
- required:
- - points
- - over
- - under
- ParlayOddsResponseV3:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- leagues:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/ParlayOddsLeagueV3'
- required:
- - sportId
- - last
- - leagues
- ParlayOddsResponseV4:
- type: object
- properties:
- sportId:
- type: integer
- format: int32
- description: 与请求的运动 ID 相同。
- last:
- type: integer
- format: int64
- description: 在后续请求中使用此值作为 since 查询参数,以仅获取自上次响应以来的更改。
- leagues:
- type: array
- description: 包含联赛列表。
- items:
- $ref: '#/definitions/ParlayOddsLeagueV4'
- required:
- - sportId
- - last
- - leagues
- ParlayOddsLeagueV3:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/ParlayOddsEventV3'
- required:
- - id
- - events
- ParlayOddsLeagueV4:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 联赛 ID。
- events:
- type: array
- description: 包含赛事列表。
- items:
- $ref: '#/definitions/ParlayOddsEventV4'
- required:
- - id
- - events
- ParlayOddsEventV3:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- awayScore:
- type: number
- format: double
- description: 客队得分。仅适用于直播足球赛事。
- homeScore:
- type: number
- format: double
- description: 主队得分。仅适用于直播足球赛事。
- awayRedCards:
- type: integer
- format: int32
- description: 客队红牌数。仅适用于直播足球赛事。
- homeRedCards:
- type: integer
- format: int32
- description: 主队红牌数。仅适用于直播足球赛事。
- periods:
- type: array
- description: 包含周期列表。
- items:
- $ref: '#/definitions/ParlayOddsPeriodV3'
- required:
- - id
- - periods
- ParlayOddsEventV4:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 赛事 ID。
- awayScore:
- type: number
- format: double
- description: 客队得分。仅适用于直播足球赛事。
- homeScore:
- type: number
- format: double
- description: 主队得分。仅适用于直播足球赛事。
- awayRedCards:
- type: integer
- format: int32
- description: 客队红牌数。仅适用于直播足球赛事。
- homeRedCards:
- type: integer
- format: int32
- description: 主队红牌数。仅适用于直播足球赛事。
- periods:
- type: array
- description: 包含周期列表。
- items:
- $ref: '#/definitions/ParlayOddsPeriodV4'
- required:
- - id
- - periods
- ParlayOddsPeriodV3:
- type: object
- properties:
- lineId:
- type: integer
- format: int64
- description: 线 ID。
- number:
- type: integer
- format: int32
- description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
- cutoff:
- type: string
- format: date-time
- description: 周期的投注截止日期(UTC)。
- status:
- type: integer
- format: int32
- description: |
- 1 - 在线,周期开放投注
- 2 - 离线,周期不开放投注
- example: 1
- maxSpread:
- type: number
- format: double
- description: 最大让分盘投注。仅在直盘赔率响应中。
- maxMoneyline:
- type: number
- format: double
- description: 最大独赢盘投注。仅在直盘赔率响应中。
- maxTotal:
- type: number
- format: double
- description: 最大总分盘投注。仅在直盘赔率响应中。
- maxTeamTotal:
- type: number
- format: double
- description: 最大队伍总分盘投注。仅在直盘赔率响应中。
- moneylineUpdatedAt:
- type: number
- format: double
- description: 最后一次独赢盘更新的日期时间。
- spreadUpdatedAt:
- type: number
- format: double
- description: 最后一次让分盘更新的日期时间。
- totalUpdatedAt:
- type: number
- format: double
- description: 最后一次总分盘更新的日期时间。
- teamTotalUpdatedAt:
- type: number
- format: double
- description: 最后一次队伍总分盘更新的日期时间。
- spreads:
- type: array
- description: 让分盘赔率容器。
- items:
- $ref: '#/definitions/ParlayOddsSpreadV3'
- moneyline:
- $ref: '#/definitions/ParlayOddsMoneylineV3'
- totals:
- type: array
- description: 队伍总分容器。
- items:
- $ref: '#/definitions/ParlayOddsTotalV3'
- teamTotal:
- $ref: '#/definitions/ParlayOddsTeamTotalsV3'
- awayScore:
- type: number
- format: double
- description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeScore:
- type: number
- format: double
- description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- awayRedCards:
- type: number
- format: double
- description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeRedCards:
- type: number
- format: double
- description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- required:
- - lineId
- - number
- - cutoff
- ParlayOddsPeriodV4:
- type: object
- properties:
- lineId:
- type: integer
- format: int64
- description: 线 ID。
- number:
- type: integer
- format: int32
- description: 这代表比赛的周期。例如,对于足球我们有 0(全场)、1(上半场)和 2(下半场)。
- cutoff:
- type: string
- format: date-time
- description: 周期的投注截止日期(UTC)。
- status:
- type: integer
- format: int32
- description: |
- 1 - 在线,周期开放投注
- 2 - 离线,周期不开放投注
- example: 1
- maxSpread:
- type: number
- format: double
- description: 最大让分盘投注。仅在直盘赔率响应中。
- maxMoneyline:
- type: number
- format: double
- description: 最大独赢盘投注。仅在直盘赔率响应中。
- maxTotal:
- type: number
- format: double
- description: 最大总分盘投注。仅在直盘赔率响应中。
- maxTeamTotal:
- type: number
- format: double
- description: 最大队伍总分盘投注。仅在直盘赔率响应中。
- moneylineUpdatedAt:
- type: number
- format: double
- description: 最后一次独赢盘更新的日期时间。
- spreadUpdatedAt:
- type: number
- format: double
- description: 最后一次让分盘更新的日期时间。
- totalUpdatedAt:
- type: number
- format: double
- description: 最后一次总分盘更新的日期时间。
- teamTotalUpdatedAt:
- type: number
- format: double
- description: 最后一次队伍总分盘更新的日期时间。
- spreads:
- type: array
- description: 让分盘赔率容器。
- items:
- $ref: '#/definitions/ParlayOddsSpreadV4'
- moneyline:
- $ref: '#/definitions/ParlayOddsMoneylineV4'
- totals:
- type: array
- description: 队伍总分容器。
- items:
- $ref: '#/definitions/ParlayOddsTotalV4'
- teamTotal:
- $ref: '#/definitions/ParlayOddsTeamTotalsV4'
- awayScore:
- type: number
- format: double
- description: 周期客队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeScore:
- type: number
- format: double
- description: 周期主队得分。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- awayRedCards:
- type: number
- format: double
- description: 周期客队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- homeRedCards:
- type: number
- format: double
- description: 周期主队红牌数。仅适用于直播足球赛事。仅支持全场(number=0)和加时赛(number=3)。
- required:
- - lineId
- - number
- - cutoff
- ParlayOddsSpreadV3:
- type: object
- properties:
- altLineId:
- type: integer
- format: int64
- description: 仅在为替代线时存在。
- hdp:
- type: number
- format: double
- description: 主队让分。
- home:
- type: number
- format: double
- description: 主队价格。
- away:
- type: number
- format: double
- description: 客队价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
- required:
- - hdp
- - home
- - away
- ParlayOddsSpreadV4:
- type: object
- properties:
- altLineId:
- type: integer
- format: int64
- description: 仅在为替代线时存在。
- hdp:
- type: number
- format: double
- description: 主队让分。
- home:
- type: number
- format: double
- description: 主队价格。
- away:
- type: number
- format: double
- description: 客队价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxSpread` 市场限额。
- required:
- - hdp
- - home
- - away
- ParlayOddsMoneylineV3:
- type: object
- properties:
- home:
- type: number
- format: double
- description: 客队价格
- away:
- type: number
- format: double
- description: 客队价格。
- draw:
- type: number
- format: double
- description: 平局价格。仅在我们提供平局价格的事件中存在。
- required:
- - home
- - away
- ParlayOddsMoneylineV4:
- type: object
- properties:
- home:
- type: number
- format: double
- description: 客队价格
- away:
- type: number
- format: double
- description: 客队价格。
- draw:
- type: number
- format: double
- description: 平局价格。仅在我们提供平局价格的事件中存在。
- required:
- - home
- - away
- ParlayOddsTotalV3:
- $ref: '#/definitions/ParlayOddsTotalsV3'
- ParlayOddsTotalV4:
- $ref: '#/definitions/ParlayOddsTotalsV4'
- ParlayOddsTeamTotalsV3:
- type: object
- properties:
- away:
- $ref: '#/definitions/ParlayOddsTotalsV3'
- home:
- $ref: '#/definitions/ParlayOddsTotalsV3'
- ParlayOddsTeamTotalsV4:
- type: object
- properties:
- away:
- type: array
- description: 客队总分容器。
- items:
- $ref: '#/definitions/ParlayOddsTeamTotalV4'
- home:
- type: array
- description: 主队总分容器。
- items:
- $ref: '#/definitions/ParlayOddsTeamTotalV4'
- ParlayOddsTotalsV3:
- type: object
- properties:
- altLineId:
- type: number
- format: int64
- description: 替代线的线 ID。仅在为替代线时存在。
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
- required:
- - points
- - over
- - under
- ParlayOddsTotalsV4:
- type: object
- properties:
- altLineId:
- type: number
- format: int64
- description: 替代线的线 ID。仅在为替代线时存在。
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTotal` 市场限额。
- required:
- - points
- - over
- - under
- ParlayOddsTeamTotalV4:
- type: object
- properties:
- altLineId:
- type: number
- format: int64
- description: 仅在为替代线时存在。
- points:
- type: number
- format: double
- description: 总分。
- over:
- type: number
- format: double
- description: 大价格。
- under:
- type: number
- format: double
- description: 小价格。
- max:
- type: number
- format: double
- nullable: true
- description: 最大投注量。仅在替代线上存在,如果设置,将覆盖 `maxTeamTotal` 市场限额。
- required:
- - points
- - over
- - under
- TeaserOddsResponse:
- type: object
- properties:
- teaserId:
- type: integer
- format: int64
- description: 唯一标识符。可以从调用 Get Teaser Groups 端点检索过关详情。
- sportId:
- type: integer
- format: int32
- description: 唯一标识符。可以从调用 Get Sports 端点检索运动详情。
- leagues:
- type: array
- description: 联赛集合。
- items:
- $ref: '#/definitions/TeaserOddsLeague'
- TeaserOddsLeague:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 唯一标识符。可以从调用 Get Leagues 端点检索联赛详情。
- events:
- type: array
- description: 赛事集合。
- items:
- $ref: '#/definitions/TeaserOddsEvent'
- TeaserOddsEvent:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 唯一标识符。
- periods:
- type: array
- description: 周期集合,指示可用于投注的周期编号。
- items:
- $ref: '#/definitions/TeaserOddsPeriod'
- TeaserOddsPeriod:
- type: object
- properties:
- number:
- type: integer
- format: int32
- description: 请求的比赛周期。请参考 v1/periods 端点以检索某项运动的所有有效周期。
- lineId:
- type: integer
- format: int64
- description: 唯一标识符。
- spreadUpdatedAt:
- type: string
- format: date-time
- description: 最后一次让分盘更新的日期时间。
- totalUpdatedAt:
- type: string
- format: date-time
- description: 最后一次总分盘更新的日期时间。
- spread:
- $ref: '#/definitions/TeaserOddsSpread'
- total:
- $ref: '#/definitions/TeaserOddsTotalPoints'
- TeaserOddsSpread:
- type: object
- properties:
- maxBet:
- type: number
- format: double
- description: 最大投注金额。
- homeHdp:
- type: number
- format: double
- description: 主队让分。请参考 Get Fixtures 端点以确定主队和客队。
- awayHdp:
- type: number
- format: double
- description: 客队让分。请参考 Get Fixtures 端点以确定主队和客队。
- altHdp:
- type: boolean
- description: 让分是否提供替代过关点数。具有替代过关点数的事件可能与过关定义不同。
- example: false
- TeaserOddsTotalPoints:
- type: object
- properties:
- maxBet:
- type: number
- format: double
- description: 最大投注金额。
- overPoints:
- type: number
- format: double
- description: 大点数。
- underPoints:
- type: number
- format: double
- description: 小点数。
- SportPeriod:
- type: object
- properties:
- number:
- type: integer
- format: int32
- description: 周期编号
- description:
- type: string
- description: 周期的描述
- shortDescription:
- type: string
- description: 周期的简短描述
- SportsResponseV3:
- type: object
- properties:
- sports:
- type: array
- description: 运动容器.
- items:
- $ref: '#/definitions/SportV3'
- SportV3:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 运动 ID.
- name:
- type: string
- description: 运动名称。
- hasOfferings:
- type: boolean
- description: 运动当前是否有赛事或特殊赛事。
- leagueSpecialsCount:
- type: integer
- format: int32
- description: 指示给定运动中有多少特殊赛事。
- eventSpecialsCount:
- type: integer
- format: int32
- description: 指示给定运动中有多少赛事特殊赛事。
- eventCount:
- type: integer
- format: int32
- description: 指示给定运动中有多少赛事。
- TeaserGroupsResponse:
- type: object
- properties:
- teaserGroups:
- type: array
- description: 包含可用过关的过关组集合。
- items:
- $ref: '#/definitions/TeaserGroups'
- TeaserGroups:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 唯一标识符。
- name:
- type: string
- description: 过关组的友好名称
- teasers:
- type: array
- description: 过关集合。
- items:
- $ref: '#/definitions/TeaserGroupsTeaser'
- TeaserGroupsTeaser:
- type: object
- properties:
- id:
- type: integer
- format: int64
- description: 唯一标识符。
- description:
- type: string
- description: 过关的描述。
- sportId:
- type: integer
- format: int32
- description: 唯一运动标识符。可以从调用 v2/sports 端点检索运动详情。
- minLegs:
- type: integer
- format: int32
- description: 必须选择的最小腿数。
- maxLegs:
- type: integer
- format: int32
- description: 可以选择的最大腿数。
- sameEventOnly:
- type: boolean
- description: 如果为 'true',则所有腿必须来自同一赛事,否则腿可以来自不同赛事。
- payouts:
- type: array
- description: 指示所有可能赔付组合的赔付集合。
- items:
- $ref: '#/definitions/TeaserGroupsPayout'
- leagues:
- type: array
- description: 可用于过关的联赛集合。
- items:
- $ref: '#/definitions/TeaserGroupsLeague'
- TeaserGroupsPayout:
- type: object
- properties:
- numberOfLegs:
- type: integer
- format: int32
- description: 必须投注并获胜才能获得相关价格的腿数。
- price:
- type: number
- format: double
- description: 给定指定腿数的投注价格。
- TeaserGroupsLeague:
- type: object
- properties:
- id:
- type: integer
- format: int32
- description: 唯一标识符。可以从调用 v2/leagues 端点检索联赛详情。
- spread:
- $ref: '#/definitions/TeaserGroupsBetType'
- total:
- $ref: '#/definitions/TeaserGroupsBetType'
- TeaserGroupsBetType:
- type: object
- properties:
- points:
- type: number
- format: double
- description: 对于给定联赛,线将被调整的点数。
- SpecialsFixturesResponseV2:
- type: object
- properties:
- sportId:
- format: int32
- description: 要检索赔率的运动 ID。
- type: integer
- last:
- format: int64
- description: 用于仅在后续请求中检索更改。在后续调用中提供此值作为 Since 参数,以仅检索更改。
- type: integer
- leagues:
- description: 包含联赛列表。
- type: array
- items:
- $ref: '#/definitions/SpecialsFixturesLeagueV2'
- SpecialsFixturesLeagueV2:
- type: object
- properties:
- id:
- format: int32
- description: 赛程联赛 ID。
- type: integer
- specials:
- description: 特殊赛事集合
- type: array
- items:
- $ref: '#/definitions/SpecialFixtureV2'
- SpecialFixtureV2:
- type: object
- properties:
- id:
- format: int64
- description: 唯一 ID
- type: integer
- betType:
- description: 类型 [MULTI_WAY_HEAD_TO_HEAD, SPREAD, OVER_UNDER]
- enum:
- - MULTI_WAY_HEAD_TO_HEAD
- - SPREAD
- - OVER_UNDER
- type: string
- name:
- description: 特殊赛事名称。
- type: string
- date:
- format: date-time
- description: 特殊赛事的日期(UTC)。
- type: string
- cutoff:
- format: date-time
- description: 投注截止日期(UTC)。
- type: string
- category:
- description: 特殊赛事所属的类别。
- type: string
- units:
- description: 特殊赛事上下文中的测量单位。这适用于特殊投注类型让分和大小。在曲棍球特殊赛事中,这可能是进球数。
- type: string
- status:
- description: |
- 特殊赛事状态
- O = 这是比赛的起始状态。这意味着线开放投注,
- H = 此状态表示线暂时不可用于投注,
- I = 此状态表示一条或多条线有红圈(较低的最大投注金额)
- enum:
- - O
- - H
- - I
- type: string
- event:
- $ref: '#/definitions/SpecialsFixturesEventV2'
- contestants:
- description: 可用于投注的参赛者线。
- type: array
- items:
- $ref: '#/definitions/SpecialsFixturesContestant'
- liveStatus:
- format: int32
- description: |
- 当特殊赛事链接到赛事时,我们将返回赛事的直播状态,否则将为 0。0 = 此赛事不提供直播投注,1 = 直播投注赛事,2 = 将为此比赛提供直播投注,但在不同赛事上。
- 请注意,在 LiveStatus=1 的特殊赛事上下注时,会应用直播延迟。
- enum:
- - 0
- - 1
- - 2
- type: integer
- SpecialsFixturesEventV2:
- type: object
- description: 与特殊赛事关联的可选赛事。
- properties:
- id:
- format: int32
- description: 赛事 ID
- type: integer
- periodNumber:
- format: int32
- description: 比赛的周期。例如在足球中 0(全场)、1(上半场)和 2(下半场)
- type: integer
- home:
- description: 主队名称。
- type: string
- away:
- description: 客队名称。
- type: string
- SpecialsFixturesContestant:
- type: object
- properties:
- id:
- format: int64
- description: 参赛者 ID。
- type: integer
- name:
- description: 参赛者名称。
- type: string
- rotNum:
- format: int32
- description: 轮换号码。
- type: integer
- SettledSpecialsResponseV3:
- description: 已结算特殊赛事请求的响应 dto
- type: object
- properties:
- sportId:
- format: int32
- description: 要检索赔率的运动 ID。
- type: integer
- last:
- format: int64
- description: 已结算赛程的最后索引
- type: integer
- leagues:
- description: 联赛列表。
- type: array
- items:
- $ref: '#/definitions/SettledSpecialsLeagueV3'
- SettledSpecialsLeagueV3:
- description: 用于保存联赛所有已结算特殊赛事的联赛 Dto
- type: object
- properties:
- id:
- format: int32
- description: 联赛 ID。
- type: integer
- specials:
- description: 已结算特殊赛事集合
- type: array
- items:
- $ref: '#/definitions/SettledSpecialV3'
- SettledSpecialV3:
- description: 已结算特殊赛事
- type: object
- properties:
- id:
- format: int64
- description: 已结算特殊赛事的 ID
- type: integer
- status:
- format: int32
- description: 已结算特殊赛事的状态。
- type: integer
- settlementId:
- format: int64
- description: 已结算特殊赛事的 ID
- type: integer
- settledAt:
- format: date-time
- description: 结算日期时间
- type: string
- cancellationReason:
- $ref: '#/definitions/CancellationReasonType'
- description: 特殊赛事的取消原因
- contestants:
- description: 参赛者集合
- type: array
- items:
- $ref: '#/definitions/SettledContestants'
- SettledContestants:
- description: 已结算特殊赛事
- type: object
- properties:
- id:
- format: int64
- description: 参赛者 ID。
- type: integer
- name:
- description: 参赛者名称
- type: string
- example: Union Magdalena
- outcome:
- type: string
- description: |
- 参赛者结果。
- W = 获胜,
- L = 失败,
- X = 取消,
- T = 平局,
- Z = 取消
- enum:
- - W
- - L
- - X
- - T
- - Z
- SpecialLineResponse:
- type: object
- properties:
- status:
- description: 状态 [SUCCESS = 成功, NOT_EXISTS = 不再提供线]
- enum:
- - SUCCESS
- - NOT_EXISTS
- type: string
- specialId:
- format: int64
- description: 特殊赛事 ID。
- type: integer
- contestantId:
- format: int64
- description: 参赛者 ID。
- type: integer
- minRiskStake:
- format: double
- description: 最小可投注风险金额。
- type: number
- maxRiskStake:
- format: double
- description: 最大可投注风险金额。
- type: number
- minWinStake:
- format: double
- description: 最小可投注赢利金额。
- type: number
- maxWinStake:
- format: double
- description: 最大可投注赢利金额。
- type: number
- lineId:
- format: int64
- description: 下注所需的线标识。
- type: integer
- price:
- format: double
- description: 最新价格。
- type: number
- handicap:
- format: double
- description: 让分。
- type: number
- SpecialOddsResponseV2:
- type: object
- properties:
- sportId:
- format: int32
- description: 要检索赔率的运动 ID。
- type: integer
- last:
- format: int64
- description: 用于仅在后续请求中检索更改。在后续调用中提供此值作为 Since 参数,以仅检索更改。
- type: integer
- leagues:
- description: 包含联赛列表。
- type: array
- items:
- $ref: '#/definitions/SpecialOddsLeagueV2'
- SpecialOddsLeagueV2:
- type: object
- properties:
- id:
- format: int32
- description: 联赛 ID。
- type: integer
- specials:
- description: 赛程特殊赛事集合。
- type: array
- items:
- $ref: '#/definitions/SpecialOddsSpecialV2'
- SpecialOddsSpecialV2:
- type: object
- properties:
- id:
- format: int64
- description: 特殊赛事 ID。
- type: integer
- maxRisk:
- format: double
- description: 最大风险金额。
- type: number
- contestantLines:
- description: 可用于投注的参赛者线。
- type: array
- items:
- $ref: '#/definitions/SpecialOddsContestantLineV2'
- SpecialOddsContestantLineV2:
- type: object
- properties:
- id:
- format: int64
- description: 参赛者线 ID。
- type: integer
- lineId:
- format: int64
- description: 下注所需的线标识符。
- type: integer
- price:
- format: double
- description: 线的价格。
- type: number
- handicap:
- format: double
- description: 表示让分、大小等的数字。
- type: number
- max:
- format: double
- description: 每个参赛者的最大投注量金额。请参阅[如何从最大投注量计算最大风险](https://github.com/pinny888/pinny888.github.io/blob/main/FAQs.md#how-to-calculate-max-risk-from-the-max-volume-limits-in-odds)
- type: number
|