Operations
- GETAll venues — All venues, or the venues of a country. Paginated, 100 items per page.
- GETVenues by season — Venues of the teams taking part in a season.
- GETVenue by ID — One venue with capacity, city, coordinates and image.
Route reference
Operations
The t query parameter selects the operation. Parameters not listed for an operation are ignored. The plans column lists the plans that include the operation for the leagues they cover; Free plans carry the Standard datasets. A plan outside the list receives 403 with meta.msg = Endpoint not available for your plan.
t |
Operation | Required | Optional | Plans |
|---|---|---|---|---|
list |
All venues. All venues, or the venues of a country. Paginated, 100 items per page. | — | country_id, page |
Standard, World Cup |
byseason |
Venues by season. Venues of the teams taking part in a season. | season_id |
— | Standard, World Cup |
info |
Venue by ID. One venue with capacity, city, coordinates and image. | id |
— | Standard, World Cup |
Examples
All venues:
GET /v2.2/venues/?api_key=API_KEY&t=list&country_id=15
Venues by season:
GET /v2.2/venues/?api_key=API_KEY&t=byseason&season_id=14192
Venue by ID:
GET /v2.2/venues/?api_key=API_KEY&t=info&id=191