Hockey data API

Hockey API for Live Scores, Box Scores and Player Stats

A REST JSON API for the NHL, SHL, Liiga, PWHL, NCAA hockey and the Olympic tournaments. Scores, goals with assists, penalties, box scores, standings, rosters and season stats behind one API key.

11
Leagues & tournaments
240+
Teams
10,000+
Games
4,000+
Players
150,000+
Player box score lines
52,000+
Goals and penalties

What the hockey API returns

Every data type uses the same IDs, so a game links to its teams, players and league.

Live scores

Status, current period, game clock, goals per period and shots on goal for every game on a date, with a dedicated endpoint for games in progress.

Schedules and results

Every game with puck-drop time in UTC, venue, attendance, season and stage, and whether it ended in regulation, overtime or a shootout.

Goals and penalties

Scoring summary with scorer, assists, strength (power play, short-handed, empty net), shot type and time, plus every penalty with its minutes and infraction.

Box scores

Skater lines with goals, assists, plus-minus, penalty minutes, shots, hits, blocks, faceoffs and time on ice, and goalie lines with saves and save percentage.

Standings

Wins, regulation losses, overtime and shootout results, points, points percentage, goal difference, home and away records, last 10 and streak.

League leaders

Skaters ranked by points, goals, assists or plus-minus and goalies by wins, save percentage, goals-against average or shutouts, with minimum games.

Players and season stats

Position, shoots or catches, height, weight, birth date and draft, plus season totals and the last games for every skater and goalie.

Teams and rosters

Team profiles with arena, colours and logo, current rosters by position and the full season schedule with results.

Play-by-play

Shots, goals, penalties, faceoffs, hits and stoppages in order with period and time, for leagues whose feeds publish them.

Hockey API endpoints

All endpoints use GET under https://sportapi.ai/api/hockey and need the X-Api-Key header.

EndpointReturns
GET /hockey/games/date/{YYYY-MM-DD}All games on a date; optional tz and league filters
GET /hockey/games/liveGames in progress with period and clock
GET /hockey/games/{id}One game: score, periods, shots, decision, venue
GET /hockey/games/{id}/eventsGoals with assists, penalties and shootout attempts
GET /hockey/games/{id}/playersSkater and goalie box score lines
GET /hockey/games/{id}/statsTeam statistics for both sides
GET /hockey/games/{id}/playsPlay-by-play where the league publishes it
GET /hockey/games/h2h/{team1}/{team2}Head-to-head history of two teams
GET /hockey/leaguesAll leagues and tournaments with current season
GET /hockey/leagues/{slug}League profile with seasons and teams
GET /hockey/leagues/{slug}/gamesFinished or scheduled games of a league
GET /hockey/leagues/{slug}/leadersSkater and goalie leaders for a season
GET /hockey/standings/{slug}Standings by conference, division or group
GET /hockey/teams/{id}Team profile (also /roster and /games)
GET /hockey/players/{id}Player profile with season stats and last games

Make your first request

Create a free account, generate a key in your dashboard and send it in the X-Api-Key header. Times are UTC in ISO 8601; pass tz to get a day in your own time zone.

  • JSON responses for every endpoint
  • API key in the X-Api-Key header
  • Live status with period and clock
  • The same structure for every league
Full API docs
RequestResponse
GET https://sportapi.ai/api/hockey/games/date/2026-11-18?tz=America/New_York
GET https://sportapi.ai/api/hockey/games/{id}/events
GET https://sportapi.ai/api/hockey/standings/nhl

X-Api-Key: YOUR_API_KEY

Works with any language

Plain HTTP and JSON, no SDK required.

โŒจ๏ธcURL
๐Ÿ˜PHP
๐ŸŸขNode.js
๐ŸPython
โ˜•Java
๐Ÿ’ŽRuby
๐Ÿฆ€Rust
๐Ÿ”ทGo
Free hockey API plan

Start free, upgrade when you need more requests

Every plan includes all hockey, basketball and football endpoints and every league. The free plan gives you 1,000 requests a day with no credit card.

Paid plans raise the daily limit and add more API keys.

Create a free account
Requests per day, per plan
Free1,000
Starter10,000
Pro50,000
Business200,000

Hockey API pricing

One subscription covers hockey, basketball and football.

Free
Free
1,000 requests/day
  • All endpoints
  • Hockey, basketball and football
  • Live scores & box scores
  • Standings & player stats
  • 1 API key
Get started
Starter
$10/mo
10,000 requests/day
  • All endpoints
  • Hockey, basketball and football
  • Live scores & box scores
  • Standings & player stats
  • 1 API key
Subscribe
Business
$50/mo
200,000 requests/day
  • All endpoints
  • Hockey, basketball and football
  • Live scores & box scores
  • Standings & player stats
  • 10 API keys
Subscribe

About the SportAPI hockey API

The SportAPI hockey API gives developers scores, schedules, box scores, standings and player statistics for professional, college and international ice hockey. It uses the same API key, rate limits and JSON conventions as the football and basketball APIs, so one integration covers all three sports.

Live scores and game data

The games endpoints return every game on a date with status, the current period and clock, the score, goals per period and shots on goal. Overtime and shootout wins are marked with a decision field, so a win in overtime is never confused with one in regulation. Where the league publishes them, each game has a scoring summary with assists and power-play, short-handed and empty-net tags, a penalty list, skater and goalie box scores and play-by-play.

Standings, leaders and player stats

Standings follow each league's points system: wins, regulation losses, overtime and shootout results, points, points percentage, goals for and against, home and away records, last 10 and streak, grouped by conference or division. League leaders rank skaters by points, goals, assists, plus-minus or penalty minutes and goalies by wins, save percentage, goals-against average or shutouts. Player profiles combine bio and draft data with season totals and the last games played.

Get started

Create a free account, copy your key from the dashboard and call the API from any language:

curl "https://sportapi.ai/api/hockey/games/live" \
  -H "X-Api-Key: YOUR_API_KEY"

Browse the hockey scores pages to see the data the API returns before writing any code.

What the hockey API does not include

SportAPI does not provide betting odds, shot location maps, shift charts or player tracking data. Box scores and play-by-play depend on the league's own feed: the NCAA, PWHL and SDHL have scores only for now.

Hockey API frequently asked questions

Is there a free hockey API plan? โˆ’

Yes. The free plan costs $0 and allows 1,000 requests per day with one API key. It includes every hockey, basketball and football endpoint and every league. The limit resets daily at 00:00 UTC, and the API answers with HTTP 429 once it is reached.

Which hockey leagues does the API cover? +

The NHL, the Swedish SHL and SDHL, the Finnish Liiga, the PWHL, NCAA men's and women's hockey, the Olympic men's and women's tournaments and the World Cup of Hockey. The /hockey/leagues endpoint lists every competition with its current season.

How fresh are live hockey scores? +

Games in progress are checked about every minute. Box scores and team statistics are completed shortly after the game ends, and standings and rosters are refreshed every day.

How are overtime and shootout results shown? +

Each finished game has a decision field: REG, OT or SO. Periods list goals per period with overtime as an extra entry, and the shootout result is reported separately.

Are box scores available for every game? +

Box scores are available for the NHL, SHL, Liiga and the Olympic tournaments. The NCAA, PWHL and SDHL have scores only for now. The has_boxscore flag on each game tells you whether player stats exist before you request them.

Do I need a separate key for hockey? +

No. The same API key, plan and daily limit work for every sport. Hockey endpoints live under /api/hockey, basketball under /api/basketball and football under /api.

Does the hockey API include odds or shot maps? +

No. SportAPI does not provide betting odds, shot location maps, shift charts or tracking data. It provides scores, schedules, goals and penalties, box scores, standings, rosters and player statistics.

Start building with the hockey API

Free plan with 1,000 requests a day. No credit card required.

Get your API key