# GET /v2/leagues/{id}/groups/{groupId}/fixtures

Group: Leagues

Returns the matches of one group of a group stage, ordered by start time. Available since 2026-11-20.

Plans: Every plan, Free included.

Note: The list is the whole group in one answer, without paging. Each fixture has the usual Fixture shape, with the group’s name in its group field.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | league id issued by DataSportsAPI, a positive integer |
| `groupId` | path | yes | group id, as listed by /v2/leagues/{id}/groups |
| `season` | query | yes | season id, as listed by /v2/leagues/{id}/seasons |

## Response

- `data`: `Fixture[]`
- `meta`: season, group, count
- Objects: Fixture (https://datasportsapi.com/markdown/reference.md#fixture)

## Errors

- 403 history_not_in_plan — your plan’s history window begins after this season ended
- 404 not_found — no group carries this 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/leagues/{id}/groups/{groupId}/fixtures?season=…"
```

TypeScript:

```ts
const { data, meta } = await client.leagues.groupFixtures(id, groupId, { season });
```

Python:

```python
res = client.leagues.group_fixtures(id, group_id, season=season)
```

Go:

```go
res, err := client.Leagues.GroupFixtures(ctx, id, groupId, &datasportsapi.LeaguesGroupFixturesParams{Season: season})
```

CLI:

```bash
$ dsa leagues group-fixtures <id> <groupId> --season <season>
```

## Example response

```json
{ "data": [ { "id": 1184500, "sport": "tennis", "group": "Group A", … }, … ],
  "meta": { "season": 1184480, "group": 1190101, "count": 6 } }
```

---

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/leagues/group-fixtures/ · Group: https://datasportsapi.com/markdown/docs/leagues.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
