{"uid":"cap_vo21tzFlrLLNLThg76x0Q","slug":"mlb-stats-api-fly-dev-9c7d0c12","name":"NHL Player Profile & Season Stats","description":"NHL player profile and season stats by player_id. Example: 8478402 = Connor McDavid.","url":"https://mlb-stats-api.fly.dev/nhl/player/:player_id","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["player_id"],"properties":{"player_id":{"type":"integer","description":"NHL player ID (e.g. 8478402 = Connor McDavid)"}},"additionalProperties":false},"responseSchema":{"type":"object","required":["request_id","sport","league","retrieved_at","data","warnings","errors"],"properties":{"data":{"type":"object","required":["id","first_name","last_name","full_name","position","jersey_number","team_id","team_abbrev","stats"],"properties":{"id":{"type":"string"},"stats":{"type":"object","required":["season","regularSeason","playoffs"],"properties":{"season":{"type":"number"},"playoffs":{"type":"object","required":["subSeason","career"],"properties":{"career":{"type":"object","required":["assists","gameWinningGoals","gamesPlayed","goals","otGoals","pim","plusMinus","points","powerPlayGoals","powerPlayPoints","shootingPctg","shorthandedGoals","shorthandedPoints","shots"],"properties":{"pim":{"type":"number"},"goals":{"type":"number"},"shots":{"type":"number"},"points":{"type":"number"},"assists":{"type":"number"},"otGoals":{"type":"number"},"plusMinus":{"type":"number"},"gamesPlayed":{"type":"number"},"shootingPctg":{"type":"number"},"powerPlayGoals":{"type":"number"},"powerPlayPoints":{"type":"number"},"gameWinningGoals":{"type":"number"},"shorthandedGoals":{"type":"number"},"shorthandedPoints":{"type":"number"}}},"subSeason":{"type":"object","required":["assists","gameWinningGoals","gamesPlayed","goals","otGoals","pim","plusMinus","points","powerPlayGoals","powerPlayPoints","shootingPctg","shorthandedGoals","shorthandedPoints","shots"],"properties":{"pim":{"type":"number"},"goals":{"type":"number"},"shots":{"type":"number"},"points":{"type":"number"},"assists":{"type":"number"},"otGoals":{"type":"number"},"plusMinus":{"type":"number"},"gamesPlayed":{"type":"number"},"shootingPctg":{"type":"number"},"powerPlayGoals":{"type":"number"},"powerPlayPoints":{"type":"number"},"gameWinningGoals":{"type":"number"},"shorthandedGoals":{"type":"number"},"shorthandedPoints":{"type":"number"}}}}},"regularSeason":{"type":"object","required":["subSeason","career"],"properties":{"career":{"type":"object","required":["assists","gameWinningGoals","gamesPlayed","goals","otGoals","pim","plusMinus","points","powerPlayGoals","powerPlayPoints","shootingPctg","shorthandedGoals","shorthandedPoints","shots"],"properties":{"pim":{"type":"number"},"goals":{"type":"number"},"shots":{"type":"number"},"points":{"type":"number"},"assists":{"type":"number"},"otGoals":{"type":"number"},"plusMinus":{"type":"number"},"gamesPlayed":{"type":"number"},"shootingPctg":{"type":"number"},"powerPlayGoals":{"type":"number"},"powerPlayPoints":{"type":"number"},"gameWinningGoals":{"type":"number"},"shorthandedGoals":{"type":"number"},"shorthandedPoints":{"type":"number"}}},"subSeason":{"type":"object","required":["assists","gameWinningGoals","gamesPlayed","goals","otGoals","pim","plusMinus","points","powerPlayGoals","powerPlayPoints","shootingPctg","shorthandedGoals","shorthandedPoints","shots"],"properties":{"pim":{"type":"number"},"goals":{"type":"number"},"shots":{"type":"number"},"points":{"type":"number"},"assists":{"type":"number"},"otGoals":{"type":"number"},"plusMinus":{"type":"number"},"gamesPlayed":{"type":"number"},"shootingPctg":{"type":"number"},"powerPlayGoals":{"type":"number"},"powerPlayPoints":{"type":"number"},"gameWinningGoals":{"type":"number"},"shorthandedGoals":{"type":"number"},"shorthandedPoints":{"type":"number"}}}}}}},"team_id":{"type":"string"},"position":{"type":"string"},"full_name":{"type":"string"},"last_name":{"type":"string"},"first_name":{"type":"string"},"team_abbrev":{"type":"string"},"jersey_number":{"type":"string"}}},"sport":{"type":"string"},"errors":{"type":"array","items":{"type":"unknown"}},"league":{"type":"string"},"warnings":{"type":"array","items":{"type":"unknown"}},"request_id":{"type":"string"},"retrieved_at":{"type":"string"}}},"example":{"request":{"player_id":8478402},"response":{"data":{"id":"8478402","stats":{"season":20252026,"playoffs":{"career":{"pim":30,"goals":45,"shots":350,"points":156,"assists":111,"otGoals":2,"plusMinus":23,"gamesPlayed":102,"shootingPctg":0.1285,"powerPlayGoals":14,"powerPlayPoints":58,"gameWinningGoals":5,"shorthandedGoals":2,"shorthandedPoints":3},"subSeason":{"pim":2,"goals":1,"shots":20,"points":6,"assists":5,"otGoals":0,"plusMinus":-8,"gamesPlayed":6,"shootingPctg":0.05,"powerPlayGoals":1,"powerPlayPoints":4,"gameWinningGoals":0,"shorthandedGoals":0,"shorthandedPoints":0}},"regularSeason":{"career":{"pim":330,"goals":409,"shots":2713,"points":1220,"assists":811,"otGoals":17,"plusMinus":186,"gamesPlayed":794,"shootingPctg":0.1507,"powerPlayGoals":100,"powerPlayPoints":418,"gameWinningGoals":76,"shorthandedGoals":9,"shorthandedPoints":19},"subSeason":{"pim":44,"goals":48,"shots":306,"points":138,"assists":90,"otGoals":1,"plusMinus":17,"gamesPlayed":82,"shootingPctg":0.156863,"powerPlayGoals":13,"powerPlayPoints":54,"gameWinningGoals":4,"shorthandedGoals":1,"shorthandedPoints":2}}},"team_id":"22","position":"C","full_name":"Connor McDavid","last_name":"McDavid","first_name":"Connor","team_abbrev":"EDM","jersey_number":"97"},"sport":"hockey","errors":[],"league":"nhl","warnings":[],"request_id":"560a70b2-aced-44a4-bc9b-f6dd4ebe8ba3","retrieved_at":"2026-05-30T00:29:39.545544+00:00"}},"exampleRequest":{"player_id":8478402},"tags":["x402"],"displayCostAmount":"0.001000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YRTKZn-692D9T8t7P8-Yi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns NHL player profile information and season statistics for a given player ID","exampleAgentPrompt":"Can you pull up Connor McDavid's player profile and this season's stats? His NHL player ID is 8478402.","exampleUseCases":null,"resultDescription":"Returns an NHL player's profile details and season statistics including goals, assists, points, games played, and other performance metrics for the current or most recent season.","failureModes":["Invalid or unknown player_id returns 404 or empty result","Non-numeric or malformed player_id causes a 400 bad request","Service unavailable on fly.dev returns 503","Player ID that exists in other leagues but not NHL returns no data"],"whenToPreferThis":"Use this endpoint when you need individual NHL player profile data or season statistics by player ID. Ideal for fantasy hockey lookups, sports trivia, player comparisons, or building NHL dashboards. Prefer this over generic sports APIs when you already have the NHL player ID (e.g., from a team roster or player search endpoint).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:48.713Z","isFirstParty":false}