接口说明
增量更新游标机制接口(为兼容保留)。本平台的增量统一通过各数据接口的 time 参数实现(返回更新时间 >= time 的记录),所以这个独立接口不返回数据。
调用信息
- 请求
GET https://api.sports.csap.ai/api/v1/data/more/update- 鉴权
- 请求头 X-API-Key: <你的 key>(也支持 Authorization: Bearer <key>;?key= 仍可用但不建议,key 会留在地址和日志里)
- 外部 key
- 可调用(数据有范围)外部 key 可以调用,但只返回开放范围内的数据,见「通用说明 · 外部 key 的数据范围」。
- 频率限制
- 每分钟 3000 次 · 每天 200000 次 · 按 key 配置(以 /api/v1/account 返回的 rate_per_min、quota_daily 为准;上面是试用 key 的值),超出回 429。另外整表快照、不带比赛 id 的统计列表等重型请求全站同时只处理 2 个,排不上回 429 + Retry-After。响应里暂时没有 X-RateLimit-* 头。 详见通用说明
请求参数 0
该接口无请求参数。
请求示例
curl "https://api.sports.csap.ai/api/v1/data/more/update" \ -H "X-API-Key: YOUR_API_KEY"
在线调试
示例返回
{
"code": 0,
"data": [
{
"competition_id": null,
"match_id": 4475659,
"pub_time": 1794148167,
"season_id": null,
"team_id": null,
"type_id": 2,
"uid": 31386,
"update_time": 1794148167,
"updated_at": "2026-11-08T14:30:26.250053Z"
},
{
"competition_id": null,
"match_id": 4549147,
"pub_time": 1794148167,
"season_id": null,
"team_id": null,
"type_id": 2,
"uid": 31387,
"update_time": 1794148167,
"updated_at": "2026-11-08T14:30:26.250053Z"
}
],
"message": "success",
"success": true
}返回字段 9
competition_idnull可为空赛事 id
match_idinteger我方比赛 id(gmid)
示例: 4475659pub_timeinteger
示例: 1794148167season_idnull可为空赛季 id
team_idnull可为空球队 id
type_idinteger
示例: 2uidinteger记录唯一游标 id
示例: 31386update_timeinteger
示例: 1794148167updated_atstring最后更新时间(UTC,ISO 8601;增量同步用 time 参数按它取)
示例: "2026-11-08T14:30:26.250053Z"错误码
| HTTP | message | 场景 |
|---|---|---|
| 401 | missing API key / unauthorized | 没带 X-API-Key 或 key 无效、已停用 |
| 429 | rate limit exceeded / daily quota exceeded | 超过 key 的每分钟次数或每日配额 |
| 429 | server busy, retry later | 服务端并发名额已满(重型请求同时只有 2 个),按 Retry-After 秒后重试 |
| 500 | query error | 服务端查询失败,可重试 |