Get Games
Retrieve ice hockey games — scheduled, live and finished — with arena, status and goals.
GET/v1/hockey/games
Parameters
NameTypeRequiredDescription
x-api-keystringRequiredYour API key, sent as a header.
league_idintegerOptionalFilter by league ID.
seasonintegerOptionalFilter by season start year.
datedateOptionalFilter by date (YYYY-MM-DD, UTC).
team_idintegerOptionalFilter by team ID.
statusstringOptionalNS, LIVE, HT, FT, PST or CANC.
pageintegerOptionalPage number. Default 1, 50 per page.
Response
- dataarray<Game>Games matching your filters.
- idintegerUnique game ID.
- leagueobjectid and name.
- seasonintegerSeason start year.
- datestring · ISO 8601Puck drop in UTC.
- statusobjectshort, period and game clock.
- homeobjectHome team: id, name, goals.
- awayobjectAway team: id, name, goals.
- venueobjectArena name and city.
- metaobjectpage, per_page and total.
Status codes
- 200Games returned
- 400Invalid parameter
- 401Missing or invalid API key
- 429Rate limit reached