27. 基础数据
27.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 |
数据 |
- |
└─typeId |
int32 |
游戏类型 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"typeId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"nameShortEn": "",
"nameShortZh": "",
"nameShortZht": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/base/typeList?languageId=zh
27.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 |
联赛 |
- |
└─countryId |
string |
国家 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─season |
string |
赛季 |
- |
└─type |
int32 |
赛事类型,1.全球性、2.五大联赛、3.地区联赛、4.其他赛事、0.未知 |
- |
└─image |
string |
logo |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"leagueId": 0,
"countryId": "",
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"season": "",
"type": 0,
"image": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/base/leaguePage?languageId=zh¤t=1&size=100
27.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 |
数据 |
- |
└─teamId |
int32 |
球队 |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
logo |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"teamId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"nameShortEn": "",
"nameShortZh": "",
"nameShortZht": "",
"image": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/base/teamPage?languageId=zh¤t=1&size=100
27.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 |
数据 |
- |
└─playerId |
int32 |
球员 |
- |
└─teamId |
int32 |
球队id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─position |
int32 |
位置 |
- |
└─image |
string |
头像 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"playerId": 0,
"teamId": 0,
"nameEn": "",
"nameZh": "",
"nameZht": "",
"nameShortEn": "",
"nameShortZh": "",
"nameShortZht": "",
"position": 0,
"image": ""
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/base/playerPage?languageId=zh¤t=1&size=100
28. 比赛数据
28.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 |
比赛 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态0未开始,1进行中,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─typeId |
int32 |
游戏类型 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─round |
string |
赛制 |
- |
└─homeScore |
string |
主队比分 |
- |
└─awayScore |
string |
客队比分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─scoreboard |
string |
记分牌 |
- |
└─lineups |
string |
整容 |
- |
└─maps |
string |
地图 |
- |
└─games |
string |
游戏 |
- |
└─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 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─stats |
object |
比赛统计 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─res |
string |
第一节得分 |
- |
└─total |
string |
第二节得分 |
- |
└─ancient |
string |
第三节得分 |
- |
└─mrg |
string |
第四节得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─res |
string |
第一节得分 |
- |
└─total |
string |
第二节得分 |
- |
└─ancient |
string |
第三节得分 |
- |
└─mrg |
string |
第四节得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"time": 0,
"status": 0,
"typeId": 0,
"leagueId": 0,
"homeId": 0,
"awayId": 0,
"round": "",
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"scoreboard": "",
"lineups": "",
"maps": "",
"games": "",
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"away": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"res": "",
"total": "",
"ancient": "",
"mrg": ""
},
"awayTeam": {
"res": "",
"total": "",
"ancient": "",
"mrg": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/match/live?languageId=zh
28.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 |
比赛 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态0未开始,1进行中,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─typeId |
int32 |
游戏类型 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─round |
string |
赛制 |
- |
└─homeScore |
string |
主队比分 |
- |
└─awayScore |
string |
客队比分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─scoreboard |
string |
记分牌 |
- |
└─lineups |
string |
整容 |
- |
└─maps |
string |
地图 |
- |
└─games |
string |
游戏 |
- |
└─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 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─stats |
object |
比赛统计 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─res |
string |
第一节得分 |
- |
└─total |
string |
第二节得分 |
- |
└─ancient |
string |
第三节得分 |
- |
└─mrg |
string |
第四节得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─res |
string |
第一节得分 |
- |
└─total |
string |
第二节得分 |
- |
└─ancient |
string |
第三节得分 |
- |
└─mrg |
string |
第四节得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"time": 0,
"status": 0,
"typeId": 0,
"leagueId": 0,
"homeId": 0,
"awayId": 0,
"round": "",
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"scoreboard": "",
"lineups": "",
"maps": "",
"games": "",
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"away": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"res": "",
"total": "",
"ancient": "",
"mrg": ""
},
"awayTeam": {
"res": "",
"total": "",
"ancient": "",
"mrg": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/match/matchList?languageId=zh&date=2023-08-01
28.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 |
数据 |
- |
└─matchId |
int32 |
比赛 |
- |
└─time |
int32 |
时间戳秒 |
- |
└─status |
int32 |
状态0未开始,1进行中,10结束,11取消,12暂停,13推迟,14延迟,15腰斩,16中断,17退赛,18待定,99删除 |
- |
└─typeId |
int32 |
游戏类型 |
- |
└─leagueId |
int32 |
联赛 |
- |
└─homeId |
int32 |
主队 |
- |
└─awayId |
int32 |
客队 |
- |
└─round |
string |
赛制 |
- |
└─homeScore |
string |
主队比分 |
- |
└─awayScore |
string |
客队比分 |
- |
└─odds |
int32 |
是否有指数,0无,1有 |
- |
└─inplay |
int32 |
是否有滚球,0无,1有 |
- |
└─scoreboard |
string |
记分牌 |
- |
└─lineups |
string |
整容 |
- |
└─maps |
string |
地图 |
- |
└─games |
string |
游戏 |
- |
└─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 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─away |
object |
客队信息 |
- |
└─id |
int32 |
id |
- |
└─nameEn |
string |
英文名称 |
- |
└─nameShortEn |
string |
英文简称 |
- |
└─nameZh |
string |
中文名称 |
- |
└─nameShortZh |
string |
中文简称 |
- |
└─nameZht |
string |
繁体名称 |
- |
└─nameShortZht |
string |
繁体简称 |
- |
└─image |
string |
image |
- |
└─sort |
int32 |
排序 |
- |
└─stats |
object |
比赛统计 |
- |
└─minute |
string |
分钟 |
- |
└─second |
string |
秒 |
- |
└─updateTime |
int64 |
更新时间 |
- |
└─homeTeam |
object |
主队 |
- |
└─res |
string |
第一节得分 |
- |
└─total |
string |
第二节得分 |
- |
└─ancient |
string |
第三节得分 |
- |
└─mrg |
string |
第四节得分 |
- |
└─awayTeam |
object |
客队 |
- |
└─res |
string |
第一节得分 |
- |
└─total |
string |
第二节得分 |
- |
└─ancient |
string |
第三节得分 |
- |
└─mrg |
string |
第四节得分 |
- |
code |
string |
编码 |
- |
timestamp |
int64 |
时间 |
- |
Response-example:
{
"success": true,
"message": "",
"data": [
{
"matchId": 0,
"time": 0,
"status": 0,
"typeId": 0,
"leagueId": 0,
"homeId": 0,
"awayId": 0,
"round": "",
"homeScore": "",
"awayScore": "",
"odds": 0,
"inplay": 0,
"scoreboard": "",
"lineups": "",
"maps": "",
"games": "",
"league": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"home": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"away": {
"id": 0,
"nameEn": "",
"nameShortEn": "",
"nameZh": "",
"nameShortZh": "",
"nameZht": "",
"nameShortZht": "",
"image": "",
"sort": 0
},
"stats": {
"minute": "",
"second": "",
"updateTime": 0,
"homeTeam": {
"res": "",
"total": "",
"ancient": "",
"mrg": ""
},
"awayTeam": {
"res": "",
"total": "",
"ancient": "",
"mrg": ""
}
}
}
],
"code": "",
"timestamp": 0
}
Curl-example:
curl -X GET -k -H 'token:test' -i https://api.superscore.cn/esports/match/matchPage?languageId=zh¤t=1&size=100
29. 指数数据
29.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/esports/odds/bookmakerList?languageId=zh
29.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/esports/odds/marketList?languageId=zh
29.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/esports/odds/oddsList?languageId=zh&companyIds=&categoryIds=
29.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/esports/odds/oddsOldById?languageId=zh&matchId=0&companyIds=&categoryIds=
29.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/esports/odds/market2List?languageId=zh
29.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/esports/odds/inPlayList?languageId=zh&companyIds=&categoryIds=
29.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/esports/odds/inPlay?languageId=zh&matchId=0&companyIds=&categoryIds=
29.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/esports/odds/inPlayOldById?languageId=zh&matchId=0&companyIds=&categoryIds=
30. websocket变化数据
30.1. 即时数据
WebSocket地址:wss://socket.superscore.cn:9083/esports
code字典
201
即时比分
202 比赛统计
203 比赛事件
30.2. 赛前指数
WebSocket地址:wss://socket.superscore.cn:9083/esportsOdds
30.3. 赛中指数
WebSocket地址:wss://socket.superscore.cn:9083/esportsInPlay