> ## Documentation Index
> Fetch the complete documentation index at: https://oddspapi-v4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GET scores

> 获取单场赛事按时段（半场、节或盘）划分的比分。

> [!NOTE]
>
> **速率限制**：同一 API 密钥对该端点的两次调用之间至少间隔 1 秒。调用过快会返回 `429 RATE_LIMITED`。 每次调用消耗 1 次请求配额。 [了解限制规则](https://oddspapi-v4.mintlify.site/zh/docs/errors.md#rate-limits)

按分段（period）获取指定比赛的比分明细。

## 端点

```http theme={null}
GET /v4/scores
```

## 请求参数

* **fixtureId**\* `(string)` — 需要获取比分的比赛唯一标识符。

### 请求示例

```http theme={null}
GET /v4/scores?fixtureId=id65236323277832
```

### 响应示例

```json theme={null}
{
  "fixtureId": "id65236323277832",
  "scores": {
    "0": {
      "participant1Score": 0,
      "participant2Score": 2,
      "updatedAt": "2025-07-07T19:23:40.558913+00:00"
    },
    "1": {
      "participant1Score": 3,
      "participant2Score": 6,
      "updatedAt": "2025-07-07T18:32:58.060019+00:00"
    },
    "2": {
      "participant1Score": 5,
      "participant2Score": 7,
      "updatedAt": "2025-07-07T19:23:40.558913+00:00"
    },
    "3": {
      "participant1Score": 2,
      "participant2Score": 2,
      "updatedAt": "2025-07-07T19:53:03.905144+00:00"
    }
  }
}
```

## 响应 (200 OK)

当请求成功时，服务器会返回状态码 `200` 并返回一个按分段分组比分的 JSON 对象。

* **fixtureId** `(string)` — 需要获取比分的比赛唯一标识符。
* **scores** `(object)` — 为每个分段返回的比分:
  * **participant1Score** `(number)` — 在给定分段中，第一参赛方的得分。
  * **participant2Score** `(number)` — 在给定分段中，第二参赛方的得分。
  * **updatedAt** `(string)` — 该分段比分最后一次更新的时间戳。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.