{"sport":"nhl","brand":"PuckAPI","base_url":"https://mcp.puckapi.com","mcp_url":"https://mcp.puckapi.com/mcp","tools":[{"name":"get_standings","description":"Use when checking where teams rank in their division or conference. Returns points, wins, losses, OT losses, point%, goal differential, goals for/against per game, and 5v5 possession: Corsi%, Fenwick% and expected goals for and against. The possession columns are 5v5 only, so they will not match a goalie's expected goals against, which covers every strength. Defaults to the most recent season with standings. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"conference":{"description":"Filter by conference","type":"string","enum":["Eastern","Western"]},"division":{"description":"Filter by division (e.g. Atlantic, Metropolitan, Central, Pacific)","type":"string"},"season":{"description":"Season ID, 8-digit (e.g. 20242025 for 2024-25). 2024-25 and 2024-2025 also accepted. Defaults to current season.","type":"string"},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_team_stats","description":"Use when you need full details for one team: record, goals for and against, league rank, and 5v5 possession (Corsi%, Fenwick%, expected goals for and against). Possession is 5v5 only. Requires a team abbreviation (use list_teams if unsure). Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"team":{"type":"string","description":"Team abbreviation (e.g. BUF, TOR, NYR)"},"season":{"description":"Season ID, 8-digit (e.g. 20242025 for 2024-25). 2024-25 and 2024-2025 also accepted. Defaults to current season.","type":"string"},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"required":["team"],"additionalProperties":false}},{"name":"list_teams","description":"Use when you need team abbreviations, or to see all 32 active NHL teams with city, conference, division, and arena. Excludes historical franchises (ATL, ARI). Cheapest tool at 1 credit.","credits":1,"category":"Static reference","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"conference":{"description":"Filter by conference","type":"string","enum":["Eastern","Western"]},"division":{"description":"Filter by division","type":"string"},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_games","description":"Use when querying past or future games with filters. Returns scores, teams, venue, and game metadata. For upcoming-only games, prefer get_schedule (2 cr) instead. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"date_from":{"description":"Start date (YYYY-MM-DD)","type":"string"},"date_to":{"description":"End date (YYYY-MM-DD)","type":"string"},"team":{"description":"Team abbreviation to filter (home or away)","type":"string"},"season":{"description":"Season ID, 8-digit (e.g. 20242025 for 2024-25). 2024-25 and 2024-2025 also accepted.","type":"string"},"game_state":{"description":"Filter by game state. FINAL and OFF both mean finished and return the same games; FUT is scheduled, LIVE in progress.","type":"string","enum":["FUT","LIVE","FINAL","OFF"]},"game_type":{"description":"Filter by game type","type":"string","enum":["regular","playoff","preseason"]},"limit":{"description":"Max results (default 100)","type":"integer","minimum":1,"maximum":500},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_schedule","description":"Use when checking what games are coming up. Returns only unplayed future games for the next N days (default 7). For past games, use get_games instead. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"team":{"description":"Team abbreviation to filter","type":"string"},"days":{"description":"Number of days ahead to look (default 7)","type":"integer","minimum":1,"maximum":30},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_game_detail","description":"Use when you need everything about one game: both teams' full info, all betting odds, and the goalies who started, with their time on ice. Requires a game ID (get one from get_games or get_schedule). Odds for every game from 2019-20 on (and part of the 2019 playoffs). Goalie starts are derived from play-by-play, so they are available for played games, not upcoming ones. Costs 10 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"type":"string","description":"NHL game ID (e.g. 2025020887)"},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"required":["game_id"],"additionalProperties":false}},{"name":"get_head_to_head","description":"Use when comparing two teams' history. Returns recent matchups with win/loss record. Can filter by season or get all-time. Costs 10 credits.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"team1":{"type":"string","description":"First team abbreviation (e.g. BUF)"},"team2":{"type":"string","description":"Second team abbreviation (e.g. TOR)"},"season":{"description":"Season ID, 8-digit (e.g. 20242025 for 2024-25). 2024-25 and 2024-2025 also accepted. Omit for all-time.","type":"string"},"limit":{"description":"Max games to return (default 20)","type":"integer","minimum":1,"maximum":100},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"required":["team1","team2"],"additionalProperties":false}},{"name":"search_players","description":"Use when looking up a player by name. Searches 4,900+ players across every season since 2010-11. Returns active players by default; set active=false for retired/historical. Use the returned player ID with get_player_stats for full details. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"description":"Player name to search for (partial match supported)"},"team":{"description":"Filter by team abbreviation","type":"string"},"position":{"description":"Filter by position","type":"string","enum":["G","D","C","LW","RW"]},"active":{"description":"Filter by active status (default: true). Set false to search active plus retired/historical players.","type":"boolean"},"limit":{"description":"Max results (default 10)","type":"integer","minimum":1,"maximum":50},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"required":["query"],"additionalProperties":false}},{"name":"get_player_stats","description":"Use when you need full details for one player: bio, team, and physical attributes. For skaters, also returns the latest season line (games, goals, assists, points, +/-, PP/SH, shooting%, TOI). For goalies, save%, GAA, GSAX, and trend data. Requires player ID from search_players. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"NHL player ID"},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"required":["player_id"],"additionalProperties":false}},{"name":"get_goalie_stats","description":"Use when ranking goalies or comparing goalie performance. Returns a leaderboard sorted by save%, GAA, GSAX, or wins, with a games-played filter. Includes goals saved above expected, high-danger save%, rolling save% and GSAX over the last 10 appearances, form trend and rest days. Goalie expected goals cover every strength, unlike the 5v5-only team possession columns. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"team":{"description":"Filter by team abbreviation","type":"string"},"season":{"description":"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, which is the current season once it is under way and the previous one before that. The season actually used is echoed in filters.season.","type":"string"},"min_games":{"description":"Minimum games played (default 10; early in a season, half the most games anyone has played so far)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sort_by":{"description":"Sort metric (default save_pct). gsax is goals saved above expected.","type":"string","enum":["save_pct","gaa","gsax","wins"]},"limit":{"description":"Max results (default 20)","type":"integer","minimum":1,"maximum":50},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_skater_season_stats","description":"Use when ranking skaters or comparing scoring. Returns a leaderboard sorted by points, goals, assists, plus/minus, or shots, with a games-played filter. Includes power play and shorthanded production, shooting%, faceoff%, and average time on ice. Seasons from 2010-11 on. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"team":{"description":"Filter by team abbreviation","type":"string"},"season":{"description":"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, which is the current season once it is under way and the previous one before that. The season actually used is echoed in filters.season.","type":"string"},"min_games":{"description":"Minimum games played (default 10; early in a season, half the most games anyone has played so far)","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sort_by":{"description":"Sort metric (default points)","type":"string","enum":["points","goals","assists","plus_minus","shots"]},"limit":{"description":"Max results (default 20)","type":"integer","minimum":1,"maximum":50},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_player_game_log","description":"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.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"NHL player ID"},"season":{"description":"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.","type":"string"},"game_type":{"description":"Which games to include: regular, playoff, preseason, or all. Defaults to regular, matching every other stats tool.","type":"string","enum":["regular","playoff","preseason","all"]},"limit":{"description":"Max games to return (default 100)","type":"integer","minimum":1,"maximum":200},"offset":{"description":"Pagination offset","type":"integer","minimum":0,"maximum":9007199254740991},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"required":["player_id"],"additionalProperties":false}},{"name":"get_odds","description":"Use when checking betting lines. Pass game_id for one game (10 credits): moneyline, puck line and total by bookmaker, opening and closing. Or pass season (optionally with team) for a whole season of closing lines in one call, with final scores, at 10 credits per game returned (a full season is ~13,700 credits, a team-season ~820), 100 games a page by default (up to 500). Each book's line is an array in the order given by columns. Set estimate_only to get the price without being charged. Every game from 2019-20 on (and part of the 2019 playoffs): about 16 to 18 books a game from 2020-21 to 2023-24, about 6 in 2019-20, 8 in 2024-25 and 2025-26 (60+ on about 300 games in 2025-26), with all_books; a season answer defaults to the four main books. A season those four do not carry (2019-20) returns every book it has. Each line carries a source field (one value for opening and closing lines from August 2020, another for final per-book lines); a season answer lists each game's sources. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"description":"NHL game ID (e.g. 2025020887). Omit and pass season for a whole season.","type":"string"},"season":{"description":"Season for a whole season of lines, e.g. 2025-26 or 20252026. Used when game_id is not set.","type":"string"},"team":{"description":"With season: only this team's games (abbreviation, e.g. BUF).","type":"string"},"bookmaker":{"description":"Filter by bookmaker key (e.g. draftkings, fanduel, betmgm). Lowercase.","type":"string"},"snapshot_type":{"description":"opening (game-day morning; for a game not yet played, the latest morning line) or closing (final pre-game). Single game: default every snapshot held, including first (each book's first posted line, from October 2026). Season: default closing.","type":"string","enum":["opening","closing"]},"all_books":{"description":"With season: every book held (16 to 18 a game from 2020-21 to 2023-24, 8 in 2024-25, more than 60 on about 300 games in 2025-26) instead of DraftKings, FanDuel, BetMGM and ESPN BET.","type":"boolean"},"limit":{"description":"With season: games per page (default 100, max 500).","type":"integer","minimum":1,"maximum":500},"offset":{"description":"With season: page offset; use next_offset from the previous page.","type":"integer","minimum":0,"maximum":9007199254740991},"estimate_only":{"description":"Return what this call would cost, without charging or running it.","type":"boolean"}},"additionalProperties":false}},{"name":"get_line_movement","description":"Use when analyzing how betting lines moved over time. Returns time-series snapshots grouped by bookmaker. Most expensive tool (25 cr). If you only need current lines, use get_odds (10 cr) instead. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":25,"category":"Time-series","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"type":"string","description":"NHL game ID"},"bookmaker":{"description":"Filter by specific bookmaker key (lowercase)","type":"string"}},"required":["game_id"],"additionalProperties":false}},{"name":"get_player_props","description":"Use for player prop lines by sportsbook: over/under on points, goals, assists, shots on goal, blocked shots, goalie saves, power-play points, anytime and first goal scorer, from May 2023 (DraftKings, FanDuel, BetMGM, ESPN BET, Pinnacle and others). Pass game_id for every player's props in one game, or player_id with from_date (and to_date) for one player across games (up to 100). A game costs 10 credits before it starts and 20 once it has (accounts opened before October 30 2026 pay 10 for every game). Returns the closing line by default (the last before the game starts) or the opening line, with each book's over and under prices. Each row has captured_at, scheduled_start and minutes_before_scheduled_start (negative when captured after the scheduled start); a row is kept when it was captured before the sportsbooks' listed start, which in the NBA is usually about 10 minutes after the scheduled one, so filter on minutes_before_scheduled_start > 0 for a strictly before-schedule backtest. Outside football the archive mostly holds one pre-game capture per line, so the opening and closing lines are usually the same; the opening line differs only where a second capture was taken (live capture from October 2026, and wherever else it is held). Set estimate_only to get the price without being charged. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"description":"Game id: every player's props for that game.","type":"string"},"player_id":{"description":"Player id (e.g. 8478402) from search_players. With from_date: that player's props across games.","type":["number","string"]},"from_date":{"description":"With player_id: first date, YYYY-MM-DD (the game's date).","type":"string"},"to_date":{"description":"With player_id: last date (default: no end), YYYY-MM-DD (the game's date).","type":"string"},"market":{"description":"One market: player_points (points), player_goals (goals), player_assists (assists), player_shots_on_goal (shots on goal), player_blocked_shots (blocked shots), player_total_saves (goalie saves), player_goal_scorer_anytime (anytime goal scorer (over = scores)), player_power_play_points (power-play points), player_goal_scorer_first (first goal scorer (over = scores the game's first goal))","type":"string","enum":["player_points","player_goals","player_assists","player_shots_on_goal","player_blocked_shots","player_total_saves","player_goal_scorer_anytime","player_power_play_points","player_goal_scorer_first"]},"bookmaker":{"description":"Bookmaker key, e.g. draftkings, fanduel, pinnacle.","type":"string"},"snapshot_type":{"description":"closing (default): the last line before the game starts. opening: the first one captured, which is the same capture as the close wherever only one was taken.","type":"string","enum":["opening","closing"]},"estimate_only":{"description":"Return what this call would cost, without charging or running it.","type":"boolean"}},"additionalProperties":false}},{"name":"get_prop_history","description":"Use to see how a player did against his prop line over time: for one market (points, goals, assists, shots on goal, blocked shots, goalie saves, power-play points, or anytime or first goal scorer), one row per game with the closing line (the median across books, or one book's), the opening line (the same as the close wherever only one capture was taken), the prices, what the player actually recorded from our box scores and the result against the line, plus the over rate, up to 200 games a call. Costs 10 credits for every 25 games already played that a call covers, and at least 10 a call (accounts opened before November 1 2026 pay 10 a call). Set estimate_only to get the price without being charged. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"description":"Player id (e.g. 8478402) from search_players.","type":["number","string"]},"market":{"type":"string","enum":["player_points","player_goals","player_assists","player_shots_on_goal","player_blocked_shots","player_total_saves","player_goal_scorer_anytime","player_power_play_points","player_goal_scorer_first"],"description":"The market: player_points (points), player_goals (goals), player_assists (assists), player_shots_on_goal (shots on goal), player_blocked_shots (blocked shots), player_total_saves (goalie saves), player_goal_scorer_anytime (anytime goal scorer (over = scores)), player_power_play_points (power-play points), player_goal_scorer_first (first goal scorer (over = scores the game's first goal))"},"from_date":{"description":"First date, YYYY-MM-DD (the game's date).","type":"string"},"to_date":{"description":"Last date, YYYY-MM-DD (the game's date).","type":"string"},"bookmaker":{"description":"One book's closing line instead of the median across books, e.g. draftkings.","type":"string"},"limit":{"description":"Games to return, oldest first (default 50, max 200). next_from_date says where to continue.","type":"integer","minimum":1,"maximum":200},"estimate_only":{"description":"Return what this call would cost, without charging or running it.","type":"boolean"}},"required":["player_id","market"],"additionalProperties":false}},{"name":"get_prop_movement","description":"Use to see how one player's prop line moved before a game: every capture we hold, book by book and oldest first, with the line, both prices and the minutes before the start. line_change is the last capture's line minus the first's. The number of captures varies by game and book. Costs 10 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"type":"string","description":"Game id."},"player_id":{"description":"Player id (e.g. 8478402) from search_players.","type":["number","string"]},"market":{"type":"string","enum":["player_points","player_goals","player_assists","player_shots_on_goal","player_blocked_shots","player_total_saves","player_goal_scorer_anytime","player_power_play_points","player_goal_scorer_first"],"description":"The market: player_points (points), player_goals (goals), player_assists (assists), player_shots_on_goal (shots on goal), player_blocked_shots (blocked shots), player_total_saves (goalie saves), player_goal_scorer_anytime (anytime goal scorer (over = scores)), player_power_play_points (power-play points), player_goal_scorer_first (first goal scorer (over = scores the game's first goal))"},"bookmaker":{"description":"One book's captures, e.g. draftkings.","type":"string"}},"required":["game_id","player_id","market"],"additionalProperties":false}},{"name":"get_market_odds","description":"Use for the extra betting markets of a game as history: the regulation result (three-way, a draw is possible), the 1st period result and puck line, and the 1st, 2nd and 3rd period totals. Pass game_id (from get_schedule or get_games) and market. For each sportsbook it returns the opening line (the first one we captured) and the closing line (the last one before the game started), each as the list of outcomes with their point and American price, plus captured_at and minutes_before_start (negative when the last capture came after our scheduled start, which the sportsbooks' listed start can run past). Most books were captured once, so opening and closing are often the same line. Held from May 2023 (the 2022-23 playoffs) for the larger sportsbooks only; not every game has every market. Costs 10 credits a call; a game with no lines is refunded. Set estimate_only to get the price without being charged. For the full-game moneyline, spread and total use get_odds. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"type":"string","description":"Game id from get_schedule or get_games."},"market":{"type":"string","enum":["h2h_3_way","totals_p1","totals_p2","totals_p3","h2h_p1","spreads_p1"],"description":"The market: h2h_3_way (regulation result: home, draw or away after 60 minutes), totals_p1 (1st period total goals), totals_p2 (2nd period total goals), totals_p3 (3rd period total goals), h2h_p1 (1st period result: home, draw or away), spreads_p1 (1st period puck line)"},"bookmaker":{"description":"One bookmaker key, e.g. draftkings, fanduel, pinnacle.","type":"string"},"estimate_only":{"description":"Return what this call would cost, without charging or running it.","type":"boolean"}},"required":["game_id","market"],"additionalProperties":false}},{"name":"get_plays","description":"Use for play-by-play events: goals, shots, misses, blocks, faceoffs, hits, giveaways, takeaways, penalties, with rink coordinates, strength state (5v5, 5v4), zone, and the players involved. Filter by game, season, team, player (any role), event type, strength, zone, or period. Requires at least one of game_id, season or player_id. Paginate with offset. Costs 10 credits.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"description":"NHL game ID (e.g. 2025020887)","type":"string"},"season":{"description":"Season ID, 8-digit (e.g. 20242025).","type":"string"},"team":{"description":"Team abbreviation that owns the event (e.g. BUF)","type":"string"},"player_id":{"description":"NHL player ID; matches the player in any role on the event","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"type":{"description":"Event type","type":"string","enum":["goal","shot-on-goal","missed-shot","blocked-shot","faceoff","hit","giveaway","takeaway","penalty","delayed-penalty","stoppage","period-start","period-end","game-end","shootout-complete","failed-shot-attempt"]},"strength":{"description":"Skater strength from the event owner's view, e.g. 5v5, 5v4, 4v5","type":"string"},"zone":{"description":"Zone: O offensive, N neutral, D defensive","type":"string","enum":["O","N","D"]},"period":{"description":"Period number (4+ is overtime)","type":"integer","minimum":1,"maximum":10},"shot_attempts_only":{"description":"Only goals, shots on goal, missed shots and blocked shots (Corsi events)","type":"boolean"},"limit":{"description":"Max events (default 200)","type":"integer","minimum":1,"maximum":1000},"offset":{"description":"Pagination offset","type":"integer","minimum":0,"maximum":9007199254740991},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl.","type":"string","enum":["nhl","pwhl","ohl","whl","qmjhl","echl","ahl","ushl"]}},"additionalProperties":false}},{"name":"get_shot_map","description":"Use when you want shot locations rather than a list of events: every shot attempt with rink coordinates, shot type, strength, shooter and goalie. Filter by game, or by season plus a team or player. Paginated: follow next_offset, since a season runs past one page and pages are chronological. Costs 10 credits.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"description":"NHL game ID","type":"string"},"season":{"description":"Season ID, 8-digit (e.g. 20242025); use with team","type":"string"},"team":{"description":"Team abbreviation; use with season","type":"string"},"player_id":{"description":"NHL player ID of the shooter","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"strength":{"description":"Strength filter, e.g. 5v5","type":"string"},"game_type":{"description":"Which games to include: regular (default for a season) or all (default for one game). Shootout attempts are never included.","type":"string","enum":["regular","playoff","preseason","all"]},"limit":{"description":"Max shots per page (default 1000)","type":"integer","minimum":1,"maximum":2000},"offset":{"description":"Pagination offset; follow next_offset for a full season","type":"integer","minimum":0,"maximum":9007199254740991},"league":{"description":"League. Defaults to nhl. One of: nhl, pwhl, ohl, qmjhl, echl, ahl.","type":"string","enum":["nhl","pwhl","ohl","qmjhl","echl","ahl"]}},"additionalProperties":false}},{"name":"get_shifts","description":"Use for who was on the ice and when: every player's shifts in one NHL game, each with period, start and end (period clock and seconds from the opening faceoff) and duration, plus the official boxscore time on ice and plus/minus. Filter to one team or player. NHL games from 2010-11 on. Costs 10 credits.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"type":"string","description":"NHL game ID, 10 digits (e.g. 2026020084)"},"team":{"description":"Only this team's players, by abbreviation (e.g. WSH)","type":"string"},"player_id":{"description":"Only this player, by NHL player ID","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["game_id"],"additionalProperties":false}},{"name":"get_situation_time","description":"Use for exact time at each strength: the seconds each team spent at 5v5, 5v4, 4v5, 4v4, 6v5 with the goalie pulled and every other on-ice state in an NHL game, split into regulation and overtime, from the shift charts. Also even / power-play / shorthanded totals, goalie-pulled seconds, period lengths and a completeness check against the play-by-play. include_players adds each skater's time by strength. One game by game_id (10 credits), or every game on a date (10 credits per game). NHL games from 2010-11 on.","credits":10,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"game_id":{"description":"NHL game ID, 10 digits (e.g. 2026020084)","type":"string"},"date":{"description":"Every game played on this date, YYYY-MM-DD (instead of game_id)","type":"string"},"include_players":{"description":"Add each skater's seconds by strength (default false)","type":"boolean"}},"additionalProperties":false}},{"name":"get_predictions","description":"Use for the model's win probability for each NHL game on the current slate: home and away win probability, the A/B/C confidence grade, start time, plus the model version and when the slate was generated. Takes no arguments (current slate only). Probabilities are the model's own; no odds, prices or goalie and injury notes are included. The accuracy note states the backtest figure and that it is not a live record. An empty slate costs nothing, and a note says why (not generated yet, or no games today); so does a failed call. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},{"name":"get_prop_projections","description":"Paid plans only (not available on the free plan). Use for the model's projected stat lines for tonight's NHL players: for each game, each skater's projected goals, assists, points and shots with a low-to-high range, and each goalie's projected saves. Skaters also carry over probabilities at the usual half-point lines (goals 0.5 and 1.5, assists 0.5 and 1.5, points 0.5 to 2.5, shots 1.5 to 5.5): goals use the model's own goal distribution, the others are Poisson on the projected rate. Optional team (either side of the game) and player (name fragment) filters. Tonight's slate only; no date argument. Numbers only: no odds, prices or injury notes. An empty slate costs nothing; so does a failed call. Costs 25 credits.","credits":25,"category":"Model projections","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"team":{"description":"Team abbreviation, e.g. COL. Keeps the games that team plays in, home or away.","type":"string","pattern":"^[A-Za-z]{2,4}$"},"player":{"description":"Part of a player's name, e.g. makar. Accents are ignored. Keeps only matching players.","type":"string","minLength":2,"maxLength":64}},"additionalProperties":false}}]}