NHL API
All 32 NHL teams, every regular-season, playoff, and All-Star game. Live scores, shift charts, play-by-play with coordinates, advanced analytics (Corsi/Fenwick/xG), team lines, standings, schedule.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/nhl/scores/live | Live scores with period, clock, shots, and last event |
| GET | /v1/nhl/games/{id}/shifts | Shift-level data for every skater |
| GET | /v1/nhl/games/{id}/play-by-play | Plays with X/Y coordinates and strength state |
| GET | /v1/nhl/advanced | Team-level Corsi / Fenwick / xG |
| GET | /v1/nhl/teams/{id}/lines | Forward lines and defense pairs |
Data tiers
Every endpoint is available on real-time, standard, and delayed tiers. See data freshness for details.
ID formats
- Team IDs: league-standard 3-letter abbreviations (
LAL,BOS,GSW) - Player IDs: kebab-case slugs (
lebron-james,jayson-tatum) - Game IDs: league-native format (NBA
0022500412, NFL2024_09_KC_BUF, MLB746521)