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

Group: Fixtures

Esports: the players of both sides in a single game, with role, champion / hero, kills, deaths and assists, followed by the figures a title keeps — gold, creep score and level in League of Legends; last hits, denies, net worth, and gold and experience per minute in Dota 2; ADR, headshot kills, KAST, K − D, first-kill difference and flash assists in Counter-Strike.

Plans: Every plan, Free included.

Note: Any field the source does not track for the title is null. Both lists stay empty until the source publishes the game’s lineups: a map still in progress usually has none, and the figures arrive a few minutes after it ends.

## 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`: `EsportsGameLineups`
- `meta`: gameId
- Objects: EsportsGameLineups (https://datasportsapi.com/markdown/reference.md#esportsgamelineups)

## 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}/lineups"
```

TypeScript:

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

Python:

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

Go:

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

CLI:

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

## Example response

```json
{ "data": {
    "home": [ { "player": { "id": 902114, "name": "Caps", "slug": "caps", "shortName": "Caps", "image": "…" }, "role": "mid",
               "character": { "name": "Viktor", "slug": "viktor" }, "kills": 1, "deaths": 2, "assists": 4,
               "gold": 11177, "creepScore": 287, "level": 16,
               "denies": null, "netWorth": null, "goldPerMinute": null, "experiencePerMinute": null,
               "averageDamagePerRound": null, "headshotKills": null, "kastPercentage": null,
               "killDeathDifference": null, "firstKillDifference": null, "flashAssists": null }, … ],
    "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-lineups/ · Group: https://datasportsapi.com/markdown/docs/fixtures.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
