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

Group: Leagues

One venue’s matches in a league season, by start time — a tennis tournament’s order of play by court. The season’s courts: /v2/leagues/{id}/venues.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `venueId` | path | yes | a venue id from /v2/leagues/{id}/venues |
| `season` | query | yes | a season id from /v2/leagues/{id}/seasons |
| `page` | query | no | page from 0 (default 0) |

## Response

- `data`: `Fixture[]`
- `meta`: season, venue, page, count, hasNextPage
- Objects: Fixture (https://sportsapi.app/markdown/en/reference.md#fixture)

## Errors

- 403 history_not_in_plan — a season before your plan’s history
- 404 not_found — a venue 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/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, &sportsapi.LeaguesVenueFixturesParams{Season: season})
for page, err := range client.Leagues.VenueFixturesPages(ctx, id, venueId, &sportsapi.LeaguesVenueFixturesParams{Season: season}) { … }
```

CLI:

```bash
$ sportsapi leagues venue-fixtures <id> <venueId> --season <season>
$ sportsapi 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.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/leagues/venue-fixtures · All docs: https://sportsapi.app/markdown/en/docs.md
