New: MCP server for Claude and other assistants· every season back to 1917 on ArchiveSee plans
Documentation / Inside a game

Game context

GET /v1/games/{game_id}/context
Live and up

Everything around the game in one call: the rink with its city and country, the start in UTC and in the rink's own time zone, and for each side the days of rest, back to back, games in the last 7 days and home or road games in a row; for the away side the city it came from; and, where the game has a line-up, the side's regulars who are not dressed. Every game, upcoming ones included. Weather and ice are always null: the game is played indoors and no open source records ice conditions.

GEThttps://api.icehockeyapi.com/v1/games/{game_id}/context
Get a key
https://api.icehockeyapi.com/v1/games/gm_pc8qd0e0/context
curl "https://api.icehockeyapi.com/v1/games/gm_pc8qd0e0/context" \
  -H "X-API-Key: YOUR_KEY"
The example answer is being made; press Run for a real one.

Parameters

NameInTypeWhat it does
game_id requiredpathid A game, from /v1/games.

Returns

Each record as in the example answer above.

Errors