National Hockey League Scores API

The Scores API from National Hockey League — 2 operation(s) for scores.

OpenAPI Specification

national-hockey-league-scores-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: NHL Web Game Center Scores API
  description: Unofficial OpenAPI description of the NHL Web API hosted at api-web.nhle.com. This API exposes public read-only endpoints for schedule, scores, standings, rosters, club statistics, player game logs, and game center (boxscore and play-by-play) data. No authentication is required for the documented endpoints; usage should respect NHL terms of service.
  version: 1.0.0
  contact:
    name: API Evangelist
    email: kin@apievangelist.com
servers:
- url: https://api-web.nhle.com
  description: NHL Web API
tags:
- name: Scores
paths:
  /v1/score/now:
    get:
      summary: Current daily scores
      description: Returns scores for the current date.
      operationId: getScoreNow
      tags:
      - Scores
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
  /v1/score/{date}:
    get:
      summary: Scores for a date
      description: Returns scores for a given date.
      operationId: getScoreByDate
      tags:
      - Scores
      parameters:
      - name: date
        in: path
        required: true
        description: Date in YYYY-MM-DD format.
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object