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

Group: Fixtures

Esports: the objectives each side secured in a single game — kills, gold, towers, inhibitors, dragons (split by element in dragonsByType for League of Legends), elder dragons, barons and the herald, plus barracks and first blood in Dota 2.

Plans: Every plan, Free included.

Note: For a side with no objectives at the source the value is null, and in Counter-Strike that is always the case. gold, dragons and barons belong to League of Legends; barracks and firstBlood to Dota 2.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | fixture id issued by DataSportsAPI, a positive integer |
| `gameId` | path | yes | game id issued by DataSportsAPI — EsportsGame.id as returned by /v2/fixtures/{id}/games |

## Response

- `data`: `EsportsGameStatistics`
- `meta`: gameId
- Objects: EsportsGameStatistics (https://datasportsapi.com/markdown/reference.md#esportsgamestatistics)

## Errors

- 403 history_not_in_plan — the fixture predates the history your plan covers
- 404 not_found — the game id is not one of this fixture’s games, or DataSportsAPI never issued the id

Plus the errors every /v2 call shares (https://datasportsapi.com/markdown/docs/errors.md).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/fixtures/{id}/games/{gameId}/statistics"
```

TypeScript:

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

Python:

```python
res = client.fixtures.game_statistics(id, game_id)
```

Go:

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

CLI:

```bash
$ dsa fixtures game-statistics <id> <gameId>
```

## Example response

```json
{ "data": {
    "home": { "kills": 8, "gold": 57524, "towers": 3, "inhibitors": 0, "dragons": 3, "elderDragons": 0, "barons": 1, "heraldTaken": false,
              "barracks": null, "firstBlood": null,
              "dragonsByType": { "chemtech": 0, "cloud": 0, "hextech": 0, "infernal": 0, "mountain": 0, "ocean": 3 } },
    "away": { … } },
  "meta": { "gameId": 9021440 } }
```

---

Base URL: https://api.datasportsapi.com. Authenticate each /v2 call with the header `Authorization: Bearer <key>` (secret keys begin with `sk_live_`).
HTML: https://datasportsapi.com/docs/fixtures/game-statistics/ · Group: https://datasportsapi.com/markdown/docs/fixtures.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
