- Quick Start
- API指南
- API Documentation
- Score of Sports
- Basic Data
- Real-time Data
- 指数数据
- 统计数据
- 高阶数据
- 历史数据
- 比赛对应接口
- 长链接推送
- Basic Data
- 电竞比分
- 体彩数据
- 媒体数据
- 动画直播
- 常见问题
- 更新日志
篮球重要事件接口
GET
/sport/api/v3/live/201/event
获取篮球比赛的重要事件数据-自定义参数查询(不同项目的路径不同)
该接口返回所请求参数的全量重要事件数据(请求限制:前后30天的赛程)
更新数据:
方案1:有需求时请求指定比赛的重要事件数据:
方案2:接推送,接收实时有变化的数据(长链接推送/实时数据增强版/事件数据推送)
频率限制:30次/min
Request
Query Params
match_id
string
optional
Example:
443027
page
integer
optional
per_page
integer
optional
recent_update
string
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/sport/api/v3/live/201/event?match_id=443027&page&per_page&recent_update'
Responses
🟢200成功
application/json
Body
code
integer
错误码
data
object
required
list
array [object {4}]
required
total
integer
总条数
msg
string
接口响应信息
Example
{
"code": 0,
"data": {
"list": [
{
"sport_id": 201,
"match_id": 2755208,
"event_data": [
{
"type": 11,
"position": 0,
"state": 0,
"time": 700,
"event_time": 1718671139,
"home_score": 0,
"away_score": 0,
"reason": 0,
"result": 0
},
{
"type": 1,
"position": 1,
"state": 1,
"time": 700,
"event_time": 1718671139,
"home_score": 2,
"away_score": 0,
"reason": 1,
"result": 1
},
{
"type": 2,
"position": 2,
"state": 1,
"time": 676,
"event_time": 1718671168,
"home_score": 2,
"away_score": 0,
"reason": 3,
"result": 8
},
{
"type": 2,
"position": 1,
"state": 1,
"time": 642,
"event_time": 1718671240,
"home_score": 2,
"away_score": 0,
"reason": 3,
"result": 8
},
{
"type": 1,
"position": 1,
"state": 1,
"time": 574,
"event_time": 1718671322,
"home_score": 4,
"away_score": 0,
"reason": 1,
"result": 1
},
{
"type": 1,
"position": 2,
"state": 1,
"time": 539,
"event_time": 1718671369,
"home_score": 4,
"away_score": 2,
"reason": 1,
"result": 1
},
{
"type": 1,
"position": 1,
"state": 1,
"time": 508,
"event_time": 1718671415,
"home_score": 4,
"away_score": 2,
"reason": 1,
"result": 1
},
{
"type": 1,
"position": 1,
"state": 1,
"time": 448,
"event_time": 1718671519,
"home_score": 9,
"away_score": 2,
"reason": 1,
"result": 2
},
{
"type": 10,
"position": 2,
"state": 1,
"time": 448,
"event_time": 1718671526,
"home_score": 9,
"away_score": 2,
"reason": 5,
"result": 16
},
{
"type": 2,
"position": 1,
"state": 1,
"time": 432,
"event_time": 1718671764,
"home_score": 9,
"away_score": 2,
"reason": 3,
"result": 8
},
{
"type": 1,
"position": 2,
"state": 1,
"time": 422,
"event_time": 1718671795,
"home_score": 9,
"away_score": 4,
"reason": 1,
"result": 1
},
{
"type": 3,
"position": 2,
"state": 1,
"time": 422,
"event_time": 1718671823,
"home_score": 9,
"away_score": 5,
"reason": 2,
"result": 4
},
{
"type": 3,
"position": 1,
"state": 1,
"time": 409,
"event_time": 1718671868,
"home_score": 10,
"away_score": 5,
"reason": 2,
"result": 4
}
],
"update_time": 1734333653
}
],
"total": 1
},
"msg": "success"
}
Modified at 2025-06-18 09:43:24