← Back to API docs

GET/api/v1/matches/intel/by-match

本场情报(有利 / 不利 / 伤停 / 中立)
高阶数据包activebetacoreAvailable (scoped)

Description

这场比赛的情报,按首次收录的先后排。也可以把比赛 id 放在路径里:/api/v1/matches/<gmid>/intel,答复相同。情报内容变了会作为新的一条出现(旧的保留)。没有情报时 data 是空数组。

Access

Request
GET https://api.sports.csap.ai/api/v1/matches/intel/by-match
Auth
Header X-API-Key: <your key> (Authorization: Bearer <key> also works; ?key= is still accepted but discouraged, because the key ends up in URLs and logs)
External keys
Available (scoped)External keys can call it, but only data inside the open scope is returned.
Rate limits
3000 per minute · 200000 per day · 按 key 配置(以 /api/v1/account 返回的 rate_per_min、quota_daily 为准;上面是试用 key 的值),超出回 429。另外整表快照、不带比赛 id 的统计列表等重型请求全站同时只处理 2 个,排不上回 429 + Retry-After。响应里暂时没有 X-RateLimit-* 头。 See the general guide

Request parameters 2

ParameterTyperequiredExampleDescription
idintegerrequired5179我方比赛 id(gmid,必填)
limitintegeroptional10返回条数,默认 100,最多 200

Example request

curl "https://api.sports.csap.ai/api/v1/matches/intel/by-match?id=5179" \
  -H "X-API-Key: YOUR_API_KEY"

Try it

Example response

An example response is being added; send a request in Try it above to see a real one.

Response fields 5

sidestringhome 主队 / away 客队;null = 不分边
kindstringgood 有利 / bad 不利 / injury 伤停 / neutral 中立 / other 其他
textstring情报正文(中文)
playerstring涉及的球员名(伤停类一般有,其他可能为 null)
first_seenstring首次采到这条情报的时间(ISO 8601)

Errors

HTTPmessageWhen
401missing API key / unauthorized没带 X-API-Key 或 key 无效、已停用
400bad param …参数格式不对(如 id 不是数字或 u<uid>)
301match merged into <gmid>按旧比赛 id 查,这场已合并到新 gmid:Location 指向新地址,返回体带 moved_to
404not found比赛 / 球队 / 赛事不存在,或不在这个 key 的可见范围内(外部 key 只能看到开放范围内的比赛)
429rate limit exceeded / daily quota exceeded超过 key 的每分钟次数或每日配额
429server busy, retry later服务端并发名额已满(重型请求同时只有 2 个),按 Retry-After 秒后重试
500query error服务端查询失败,可重试