Get NHL advanced metrics

GET/v1/nhl/advanced

Team-level Corsi / Fenwick / xG / high-danger chances aggregated per game or season. Filter by strength state.

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
teamstringNoFilter by team
strengthstringNo5v5 | 5v4 | 4v5 | all
seasonstringNoSeason filter

Response

{
  "team": "EDM",
  "season": "2024-25",
  "strength": "5v5",
  "metrics": { "cf_pct": 53.4, "ff_pct": 53.1, "xgf_pct": 54.7, "hdcf_pct": 55.2, "pdo": 1.02 }
}

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