Get live NHL scores
GET/v1/nhl/scores/live
Real-time scores for every active NHL game with period, clock, score, shots on goal, and last event description.
Code samples
# Get NHL live scores curl "https://api.sportapi.io/v1/nhl/scores/live" \ -H "Authorization: Bearer $API_KEY" { "games": [{ "game_id": "2024020412", "status": "in_progress", "period": 3, "clock": "14:02", "home": {"team": "EDM", "score": 4, "shots": 28}, "away": {"team": "TOR", "score": 2, "shots": 24}, "last_event": "C. McDavid even-strength goal, assist L. Draisaitl" }] }
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
team | string | No | Filter by team (e.g. EDM) |
Response
{
"games": [{
"game_id": "2024020412",
"status": "in_progress",
"period": 3, "clock": "14:02",
"home": { "team": "EDM", "score": 4, "shots": 28 },
"away": { "team": "TOR", "score": 2, "shots": 24 },
"last_event": "C. McDavid even-strength goal, assist L. Draisaitl"
}]
}Error responses
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid API key |
| 403 | tier_insufficient | Your plan tier doesn't include this resource |
| 429 | rate_limited | Exceeded rate limit; honor Retry-After |
| 500 | internal_error | Server error; retry with exponential backoff |