Hockey.Teams

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

get/hockey/teams/statistics/{id}

Request

Path parameters

idnumber required

Requested team id.

Query parameters

fromDatestring required
Example:2023-08-06

Date that follows the YYYY-MM-DD format.

timezonestring
Example:Europe/London

Valid timezone identifier.

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

leagueIdnumber required

League id to which team statistics are associated.

leagueNamestring required

League name to which team statistics are associated.

seasonnumber required

Season year to which team statistics are associated.

Example response

[
  {
    "total": {
      "games": {
        "played": 114,
        "wins": 72,
        "loses": 42
      },
      "goals": {
        "scored": 366,
        "received": 283
      }
    },
    "home": {
      "games": {
        "played": 58,
        "wins": 38,
        "loses": 20
      },
      "goals": {
        "scored": 186,
        "received": 141
      }
    },
    "away": {
      "games": {
        "played": 56,
        "wins": 34,
        "loses": 22
      },
      "goals": {
        "scored": 180,
        "received": 142
      }
    },
    "leagueId": 49291,
    "leagueName": "NHL",
    "season": 2023
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.