42. 基础数据
42.1. 国家列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
多语言 默认zh |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─countryId |
string |
国家 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体中文 |
- |
└─classify |
int32 |
1足球,2篮球,3电竞,4网球,5排球,6棒球,7板球,8手球,9橄榄球,10曲棍球,11赛车,12赛马,13拳击 |
- |
└─type |
int32 |
1国际赛事、2欧洲赛事、 3美洲赛事、4亚洲赛事、5大洋洲赛事、6非洲赛事 |
- |
└─code |
string |
编号 |
- |
└─sort |
int32 |
排序 |
- |
└─image |
string |
logo |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"countryId": "",
"nameEn": "",
"nameZh": "",
"nameZht": "",
"classify": 0,
"type": 0,
"code": "",
"sort": 0,
"image": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/countryList?languageId=zh
42.2. 联赛列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─season |
string |
赛季 |
- |
└─image |
string |
logo |
- |
└─countryId |
string |
国家 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"leagueId": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"season": "",
"image": "",
"countryId": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/leaguePage?languageId=zh¤t=1&size=100
42.3. 赛季列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─seasonId |
int32 |
赛季 |
- |
└─leagueId |
int32 |
赛事 |
- |
└─name |
string |
赛季 |
- |
└─standings |
int32 |
积分榜0无,1有 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"seasonId": 0,
"leagueId": 0,
"name": "",
"standings": 0
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/seasonPage?languageId=zh¤t=1&size=100
42.4. 阶段列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─stageId |
int32 |
分组 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─round |
string |
轮次 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"stageId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"round": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/stagePage?languageId=zh¤t=1&size=100
42.5. 球队列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─teamId |
int32 |
球队 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
logo |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"teamId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/teamPage?languageId=zh¤t=1&size=100
42.6. 球员列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─playerId |
int32 |
球员 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
logo |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"playerId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/playerPage?languageId=zh¤t=1&size=100
42.7. 场馆列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─venueId |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"venueId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/base/venuePage?languageId=zh¤t=1&size=100
43. 比赛数据
43.1. 比赛-即时比分
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每秒更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
多语言 默认zh |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─matchId |
int32 |
比赛 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─seasonId |
int32 |
赛季 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一局,2第二局,3第三局,4第四局,5第五局,6第六局,7第七局,8第八局,9第九局,20加时,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─stageId |
int32 |
阶段 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─homeScore |
string |
主队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─awayScore |
string |
客队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─statsId |
int32 |
统计id |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─home |
object |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─stats |
object |
统计信息 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"time": 0,
"status": 0,
"stageId": 0,
"homeId": 0,
"awayId": 0,
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"statsId": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"away": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/match/live?languageId=zh
43.2. 比赛-赛程赛果
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每天更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
多语言 默认zh |
||
date |
|
string |
true |
日期2023-06-01 |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─matchId |
int32 |
比赛 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─seasonId |
int32 |
赛季 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一局,2第二局,3第三局,4第四局,5第五局,6第六局,7第七局,8第八局,9第九局,20加时,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─stageId |
int32 |
阶段 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─homeScore |
string |
主队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─awayScore |
string |
客队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─statsId |
int32 |
统计id |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─home |
object |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─stats |
object |
统计信息 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"time": 0,
"status": 0,
"stageId": 0,
"homeId": 0,
"awayId": 0,
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"statsId": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"away": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/match/matchList?languageId=zh&date=2023-08-01
43.3. 赛季-比赛
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每天更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
多语言 默认zh |
||
leagueId |
int32 |
true |
联赛id |
||
seasonId |
int32 |
true |
赛季id |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─matchId |
int32 |
比赛 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─seasonId |
int32 |
赛季 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一局,2第二局,3第三局,4第四局,5第五局,6第六局,7第七局,8第八局,9第九局,20加时,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─stageId |
int32 |
阶段 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─homeScore |
string |
主队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─awayScore |
string |
客队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─statsId |
int32 |
统计id |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─home |
object |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─stats |
object |
统计信息 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"time": 0,
"status": 0,
"stageId": 0,
"homeId": 0,
"awayId": 0,
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"statsId": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"away": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/match/matchSeason?languageId=zh&leagueId=0&seasonId=0
43.4. 比赛-列表
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
current |
int32 |
true |
当前页数 |
||
size |
int32 |
true |
数据数量:默认100,最大200 Validate[max: 200; ] |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─matchId |
int32 |
比赛 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─seasonId |
int32 |
赛季 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一局,2第二局,3第三局,4第四局,5第五局,6第六局,7第七局,8第八局,9第九局,20加时,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─stageId |
int32 |
阶段 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─homeScore |
string |
主队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─awayScore |
string |
客队比分 第一局,第二局,第三局,第四局,第五局,第六局,第七局,第八局,第九局,加时,安打,失误,总分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─statsId |
int32 |
统计id |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─home |
object |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─stats |
object |
统计信息 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─s5 |
string |
第一节得分 |
- |
└─s6 |
string |
第二节得分 |
- |
└─s7 |
string |
第三节得分 |
- |
└─s8 |
string |
第四节得分 |
- |
└─s9 |
string |
第一节得分 |
- |
└─s10 |
string |
第二节得分 |
- |
└─s11 |
string |
第三节得分 |
- |
└─s12 |
string |
第四节得分 |
- |
└─s13 |
string |
第一节得分 |
- |
└─s14 |
string |
第二节得分 |
- |
└─s15 |
string |
第三节得分 |
- |
└─r |
string |
第四节得分 |
- |
└─h |
string |
半场得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"time": 0,
"status": 0,
"stageId": 0,
"homeId": 0,
"awayId": 0,
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"statsId": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"away": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"s5": "",
"s6": "",
"s7": "",
"s8": "",
"s9": "",
"s10": "",
"s11": "",
"s12": "",
"s13": "",
"s14": "",
"s15": "",
"r": "",
"h": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/match/matchPage?languageId=zh¤t=1&size=100
44. 统计数据
44.1. 联赛-积分
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每小时更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
多语言 默认zh |
||
leagueId |
int32 |
true |
联赛ID |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
object |
数据 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─season |
string |
赛季 |
- |
└─leagueList |
array |
No comments found. |
- |
└─name |
string |
分组 |
- |
└─teamList |
array |
球队列表 |
- |
└─description |
string |
描述 |
- |
└─gp |
string |
总场次 |
- |
└─team |
object |
球队id |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─l |
string |
失败场次 |
- |
└─pointsAgainst |
string |
失败得分 |
- |
└─pointsFor |
string |
积分 |
- |
└─pos |
string |
排名 |
- |
└─pts |
string |
胜率 |
- |
└─recentForm |
string |
最近战况 |
- |
└─w |
string |
胜利场次 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": {
"leagueId": 0,
"season": "",
"leagueList": [
{
"name": "",
"teamList": [
{
"description": "",
"gp": "",
"team": {
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
},
"l": "",
"pointsAgainst": "",
"pointsFor": "",
"pos": "",
"pts": "",
"recentForm": "",
"w": ""
}
]
}
]
},
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/statistics/standings?languageId=zh&leagueId=0
44.2. 比赛-交战统计
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每天更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
多语言 默认zh |
||
matchId |
int32 |
true |
No comments found. |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
object |
数据 |
- |
└─teamId1 |
string |
主队 |
- |
└─teamId2 |
string |
客队 |
- |
└─top50List |
array |
最近五十场比赛 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─matchId |
int32 |
比赛id |
- |
└─teamId1 |
string |
主队id |
- |
└─teamId2 |
string |
客队id |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队进球 |
- |
└─team2Score |
string |
客队进球 |
- |
└─overall |
object |
交战胜平负统计 |
- |
└─total |
object |
总进球 |
- |
└─games |
int32 |
比赛场次 |
- |
└─team1Won |
int32 |
主队赢得比赛场次 |
- |
└─team2Won |
int32 |
客队赢得比赛场次 |
- |
└─draws |
int32 |
平局比赛场次 |
- |
└─home |
object |
主队 |
- |
└─team1 |
object |
主队 |
- |
└─games |
int32 |
比赛场次 |
- |
└─won |
int32 |
赢球场次 |
- |
└─lost |
int32 |
输球场次 |
- |
└─draws |
int32 |
平局场次 |
- |
└─team2 |
object |
客队 |
- |
└─games |
int32 |
比赛场次 |
- |
└─won |
int32 |
赢球场次 |
- |
└─lost |
int32 |
输球场次 |
- |
└─draws |
int32 |
平局场次 |
- |
└─away |
object |
客队 |
- |
└─team1 |
object |
- |
|
└─games |
int32 |
比赛场次 |
- |
└─won |
int32 |
赢球场次 |
- |
└─lost |
int32 |
输球场次 |
- |
└─draws |
int32 |
平局场次 |
- |
└─team2 |
object |
- |
|
└─games |
int32 |
比赛场次 |
- |
└─won |
int32 |
赢球场次 |
- |
└─lost |
int32 |
输球场次 |
- |
└─draws |
int32 |
平局场次 |
- |
└─leagueList |
array |
联赛交战统计 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─games |
int32 |
比赛场次 |
- |
└─team1Won |
int32 |
主队赢球场次 |
- |
└─team2Won |
int32 |
客队赢球场次 |
- |
└─draw |
int32 |
平局 |
- |
└─biggestVictory |
object |
最大的胜利 |
- |
└─team1 |
object |
主队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─team2 |
object |
客队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─biggestDefeat |
object |
最大的失利 |
- |
└─team1 |
object |
主队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─team2 |
object |
客队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─last5Home |
object |
最近五场主场比赛 |
- |
└─teamList1 |
array |
主队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─teamList2 |
array |
客队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─last5Away |
object |
最近五场客场比赛 |
- |
└─teamList1 |
array |
主队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
└─teamList2 |
array |
客队 |
- |
└─category |
string |
国家 |
- |
└─leagueId |
int32 |
联赛id |
- |
└─id1 |
int32 |
主队 |
- |
└─id2 |
int32 |
客队 |
- |
└─date |
string |
日期 |
- |
└─team1Score |
string |
主队比分 |
- |
└─team2Score |
string |
主队比分 |
- |
└─matchId |
int32 |
比赛id |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": {
"teamId1": "",
"teamId2": "",
"top50List": [
{
"leagueId": 0,
"matchId": 0,
"teamId1": "",
"teamId2": "",
"date": "",
"team1Score": "",
"team2Score": ""
}
],
"overall": {
"total": {
"games": 0,
"team1Won": 0,
"team2Won": 0,
"draws": 0
},
"home": {
"team1": {
"games": 0,
"won": 0,
"lost": 0,
"draws": 0
},
"team2": {
"games": 0,
"won": 0,
"lost": 0,
"draws": 0
}
},
"away": {
"team1": {
"games": 0,
"won": 0,
"lost": 0,
"draws": 0
},
"team2": {
"games": 0,
"won": 0,
"lost": 0,
"draws": 0
}
}
},
"leagueList": [
{
"leagueId": 0,
"games": 0,
"team1Won": 0,
"team2Won": 0,
"draw": 0
}
],
"biggestVictory": {
"team1": {
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
},
"team2": {
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
}
},
"biggestDefeat": {
"team1": {
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
},
"team2": {
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
}
},
"last5Home": {
"teamList1": [
{
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
}
],
"teamList2": [
{
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
}
]
},
"last5Away": {
"teamList1": [
{
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
}
],
"teamList2": [
{
"category": "",
"leagueId": 0,
"id1": 0,
"id2": 0,
"date": "",
"team1Score": "",
"team2Score": "",
"matchId": 0
}
]
}
},
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/statistics/match?languageId=zh&matchId=0
45. 指数数据
45.1. 盘口
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─bookmakerId |
int32 |
盘口公司id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"bookmakerId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/odds/bookmakerList?languageId=zh
45.2. 赛前市场
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─marketId |
int32 |
市场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─sort |
int32 |
排序 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"marketId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"sort": 0
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/odds/marketList?languageId=zh
45.3. 赛前即时指数
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每10S更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
companyIds |
string |
false |
盘口id,逗号隔开,默认全部 |
||
categoryIds |
string |
false |
玩法id,逗号隔开,默认全部 |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─matchId |
int32 |
比赛id |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─categoryList |
array |
玩法 |
- |
└─id |
int32 |
玩法id |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─sort |
int32 |
排序 |
- |
└─companyList |
array |
市场 |
- |
└─id |
int32 |
盘口id |
- |
└─ts |
int64 |
更新时间 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─type |
int32 |
1早,2即,3临,4滚 |
- |
└─score |
string |
比分 滚球字段 |
- |
└─minute |
string |
时间 滚球字段 |
- |
└─odds |
array |
指数 |
- |
└─id |
string |
名称 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─handicap |
string |
滚球字段 |
- |
└─oddsChild |
array |
子指数 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"updateTime": 0,
"categoryList": [
{
"id": 0,
"stop": true,
"sort": 0,
"companyList": [
{
"id": 0,
"ts": 0,
"stop": true,
"type": 0,
"score": "",
"minute": "",
"odds": [
{
"id": "",
"name": "",
"nameZh": "",
"value": "",
"stop": true,
"handicap": "",
"oddsChild": [
{
"name": "",
"nameZh": "",
"value": "",
"stop": true
}
]
}
]
}
]
}
]
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/odds/oddsList?languageId=zh&companyIds=&categoryIds=
45.4. 赛前历史指数-按比赛查询
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每10S更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
matchId |
int32 |
true |
No comments found. |
||
companyIds |
string |
false |
盘口id,逗号隔开,默认全部 |
||
categoryIds |
string |
false |
玩法id,逗号隔开,默认全部 |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
object |
数据 |
- |
└─matchId |
int32 |
比赛id |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─categoryList |
array |
玩法 |
- |
└─id |
int32 |
玩法id |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─sort |
int32 |
排序 |
- |
└─companyList |
array |
市场 |
- |
└─id |
int32 |
盘口id |
- |
└─ts |
int64 |
更新时间 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─type |
int32 |
1早,2即,3临,4滚 |
- |
└─score |
string |
比分 滚球字段 |
- |
└─minute |
string |
时间 滚球字段 |
- |
└─odds |
array |
指数 |
- |
└─id |
string |
名称 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─handicap |
string |
滚球字段 |
- |
└─oddsChild |
array |
子指数 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": {
"matchId": 0,
"updateTime": 0,
"categoryList": [
{
"id": 0,
"stop": true,
"sort": 0,
"companyList": [
{
"id": 0,
"ts": 0,
"stop": true,
"type": 0,
"score": "",
"minute": "",
"odds": [
{
"id": "",
"name": "",
"nameZh": "",
"value": "",
"stop": true,
"handicap": "",
"oddsChild": [
{
"name": "",
"nameZh": "",
"value": "",
"stop": true
}
]
}
]
}
]
}
]
},
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/odds/oddsOldById?languageId=zh&matchId=0&companyIds=&categoryIds=
45.5. 赛中市场
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每周更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─marketId |
int32 |
赔率市场 |
- |
└─name |
string |
名称 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"marketId": 0,
"name": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/baseball/odds/market2List?languageId=zh
45.6. 赛中即时指数
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每10S更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
companyIds |
string |
false |
盘口id,逗号隔开,默认全部 |
||
categoryIds |
string |
false |
玩法id,逗号隔开,默认全部 |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─matchId |
int32 |
比赛id |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─categoryList |
array |
玩法 |
- |
└─id |
int32 |
玩法id |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─sort |
int32 |
排序 |
- |
└─companyList |
array |
市场 |
- |
└─id |
int32 |
盘口id |
- |
└─ts |
int64 |
更新时间 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─type |
int32 |
1早,2即,3临,4滚 |
- |
└─score |
string |
比分 滚球字段 |
- |
└─minute |
string |
时间 滚球字段 |
- |
└─odds |
array |
指数 |
- |
└─id |
string |
名称 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─handicap |
string |
滚球字段 |
- |
└─oddsChild |
array |
子指数 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"updateTime": 0,
"categoryList": [
{
"id": 0,
"stop": true,
"sort": 0,
"companyList": [
{
"id": 0,
"ts": 0,
"stop": true,
"type": 0,
"score": "",
"minute": "",
"odds": [
{
"id": "",
"name": "",
"nameZh": "",
"value": "",
"stop": true,
"handicap": "",
"oddsChild": [
{
"name": "",
"nameZh": "",
"value": "",
"stop": true
}
]
}
]
}
]
}
]
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://inplay.superscore.cn/baseball/odds/inPlayList?languageId=zh&companyIds=&categoryIds=
45.7. 赛中即时指数-按比赛查询
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每10S更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
matchId |
int32 |
true |
No comments found. |
||
companyIds |
string |
false |
盘口id,逗号隔开,默认全部 |
||
categoryIds |
string |
false |
玩法id,逗号隔开,默认全部 |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
object |
数据 |
- |
└─matchId |
int32 |
比赛id |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─categoryList |
array |
玩法 |
- |
└─id |
int32 |
玩法id |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─sort |
int32 |
排序 |
- |
└─companyList |
array |
市场 |
- |
└─id |
int32 |
盘口id |
- |
└─ts |
int64 |
更新时间 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─type |
int32 |
1早,2即,3临,4滚 |
- |
└─score |
string |
比分 滚球字段 |
- |
└─minute |
string |
时间 滚球字段 |
- |
└─odds |
array |
指数 |
- |
└─id |
string |
名称 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─handicap |
string |
滚球字段 |
- |
└─oddsChild |
array |
子指数 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": {
"matchId": 0,
"updateTime": 0,
"categoryList": [
{
"id": 0,
"stop": true,
"sort": 0,
"companyList": [
{
"id": 0,
"ts": 0,
"stop": true,
"type": 0,
"score": "",
"minute": "",
"odds": [
{
"id": "",
"name": "",
"nameZh": "",
"value": "",
"stop": true,
"handicap": "",
"oddsChild": [
{
"name": "",
"nameZh": "",
"value": "",
"stop": true
}
]
}
]
}
]
}
]
},
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://inplay.superscore.cn/baseball/odds/inPlay?languageId=zh&matchId=0&companyIds=&categoryIds=
45.8. 赛中历史指数-按比赛查询
Type: GET
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Description: 建议每10S更新
Request-headers:
| Header | Value | Type | Required | Description | |
|---|---|---|---|---|---|
token |
string |
true |
token(传商户KEY)仅供测试,正式站请设置IP |
Query-parameters:
| Parameter | Value | Type | Required | Description | |
|---|---|---|---|---|---|
languageId |
string |
false |
No comments found. |
||
matchId |
int32 |
true |
No comments found. |
||
companyIds |
string |
false |
盘口id,逗号隔开,默认全部 |
||
categoryIds |
string |
false |
玩法id,逗号隔开,默认全部 |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
object |
数据 |
- |
└─matchId |
int32 |
比赛id |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─categoryList |
array |
玩法 |
- |
└─id |
int32 |
玩法id |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─sort |
int32 |
排序 |
- |
└─companyList |
array |
市场 |
- |
└─id |
int32 |
盘口id |
- |
└─ts |
int64 |
更新时间 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─type |
int32 |
1早,2即,3临,4滚 |
- |
└─score |
string |
比分 滚球字段 |
- |
└─minute |
string |
时间 滚球字段 |
- |
└─odds |
array |
指数 |
- |
└─id |
string |
名称 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
└─handicap |
string |
滚球字段 |
- |
└─oddsChild |
array |
子指数 |
- |
└─name |
string |
名称 |
- |
└─nameZh |
string |
名称 |
- |
└─value |
string |
值 |
- |
└─stop |
boolean |
True – 投注暂停/市场不活跃 False – 投注活跃 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": {
"matchId": 0,
"updateTime": 0,
"categoryList": [
{
"id": 0,
"stop": true,
"sort": 0,
"companyList": [
{
"id": 0,
"ts": 0,
"stop": true,
"type": 0,
"score": "",
"minute": "",
"odds": [
{
"id": "",
"name": "",
"nameZh": "",
"value": "",
"stop": true,
"handicap": "",
"oddsChild": [
{
"name": "",
"nameZh": "",
"value": "",
"stop": true
}
]
}
]
}
]
}
]
},
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://inplay.superscore.cn/baseball/odds/inPlayOldById?languageId=zh&matchId=0&companyIds=&categoryIds=
46. websocket变化数据
46.1. 即时数据
WebSocket地址:wss://socket.superscore.cn:9083/baseball
code字典
201
即时比分
202 比赛统计
203 比赛事件
46.2. 赛前指数
WebSocket地址:wss://socket.superscore.cn:9083/baseballOdds
46.3. 赛中指数
WebSocket地址:wss://socket.superscore.cn:9083/baseballInPlay