NHL stat leaders
The league leaders of a season: skaters (goals, assists, points, plus-minus, power-play goals, short-handed goals, faceoff percentage, penalty minutes, time on ice) or goalies (wins, shutouts, save percentage, goals-against average), each with player, team, position, headshot and value.
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 |
|---|---|---|
position | skater | goalie | skater (default) or goalie. |
category | string | One category: skaters goals, assists, points, plusMinus, goalsPp, goalsSh, faceoffLeaders, penaltyMins, toi; goalies wins, shutouts, savePctg, goalsAgainstAverage. All by default. |
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. |
limit | integer | Players per category (1-100, default 10). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nhl/v1/leaders?category=goals" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nhl/v1/leaders",
params={"category": "goals"},
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/leaders");
url.searchParams.set("category", "goals");
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)
{"position": "skater","season": "20262027","game_type": 2,"category": "goals","categories": {"goals": [{"id": 8478864,"first_name": "Kirill","last_name": "Kaprizov","sweater_number": 97,"headshot": "https://assets.nhle.com/mugs/nhl/20262027/MIN/8478864.png","team_abbrev": "MIN","team_name": "Wild","team_logo": "https://assets.nhle.com/logos/nhl/svg/MIN_light.svg","position": "L","value": 15},{"id": 8477934,"first_name": "Leon","last_name": "Draisaitl","sweater_number": 29,"headshot": "https://assets.nhle.com/mugs/nhl/20262027/EDM/8477934.png","team_abbrev": "EDM","team_name": "Oilers","team_logo": "https://assets.nhle.com/logos/nhl/svg/EDM_light.svg","position": "C","value": 14},"… 8 more"]},"cached": false,"credits_used": 1}