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

Group: Fixtures

Esports: the characters each side banned in one game, in order (League of Legends, Dota 2).

Note: Counter-Strike has no bans: both lists are empty, as they are until the source lists them.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `gameId` | path | yes | our game id: EsportsGame.id from /v2/fixtures/{id}/games |

## Response

- `data`: `EsportsGameBans`
- `meta`: gameId
- Objects: EsportsGameBans (https://sportsapi.app/markdown/en/reference.md#esportsgamebans)

## Errors

- 403 history_not_in_plan — the fixture is older than your plan’s history
- 404 not_found — a game id that is not a game of this fixture, or an id we never issued

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

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

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ sportsapi fixtures game-bans <id> <gameId>
```

## Example response

```json
{ "data": { "home": [ { "name": "Lucian", "slug": "lucian" }, … ], "away": [ … ] }, "meta": { "gameId": 9021440 } }
```

---

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/game-bans · All docs: https://sportsapi.app/markdown/en/docs.md
