How do I rank NHL goalies by goals saved above expected?
A goalie leaderboard for a season sorted by goals saved above expected, with save percentage, GAA, high-danger save percentage and a recent-form trend.
Code verified November 18, 2026. One call to get_goalie_stats, 5 credits.
The call
sort_by also takes save_pct, gaa or wins. Add team to see one club's goalies.
import requests
import pandas as pd
API_KEY = "YOUR_API_KEY"
resp = requests.post(
"https://mcp.puckapi.com/v1/get_goalie_stats",
headers={"x-api-key": API_KEY},
json={
"season": "20252026",
"min_games": 30,
"sort_by": "gsax",
"limit": 15,
},
timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]
goalies = pd.DataFrame(data["goalies"])
cols = ["playerName", "team", "gamesPlayed", "savePct", "gaa", "gsax", "highDangerSavePct", "trend"]
print(goalies[cols].round(3))
Replace YOUR_API_KEY with a key from your dashboard. Python needs requests and pandas (pip install requests pandas). JavaScript runs on Node 18 or newer, or in the browser.
Or use the official client: pip install puckapi
What comes back
The data object of the response, trimmed to the first rows. Every field is real output from the run above.
{
"goalies": [
{
"playerId": 8480313,
"playerName": "Logan Thompson",
"team": "WSH",
"gamesPlayed": 58,
"wins": 31,
"savePct": 0.911783,
"gaa": 2.438281,
"gsax": 35.12738,
"highDangerSavePct": 0.8834646,
"trend": "down"
},
{
"playerId": 8478009,
"playerName": "Ilya Sorokin",
"team": "NYI",
"gamesPlayed": 55,
"wins": 29,
"savePct": 0.905882,
"gaa": 2.678101,
"gsax": 28.497004,
"highDangerSavePct": 0.8944954,
"trend": "down"
},
"...13 more"
],
"count": 15,
"filters": {
"season": "20252026",
"min_games": 30,
"sort_by": "gsax"
}
}What to do next
- get_player_game_log (5 credits). Game by game for any goalie on the list.
- get_shot_map (10 credits). Pass a goalie's game and see every shot he faced with coordinates.
The data this uses
Every row above comes from NHL expected goals: team xG, Corsi and goalie GSAX and NHL shot data with rink coordinates. NHL expected goals since 2010-11: team 5-on-5 xGF and xGA with Corsi and Fenwick, and goalie GSAX, updated daily. REST or MCP, 500 free credits every month.
More guides
The same guide for other sports
- FighterAPI: Who lands the most significant strikes per 15 minutes in the UFC?
- StrikerAPI: Who leads the Premier League in expected goals, and how do I rank players in Python?
- BirdieAPI: How do I get a golf tournament leaderboard in Python?
- FastballAPI: How do I get MLB home run leaders and stat leaders in Python?
- YorkerAPI: How do I get cricket leaderboards in Python?
Rather ask Claude? 28 free Claude skills call these endpoints for you.
Start with 500 free credits every month
No card. REST or MCP.