- Quick Start
- API指南
- API Documentation
- Score of Sports
- Basic Data
- Real-time Data
- 指数数据
- 统计数据
- 高阶数据
- 历史数据
- 比赛对应接口
- 长链接推送
- Basic Data
- 电竞比分
- 体彩数据
- 媒体数据
- 动画直播
- 常见问题
- 更新日志
篮球趋势数据接口
GET
/sport/api/v3/live/201/trend
获取篮球比赛的实时趋势数据-自定义参数查询(不同项目的路径不同)
该接口返回所请求参数的全量实时趋势数据(请求限制:前后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/trend?match_id=443027&page&per_page&recent_update'
Responses
🟢200成功
application/json
Body
code
integer
错误码
data
object
required
list
array [object {6}]
required
total
integer
总条数
msg
string
接口响应信息
Example
{
"code": 0,
"data": {
"list": [
{
"sport_id": 201,
"match_id": 2755208,
"count": 4,
"duration": 12,
"trend": [
[
2,
2,
2,
2,
4,
4,
5,
5,
3,
2,
4,
6
],
[
9,
9,
12,
12,
11,
15,
11,
11,
9,
13,
15,
16
],
[
21,
21,
22,
26,
24,
22,
22,
18,
18,
17,
19,
21
],
[
19,
19,
19,
21,
21,
21,
20,
22,
24,
21,
20,
18
]
],
"update_time": 1721273608
}
],
"total": 1
},
"msg": "success"
}
Modified at 2025-06-18 09:43:24