Download OpenAPI specification:Download
关于投注的一切:下单、查询投注历史或当前投注状态。
API 使用 HTTP Basic 访问认证。需在请求头中发送 Authorization:
Authorization: Basic <UTF-8 编码的 "用户名:密码" 的 Base64 值>
示例:
Authorization: Basic U03MyOT23YbzMDc6d3c3O1DQ1
下单选式投注(让分 SPREAD、独赢 MONEYLINE、总分 TOTAL_POINTS、队伍总分 TEAM_TOTAL_POINTS)。
请注意:当状态为 PENDING_ACCEPTANCE 且应用了滚球延迟时,响应中不会包含 betId。客户端需通过 uniqueRequestId 调用 /bets 来查询投注是否已被 ACCEPTED。
详见 如何在滚球赛事上下注?
| oddsFormat | string (OddsFormat) Enum: "AMERICAN" "DECIMAL" "HONGKONG" "INDONESIAN" "MALAY" Bet odds format. |
| uniqueRequestId | string <uuid> 下单请求的唯一 ID,用于支持幂等请求。 |
| acceptBetterLine | boolean 当盘口变化对客户有利时是否接受该投注。 |
| stake | number <double> amount in client’s currency. |
| winRiskStake | string Enum: "WIN" "RISK" 投注金额是风险金额还是盈利金额。 |
| lineId | integer <int64> 盘口标识。 |
| altLineId | integer or null <int64> 备用盘口标识。 |
| pitcher1MustStart | boolean 仅棒球。指主队(Team1)先发投手。仅 MONEYLINE 投注类型可设,其他类型须为 TRUE。 |
| pitcher2MustStart | boolean 仅棒球。指客队(Team2)先发投手。仅 MONEYLINE 投注类型可设,其他类型须为 TRUE。 |
| fillType | string Default: "NORMAL" Enum: "NORMAL" "FILLANDKILL" "FILLMAXLIMIT" NORMAL - 按指定金额下注。 |
| sportId | integer <int32> |
| eventId | integer <int64> |
| periodNumber | integer <int32> |
| betType | string Enum: "MONEYLINE" "TEAM_TOTAL_POINTS" "SPREAD" "TOTAL_POINTS" 投注类型。 |
| team | string Enum: "TEAM1" "TEAM2" "DRAW" 队伍类型。 |
| side | string or null Enum: "OVER" "UNDER" 方向类型(大/小)。 |
| handicap | number <double> SPREAD、TOTAL_POINTS、TEAM_TOTAL_POINTS 类型的可选参数。 |
{- "oddsFormat": "DECIMAL",
- "uniqueRequestId": "D5CC50E4-284D-4D50-8D49-429BDC4F2A48",
- "acceptBetterLine": true,
- "stake": 10.5,
- "winRiskStake": "RISK",
- "lineId": 420921914,
- "altLineId": null,
- "pitcher1MustStart": true,
- "pitcher2MustStart": true,
- "fillType": "NORMAL",
- "sportId": 29,
- "eventId": 757504261,
- "periodNumber": 0,
- "betType": "MONEYLINE",
- "team": "TEAM1",
- "side": null,
- "handicap": 1
}{- "status": "ACCEPTED",
- "errorCode": null,
- "uniqueRequestId": "D5CC50E4-284D-4D50-8D49-429BDC4F2A48",
- "straightBet": {
- "betId": 759629245,
- "wagerNumber": 1,
- "placedAt": "2017-09-05T01:32:59Z",
- "betStatus": "ACCEPTED",
- "betType": "MONEYLINE",
- "win": 1,
- "risk": 1.5,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 111548915,
- "sportId": 29,
- "leagueId": 2462,
- "eventId": 757064557,
- "handicap": null,
- "price": -155,
- "teamName": "Crvena Zvezda",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": null,
- "pitcher2MustStart": null,
- "team1": "Crvena Zvezda",
- "team2": "Partizan",
- "periodNumber": 0,
- "team1Score": null,
- "team2Score": null,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "isLive": "FALSE"
}
}串关投注请求体。
| uniqueRequestId | string <uuid> This unique id of the place bet requests. This is to support idempotent requests. |
| acceptBetterLine | boolean 当盘口变化对客户有利时是否接受该投注。 |
| riskAmount | number <double> Amount in client’s currency. It is always risk amount when placing Parlay bets NOTE: If round robin options is used this amount will apply for all parlays so actual amount wagered will be riskAmount X number of Parlays. |
| oddsFormat | string (OddsFormat) Enum: "AMERICAN" "DECIMAL" "HONGKONG" "INDONESIAN" "MALAY" Bet odds format. |
Array of objects (ParlayLegRequest) Collection of parlay legs. | |
| roundRobinOptions | Array of strings Items Enum: "Parlay" "TwoLegRoundRobin" "ThreeLegRoundRobin" "FourLegRoundRobin" "FiveLegRoundRobin" "SixLegRoundRobin" "SevenLegRoundRobin" "EightLegRoundRobin" |
{- "uniqueRequestId": "A9EB2EB1-13A5-4600-9F1B-4859379CDEC4",
- "acceptBetterLine": true,
- "riskAmount": 10.5,
- "oddsFormat": "DECIMAL",
- "legs": [
- {
- "uniqueLegId": "CFAD8ACF-E410-437C-8F0F-33611F565981",
- "lineId": 419715968,
- "altLineId": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "sportId": 29,
- "eventId": 758023991,
- "periodNumber": 0,
- "legBetType": "MONELYLINE",
- "team": "TEAM1",
- "side": null
}
], - "roundRobinOptions": [
- "Parlay"
]
}{- "status": "ACCEPTED",
- "errorCode": null,
- "betId": 759629245,
- "uniqueRequestId": "D5CC50E4-284D-4D50-8D49-429BDC4F2A48",
- "roundRobinOptionWithOdds": [
- {
- "roundRobinOption": "Parlay",
- "odds": 682,
- "unroundedDecimalOdds": 7.8231
}
], - "maxRiskStake": 0,
- "minRiskStake": 0,
- "validLegs": [
- {
- "status": "VALID",
- "errorCode": null,
- "legId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "lineId": 419715968,
- "altLineId": null,
- "price": 167,
- "correlatedLegs": [
- "10924E23-A2FE-4317-BFFD-80504675F554"
]
}
], - "invalidLegs": [
- {
- "status": "VALID",
- "errorCode": null,
- "legId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "lineId": 419715968,
- "altLineId": null,
- "price": 167,
- "correlatedLegs": [
- "10924E23-A2FE-4317-BFFD-80504675F554"
]
}
], - "parlayBet": {
- "betId": 760404490,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-08T00:55:11Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "PARLAY",
- "win": 6.82,
- "risk": 1,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 112839436,
- "legs": [
- {
- "sportId": 29,
- "legBetType": "MONEYLINE",
- "legBetStatus": "CANCELLED",
- "legBetStatus2": "CANCELLED",
- "leagueId": 1766,
- "eventId": 758024079,
- "eventStartTime": "2017-10-07T21:00:00Z",
- "handicap": null,
- "price": 193,
- "teamName": "Adelaide United",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "resultingUnit": "string"
}
], - "price": 682,
- "finalPrice": 0
}
}特殊投注请求体。
Array of objects (SpecialBetRequest) The individual bets. |
{- "bets": [
- {
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "acceptBetterLine": true,
- "oddsFormat": "DECIMAL",
- "stake": 10.5,
- "winRiskStake": "RISK",
- "lineId": 51024304,
- "specialId": 726394409,
- "contestantId": 726394411
}
]
}{- "bets": [
- {
- "status": "ACCEPTED",
- "errorCode": null,
- "betId": 760745142,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "betterLineWasAccepted": false,
- "specialBet": {
- "betId": 760748770,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-09T01:49:43Z",
- "betStatus": "ACCEPTED",
- "betType": "SPECIAL",
- "win": 1,
- "risk": 1.51,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 113214135,
- "specialId": 726397620,
- "specialName": "Denver Broncos Regular Season Wins?",
- "contestantId": 726397622,
- "contestantName": "Under",
- "price": -151,
- "handicap": 8.5,
- "units": "Regular Season Wins",
- "sportId": 15,
- "leagueId": 889,
- "eventId": null,
- "periodNumber": null,
- "team1": null,
- "team2": null,
- "eventStartTime": "2019-08-24T14:15:22Z",
- "resultingUnit": "string"
}
}
]
}Place straight bet (SPREAD, MONEYLINE, TOTAL_POINTS, TEAM_TOTAL_POINTS).
Please note when the status is PENDING_ACCEPTANCE and if the live delay was applied, the response will not have betId. Client would have to call /bets by uniqueRequestId to check the status if the bet was ACCEPTED.
For more details please see How to place a bet on live events?
| oddsFormat | string (OddsFormat) Enum: "AMERICAN" "DECIMAL" "HONGKONG" "INDONESIAN" "MALAY" Bet odds format. |
| uniqueRequestId | string <uuid> 下单请求的唯一 ID,用于支持幂等请求。 |
| acceptBetterLine | boolean 当盘口变化对客户有利时是否接受该投注。 |
| stake | number <double> amount in client’s currency. |
| winRiskStake | string Enum: "WIN" "RISK" 投注金额是风险金额还是盈利金额。 |
| lineId | integer <int64> 盘口标识。 |
| altLineId | integer or null <int64> 备用盘口标识。 |
| pitcher1MustStart | boolean 仅棒球。指主队(Team1)先发投手。仅 MONEYLINE 投注类型可设,其他类型须为 TRUE。 |
| pitcher2MustStart | boolean 仅棒球。指客队(Team2)先发投手。仅 MONEYLINE 投注类型可设,其他类型须为 TRUE。 |
| fillType | string Default: "NORMAL" Enum: "NORMAL" "FILLANDKILL" "FILLMAXLIMIT" NORMAL - 按指定金额下注。 |
| sportId | integer <int32> |
| eventId | integer <int64> |
| periodNumber | integer <int32> |
| betType | string Enum: "MONEYLINE" "TEAM_TOTAL_POINTS" "SPREAD" "TOTAL_POINTS" 投注类型。 |
| team | string Enum: "TEAM1" "TEAM2" "DRAW" 队伍类型。 |
| side | string or null Enum: "OVER" "UNDER" 方向类型(大/小)。 |
| handicap | number <double> SPREAD、TOTAL_POINTS、TEAM_TOTAL_POINTS 类型的可选参数。 |
{- "oddsFormat": "DECIMAL",
- "uniqueRequestId": "D5CC50E4-284D-4D50-8D49-429BDC4F2A48",
- "acceptBetterLine": true,
- "stake": 10.5,
- "winRiskStake": "RISK",
- "lineId": 420921914,
- "altLineId": null,
- "pitcher1MustStart": true,
- "pitcher2MustStart": true,
- "fillType": "NORMAL",
- "sportId": 29,
- "eventId": 757504261,
- "periodNumber": 0,
- "betType": "MONEYLINE",
- "team": "TEAM1",
- "side": null,
- "handicap": 1
}{- "status": "ACCEPTED",
- "errorCode": null,
- "uniqueRequestId": "D5CC50E4-284D-4D50-8D49-429BDC4F2A48",
- "betId": 759629245,
- "win": 5.5,
- "risk": 10.5,
- "price": 2.5,
- "points": 1
}串关投注请求体。
| uniqueRequestId | string <uuid> This unique id of the place bet requests. This is to support idempotent requests. |
| acceptBetterLine | boolean 当盘口变化对客户有利时是否接受该投注。 |
| riskAmount | number <double> Amount in client’s currency. It is always risk amount when placing Parlay bets NOTE: If round robin options is used this amount will apply for all parlays so actual amount wagered will be riskAmount X number of Parlays. |
| oddsFormat | string (OddsFormat) Enum: "AMERICAN" "DECIMAL" "HONGKONG" "INDONESIAN" "MALAY" Bet odds format. |
Array of objects (ParlayLegRequest) Collection of parlay legs. | |
| roundRobinOptions | Array of strings Items Enum: "Parlay" "TwoLegRoundRobin" "ThreeLegRoundRobin" "FourLegRoundRobin" "FiveLegRoundRobin" "SixLegRoundRobin" "SevenLegRoundRobin" "EightLegRoundRobin" |
{- "uniqueRequestId": "A9EB2EB1-13A5-4600-9F1B-4859379CDEC4",
- "acceptBetterLine": true,
- "riskAmount": 10.5,
- "oddsFormat": "DECIMAL",
- "legs": [
- {
- "uniqueLegId": "CFAD8ACF-E410-437C-8F0F-33611F565981",
- "lineId": 419715968,
- "altLineId": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "sportId": 29,
- "eventId": 758023991,
- "periodNumber": 0,
- "legBetType": "MONELYLINE",
- "team": "TEAM1",
- "side": null
}
], - "roundRobinOptions": [
- "Parlay"
]
}{- "status": "ACCEPTED",
- "errorCode": null,
- "betId": 759629245,
- "uniqueRequestId": "D5CC50E4-284D-4D50-8D49-429BDC4F2A48",
- "roundRobinOptionWithOdds": [
- {
- "roundRobinOption": "Parlay",
- "odds": 682,
- "unroundedDecimalOdds": 7.8231
}
], - "validLegs": [
- {
- "status": "VALID",
- "errorCode": null,
- "legId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "lineId": 419715968,
- "altLineId": null,
- "price": 167,
- "points": 1,
- "correlatedLegs": [
- "10924E23-A2FE-4317-BFFD-80504675F554"
]
}
], - "invalidLegs": [
- {
- "status": "VALID",
- "errorCode": null,
- "legId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "lineId": 419715968,
- "altLineId": null,
- "price": 167,
- "points": 1,
- "correlatedLegs": [
- "10924E23-A2FE-4317-BFFD-80504675F554"
]
}
], - "wagers": [
- {
- "wagerNumber": 1,
- "win": 5.5,
- "risk": 10.5,
- "price": 7.1,
- "legIds": [
- "A9EB2EB1-13A5-4600-9F1B-4859379CDEC4",
- "CFAD8ACF-E410-437C-8F0F-33611F565981"
]
}
]
}特殊投注请求体。
Array of objects (SpecialBetRequest) The individual bets. |
{- "bets": [
- {
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "acceptBetterLine": true,
- "oddsFormat": "DECIMAL",
- "stake": 10.5,
- "winRiskStake": "RISK",
- "lineId": 51024304,
- "specialId": 726394409,
- "contestantId": 726394411
}
]
}{- "bets": [
- {
- "status": "ACCEPTED",
- "errorCode": null,
- "betId": 760745142,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "betterLineWasAccepted": false,
- "win": 1,
- "risk": 1.51,
- "price": 1.51
}
]
}返回投注列表。
https://api.pinnacle888.com/v3/bets?betlist=RUNNING&fromDate=2017-11-21T00:00:00Z&toDate=2017-11-29T00:00:00Z
进行中投注按 placedAt 时间查询。
https://api.pinnacle888.com/v3/bets?betlist=SETTLED&fromDate=2015-12-28T00:00:00Z&toDate=2015-12-29T00:00:00Z
已结算投注按 settledAt 时间查询。 https://api.pinnacle888.com/v3/bets?betlist=SETTLED&fromDate=2017-11-20T00:00:00Z&toDate=2017-11-23T00:00:00Z
https://api.pinnacle888.com/v3/bets?betList=SETTLED&fromDate=2018-03-01&toDate=2018-03-28&betStatuses=CANCELLED
https://api.pinnacle888.com/v3/bets?betIds=775856112,775856113,775856114
https://api.pinnacle888.com/v3/bets?uniqueRequestIds=62335222-dae4-479a-8c05-46440ccdd3bb,42335222-dae4-479a-8c05-46440ccdd3bb
| betlist | string Enum: "SETTLED" "RUNNING" "ALL" 返回的投注列表类型。当提交 betIds 时不需要此参数。 |
| betStatuses | Array of strings Items Enum: "WON" "LOSE" "CANCELLED" "REFUNDED" "NOT_ACCEPTED" "ACCEPTED" "PENDING_ACCEPTANCE" 返回的投注状态类型。仅在与 betlist 一起使用时生效,作为附加筛选条件。 |
| fromDate | string 查询时间段的开始日期。当提交 betlist 参数时必填。开始日期最多可追溯 30 天。格式为 ISO8601,可仅填日期或日期时间。 |
| toDate | string 查询时间段的结束日期。当提交 betlist 参数时必填。格式为 ISO8601,可仅填日期或日期时间。toDate 为不包含边界,即不能等于 fromDate。 |
| sortDir | string Default: "ASC" Enum: "ASC" "DESC" 按 postedAt/settledAt 的排序方向。仅在使用日期范围查询时生效。 |
| pageSize | integer Default: 1000 每页条数,最大 1000。仅在使用日期范围查询时生效。 |
| fromRecord | integer Default: 0 结果起始记录(含)。仅在使用日期范围查询时生效。获取下一页时设为 toRecord+1。 |
| betIds | Array of integers <int64> [ items <int64 > ] 逗号分隔的投注 ID 列表。提交 betIds 时无需其他参数。最多 100 个 ID。适用于所有未结算投注及最近 30 天内结算的投注。 |
| uniqueRequestIds | Array of strings 逗号分隔的 uniqueRequestIds 列表,用于查询之前下的选式投注。若指定则优先级最高,其他参数均被忽略。最多 10 个 ID。若有 betId 建议用 betIds 查询;无 betId 时使用 uniqueRequestIds。主要有两种情况:
注意:按 uniqueRequestIds 查询仅支持选式投注和特殊投注,且仅限投注下单后 30 分钟内。 |
| betType | Array of strings Items Enum: "SPREAD" "MONEYLINE" "TOTAL_POINTS" "TEAM_TOTAL_POINTS" "SPECIAL" "PARLAY" "TEASER" "MANUAL" 逗号分隔的投注类型列表。 |
{- "moreAvailable": true,
- "pageSize": 1000,
- "fromRecord": 0,
- "toRecord": 0,
- "straightBets": [
- {
- "betId": 759629245,
- "wagerNumber": 1,
- "placedAt": "2017-09-05T01:32:59Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "MONEYLINE",
- "win": 1,
- "risk": 1.5,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 111548915,
- "sportId": 29,
- "leagueId": 2462,
- "eventId": 757064557,
- "handicap": null,
- "price": -155,
- "teamName": "Crvena Zvezda",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "Crvena Zvezda",
- "team2": "Partizan",
- "periodNumber": 0,
- "team1Score": null,
- "team2Score": null,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "isLive": false,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "resultingUnit": "string"
}
], - "parlayBets": [
- {
- "betId": 760404490,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-08T00:55:11Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "PARLAY",
- "win": 6.82,
- "risk": 1,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 112839436,
- "legs": [
- {
- "sportId": 29,
- "legBetType": "MONEYLINE",
- "legBetStatus": "CANCELLED",
- "legBetStatus2": "CANCELLED",
- "leagueId": 1766,
- "eventId": 758024079,
- "eventStartTime": "2017-10-07T21:00:00Z",
- "handicap": null,
- "price": 193,
- "teamName": "Adelaide United",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "resultingUnit": "string"
}
], - "price": 682,
- "finalPrice": 0
}
], - "teaserBets": [
- {
- "betId": 0,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 0,
- "placedAt": "2019-08-24T14:15:22Z",
- "betStatus": "ACCEPTED",
- "betType": "TEASER",
- "win": 0,
- "risk": 0,
- "winLoss": 0,
- "oddsFormat": "DECIMAL",
- "customerCommission": 0,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 0,
- "teaserName": "string",
- "isSameEventOnly": true,
- "minPicks": 0,
- "maxPicks": 0,
- "price": 682,
- "finalPrice": 0,
- "teaserId": 0,
- "teaserGroupId": 0,
- "legs": [
- {
- "sportId": 0,
- "legBetType": "SPREAD",
- "legBetStatus": "CANCELLED",
- "leagueId": 0,
- "eventId": 0,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "handicap": 0,
- "teamName": "string",
- "side": "OVER",
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "resultingUnit": "string"
}
]
}
], - "specialBets": [
- {
- "betId": 760748770,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-09T01:49:43Z",
- "betStatus": "ACCEPTED",
- "betType": "SPECIAL",
- "win": 1,
- "risk": 1.51,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 113214135,
- "specialId": 726397620,
- "specialName": "Denver Broncos Regular Season Wins?",
- "contestantId": 726397622,
- "contestantName": "Under",
- "price": -151,
- "handicap": 8.5,
- "units": "Regular Season Wins",
- "sportId": 15,
- "leagueId": 889,
- "eventId": null,
- "periodNumber": null,
- "team1": null,
- "team2": null,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "resultingUnit": "string"
}
], - "manualBets": [
- {
- "betId": 760063588,
- "wagerNumber": 1,
- "placedAt": "2017-09-06T14:56:27Z",
- "betStatus": "ACCEPTED",
- "betType": "MANUAL",
- "win": 15000,
- "risk": 500,
- "winLoss": 0,
- "updateSequence": 112472310,
- "description": "Soccer Props - Partizan vs Crvena Zvezda - Partizan @ +3000",
- "referenceBetId": null
}
]
}返回已结算的投注列表。
https://api.pinnacle888.com/v3/bets/settled?fromDate=2015-12-28T00:00:00Z&toDate=2015-12-29T00:00:00Z
https://api.pinnacle888.com/v3/bets/settled?uniqueRequestIds=62335222-dae4-479a-8c05-46440ccdd3bb,42335222-dae4-479a-8c05-46440ccdd3bb
| eventId | integer <int64> 赛事标识。注意:按 eventId 查询仅支持投注结算后 90 天内。 |
| specialId | integer <int64> 特殊盘口 ID。 |
| fromDate | string 查询时间段的开始日期。当提交 betlist 参数时必填。开始日期最多可追溯 30 天。格式为 ISO8601,可仅填日期或日期时间。 |
| toDate | string 查询时间段的结束日期。当提交 betlist 参数时必填。格式为 ISO8601,可仅填日期或日期时间。toDate 为不包含边界,即不能等于 fromDate。 |
| sortDir | string Default: "ASC" Enum: "ASC" "DESC" 按 postedAt/settledAt 的排序方向。仅在使用日期范围查询时生效。 |
| pageSize | integer Default: 1000 每页条数,最大 1000。仅在使用日期范围查询时生效。 |
| fromRecord | integer Default: 0 结果起始记录(含)。仅在使用日期范围查询时生效。获取下一页时设为 toRecord+1。 |
| uniqueRequestIds | Array of strings 逗号分隔的 uniqueRequestIds 列表,用于查询之前下的选式投注。若指定则优先级最高,其他参数均被忽略。最多 10 个 ID。若有 betId 建议用 betIds 查询;无 betId 时使用 uniqueRequestIds。主要有两种情况:
注意:按 uniqueRequestIds 查询仅支持选式投注,且仅限投注下单后 30 分钟内。 |
{- "moreAvailable": true,
- "pageSize": 1000,
- "fromRecord": 0,
- "toRecord": 0,
- "straightBets": [
- {
- "betId": 759629245,
- "wagerNumber": 1,
- "placedAt": "2017-09-05T01:32:59Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "MONEYLINE",
- "win": 1,
- "risk": 1.5,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 111548915,
- "sportId": 29,
- "leagueId": 2462,
- "eventId": 757064557,
- "handicap": null,
- "price": -155,
- "teamName": "Crvena Zvezda",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "Crvena Zvezda",
- "team2": "Partizan",
- "periodNumber": 0,
- "team1Score": null,
- "team2Score": null,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "isLive": false,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "resultingUnit": "string"
}
], - "parlayBets": [
- {
- "betId": 760404490,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-08T00:55:11Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "PARLAY",
- "win": 6.82,
- "risk": 1,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 112839436,
- "legs": [
- {
- "sportId": 29,
- "legBetType": "MONEYLINE",
- "legBetStatus": "CANCELLED",
- "legBetStatus2": "CANCELLED",
- "leagueId": 1766,
- "eventId": 758024079,
- "eventStartTime": "2017-10-07T21:00:00Z",
- "handicap": null,
- "price": 193,
- "teamName": "Adelaide United",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "resultingUnit": "string"
}
], - "price": 682,
- "finalPrice": 0
}
], - "teaserBets": [
- {
- "betId": 0,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 0,
- "placedAt": "2019-08-24T14:15:22Z",
- "betStatus": "ACCEPTED",
- "betType": "TEASER",
- "win": 0,
- "risk": 0,
- "winLoss": 0,
- "oddsFormat": "DECIMAL",
- "customerCommission": 0,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 0,
- "teaserName": "string",
- "isSameEventOnly": true,
- "minPicks": 0,
- "maxPicks": 0,
- "price": 682,
- "finalPrice": 0,
- "teaserId": 0,
- "teaserGroupId": 0,
- "legs": [
- {
- "sportId": 0,
- "legBetType": "SPREAD",
- "legBetStatus": "CANCELLED",
- "leagueId": 0,
- "eventId": 0,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "handicap": 0,
- "teamName": "string",
- "side": "OVER",
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "resultingUnit": "string"
}
]
}
], - "specialBets": [
- {
- "betId": 760748770,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-09T01:49:43Z",
- "betStatus": "ACCEPTED",
- "betType": "SPECIAL",
- "win": 1,
- "risk": 1.51,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 113214135,
- "specialId": 726397620,
- "specialName": "Denver Broncos Regular Season Wins?",
- "contestantId": 726397622,
- "contestantName": "Under",
- "price": -151,
- "handicap": 8.5,
- "units": "Regular Season Wins",
- "sportId": 15,
- "leagueId": 889,
- "eventId": null,
- "periodNumber": null,
- "team1": null,
- "team2": null,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "resultingUnit": "string"
}
], - "manualBets": [
- {
- "betId": 760063588,
- "wagerNumber": 1,
- "placedAt": "2017-09-06T14:56:27Z",
- "betStatus": "ACCEPTED",
- "betType": "MANUAL",
- "win": 15000,
- "risk": 500,
- "winLoss": 0,
- "updateSequence": 112472310,
- "description": "Soccer Props - Partizan vs Crvena Zvezda - Partizan @ +3000",
- "referenceBetId": null
}
]
}返回与改分投注相关的历史数据。
https://api.pinnacle888.com/v1/regrades/wager-history?fromDate=2024-04-01T00:00:00Z&toDate=2024-04-27T00:00:00Z
https://api.pinnacle888.com/v1/regrades/wager-history?betIds=52454247
| betIds | Array of integers <int64> [ items <int64 > ] 逗号分隔的投注 ID 列表。提交 betIds 时无需其他参数。最多 100 个 ID。适用于最近 30 天内结算的所有投注。 |
| fromDate | string 查询时间段的开始日期。未提交 betIds 时必填。开始日期最多可追溯 30 天。格式为 ISO8601,可仅填日期或日期时间。 |
| toDate | string 查询时间段的结束日期。未提交 betIds 时必填。格式为 ISO8601,可仅填日期或日期时间。toDate 为不包含边界,即不能等于 fromDate。 |
| sortDir | string Default: "ASC" Enum: "ASC" "DESC" 按 postedAt/settledAt 的排序方向。仅在使用日期范围查询时生效。 |
| pageSize | integer Default: 1000 每页条数,最大 1000。仅在使用日期范围查询时生效。 |
| fromRecord | integer Default: 0 结果起始记录(含)。仅在使用日期范围查询时生效。获取下一页时设为 toRecord+1。 |
{- "moreAvailable": true,
- "pageSize": 1000,
- "fromRecord": 0,
- "toRecord": 0,
- "straightBets": [
- {
- "betId": 759629245,
- "originalBetId": 759629321,
- "wagerNumber": 1,
- "placedAt": "2017-09-05T01:32:59Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "MONEYLINE",
- "win": 1,
- "risk": 1.5,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 111548915,
- "sportId": 29,
- "leagueId": 2462,
- "leagueName": "Spain - Copa del Rey",
- "eventId": 757064557,
- "handicap": null,
- "price": -155,
- "teamName": "Crvena Zvezda",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "Crvena Zvezda",
- "team2": "Partizan",
- "periodNumber": 0,
- "team1Score": null,
- "team2Score": null,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "isLive": false,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "resultingUnit": "string"
}
], - "parlayBets": [
- {
- "betId": 760404490,
- "originalBetId": 760404432,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-08T00:55:11Z",
- "betStatus": "ACCEPTED",
- "betStatus2": "ACCEPTED",
- "betType": "PARLAY",
- "win": 6.82,
- "risk": 1,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 112839436,
- "legs": [
- {
- "sportId": 29,
- "legBetType": "MONEYLINE",
- "legBetStatus": "CANCELLED",
- "legBetStatus2": "CANCELLED",
- "leagueId": 1766,
- "leagueName": "Australia - A League",
- "eventId": 758024079,
- "eventStartTime": "2017-10-07T21:00:00Z",
- "handicap": null,
- "price": 193,
- "teamName": "Adelaide United",
- "side": null,
- "pitcher1": null,
- "pitcher2": null,
- "pitcher1MustStart": false,
- "pitcher2MustStart": false,
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "ftTeam1Score": null,
- "ftTeam2Score": null,
- "pTeam1Score": null,
- "pTeam2Score": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "resultingUnit": "string"
}
], - "price": 682,
- "finalPrice": 0
}
], - "teaserBets": [
- {
- "betId": 0,
- "originalBetId": 0,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 0,
- "placedAt": "2019-08-24T14:15:22Z",
- "betStatus": "ACCEPTED",
- "betType": "TEASER",
- "win": 0,
- "risk": 0,
- "winLoss": 0,
- "oddsFormat": "DECIMAL",
- "customerCommission": 0,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 0,
- "teaserName": "string",
- "isSameEventOnly": true,
- "minPicks": 0,
- "maxPicks": 0,
- "price": 682,
- "finalPrice": 0,
- "teaserId": 0,
- "teaserGroupId": 0,
- "legs": [
- {
- "sportId": 0,
- "legBetType": "SPREAD",
- "legBetStatus": "CANCELLED",
- "leagueId": 0,
- "eventId": 0,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "handicap": 0,
- "teamName": "string",
- "side": "OVER",
- "team1": "string",
- "team2": "string",
- "periodNumber": 0,
- "resultingUnit": "string"
}
]
}
], - "specialBets": [
- {
- "betId": 760748770,
- "originalBetId": 760748743,
- "uniqueRequestId": "10924E23-A2FE-4317-BFFD-80504675F554",
- "wagerNumber": 1,
- "placedAt": "2017-09-09T01:49:43Z",
- "betStatus": "ACCEPTED",
- "betType": "SPECIAL",
- "win": 1,
- "risk": 1.51,
- "winLoss": null,
- "oddsFormat": "DECIMAL",
- "customerCommission": null,
- "cancellationReason": {
- "code": "FBS_CW_227",
- "details": [
- {
- "key": "correctSpread",
- "value": "-1.5"
}
]
}, - "updateSequence": 113214135,
- "specialId": 726397620,
- "specialName": "Denver Broncos Regular Season Wins?",
- "contestantId": 726397622,
- "contestantName": "Under",
- "price": -151,
- "handicap": 8.5,
- "units": "Regular Season Wins",
- "sportId": 15,
- "leagueId": 889,
- "eventId": null,
- "periodNumber": null,
- "team1": null,
- "team2": null,
- "eventStartTime": "2017-10-05T01:32:59Z",
- "resultingUnit": "string"
}
], - "manualBets": [
- {
- "betId": 760063588,
- "originalBetId": 760063543,
- "wagerNumber": 1,
- "placedAt": "2017-09-06T14:56:27Z",
- "betStatus": "ACCEPTED",
- "betType": "MANUAL",
- "win": 15000,
- "risk": 500,
- "winLoss": 0,
- "updateSequence": 112472310,
- "description": "Soccer Props - Partizan vs Crvena Zvezda - Partizan @ +3000",
- "referenceBetId": null
}
]
}