NHL team player stats
Every skater's and goalie's stats for one team, season and game type: games, goals, assists, points, plus-minus, penalty minutes, power-play and short-handed goals, shots, shooting percentage, time on ice, faceoffs; goalies' wins, losses, goals-against average, save percentage, shutouts.
Every response includes credits_used: the credits this call cost.
Part of the NHL API: 20 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
teamrequired | string | Team abbreviation (EDM, TOR, NYR ...), team id or an nhl.com team link. Example: EDM |
season | string | Season as 2025-26, 20252026 or its first year 2025; the current season by default. |
game_type | regular | playoffs | preseason | regular (default), playoffs or preseason. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nhl/v1/team/stats?team=EDM" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nhl/v1/team/stats",
params={"team": "EDM"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/nhl/v1/team/stats");
url.searchParams.set("team", "EDM");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"team": "EDM","season": "20262027","game_type": 2,"skaters": [{"player_id": 8475218,"headshot": "https://assets.nhle.com/mugs/nhl/20262027/EDM/8475218.png","first_name": "Mattias","last_name": "Ekholm","position_code": "D","games_played": 15,"goals": 2,"assists": 5,"points": 7,"plus_minus": 20,"penalty_minutes": 16,"power_play_goals": 0,"shorthanded_goals": 0,"game_winning_goals": 0,"overtime_goals": 0,"shots": 17,"shooting_pctg": 0.117647,"avg_time_on_ice_per_game": 1260.4,"avg_shifts_per_game": 27.0667,"faceoff_win_pctg": 0},{"player_id": 8475786,"headshot": "https://assets.nhle.com/mugs/nhl/20262027/EDM/8475786.png","first_name": "Zach","last_name": "Hyman","position_code": "L","games_played": 6,"goals": 1,"assists": 0,"points": 1,"plus_minus": -1,"penalty_minutes": 2,"power_play_goals": 1,"shorthanded_goals": 0,"game_winning_goals": 0,"overtime_goals": 0,"shots": 12,"shooting_pctg": 0.083333,"avg_time_on_ice_per_game": 1076,"avg_shifts_per_game": 22.1667,"faceoff_win_pctg": 0},"… 21 more"],"goalies": [{"player_id": 8477035,"headshot": "https://assets.nhle.com/mugs/nhl/20262027/EDM/8477035.png","first_name": "Matt","last_name": "Tomkins","games_played": 2,"games_started": 2,"wins": 1,"losses": 1,"overtime_losses": 0,"goals_against_average": 3.091456,"save_percentage": 0.877551,"shots_against": 49,"saves": 43,"goals_against": 6,"shutouts": 0,"goals": 0,"assists": 0,"points": 0,"penalty_minutes": 0,"time_on_ice": 6987},{"player_id": 8477465,"headshot": "https://assets.nhle.com/mugs/nhl/20262027/EDM/8477465.png","first_name": "Tristan","last_name": "Jarry","games_played": 8,"games_started": 8,"wins": 4,"losses": 1,"overtime_losses": 3,"goals_against_average": 2.565756,"save_percentage": 0.902439,"shots_against": 205,"saves": 185,"goals_against": 21,"shutouts": 2,"goals": 0,"assists": 0,"points": 0,"penalty_minutes": 0,"time_on_ice": 29465},"… 1 more"],"cached": false,"credits_used": 1}