NBA, NCAAB.Matches

Get match by id

Retrieve detailed match information by specifying the match id path parameter.

Fetched data will have additional information about the venue, weather forecast, matchStatistics for each team, injuries and events.

Note: Used to retrieve additional match information.

get/nba/matches/{id}

Request

Path parameters

idnumber required

Requested match id.

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",
    "venue": {
      "city": "Denver",
      "name": "Ball Arena",
      "state": "CO"
    },
    "forecast": {
      "status": "cloudy",
      "temperature": "11.97°C"
    },
    "matchStatistics": {
      "awayTeam": {
        "statistics": [
          {
            "name": "3PT Accuracy"
          }
        ]
      },
      "homeTeam": {
        "statistics": [
          {
            "name": "3PT Accuracy"
          }
        ]
      }
    },
    "events": [
      {
        "team": {
          "id": 3,
          "displayName": "Denver Nuggets",
          "name": "Nuggets",
          "logo": "https://highlightly.net/nba/images/teams/3.png",
          "abbreviation": "DEN"
        },
        "clock": "12:00",
        "period": "1st Quarter",
        "description": "Rudy Gobert vs. Nikola Jokic (Anthony Edwards gains possession)"
      }
    ],
    "predictions": {
      "prematch": [
        {
          "type": "prematch",
          "modelType": "three-way",
          "generatedAt": "2025-03-12T19:00:20.000Z",
          "description": "Team A is most likely to win the game against Team B.`",
          "probabilities": {
            "home": "30.22%",
            "draw": "0.00%",
            "away": "69.78%"
          }
        }
      ],
      "live": [
        {
          "type": "prematch",
          "modelType": "three-way",
          "generatedAt": "2025-03-12T19:00:20.000Z",
          "description": "Team A is most likely to win the game against Team B.`",
          "probabilities": {
            "home": "30.22%",
            "draw": "0.00%",
            "away": "69.78%"
          }
        }
      ]
    }
  }
]

Changes

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