swagger: '2.0' info: version: 1.0.0 title: Pinnacle888 - Lines API 参考文档 description: | 关于赔率和赛程的所有信息 # 身份验证 API 使用 HTTP Basic 访问身份验证。您需要发送 Authorization HTTP 请求头: `Authorization: Basic ` 示例: `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