NBA, NCAAB.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/nba/last-five-games

Request

Query parameters

teamIdnumber required
Example:3

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

idnumber required
league'NBA' | 'NCAA' required
seasonnumber required
datestring required

Example response

[
  {
    "id": 5294,
    "league": "NBA",
    "season": 2024,
    "state": {
      "period": 4,
      "description": "Finished"
    },
    "homeTeam": {
      "id": 3,
      "displayName": "Denver Nuggets",
      "name": "Nuggets",
      "logo": "https://highlightly.net/nba/images/teams/3.png",
      "abbreviation": "DEN"
    },
    "awayTeam": {
      "id": 3,
      "displayName": "Denver Nuggets",
      "name": "Nuggets",
      "logo": "https://highlightly.net/nba/images/teams/3.png",
      "abbreviation": "DEN"
    },
    "date": "2024-04-07T01:00:00.000Z"
  }
]

Changes

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