Documentation / Venues
Venue games
GET /v1/venues/{venue_id}/gamesFree key and upPaged, 50 a page
Games played at an arena that your plan covers, newest first.
GET
https://api.icehockeyapi.com/v1/venues/{venue_id}/gameshttps://api.icehockeyapi.com/v1/venues/vn_aymp6wpr/games?per_page=3curl "https://api.icehockeyapi.com/v1/venues/vn_aymp6wpr/games?per_page=3" \ -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
"data": [
{
"id": "gm_kk0z6gqs",
"date": "2026-10-13",
"start_time": "2026-10-13T23:15:00Z",
"league": {
"id": "lg_6t11wec7",
"name": "NHL"
},
"season": {
"id": "ss_0n4zhhna",
"label": "2026-27"
},
"stage": "regular",
"status": "scheduled",
"home_team": {
"id": "tm_kpzj338v",
"name": "New York Rangers",
"short_name": "NYR",
"country": "North America"
},
"away_team": {
"id": "tm_76hme1dz",
"name": "Tampa Bay Lightning",
"short_name": "TBL",
"country": "North America"
},
"home_goals": null,
"away_goals": null,
"ended_in": null,
"venue": {
"id": "vn_aymp6wpr",
"name": "Madison Square Garden",
"city": null,
"country": null
},
"attendance": null
},
{
"id": "gm_seyr9d88",
"date": "2026-10-11",
"start_time": "2026-10-11T22:00:00Z",
"league": {
"id": "lg_6t11wec7",
"name": "NHL"
},
"season": {
"id": "ss_0n4zhhna",
"label": "2026-27"
},
"stage": "regular",
"status": "final",
"home_team": {
"id": "tm_kpzj338v",
"name": "New York Rangers",
"short_name": "NYR",
"country": "North America"
},
"away_team": {
"id": "tm_ampzcavy",
"name": "Vancouver Canucks",
"short_name": "VAN",
"country": "North America"
},
"home_goals": 6,
"away_goals": 2,
"ended_in": "regulation",
"venue": {
"id": "vn_aymp6wpr",
"name": "Madison Square Garden",
"city": null,
"country": null
},
"attendance": null
},
{
"id": "gm_3t7er8gh",
"date": "2026-10-06",
"start_time": "2026-10-06T23:30:00Z",
"league": {
"id": "lg_6t11wec7",
"name": "NHL"
},
"season": {
"id": "ss_0n4zhhna",
"label": "2026-27"
},
"stage": "regular",
"status": "final",
"home_team": {
"id": "tm_kpzj338v",
"name": "New York Rangers",
"short_name": "NYR",
"country": "North America"
},
"away_team": {
"id": "tm_zy5w8596",
"name": "New York Islanders",
"short_name": "NYI",
"country": "North America"
},
"home_goals": 5,
"away_goals": 2,
"ended_in": "regulation",
"venue": {
"id": "vn_aymp6wpr",
"name": "Madison Square Garden",
"city": null,
"country": null
},
"attendance": 18006
}
],
"meta": {
"count": 3,
"next_cursor": "eyJvIjozLCJuIjozfQ",
"page": 1,
"per_page": 3,
"total": 2534,
"total_pages": 845,
"next_page": 2,
"prev_page": null,
"plan": "Complete"
}
}Run works once the API is live; the code above works now.
Parameters
| Name | In | Type | What it does |
|---|---|---|---|
venue_id required | path | id | An arena, from /v1/venues. |
page | query | int | The page, from 1. |
per_page | query | int | Records a page, default 50, at most 200. |
cursor | query | string | meta.next_cursor from the previous answer. |
Returns
| Field | Type |
|---|---|
id | string |
date | string |
start_time | string |
league | object |
league.id | string |
league.name | string |
season | object |
season.id | string |
season.label | string |
stage | string |
status | string |
home_team | object |
home_team.id | string |
home_team.name | string |
home_team.short_name | string |
home_team.country | string |
away_team | object |
away_team.id | string |
away_team.name | string |
away_team.short_name | string |
away_team.country | string |
home_goals | null |
away_goals | null |
ended_in | null |
venue | object |
venue.id | string |
venue.name | string |
venue.city | null |
venue.country | null |
attendance | null |