Get NHL shift charts

GET/v1/nhl/games/{game_id}/shifts

Every shift for every skater: time on ice, on-ice teammates, strength state, and per-shift goals/shots-for delta.

Code samples

# Get live scores across every league
curl "https://api.sportapi.io/v1/nba/scores/live" \
  -H "Authorization: Bearer $API_KEY"

# Response
{
  "games": [{
    "game_id": "0022500412",
    "status": "in_progress",
    "period": 3, "clock": "07:42",
    "home": { "team": "BOS", "score": 78 },
    "away": { "team": "LAL", "score": 71 },
    "last_play": "J. Tatum makes 3-pt jumper from 25 ft"
  }]
}

Query parameters

ParameterTypeRequiredDescription
game_idstringYesNHL game ID

Response

{
  "shifts": [{
    "player": "mcdavid-connor", "team": "EDM",
    "period": 3, "start": "14:55", "end": "14:08",
    "duration_sec": 47, "strength": "5v5",
    "on_ice": ["draisaitl-leon", "..."],
    "events": { "goals_for": 1, "shots_for": 2, "goals_against": 0 }
  }]
}

Error responses

StatusCodeDescription
401unauthorizedMissing or invalid API key
403tier_insufficientYour plan tier doesn't include this resource
429rate_limitedExceeded rate limit; honor Retry-After
500internal_errorServer error; retry with exponential backoff