Skip to content
Stats + aggregation5 credits

get_games

Query games by date range, team, season, game state, or type.

When to use it

You're building a dataset for analysis -- pull all games from a date range, all playoff games for a team, or all final scores from last season. This is the workhorse endpoint for model training data.

Parameters

NameTypeRequiredDescription
date_fromstringnoStart date (YYYY-MM-DD)
date_tostringnoEnd date (YYYY-MM-DD)
teamstringnoTeam abbreviation
seasonstringnoSeason (e.g. "20252026")
game_statestringnoFUT, LIVE, FINAL, or OFF
game_typestringnoregular, playoff, or preseason
limitintegernoMax results (1-500, default 100)

Request

bash
curl -X POST https://mcp.puckapi.com/v1/get_games \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "team": "TOR",
  "date_from": "2026-03-01",
  "date_to": "2026-03-07",
  "game_state": "FINAL"
}'

Over MCP, ask for it in plain English and the client calls get_games itself. Point any MCP client at https://mcp.puckapi.com/mcp?key=YOUR_API_KEY.

Response

json
{
  "games": [
    {
      "id": "2025020934",
      "season": "20252026",
      "gameDate": "2026-03-02",
      "startTime": "19:00:00",
      "homeTeam": "TOR",
      "awayTeam": "BOS",
      "homeScore": 4,
      "awayScore": 2,
      "gameState": "FINAL",
      "gameType": "regular",
      "venue": "Scotiabank Arena"
    },
    {
      "id": "2025020958",
      "season": "20252026",
      "gameDate": "2026-03-05",
      "startTime": "19:30:00",
      "homeTeam": "MTL",
      "awayTeam": "TOR",
      "homeScore": 1,
      "awayScore": 3,
      "gameState": "FINAL",
      "gameType": "regular",
      "venue": "Bell Centre"
    }
  ]
}

Response fields

FieldTypeDescription
games[].idstringUnique game ID
games[].seasonstringSeason code (e.g. "20252026")
games[].gameDatestringDate (YYYY-MM-DD)
games[].startTimestringStart time
games[].homeTeamstringHome team abbreviation
games[].awayTeamstringAway team abbreviation
games[].homeTeamNamestringHome team full name
games[].awayTeamNamestringAway team full name
games[].homeScoreintegerHome team score (FINAL only)
games[].awayScoreintegerAway team score (FINAL only)
games[].gameStatestringFUT, LIVE, FINAL, or OFF
games[].gameTypestringregular, playoff, or preseason
games[].venuestringArena name

Related endpoints

Try it

500 credits free on signup — 100 calls to get_games — and no card.