Documentation Index
Fetch the complete documentation index at: https://docs.oddspapi.io/llms.txt
Use this file to discover all available pages before exploring further.
数据流内容
针对特定 fixtureId 的实时比分更新。
每个 payload.scores 对象按节次(result、p1 等)进行键控。
- 实体键:
payload.fixtureId
- 过滤器:
sportIds、tournamentIds、fixtureIds
- 访问权限:由您的
apiKey 决定直播/赛前访问权
负载结构
| 字段 | 类型 | 描述 |
|---|
fixtureId | string | 此比分适用的赛事 |
scores | object | 各节次比分 |
scores[period] | object | 每节的比分和元数据 |
updatedAt | string (ISO) | 此节次最后已知更新时间 |
示例:结果更新
{
"channel": "scores",
"type": "UPDATE",
"payload": {
"fixtureId": "id1500025662664057",
"scores": {
"result": {
"period": "result",
"participant1Score": 2,
"participant2Score": 1,
"updatedAt": "2025-12-28T16:24:11.426852+00:00"
}
}
},
"ts": 1766939805321,
"entryId": "1766939805321-3077"
}
示例:多节次更新
{
"channel": "scores",
"type": "UPDATE",
"payload": {
"fixtureId": "id2503637767171366",
"scores": {
"p1": {
"period": "p1",
"participant1Score": 7,
"participant2Score": 6,
"updatedAt": "2025-12-28T16:34:02.865934+00:00"
},
"result": {
"period": "result",
"participant1Score": 0,
"participant2Score": 0,
"updatedAt": "2025-12-28T16:32:18.616082+00:00"
}
}
},
"ts": 1766939642953,
"entryId": "1766939642953-1905"
}
- 节次可能包括
result、p1、1stHalf 等
- 使用
updatedAt 检测过期比分
- 此数据流不包含比赛状态(参见
fixtures)