# GET /v2/leagues/{id}/venues/{venueId}/fixtures

Group: Leagues

Returns the matches one venue hosts in a league season, ordered by start time. For a tennis tournament a venue is a court, so this is the order of play, court by court. Available since 2026-11-20.

Plans: Every plan, Free included.

Note: The season’s venues (a tournament’s courts) come from /v2/leagues/{id}/venues. Answers are paged from 0; follow meta.hasNextPage for the rest.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | league id issued by DataSportsAPI, a positive integer |
| `venueId` | path | yes | venue id, as listed by /v2/leagues/{id}/venues |
| `season` | query | yes | season id, as listed by /v2/leagues/{id}/seasons |
| `page` | query | no | page number starting at 0, up to 50 (default 0) |

## Response

- `data`: `Fixture[]`
- `meta`: season, venue, page, count, hasNextPage
- 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 venue 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}/venues/{venueId}/fixtures?season=…"
```

TypeScript:

```ts
const { data, meta } = await client.leagues.venueFixtures(id, venueId, { season });
for await (const page of client.leagues.venueFixturesPages(id, venueId, { season })) { … }
```

Python:

```python
res = client.leagues.venue_fixtures(id, venue_id, season=season)
for page in client.leagues.venue_fixtures_pages(id, venue_id, season=season): ...
```

Go:

```go
res, err := client.Leagues.VenueFixtures(ctx, id, venueId, &datasportsapi.LeaguesVenueFixturesParams{Season: season})
for page, err := range client.Leagues.VenueFixturesPages(ctx, id, venueId, &datasportsapi.LeaguesVenueFixturesParams{Season: season}) { … }
```

CLI:

```bash
$ dsa leagues venue-fixtures <id> <venueId> --season <season>
$ dsa leagues venue-fixtures <id> <venueId> --season <season> --all -o csv
```

## Example response

```json
{ "data": [ { "id": 1184500, "sport": "tennis", "group": "Group A", … }, … ],
  "meta": { "season": 1184480, "venue": 1184501, "page": 0, "count": 12, "hasNextPage": false } }
```

---

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/venue-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
