NHL player profile and career stats
A player's bio (team, number, position, height, weight, birth date and place, shoots/catches, draft details, Hall of Fame and Top 100 flags), featured season and career stats, career totals for regular season and playoffs, every season's totals by team and league, the last five games and awards.
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 |
|---|---|---|
idrequired | string | Player id like 8478402 from /nhl/v1/players/search, or an nhl.com player link. Example: 8478402 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nhl/v1/player?id=8478402" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nhl/v1/player",
params={"id": "8478402"},
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/player");
url.searchParams.set("id", "8478402");
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)
{"player_id": 8478402,"is_active": true,"current_team_id": 22,"current_team_abbrev": "EDM","full_team_name": "Edmonton Oilers","team_common_name": "Oilers","team_place_name_with_preposition": "Edmonton","first_name": "Connor","last_name": "McDavid","badges": [],"team_logo": "https://assets.nhle.com/logos/nhl/svg/EDM_light.svg","sweater_number": 97,"position": "C","headshot": "https://assets.nhle.com/mugs/nhl/20262027/EDM/8478402.png","hero_image": "https://assets.nhle.com/mugs/actionshots/1296x729/8478402.jpg","height_in_inches": 74,"height_in_centimeters": 188,"weight_in_pounds": 190,"weight_in_kilograms": 86,"birth_date": "1997-01-13","birth_city": "Richmond Hill","birth_state_province": "Ontario","birth_country": "CAN","shoots_catches": "L","draft_details": {"year": 2015,"team_abbrev": "EDM","round": 1,"pick_in_round": 1,"overall_pick": 1},"player_slug": "connor-mcdavid-8478402","in_top100_all_time": 0,"in_hhof": 0,"featured_stats": {"season": 20262027,"regular_season": {"sub_season": {"assists": 34,"game_winning_goals": 0,"games_played": 17,"goals": 10,"ot_goals": 0,"pim": 2,"plus_minus": 21,"points": 44,"power_play_goals": 0,"power_play_points": 18,"shooting_pctg": 0.217391,"shorthanded_goals": 2,"shorthanded_points": 2,"shots": 46},"career": {"assists": 845,"game_winning_goals": 76,"games_played": 811,"goals": 419,"ot_goals": 17,"pim": 332,"plus_minus": 207,"points": 1264,"power_play_goals": 100,"power_play_points": 436,"shooting_pctg": 0.1518,"shorthanded_goals": 11,"shorthanded_points": 21,"shots": 2759}}},"career_totals": {"regular_season": {"assists": 845,"avg_toi": "21:54","faceoff_winning_pctg": 0.4794,"game_winning_goals": 76,"games_played": 811,"goals": 419,"ot_goals": 17,"pim": 332,"plus_minus": 207,"points": 1264,"power_play_goals": 100,"power_play_points": 436,"shooting_pctg": 0.1518,"shorthanded_goals": 11,"shorthanded_points": 21,"shots": 2759},"playoffs": {"assists": 111,"avg_toi": "23:38","faceoff_winning_pctg": 0.461,"game_winning_goals": 5,"games_played": 102,"goals": 45,"ot_goals": 2,"pim": 30,"plus_minus": 23,"points": 156,"power_play_goals": 14,"power_play_points": 58,"shooting_pctg": 0.1285,"shorthanded_goals": 2,"shorthanded_points": 3,"shots": 350}},"twitter_link": "#TODO","last5_games": [{"assists": 3,"game_date": "2026-11-05","game_id": 2026020260,"game_type_id": 2,"goals": 1,"home_road_flag": "H","opponent_abbrev": "ANA","pim": 0,"plus_minus": 1,"points": 4,"power_play_goals": 0,"shifts": 23,"shorthanded_goals": 1,"shots": 3,"team_abbrev": "EDM","toi": "24:25"},{"assists": 1,"game_date": "2026-11-03","game_id": 2026020239,"game_type_id": 2,"goals": 0,"home_road_flag": "R","opponent_abbrev": "NJD","pim": 0,"plus_minus": 0,"points": 1,"power_play_goals": 0,"shifts": 27,"shorthanded_goals": 0,"shots": 1,"team_abbrev": "EDM","toi": "24:15"},"… 3 more"],"season_totals": [{"assists": 7,"game_type_id": 2,"games_played": 7,"goals": 7,"league_abbrev": "QC Int PW","pim": 0,"points": 14,"season": 20082009,"sequence": 11,"team_name": "York Simcoe Express"},{"assists": 50,"game_type_id": 2,"games_played": 33,"goals": 27,"league_abbrev": "GTHL","points": 77,"season": 20112012,"sequence": 1,"team_name": "Tor. Marlboros"},"… 35 more"],"awards": [{"trophy": "Art Ross Trophy","seasons": [{"assists": 90,"blocked_shots": 30,"game_type_id": 2,"games_played": 82,"goals": 48,"hits": 40,"pim": 44,"plus_minus": 17,"points": 138,"season_id": 20252026},{"assists": 89,"blocked_shots": 40,"game_type_id": 2,"games_played": 82,"goals": 64,"hits": 89,"pim": 36,"plus_minus": 22,"points": 153,"season_id": 20222023},"… 4 more"]},{"trophy": "Conn Smythe Trophy","seasons": [{"assists": 34,"blocked_shots": 16,"game_type_id": 3,"games_played": 25,"goals": 8,"hits": 43,"pim": 10,"plus_minus": 12,"points": 42,"season_id": 20232024}]},"… 3 more"],"current_team_roster": [{"player_id": 8475883,"last_name": "Andersen","first_name": "Frederik","player_slug": "frederik-andersen-8475883"},{"player_id": 8480803,"last_name": "Bouchard","first_name": "Evan","player_slug": "evan-bouchard-8480803"},"… 28 more"],"url": "https://www.nhl.com/player/connor-mcdavid-8478402","cached": false,"credits_used": 1}