31. 基础数据
31.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/tennis/base/countryList?languageId=zh
31.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 |
数据 |
- |
└─leagueId |
int32 |
赛事id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─countryId |
string |
No comments found. |
- |
└─season |
string |
当前赛季 |
- |
└─image |
string |
赛事logo |
- |
└─city |
string |
城市 |
- |
└─surface |
string |
场地 |
- |
└─category |
int32 |
1-单打、2-双打、3-混双 |
- |
└─typeId |
int32 |
类型 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"leagueId": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"countryId": "",
"season": "",
"image": "",
"city": "",
"surface": "",
"category": 0,
"typeId": 0
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/base/typeList?languageId=zh
31.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 |
数据 |
- |
└─leagueId |
int32 |
赛事id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─countryId |
string |
No comments found. |
- |
└─season |
string |
当前赛季 |
- |
└─image |
string |
赛事logo |
- |
└─city |
string |
城市 |
- |
└─surface |
string |
场地 |
- |
└─category |
int32 |
1-单打、2-双打、3-混双 |
- |
└─typeId |
int32 |
类型 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"leagueId": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"countryId": "",
"season": "",
"image": "",
"city": "",
"surface": "",
"category": 0,
"typeId": 0
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/base/leaguePage?languageId=zh¤t=1&size=100
31.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 |
数据 |
- |
└─seasonId |
int32 |
赛季 |
- |
└─leagueId |
int32 |
赛事 |
- |
└─name |
string |
赛季 |
- |
└─p2p |
int32 |
是否有交战信息,0无,1有 |
- |
└─stats |
int32 |
是否有统计,0无,1有 |
- |
└─draw |
int32 |
是否有draw,0无,1有 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"seasonId": 0,
"leagueId": 0,
"name": "",
"p2p": 0,
"stats": 0,
"draw": 0
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/base/seasonPage?languageId=zh¤t=1&size=100
31.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 |
数据 |
- |
└─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/tennis/base/stagePage?languageId=zh¤t=1&size=100
31.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 |
头像 |
- |
└─countryId |
string |
国家 |
- |
└─birthPlace |
string |
出生地 |
- |
└─birthDate |
string |
出生日期 |
- |
└─careerHigh |
string |
生涯最高 |
- |
└─earnedCareer |
string |
获得成就 |
- |
└─earnedThisYear |
string |
今年获得成就 |
- |
└─height |
string |
身高 |
- |
└─plays |
string |
惯用 |
- |
└─playerRank |
string |
排名 |
- |
└─residence |
string |
住宅 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"playerId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": "",
"countryId": "",
"birthPlace": "",
"birthDate": "",
"careerHigh": "",
"earnedCareer": "",
"earnedThisYear": "",
"height": "",
"plays": "",
"playerRank": "",
"residence": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/base/playerPage?languageId=zh¤t=1&size=100
32. 比赛数据
32.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 |
赛季 |
- |
└─stageId |
int32 |
分组 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一盘,2第二季盘,3第三盘,4第四盘,7医疗暂停,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─homeTeamId |
string |
球队1 |
- |
└─homeIds |
string |
球员1、球员2 |
- |
└─awayTeamId |
string |
球队2 |
- |
└─awayIds |
string |
球员3、球员4 |
- |
└─homeScore |
string |
球队1得分 s1,s2,s3,s4,s5,total |
- |
└─awayScore |
string |
球队2得分 s1,s2,s3,s4,s5,total |
- |
└─winner |
int32 |
胜利者 |
- |
└─stream |
int32 |
是否有直播,0无,1有 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─animation |
int32 |
是否有动画,0无,1有 |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─homeList |
array |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─awayList |
array |
客队信息 |
- |
└─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 |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"stageId": 0,
"time": 0,
"status": 0,
"homeTeamId": "",
"homeIds": "",
"awayTeamId": "",
"awayIds": "",
"homeScore": "",
"awayScore": "",
"winner": 0,
"stream": 0,
"odds": 0,
"inplay": 0,
"animation": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"homeList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"awayList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/match/live?languageId=zh
32.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 |
赛季 |
- |
└─stageId |
int32 |
分组 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一盘,2第二季盘,3第三盘,4第四盘,7医疗暂停,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─homeTeamId |
string |
球队1 |
- |
└─homeIds |
string |
球员1、球员2 |
- |
└─awayTeamId |
string |
球队2 |
- |
└─awayIds |
string |
球员3、球员4 |
- |
└─homeScore |
string |
球队1得分 s1,s2,s3,s4,s5,total |
- |
└─awayScore |
string |
球队2得分 s1,s2,s3,s4,s5,total |
- |
└─winner |
int32 |
胜利者 |
- |
└─stream |
int32 |
是否有直播,0无,1有 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─animation |
int32 |
是否有动画,0无,1有 |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─homeList |
array |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─awayList |
array |
客队信息 |
- |
└─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 |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"stageId": 0,
"time": 0,
"status": 0,
"homeTeamId": "",
"homeIds": "",
"awayTeamId": "",
"awayIds": "",
"homeScore": "",
"awayScore": "",
"winner": 0,
"stream": 0,
"odds": 0,
"inplay": 0,
"animation": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"homeList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"awayList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/match/matchList?languageId=zh&date=2023-08-01
32.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 |
赛季 |
- |
└─stageId |
int32 |
分组 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一盘,2第二季盘,3第三盘,4第四盘,7医疗暂停,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─homeTeamId |
string |
球队1 |
- |
└─homeIds |
string |
球员1、球员2 |
- |
└─awayTeamId |
string |
球队2 |
- |
└─awayIds |
string |
球员3、球员4 |
- |
└─homeScore |
string |
球队1得分 s1,s2,s3,s4,s5,total |
- |
└─awayScore |
string |
球队2得分 s1,s2,s3,s4,s5,total |
- |
└─winner |
int32 |
胜利者 |
- |
└─stream |
int32 |
是否有直播,0无,1有 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─animation |
int32 |
是否有动画,0无,1有 |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─homeList |
array |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─awayList |
array |
客队信息 |
- |
└─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 |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"stageId": 0,
"time": 0,
"status": 0,
"homeTeamId": "",
"homeIds": "",
"awayTeamId": "",
"awayIds": "",
"homeScore": "",
"awayScore": "",
"winner": 0,
"stream": 0,
"odds": 0,
"inplay": 0,
"animation": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"homeList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"awayList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/match/matchSeason?languageId=zh&leagueId=0&seasonId=0
33. 统计数据
33.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 |
数据 |
- |
└─standings |
object |
No comments found. |
- |
└─sport |
string |
No comments found. |
- |
└─player |
array |
No comments found. |
- |
└─id |
string |
No comments found. |
- |
└─name |
string |
No comments found. |
- |
└─rank |
int32 |
No comments found. |
- |
└─movement |
string |
No comments found. |
- |
└─country |
string |
No comments found. |
- |
└─points |
string |
No comments found. |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": {
"standings": {
"sport": "",
"player": [
{
"id": "",
"name": "",
"rank": 0,
"movement": "",
"country": "",
"points": ""
}
]
}
},
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/statistics/standings?languageId=zh&leagueId=0
33.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/tennis/statistics/match?languageId=zh&matchId=0
34. 指数数据
34.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/tennis/odds/bookmakerList?languageId=zh
34.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/tennis/odds/marketList?languageId=zh
34.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/tennis/odds/oddsList?languageId=zh&companyIds=&categoryIds=
34.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/tennis/odds/oddsOldById?languageId=zh&matchId=0&companyIds=&categoryIds=
34.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/tennis/odds/market2List?languageId=zh
34.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/tennis/odds/inPlayList?languageId=zh&companyIds=&categoryIds=
34.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/tennis/odds/inPlay?languageId=zh&matchId=0&companyIds=&categoryIds=
34.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/tennis/odds/inPlayOldById?languageId=zh&matchId=0&companyIds=&categoryIds=
35. 历史数据库
35.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. |
||
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 |
赛季 |
- |
└─stageId |
int32 |
分组 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一盘,2第二季盘,3第三盘,4第四盘,7医疗暂停,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─homeTeamId |
string |
球队1 |
- |
└─homeIds |
string |
球员1、球员2 |
- |
└─awayTeamId |
string |
球队2 |
- |
└─awayIds |
string |
球员3、球员4 |
- |
└─homeScore |
string |
球队1得分 s1,s2,s3,s4,s5,total |
- |
└─awayScore |
string |
球队2得分 s1,s2,s3,s4,s5,total |
- |
└─winner |
int32 |
胜利者 |
- |
└─stream |
int32 |
是否有直播,0无,1有 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─animation |
int32 |
是否有动画,0无,1有 |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─homeList |
array |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─awayList |
array |
客队信息 |
- |
└─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 |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"stageId": 0,
"time": 0,
"status": 0,
"homeTeamId": "",
"homeIds": "",
"awayTeamId": "",
"awayIds": "",
"homeScore": "",
"awayScore": "",
"winner": 0,
"stream": 0,
"odds": 0,
"inplay": 0,
"animation": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"homeList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"awayList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/database/matchPage?languageId=zh¤t=1&size=100
35.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 |
||
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 |
赛季 |
- |
└─stageId |
int32 |
分组 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态 0未开始,1第一盘,2第二季盘,3第三盘,4第四盘,7医疗暂停,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─homeTeamId |
string |
球队1 |
- |
└─homeIds |
string |
球员1、球员2 |
- |
└─awayTeamId |
string |
球队2 |
- |
└─awayIds |
string |
球员3、球员4 |
- |
└─homeScore |
string |
球队1得分 s1,s2,s3,s4,s5,total |
- |
└─awayScore |
string |
球队2得分 s1,s2,s3,s4,s5,total |
- |
└─winner |
int32 |
胜利者 |
- |
└─stream |
int32 |
是否有直播,0无,1有 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─animation |
int32 |
是否有动画,0无,1有 |
- |
└─league |
object |
联赛信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─homeList |
array |
主队信息 |
- |
└─id |
int32 |
球场 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─image |
string |
image |
- |
└─awayList |
array |
客队信息 |
- |
└─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 |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─s1 |
string |
第一节得分 |
- |
└─s2 |
string |
第二节得分 |
- |
└─s3 |
string |
第三节得分 |
- |
└─s4 |
string |
第四节得分 |
- |
└─half |
string |
半场得分 |
- |
└─ot |
string |
加时得分 |
- |
└─t |
string |
总得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"leagueId": 0,
"seasonId": 0,
"stageId": 0,
"time": 0,
"status": 0,
"homeTeamId": "",
"homeIds": "",
"awayTeamId": "",
"awayIds": "",
"homeScore": "",
"awayScore": "",
"winner": 0,
"stream": 0,
"odds": 0,
"inplay": 0,
"animation": 0,
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"homeList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"awayList": [
{
"id": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"image": ""
}
],
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
},
"awayTeam": {
"s1": "",
"s2": "",
"s3": "",
"s4": "",
"half": "",
"ot": "",
"t": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/database/matchSeason?languageId=zh&leagueId=0&seasonId=0
35.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. |
||
type |
string |
true |
(atp、atpDoubles、wta、wtaDoubles) |
Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success |
boolean |
是否成功 |
- |
message |
string |
提示信息 |
- |
data |
array |
数据 |
- |
└─rank |
int32 |
排名 |
- |
└─movement |
string |
动作 |
- |
└─points |
string |
得分 |
- |
└─id |
int32 |
球员id |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"rank": 0,
"movement": "",
"points": "",
"id": 0
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/tennis/database/standings?languageId=zh&type=
36. websocket变化数据
36.1. 即时数据
WebSocket地址:wss://socket.superscore.cn:9083/tennis
code字典
201
即时比分
202 比赛统计
203 比赛事件
36.2. 赛前指数
WebSocket地址:wss://socket.superscore.cn:9083/tennisOdds
36.3. 赛中指数
WebSocket地址:wss://socket.superscore.cn:9083/tennisInPlay