NHL+API.SH

NHL API

NHL scores, schedules, box scores, play-by-play, shift charts, player and team stats as clean JSON.

The API.SH NHL API returns the public data behind NHL.com as structured JSON: scores and schedules, a game's box score with scoring and penalty summary, play-by-play with rink coordinates, shift charts, standings, rosters and prospects, player profiles with every season's totals, game logs, player search, stat leaders, every skater, goalie and team report of NHL.com's stats section with its filters, the draft, Central Scouting rankings and the playoff bracket. Names come back in English and keys in snake_case, so the same code reads every route.

  • 20 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
NHL player search
GET https://api.api.sh/nhl/v1/players/search
{"q": "mcdavid","applied_filters": {"active": null},"count": 2,"players": [{"player_id": 8457287,"name": "Brian McDavid","position_code": "D","team_id": null,"team_abbrev": null,"last_team_id": null,"last_team_abbrev": null,"last_season_id": null,"sweater_number": null,"active": false,"height": "6'1\"","height_in_inches": 73,"height_in_centimeters": 185,"weight_in_pounds": 190,"weight_in_kilograms": 86,"birth_city": "Sudbury","birth_state_province": "ON","birth_country": "CAN","url": "https://www.nhl.com/player/8457287"},{"player_id": 8478402,"name": "Connor McDavid","position_code": "C","team_id": "22","team_abbrev": "EDM","last_team_id": "22","last_team_abbrev": "EDM","last_season_id": "20262027","sweater_number": 97,"active": true,"height": "6'2\"","height_in_inches": 74,"height_in_centimeters": 188,"weight_in_pounds": 190,"weight_in_kilograms": 86,"birth_city": "Richmond Hill","birth_state_province": "ON","birth_country": "CAN","url": "https://www.nhl.com/player/8478402"}],"cached": false,"credits_used": 1}
1 credit · $1 per 1,000 calls

What you can build with the NHL API

Scores and schedule widgets

Show a day's scores with every goal, a week of games, or one team's full season schedule with start times and broadcasts.

Hockey analytics and expected goals models

Pull every shot, hit and faceoff with x and y coordinates and situation codes, plus each player's shifts, to build shot maps and on-ice metrics.

Fantasy hockey and betting research

Rank skaters and goalies with the stats reports, filter by team, position, date range or minimum games, and check recent form in game logs.

Team and player pages

Build profiles with a player's bio, draft details, career totals and awards, and team pages with roster, player stats and prospects.

Draft and playoff coverage

Track Central Scouting rankings before the draft, every pick after it, and the Stanley Cup playoff bracket in spring.

NHL data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

NHL draft picks/nhl/v1/draft
year2025round1stateovercount32
picks[]round · pick_in_round · overall_pick · team_id · team_abbrev · team_name · team_common_name · team_place_name_with_preposition · display_abbrev · team_logo_light · team_logo_dark · team_pick_history
draft_year2026categorynorth-american-skatercount253
rankings[]last_name · first_name · position_code · shoots_catches · height_in_inches · weight_in_pounds · last_amateur_club · last_amateur_league · birth_date · birth_city · birth_state_province · birth_country
id2025020100season20252026game_type2limited_scoringfalsegame_date2025-10-21venueUBS Arenavenue_locationElmontstart_time_utc2025-10-21T23:00:00Zeastern_utc_offset-04:00venue_utc_offset-04:00game_stateOFFgame_schedule_stateOKreg_periods3urlhttps://www.nhl.com/gamecenter/2…
tv_broadcasts[]id · market · country_code · network · sequence_number
period_descriptor[]number · period_type · max_regulation_periods
away_team[]id · common_name · abbrev · score · sog · logo · dark_logo · place_name · place_name_with_preposition
home_team[]id · common_name · abbrev · score · sog · logo · dark_logo · place_name · place_name_with_preposition

NHL API endpoints and prices

Every NHL endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery2
NHL player search
/nhl/v1/players/search
params q +2 optionaldocstry
$1 · $2 PAYG
1 credit
NHL game shift chart
/nhl/v1/shifts
params id +1 optionaldocstry
$1 · $2 PAYG
1 credit
Profiles and accounts1
NHL player profile and career stats
/nhl/v1/player
params iddocstry
$1 · $2 PAYG
1 credit
More data17
NHL draft picks
/nhl/v1/draft
params none required +2 optionaldocstry
$1 · $2 PAYG
1 credit
NHL Central Scouting draft rankings
/nhl/v1/draft/rankings
params none required +2 optionaldocstry
$1 · $2 PAYG
1 credit
NHL game box score and summary
/nhl/v1/game
params iddocstry
$1 · $2 PAYG
1 credit
NHL stat leaders
/nhl/v1/leaders
params none required +5 optionaldocstry
$1 · $2 PAYG
1 credit
NHL game play-by-play
/nhl/v1/play-by-play
params id +1 optionaldocstry
$1 · $2 PAYG
1 credit
NHL player game log
/nhl/v1/player/game-log
params id +2 optionaldocstry
$1 · $2 PAYG
1 credit
NHL playoff bracket
/nhl/v1/playoffs
params none required +1 optionaldocstry
$1 · $2 PAYG
1 credit
NHL team roster
/nhl/v1/roster
params team +1 optionaldocstry
$1 · $2 PAYG
1 credit
NHL schedule for a week, or a team's season or month
/nhl/v1/schedule
params none required +4 optionaldocstry
$1 · $2 PAYG
1 credit
NHL scores for a day
/nhl/v1/scores
params none required +1 optionaldocstry
$1 · $2 PAYG
1 credit
NHL standings
/nhl/v1/standings
params none required +3 optionaldocstry
$1 · $2 PAYG
1 credit
NHL goalie stats reports
/nhl/v1/stats/goalies
params none required +16 optionaldocstry
$1 · $2 PAYG
1 credit
NHL skater stats reports
/nhl/v1/stats/skaters
params none required +17 optionaldocstry
$1 · $2 PAYG
1 credit
NHL team stats reports
/nhl/v1/stats/teams
params none required +13 optionaldocstry
$1 · $2 PAYG
1 credit
NHL team prospects
/nhl/v1/team/prospects
params teamdocstry
$1 · $2 PAYG
1 credit
NHL team player stats
/nhl/v1/team/stats
params team +2 optionaldocstry
$1 · $2 PAYG
1 credit
NHL teams
/nhl/v1/teams
params none requireddocstry
$1 · $2 PAYG
1 credit

Call the NHL API

NHL player search: GET https://api.api.sh/nhl/v1/players/search

curl "https://api.api.sh/nhl/v1/players/search?q=mcdavid" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 921 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for NHL data

  • Public data only: no NHL login, cookies or account needed
  • One key and one response shape for NHL and 920 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • No rate limits: run as many calls in parallel as you need
  • Live status for every endpoint

API.SH vs the official NHL API

The NHL has no documented developer API. NHL.com runs on public but undocumented JSON services that community references describe and that have changed before: the older stats API was retired in 2023 and many tools broke. API.SH wraps the current public NHL.com data in documented endpoints with stable names, and licensed official feeds remain available from the league's data partners.

Rather than tracking undocumented endpoint changes in your own scripts or buying a licensed feed, API.SH gives you documented NHL routes with one key that also covers NBA, MLB, NFL, soccer and cricket.

NHL API questions

What NHL data can I get?+

Scores (/nhl/v1/scores), schedules (/nhl/v1/schedule), box scores with game summary (/nhl/v1/game), play-by-play (/nhl/v1/play-by-play), shift charts (/nhl/v1/shifts), standings, teams, rosters, team player stats and prospects, player profiles (/nhl/v1/player), game logs, player search, stat leaders (/nhl/v1/leaders), skater, goalie and team stats reports (/nhl/v1/stats/skaters, /nhl/v1/stats/goalies, /nhl/v1/stats/teams), draft picks, Central Scouting rankings and the playoff bracket.

How much does the NHL API cost?+

Every NHL endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /nhl/v1/draft at 1 credit each.

Does the NHL have a public API?+

NHL.com uses public JSON services, but the league does not document them for developers, and they have changed without notice before. API.SH documents every route and keeps the same response shape.

Is there a free NHL API?+

Each account gets 1,000 free credits every month, enough to try every route. After that you pay per call, and calls that fail on our side are free.

Do I need an NHL.com account or login?+

No. Every route reads public NHL.com data. No login, cookies or NHL account are used.

Is there an NHL score API with goal details?+

Yes. /nhl/v1/scores returns every game of a day with the score, shots, game state and each goal's scorer, assists, strength, period and time, and /nhl/v1/game adds the box score, penalties and three stars.

How do I get started?+

1. Sign up at api.sh. 2. Copy your API key. 3. Call /nhl/v1/scores for today's games or /nhl/v1/player?id=8478402 for a player. Every parameter is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

Does the NHL API have a rate limit?+

No. API.SH puts no rate limit on your key: send as many NHL calls in parallel as you need and pay only for the calls that run. If NHL itself slows down, the call returns 503 with a retry-after header and is not charged.

More sports APIs all sports APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 921 platforms.
Get a free API key