NHL, NCAAH.Last Five Games

Get last five finished games for a specific team id

Refresh interval: Immediately once a game is considered finished

Retrieve a list of the last five finished games for a specific team. If a game was not finished (e.g. was cancelled or postponed) it will not be returned.

Specify teamId query parameter to retrieve the data. Endpoint is used to create a form section between two teams that are playing a match. Below is an example of what can be achieved:

Last five games example

get/nhl/last-five-games

Request

Query parameters

teamIdnumber required
Example:1

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

idnumber required
roundstring required
datestring required
leaguestring required
seasonnumber required

Example response

[
  {
    "id": 1,
    "round": "Regular Season - 14",
    "date": "2023-05-20T15:30:00.000Z",
    "league": "NHL",
    "season": 2023,
    "awayTeam": {
      "id": 1,
      "logo": "https://example.com/logos/team/1.png",
      "name": "Panthers",
      "displayName": "Florida Panthers",
      "abbreviation": "FLA"
    },
    "homeTeam": {
      "id": 1,
      "logo": "https://example.com/logos/team/1.png",
      "name": "Panthers",
      "displayName": "Florida Panthers",
      "abbreviation": "FLA"
    },
    "state": {
      "period": 2,
      "clock": 8,
      "description": "In progress",
      "score": {
        "current": "1 - 1",
        "firstPeriod": "0 - 0",
        "secondPeriod": "1 - 1",
        "thirdPeriod": "2 - 2",
        "overtimePeriod": "1 - 0"
      },
      "report": "Final"
    }
  }
]

Changes

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