Discover/NHL API
live

NHL APInhl.com

Access NHL game schedules, live scores, standings, team rosters, player profiles, boxscores, and projected lineups via a structured JSON API.

Endpoint health
verified 7d ago
get_standings
get_team_info_all
get_schedule
get_player_landing
get_projected_lineups
9/9 passing latest checkself-healing
Endpoints
9
Updated
22d ago

What is the NHL API?

This API exposes 9 endpoints covering NHL game data from nhl.com, including live scores, standings, and detailed boxscores. The get_scores endpoint returns goals, shots on goal, and broadcast info for any date. The get_gamecenter_boxscore endpoint breaks down individual player stats — goals, assists, time on ice, shots — for both teams in a given game. Player data is accessible by NHL player ID via get_player_landing, which includes career totals and current season stats.

Try it
Date in YYYY-MM-DD format, or 'now' for current schedule.
api.parse.bot/scraper/60cc76ee-6406-499c-84fa-a80b0250c465/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/60cc76ee-6406-499c-84fa-a80b0250c465/get_schedule?date=now' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace nhl-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""NHL API - Walkthrough: search players, get standings, check boxscores."""
from parse_apis.nhl_api import NHL, TeamAbbrev, ResourceNotFound

client = NHL()

# List all teams and show first few
for team in client.teams.list(limit=5):
    print(team.name, team.division, team.conference)

# Search for a player by name, take the first result
result = client.playersummaries.search(query="mcdavid", limit=1).first()
if result:
    print(result.name, result.team_abbrev, result.position_code)

# Drill into player details from the search result
if result:
    player = result.details()
    print(player.first_name, player.last_name, player.position)
    if player.career_totals:
        print(player.career_totals.goals, player.career_totals.assists, player.career_totals.points)

# Get team roster using constructible Team with enum
edm = client.team(abbrev=TeamAbbrev.EDM)
roster = edm.roster()
for fwd in roster.forwards[:3]:
    print(fwd.first_name, fwd.last_name, fwd.position_code)

# Get schedule as a single object and inspect its game_week
schedule = client.schedules.get(date="2025-01-15")
for day in schedule.game_week[:2]:
    print(day.date, day.number_of_games)

# Typed error handling: catch a not-found player
try:
    client.players.get(player_id="0000000")
except ResourceNotFound as exc:
    print(f"Player not found: {exc}")

print("exercised: teams.list / playersummaries.search / details / team.roster / schedules.get / players.get")
All endpoints · 9 totalmissing one? ·

Fetch the full NHL game schedule for a given date. Returns a week of games centered around the requested date, including game details, broadcast info, and scores for completed games. The gameWeek array contains one entry per day with that day's games.

Input
ParamTypeDescription
datestringDate in YYYY-MM-DD format, or 'now' for current schedule.
Response
{
  "type": "object",
  "fields": {
    "gameWeek": "array of day objects each containing date, dayAbbrev, numberOfGames, and games array",
    "nextStartDate": "string, next week start date in YYYY-MM-DD format",
    "previousStartDate": "string, previous week start date in YYYY-MM-DD format"
  }
}

About the NHL API

Schedule, Scores, and Standings

The get_schedule endpoint accepts a date in YYYY-MM-DD format (or 'now' for the current week) and returns a gameWeek array covering seven days of games, with matchup details, broadcast info, and scores for completed contests. The response also includes nextStartDate and previousStartDate for easy pagination through weeks. The get_scores endpoint focuses on a single date, returning each game's current score, goal scorers, shots on goal, and broadcast channels alongside nextDate and prevDate pointers. get_standings returns every team's points, wins, losses, division, and conference and supports historical queries by passing a specific date.

Team and Player Data

The get_team_roster endpoint takes a team abbreviation (e.g., EDM, TOR, NYR) and an optional season string (e.g., 20242025) and returns three arrays: forwards, defensemen, and goalies, each with player ID, name, position, and sweater number. get_player_landing accepts a numeric NHL player ID and returns a full profile: firstName, lastName, position, currentTeamAbbrev, careerTotals split into regular season and playoffs, and featuredStats for the current season. Player IDs can be discovered using search_players, which accepts a name query and returns matching active players with their playerId, teamAbbrev, and positionCode.

Boxscores and Lineups

The get_gamecenter_boxscore endpoint accepts a game_id (obtainable from schedule or scores responses) and returns homeTeam and awayTeam objects with score and shots on goal, plus a playerByGameStats object containing per-player stat lines — goals, assists, TOI, shots — organized into forwards, defense, and goalies for each side. The gameState field indicates whether a game is final (OFF), live (LIVE), or upcoming (FUT). The get_projected_lineups endpoint returns a paginated list of news articles from nhl.com tagged to lineup and game-day content, each with a headline, summary, slug, and tags.

Team Metadata

The get_team_info_all endpoint requires no inputs and returns a complete list of all NHL franchises with each team's name, abbrev, division, conference, and a logo URL pointing to the team's SVG. This is useful for populating dropdowns or enriching data from other endpoints with display-ready team metadata.

Reliability & maintenanceVerified

The NHL API is a managed, monitored endpoint for nhl.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when nhl.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official nhl.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7d ago
Latest check
9/9 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display live NHL scores and goal scorers in a sports dashboard by polling get_scores with 'now'.
  • Build a standings tracker that shows division and conference rankings with wins, losses, and points from get_standings.
  • Generate player profile pages using get_player_landing with career totals, current season stats, and team affiliation.
  • Look up a player's ID by name with search_players before querying detailed stats via get_player_landing.
  • Pull full game boxscores including per-player TOI and shot counts using get_gamecenter_boxscore for post-game analysis.
  • Retrieve historical team rosters for a specific season using get_team_roster with the season parameter.
  • Populate a team directory with logos, divisions, and conference assignments from get_team_info_all.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does NHL.com have an official developer API?+
NHL.com does not publish an official public developer API with documented access, versioning guarantees, or API keys for third-party use.
What does `get_gamecenter_boxscore` return for in-progress games?+
The gameState field will be LIVE for in-progress games, and playerByGameStats will reflect stats accumulated up to that point in the game. Final games return gameState as OFF. Future games return FUT with no player stat lines.
How do I find a player's NHL ID to use with `get_player_landing`?+
Use the search_players endpoint with a name query (e.g., mcdavid or ovechkin). It returns playerId, teamAbbrev, and positionCode for matching active players. Pass the playerId directly to get_player_landing.
Does the API cover play-by-play data or shot coordinates?+
Not currently. The API covers boxscore-level stats (goals, assists, TOI, shots on goal), schedules, standings, rosters, and player profiles. Play-by-play events and shot location coordinates are not included in the current endpoints. You can fork it on Parse and revise to add the missing endpoint.
Does `get_projected_lineups` return actual line combinations for each team?+
The endpoint returns news articles tagged to lineup and game-day content — headlines, summaries, slugs, and tags — rather than structured line combination data (e.g., first-line center, second-line left wing). Structured line pairings are not currently exposed. You can fork the API on Parse and revise to add a dedicated lineup endpoint if structured line data is needed.
Page content last updated . Spec covers 9 endpoints from nhl.com.
Related APIs in SportsSee all →
nfl.com API
Access real-time NFL data including game schedules, scores, player statistics, team rosters, standings, injury reports, fantasy rankings, and the latest news — all from nfl.com.
espn.com API
Get live scores, schedules, standings, teams, rosters, athlete profiles, game logs, and league news across major sports from ESPN.
h2hggl.com API
Access live e-sports match data, daily schedules, upcoming games, and final results across H2H GG League eBasketball competitions. Retrieve real-time scores, player statistics, head-to-head comparisons, and detailed match timelines.
stats.ncaa.org API
Access comprehensive NCAA sports statistics to search for players, teams, and coaches, view game box scores and play-by-play data, and review team schedules, rosters, and rankings. Get detailed head coach records and scoreboard information to analyze performance across college sports.
afl.com.au API
Access live AFL match scores, team standings, player statistics, and fixture schedules directly from official sources. Search player profiles, view news updates, and track competition rounds and seasons all in one place.
bleacherreport.com API
Access sports news articles, live scores, and detailed game statistics from Bleacher Report across all major leagues including the NBA, NFL, MLB, and NHL. Retrieve full article content, expert analysis, and box-score data for any supported sport and date.
pro-football-reference.com API
Access comprehensive NFL data including season schedules, team standings, player statistics, game boxscores, play-by-play details, and player profiles to research teams, players, and game information. Search for specific players and dive into detailed game analysis with boxscore information and minute-by-minute play data.
insidelacrosse.com API
Access lacrosse game scores, schedules, and detailed statistics from InsideLacrosse.com. Retrieve results by date, gender, division, and season, and drill into individual game box scores including team and player performance data.