NBA, NCAAB.Matches

Get all matches

Refresh interval: Once a minute

Route returns only general match information. For additional match details check the matches/{matchId} route.

Retrieve a list of matches based on the requested query parameters.

At least one primary query parameter needs to be specified before you can retrieve the data (timezone, limit, offset are considered secondary).

You can specify the timezone field in combination with the date query parameter to get matches relevant to your location.

There are two other important parameters. The limit parameter defines what the number of returned matches will be. If the number of actual matches is above the limit value you can make subsequent requests by increasing the offset value.

Matches have different possible states they can be in:

StateDescription
PostponedMatch has been postponed due to certain circumstances that are preventing the game from being played. Event start time will be changed to a moment in the future.
SuspendedMatch has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
CancelledGame will not be played.
AbandonedConsidered "abandoned" when it is prematurely ended by the officials and can not be resumed or completed. In the future the game might be resumed from the exact point where it was halted.
FinishedMatch has been concluded.
ScheduledMatch has not been started yet.
End periodBreak time between periods.
Half timeHalf time pause between second and third quarter.
In progressGame is currently in progress.
UnknownUnknown match coverage or state.

Below is an example of what you can aim to achieve with the matches endpoint:

Nba matches example

get/nba/matches

Request

Query parameters

leaguestring
Example:NBA
datestring
Example:2024-05-20

Date that follows the YYYY-MM-DD format.

timezonestring
Example:Europe/London

Valid timezone identifier.

seasonnumber
Example:2024
homeTeamIdnumber
Example:3
awayTeamIdnumber
Example:41
homeTeamNamestring
Example:Nuggets
awayTeamNamestring
Example:Timberwolves
homeTeamAbbreviationstring
Example:DEN
awayTeamAbbreviationstring
Example:MIN
homeTeamDisplayNamestring
Example:Denver Nuggets
awayTeamDisplayNamestring
Example:Minnesota Timberwolves
limitnumber
Example:100
offsetnumber

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

Example response

{
  "data": [
    {
      "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"
    }
  ],
  "pagination": {
    "totalCount": 490,
    "offset": 20,
    "limit": 100
  },
  "plan": {
    "tier": "BASIC",
    "message": "Some results might be hidden with FREE tier. Check your API coverage for more information: https://rapidapi.com/highlightly-api-highlightly-api-default/api/sport-highlights-api/details"
  }
}

Changes

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