# GET /v2/fixtures/{id}/statistics

Group: Fixtures

Match statistics grouped by period and category.

Note: Same graded coverage as lineups, and it deepens as a match progresses: a lower-tier fixture may carry only cards, a top league the full set of groups. Keys are one vocabulary across sports (totalShots, shotsOnGoal, passes, fouls, …; every key per sport is in the reference’s Statistic keys), group keys a fixed table per sport. American football: the team’s passingNetYards and passingYardsPerAttempt are the source’s gross figures (sacks not taken off) — the players’ own passingNetYards in the lineups are net. A fixture with no statistics (yet — e.g. not started) returns 200 with { "periods": [] }; 404 only for an id that does not exist. Refreshed about every 30 seconds while the match is live.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |

## Response

- `data`: `Statistics`
- Objects: Statistics (https://sportsapi.app/markdown/en/reference.md#statistics)

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/fixtures/{id}/statistics"
```

TypeScript:

```ts
const { data, meta } = await client.fixtures.statistics(id);
```

Python:

```python
res = client.fixtures.statistics(id)
```

Go:

```go
res, err := client.Fixtures.Statistics(ctx, id)
```

CLI:

```bash
$ sportsapi fixtures statistics <id>
```

## Example response

```json
{ "data": { "periods": [ { "period": "all", "groups": [
    { "key": "matchOverview", "name": "Match overview", "items": [
      { "key": "ballPossession", "name": "Ball possession", "kind": "value", "higherIs": "better",
        "home": { "display": "26%", "value": 26, "total": null }, "away": { "display": "74%", "value": 74, "total": null } },
      { "key": "fouls", "name": "Fouls", "kind": "value", "higherIs": "worse",
        "home": { "display": "13", "value": 13, "total": null }, "away": { "display": "11", "value": 11, "total": null } },
      { "key": "accurateLongBalls", "name": "Long balls", "kind": "ratio", "higherIs": "better",
        "home": { "display": "30/64 (47%)", "value": 30, "total": 64 }, "away": { … } }, … ] } ] },
    { "period": "period1", "groups": [ … ] } ] } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/fixtures/statistics · All docs: https://sportsapi.app/markdown/en/docs.md
