NHL API
Live, read-only access to NHL schedules, scores, standings, team rosters, and player landing data. Career totals and featured stats are null when NHL's public player response omits those fields.
Endpoint health
Loading verification…
Connect your agent
Connect through MCP so your agent can find this API, read its docs, and call its endpoints.
Add the server from your terminal.
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcpIn Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.
Then ask your agent to use the NHL API for your task.
Call it over HTTP
Get an API keySign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.
curl --request GET --get 'https://api.agent-data.dev/nhl-com/v1/schedule' \
--header "Authorization: Bearer $AGENT_DATA_API_KEY"Endpoints
Inputs and response fields for every endpoint in this API.
GETSchedule/v1/schedule
Return NHL game-week records and the adjacent source start dates for a date or the current schedule window.
Input
dateOptionalQuery · string (date) | nullCalendar date in YYYY-MM-DD form; omit to request the NHL current schedule.
Example: 2026-09-22
Response
gameWeekobject[]gameWeek[].datestringgameWeek[].gamesobject[]gameWeek[].dayAbbrevstringgameWeek[].numberOfGamesintegertransportstringnextStartDatestringpreviousStartDatestringGETScores/v1/scores
Return all game records and NHL's previous, current, and next dates for a date or the current scores window.
Input
dateOptionalQuery · string (date) | nullCalendar date in YYYY-MM-DD form; omit to request the NHL current scores window.
Example: 2026-09-22
Response
gamesobject[]nextDatestringprevDatestringtransportstringcurrentDatestringGETStandings/v1/standings
Return the complete NHL standings array for a date, or the latest standings snapshot when date is omitted.
Input
dateOptionalQuery · string (date) | nullCalendar date in YYYY-MM-DD form; omit to request NHL's latest standings snapshot.
Example: 2025-12-01
Response
standingsobject[]standings[].winsintegerstandings[].lossesintegerstandings[].pointsintegerstandings[].otLossesintegerstandings[].teamNameobjectstandings[].teamName.defaultstringstandings[].teamAbbrevobjectstandings[].teamAbbrev.defaultstringstandings[].gamesPlayedintegertransportstringGETRoster by team/v1/roster/{team}
Return goalies, forwards, and defensemen for a three-letter team abbreviation and optional eight-digit season identifier.
Input
teamRequiredPath · stringThree-letter uppercase NHL team abbreviation.
Example: BUF
seasonOptionalQuery · string | nullOptional NHL season identifier in YYYYYYYY form; omit for the source's current season.
Example: 20252026
Response
goaliesobject[]goalies[].idintegergoalies[].lastNameobjectgoalies[].lastName.defaultstringgoalies[].firstNameobjectgoalies[].firstName.defaultstringgoalies[].positionCode"C" | "L" | "R" | "D" | "G"forwardsobject[]forwards[].idintegerforwards[].lastNameobjectforwards[].lastName.defaultstringforwards[].firstNameobjectforwards[].firstName.defaultstringforwards[].positionCode"C" | "L" | "R" | "D" | "G"transportstringdefensemenobject[]defensemen[].idintegerdefensemen[].lastNameobjectdefensemen[].lastName.defaultstringdefensemen[].firstNameobjectdefensemen[].firstName.defaultstringdefensemen[].positionCode"C" | "L" | "R" | "D" | "G"GETPlayer landing by player id/v1/player/{player_id}/landing
Return the requested NHL player name, position, career totals, featured stats, and current team abbreviation. Source-omitted stats are null.
Input
player_idRequiredPath · integerPositive NHL player ID.
Example: 8477497
Response
lastNameobjectlastName.defaultstringposition"C" | "L" | "R" | "D" | "G"firstNameobjectfirstName.defaultstringtransportstringcareerTotalsobject | nullfeaturedStatsobject | nullcurrentTeamAbbrevstring | nullDon’t see the endpoint you need?
Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.
An account is required to submit an extension. Prepare your request, then sign in to build.