Rugby.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
Not startedMatch has not been started yet.
First halfMatch is considered in play and is in the first half.
Second halfMatch is considered in play and is in the second half.
Extra timeGame was considered a draw in normal time. Additional extra time is needed to decide the winner.
Break timeShort pause to let the players recover, resolve temporary issues, attend to injuries and so on.
Half timeHalf time pause between first and second half.
PenaltiesPenalty shootout to decide the winner of the match.
FinishedMatch has been concluded.
Finished after extra timeMatch has been concluded in extra time.
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.
AwardedGame awarded to one of the teams when the other forfeits or specific circumstances have been met such as insufficient players, late arrival, team withdrawl, etc.
InterruptedAn issue arose that is preventing the game from continuing. Based on the interruption the game will either resume normal play or be abandoned.
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.
UnknownUnknown match coverage or state.
To be announcedMatch's start time will be updated or competing teams are not yet known.

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

Rugby matches example

get/rugby/matches

Request

Query parameters

leagueNamestring
Example:Six Nations U20
leagueIdnumber
Example:48440
datestring
Example:2024-03-08

Date that follows the YYYY-MM-DD format.

timezonestring
Example:Europe/London

Valid timezone identifier.

seasonnumber
Example:2024
homeTeamIdnumber
Example:384585
awayTeamIdnumber
Example:385436
homeTeamNamestring
Example:Italy U20
awayTeamNamestring
Example:Scotland U20
countryCodestring
Example:EU
countryNamestring
Example:Europe
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": 36224450,
      "week": "4",
      "date": "2024-03-08T19:15:00.000Z",
      "country": {
        "code": "EU",
        "name": "Europe",
        "logo": "https://example.com/logos/country/EU.png"
      },
      "awayTeam": {
        "id": 384585,
        "logo": "https://example.com/logos/team/90990.png",
        "name": "Italy U20"
      },
      "homeTeam": {
        "id": 384585,
        "logo": "https://example.com/logos/team/90990.png",
        "name": "Italy U20"
      },
      "league": {
        "id": 48440,
        "season": 2024,
        "name": "Six Nations U20",
        "logo": "https://example.com/logos/league/48440.png"
      },
      "state": {
        "description": "Finished",
        "score": "47 - 14"
      }
    }
  ],
  "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.