Stats + aggregation

Player game log

Use when you need a player's game-by-game stat lines for a season, not a season total. For skaters: date, opponent, home/away, goals, assists, points, shots, PIM and power-play points for each game. For goalies: date, opponent, home/away, decision, shots against, saves, goals against and save% for each game. Built from play-by-play, so time on ice and plus/minus are not available and come back null; goalie time on ice is available only for games the goalie started. Requires player ID from search_players. Costs 5 credits.

post/v1/get_player_game_log

Request

  • Base URL: https://mcp.puckapi.com
  • URL: https://mcp.puckapi.com/v1/get_player_game_log
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

player_idinteger required

NHL player ID

seasonstring

Season ID, 8-digit (e.g. 20242025 for 2024-25). 2024-25 and 2024-2025 also accepted. Defaults to the most recent season with stats for this player, which is the current season once it is under way and the previous one before that. The season actually used is echoed back in the response.

game_type'regular' | 'playoff' | 'preseason' | 'all'

Which games to include: regular, playoff, preseason, or all. Defaults to regular, matching every other stats tool.

limitinteger

Max games to return (default 100)

offsetinteger

Pagination offset

league'nhl' | 'pwhl' | 'ohl' | 'whl' | 'qmjhl' | 'echl' | 'ahl' | 'ushl'

League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.