STAT-API

NHL team_news API

team_newsnhl.team_news
News and updates about NHL teams — game previews, coaching changes, front-office moves, and beat reports.
GET/api/v1/nhl/team_news
Requires one of: team_id — requests satisfying none of these return 400.
Parameters
team_idquerybigintoptional
Filter by team.
categoryquerystringoptional
Filter by category (game_preview, coaching, transaction, general, draft, depth_chart). Values: game_preview, coaching, transaction, general, draft, depth_chart.
urgencyquerystringoptional
Filter by news urgency. Values: BREAKING_GAME_TIME, HIGH, MEDIUM, ROUTINE.
news_timequerytimestamptzoptional
Filter by publication time (ISO 8601). Use news_time__gte to poll for items since your last check. Range syntax: news_time__gte=, news_time__lte=, news_time__between=.
limitqueryintegeroptionaldefault 50
Page size. Defaults to 50; max 5000.
from_idquerybigintoptional
Return rows with id strictly greater than this value; page using the previous response's `next_from_id`. Omit on the first page.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://api.stat-api.com/api/v1/nhl/team_news?team_id=1'
Responses
200team_news rows matching the declared filter set, wrapped in { team_news, limit, next_from_id, has_more }. has_more is true when another row follows this page. To walk every row, start with ?from_id=0 and pass each next_from_id back as from_id until it is null; the filters stay. A first page without from_id comes in the default order and gives next_from_id null.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.application/json
Response Schema(10 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigintnullableAssociated game ID when news relates to a specific game.
e.g. 20266
opponent_team_id
bigintnullableOpponent team ID when news relates to an upcoming or completed game matchup.
e.g. 20
team_id
bigintTeam ID that this news event pertains to.
e.g. 25
ai_processed
booleannullable—Whether this story was generated or enriched via LLM summarization.
e.g. true
category
stringnullable—game_preview, coaching, transaction, general
Values:game_previewtransactiongeneralcoachingdepth_chart
news_time
timestamptz—Publication timestamp of the team story.
e.g. 2026-07-01T00:00:00.000Z
summary
string—Concise journalistic summary of the team news event.
e.g. Colorado's franchise defenseman Cale Makar has signed a $16…
title
string—Headline of the team news story.
e.g. Cale Makar signs $163.2M contract, sets new NHL defenseman …
urgency
stringnullable—ROUTINE, MEDIUM, HIGH, BREAKING_GAME_TIME
Values:ROUTINEMEDIUMHIGHBREAKING_GAME_TIME
GET/api/v1/nhl/team_news/{id}
Parameters
idpathbigintrequired
Primary key (id) of the team_new row.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://api.stat-api.com/api/v1/nhl/team_news/{pk_value}'
Responses
200Single team_new row.application/jsonshow example ▸
404Row not found.
Response Schema(10 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigintnullableAssociated game ID when news relates to a specific game.
e.g. 20266
opponent_team_id
bigintnullableOpponent team ID when news relates to an upcoming or completed game matchup.
e.g. 20
team_id
bigintTeam ID that this news event pertains to.
e.g. 25
ai_processed
booleannullable—Whether this story was generated or enriched via LLM summarization.
e.g. true
category
stringnullable—game_preview, coaching, transaction, general
Values:game_previewtransactiongeneralcoachingdepth_chart
news_time
timestamptz—Publication timestamp of the team story.
e.g. 2026-07-01T00:00:00.000Z
summary
string—Concise journalistic summary of the team news event.
e.g. Colorado's franchise defenseman Cale Makar has signed a $16…
title
string—Headline of the team news story.
e.g. Cale Makar signs $163.2M contract, sets new NHL defenseman …
urgency
stringnullable—ROUTINE, MEDIUM, HIGH, BREAKING_GAME_TIME
Values:ROUTINEMEDIUMHIGHBREAKING_GAME_TIME