Sports API | Highlightly (6.4.2)

Download OpenAPI specification:Download

Get ready for real time Sport live scores, player statistics, match lineups & predictions, live events, standings, highlights, game recaps, fouls, and post-match interviews on a global scale. Integrate a wide spectrum of pre-match and live game odds into your projects for a complete sports data solution.

Supported sports

Sport Coverage
Football +850 leagues
Basketball +340 leagues
Hockey +170 leagues
Baseball MLB, NCAA
American Football NFL, NCAA
Cricket +1400 leagues
Rugby +100 leagues
Handball +185 leagues
Volleyball +220 leagues
NBA, NCAAB
NHL, NCAAH

Contact

For feature requests, questions, private plans or business inquiries you can contact us at [email protected].

You can also contact us via RapidAPI by starting a discussion or by sending us a private message.

Integration

To start using our API services you will first need to create an account via Highlightly or RapidAPI. Both platforms offer you the ability to view the API analytics, manage billing settings, control API keys and much more. However, there are a few differences. RapidAPI does not include custom plans nor does it provide long term plan discounts.

Accounts are not synced across platforms.

Please ensure that your API key is not made public to prevent potential abuse. Your API key can be managed either through Highlightly or RapidAPI.

API usage

Highlightly API base url: https://sports.highlightly.net

RapidAPI API base url: https://sport-highlights-api.p.rapidapi.com

Each API request will be considered valid only if the following headers are present:

Request Header Value
x-rapidapi-key Your Highlightly or RapidAPI API Key
x-rapidapi-host sport-highlights-api.p.rapidapi.com - only needed for usage through RapidAPI

These headers are mandatory when requesting API data. They are not needed when requesting other resources such as logos or images.

Each API response will contain additional headers. The following three are considered the most important for developers:

Response Header Value
x-ratelimit-requests-limit This is a static value indicating the number of requests the plan you are currently subscribed to allows you to make.
x-ratelimit-requests-remaining The number of requests remaining (from your plan) before you reach the limit of requests your application is allowed to make. When this reaches zero, you will not be able to make any requests until your daily quota is reset. You can view these limits and quotas on the pricing page of the API in the API Hub.
content-type Value will always be application/json. XML format is not supported.

In the following sections we will guide you through all endpoints and functionalities the API has to offer.

Sports API

Football.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=France
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2023
leagueName
string
Example: leagueName=Superettan
countryCode
string
Example: countryCode=SE

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Sweden
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising the name query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Skövde AIK
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.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:

State Description
Not started Match has not been started yet.
First half Match is considered in play and is in the first half.
Second half Match is considered in play and is in the second half.
Half time Half time pause between first and second half.
Extra time Game was considered a draw in normal time. Additional extra time is needed to decide the winner.
Break time Short pause between in play periods and extra time.
Penalties Penalty shootout to decide the winner of the match.
Finished Match has been concluded.
Finished after penalties Match has been concluded with the penalty shootout.
Finished after extra time Match has been concluded in extra time.
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Awarded Game 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.
Interrupted An issue arose that is preventing the game from continuing. Based on the interruption the game will either resume normal play or be abandoned.
Abandoned Considered "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.
In progress Match is considered in play but the coverage information is minimal.
Unknown Unknown match coverage or state.
To be announced Match'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:

Football matches example

query Parameters
leagueName
string
Example: leagueName=Superettan
leagueId
number
Example: leagueId=97798
date
string
Example: date=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
homeTeamId
number
Example: homeTeamId=5700782
awayTeamId
number
Example: awayTeamId=1907875
homeTeamName
string
Example: homeTeamName=Skövde AIK
awayTeamName
string
Example: awayTeamName=Vasteras SK FK
countryCode
string
Example: countryCode=SE

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Sweden
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Certain popular leagues and their associated matches will have additional data about the venue, weather forecast, match statistics, match news and who the game's referee is. The retrieved data will also contain a list of important events that happened:

Type Description
Goal A player strikes the ball into the opposing team's goal.
Own Goal A player strikes or deflects the ball into their own team's goal.
Penalty A player scores the goal from the penalty spot after a foul or hand play by the defending team inside the penalty area.
Missed Penatly The player taking the penalty kick failed to score, either by missing the target or the shot being saved by the goalkeeper.
Yellow Card A player is cautioned by the referee for unsporting behavior or foul play.
Red Card A player is sent off the field for serious foul play, violent conduct, or receiving a second yellow card.
Substitution A player is replaced by another player from the bench during a stoppage in play.
VAR Goal Confirmed The Video Assistant Referee (VAR) review confirms that a goal is valid and should stand.
VAR Goal Cancelled The VAR review determines that a goal should be disallowed due to an infringement or violation.
VAR Penalty The VAR review results in a penalty being awarded to a team.
VAR Penalty Cancelled The VAR review results in a previously awarded penalty being overturned.
VAR Goal Cancelled - Offside The VAR review determines that a goal should be disallowed due to an offside infringement.

The above list may be updated with additional entries in the future.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=TR

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Turkey
leagueName
string
Example: leagueName=Süper Lig
leagueId
number
Example: leagueId=173537
date
string
Example: date=2023-08-11

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
matchId
number
Example: matchId=914490490
homeTeamId
number
Example: homeTeamId=850082
awayTeamId
number
Example: awayTeamId=856039
homeTeamName
string
Example: homeTeamName=Trabzonspor
awayTeamName
string
Example: awayTeamName=Antalyaspor
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Football.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Full Time Result The possible outcomes for the mentioned market are Home, Draw or Away.
Asian Handicap This is considered a complex market. It is split into multiple possible variants such as "Asian Handicap -1.25/+1.25", "Asian Handicap -1.5/+1.5" and so on. The possible outcome of a variant is either Home or Away.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Total Goals This is considered a complex market. It is split into multiple possible variants such as "Total Goals 2", "Total Goals 3.5" and so on. The possible outcome of a variant is either Over or Under.
Both Teams to Score The market defines whether both teams will score or not. Outcomes can be either Yes or No.
Correct Score This is considered a complex market. It is split into multiple possible variants such as "Correct Score 2 : 0", "Correct Score 1 : 1" and so on. There is only a single possible outcome of the variant.
First Team to Score The market defines which team will be the first one to score a goal. Outcomes can be either Home, Away or None when no team scores a goal.
Total Cards This is considered a complex market. It is split into multiple possible variants such as "Total Cards 4", "Total Cards 5.25" and so on. The possible outcome of a variant is either Over or Under.
Clean Sheet The Clean Sheet market defines whether the home or away team will not concede any goals. Outcomes can be either Home or Away. If the game results in a 0 : 0 score, both outcomes are considered winning.
Total Corners This is considered a complex market. It is split into multiple possible variants such as "Total Corners 11.5", "Total Corners 12.5" and so on. The possible outcome of a variant is either Over or Under.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueId
number
leagueName
string
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=1
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=Stake.com
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Football.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=33973
season
required
number
Example: season=2023
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "groups": [
    ],
  • "league": {}
}

Football.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

query Parameters
teamId
required
number
Example: teamId=5700782
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=314803
teamIdTwo
required
number
Example: teamIdTwo=5700782
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Lineups

Get linups by match id

Lineups will become available 30 minutes before the game starts or, at the latest, 15 minutes after kickoff.

Refresh interval: Once every 10 minutes

Retrieve home and away team lineups for a specific match.

Understanding the returned data structure is crucial for accurate rendering. The formation and initialLineup fields are closely related. The first row will always include the team's goalkeeper, while subsequent rows will have the number of entries specified by the formation field.

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

Football lineups example

path Parameters
matchId
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "homeTeam": {
    },
  • "awayTeam": {
    }
}

Football.Statistics

Get match statistics by match id

Refresh interval: Once every 5 minutes

Retrieve match statistics data by specifying the matchId as the path parameter.

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

Football statistics example

path Parameters
matchId
required
number

Requested statistics for given match id

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Live Events

Get live events by match id

Refresh interval: Once a minute

Retrieve a list of live events for a match by specifying matchId as the path parameter.

Currently supported live events:

Type Description
Goal A player strikes the ball into the opposing team's goal.
Own Goal A player strikes or deflects the ball into their own team's goal.
Penalty A player scores the goal from the penalty spot after a foul or hand play by the defending team inside the penalty area.
Missed Penatly The player taking the penalty kick failed to score, either by missing the target or the shot being saved by the goalkeeper.
Yellow Card A player is cautioned by the referee for unsporting behavior or foul play.
Red Card A player is sent off the field for serious foul play, violent conduct, or receiving a second yellow card.
Substitution A player is replaced by another player from the bench during a stoppage in play.
VAR Goal Confirmed The Video Assistant Referee (VAR) review confirms that a goal is valid and should stand.
VAR Goal Cancelled The VAR review determines that a goal should be disallowed due to an infringement or violation.
VAR Penalty The VAR review results in a penalty being awarded to a team.
VAR Penalty Cancelled The VAR review results in a previously awarded penalty being overturned.
VAR Goal Cancelled - Offside The VAR review determines that a goal should be disallowed due to an offside infringement.

The above list may be updated with additional entries in the future.

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

Football live events example

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Football.Players

Get all players

Refresh interval: 15 minutes

Route returns only general player information. For additional player details check the players/{playerId} and players/{playerId}/statistics routes.

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

Returned results will be paginated. The limit parameter defines what the number of returned players will be. If the number of actual players is above the limit value you can make subsequent requests by increasing the offset value.

query Parameters
name
string
Example: name=Ivan Perišić
limit
number [ 0 .. 1000 ]
Default: 1000
Example: limit=1000
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get player summary by player id

Refresh interval: Once a day

Retrieve detailed player summary for specified playerId.

Detailed player summary consists of the following information:

Type Description
Profile Provides a structured summary of a football player's personal and professional profile. It includes key details such as current club affiliation, contract timelines, physical attributes (height, preferred foot), biographical data (name, birth date, birthplace, citizenship), and playing positions. The data reflects both the player's current career status and positional versatility, offering a higher level overview which is useful for scouting, analysis, or profile display.
Rumours Rumours field provides an overview of a football player's transfer rumours. It distinguishes between current and historical speculation. Each entry includes the date the rumour emerged and, when available, a transfer probability indicating the estimated likelihood of the move. This data helps track the player's visibility and perceived value in the transfer market over time.
Related news Contains a list of news articles related to a football player, offering a historical record of media coverage. Each entry includes the article's title, publication date, and a link to the full content. The topics span various aspects of the player's career and broader football developments, including transfer moves, international appearances, squad analysis, and club strategies. This data helps illustrate the player's visibility in the media and contextualizes their role within the football landscape over time.
Transfers Outlines the complete transfer history of a football player, detailing their movement between clubs over the course of their career. Each entry includes the destination and origin clubs, the type of transfer (such as transfer, loan, or end of loan), the season in which the move occurred, the player's market value at the time, and the transfer fee when applicable. Transfer history provides us with a comprehensive view of the player’s mobility, market trajectory, and contractual developments across multiple leagues and stages of their career.

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

Player summary example

path Parameters
id
required
number

Requested player id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get player statictis by player id

Refresh interval: Once a day

Retrieve detailed player statistics for specified playerId.

Detailed player statistics is split into perClub and perCompetition aggregation. The following statistics are available:

Type Description
Goals Number of goals scored by the player.
Assists Number of assists provided by the player.
Own goals Number of goals accidentally scored against the player's own team.
Red cards Number of direct red cards received.
Clean sheets Number of matches where no goals were conceded (mostly relevant for goalkeepers).
Games played Total number of matches the player appeared in.
Yellow cards Number of yellow cards received.
Goals conceded Number of goals the team conceded while the player was on the pitch (mainly for goalkeepers).
Minutes played Total number of minutes the player was on the field.
Substituted in Number of times the player came on as a substitute.
Substituted out Number of times the player was substituted off.
Penalties scored Number of penalty goals scored.
Second yellow cards Number of second yellow cards leading to a red card.

Additionally, the competitions are split into multiple categories:

Type Description
National league A country's main domestic competition where clubs play each other over a season (e.g., Premier League, La Liga).
National cup A domestic knockout tournament open to clubs from different divisions (e.g., FA Cup, Copa del Rey).
International cup A tournament involving clubs from multiple countries (e.g., UEFA Champions League, Copa Libertadores).

Player stats example

path Parameters
id
required
number

Requested player id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

American Football.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising either league, name, displayName or abbreviation query parameters you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
name
string
Example: name=Bengals
displayName
string
Example: displayName=Cincinnati Bengals
abbreviation
string
Example: abbreviation=CIN
league
string
Example: league=NFL
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

American Football.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:

State Description
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Abandoned Considered "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.
Finished Match has been concluded.
Scheduled Match has not been started yet.
End period Break time between periods.
Half time Half time pause between second and third quarter.
In progress Game is currently in progress.
Unknown Unknown match coverage or state.

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

American football matches example

query Parameters
league
string
Example: league=NFL
date
string
Example: date=2024-08-23

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
homeTeamId
number
Example: homeTeamId=92730
awayTeamId
number
Example: awayTeamId=92731
homeTeamName
string
Example: homeTeamName=Bengals
awayTeamName
string
Example: awayTeamName=Colts
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=CIN
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=IND
homeTeamDisplayName
string
Example: homeTeamDisplayName=Cincinnati Bengals
awayTeamDisplayName
string
Example: awayTeamDisplayName=Indianapolis Colts
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

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, overallStatistics for each team, injuries and events.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

American Football.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
leagueName
string
Example: leagueName=NCAA
date
string
Example: date=2024-08-31

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
matchId
number
Example: matchId=49130
homeTeamId
number
Example: homeTeamId=92884
awayTeamId
number
Example: awayTeamId=92885
homeTeamName
string
Example: homeTeamName=Boilermakers
awayTeamName
string
Example: awayTeamName=Sycamores
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=PUR
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=INST
homeTeamDisplayName
string
Example: homeTeamDisplayName=Purdue Boilermakers
awayTeamDisplayName
string
Example: awayTeamDisplayName=Indiana State Sycamores
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested highlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

American Football.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

query Parameters
teamId
required
number
Example: teamId=92730
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

American Football.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=92730
teamIdTwo
required
number
Example: teamIdTwo=92731
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

American Football.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

American Football.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Full Time Result The possible outcomes for the mentioned market are Home, Away or Draw.
Moneyline When a match does not have a three-way moneyline it will have a two-way one instead. The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Totals This is considered a complex market. It is split into multiple possible variants such as "Totals 25", "Totals 25.5" and so on. The possible outcome of a variant is either Over or Under.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueName
string
Example: leagueName=NFL
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=21454
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=Stake.com
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

American Football.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

There are numerous ways on how to fetch the data. You can utilise either abbreviation or leagueName:

League Name Abbreviation
American Athletic Conference AAC
Atlantic Coast Conference ACC
Big 12 Conference BIG12
Big Ten Conference BIG10
American Football Conference AFC
National Football Conference NFC
Conference USA USA
Mid-American Conference MIDAM
Mountain West Conference MWEST
Pac-12 Conference PAC12
Sun Belt - West BELTW
FBS Independents IND
Southeastern Conference SEC
Sun Belt - East BELTE
National Football Conference NFC
American Football Conference AFC

Additionally you can specify the year parameter to narrow down the the standings for that season.

There are two other important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned standings will be. If the number of actual standings is above the limit value you can make subsequent requests by increasing the offset value.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueType
string
Example: leagueType=NFL
limit
number [ 0 .. 10 ]
Default: 10
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
leagueName
string
Example: leagueName=National Football Conference
abbreviation
string
Example: abbreviation=NFC
year
number
Example: year=2024
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "leagueName": "American Football Conference",
  • "abbreviation": "AFC",
  • "year": 2024,
  • "leagueType": "NFL",
  • "seasonType": "Preseason",
  • "startDate": "2024-08-01T07:00:00.000Z",
  • "endDate": "2024-09-05T06:59:00.000Z",
  • "data": []
}

Basketball.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=Australia
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Basketball.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:

State Description
Not started Match has not been started yet.
First quarter Match is considered in play and is in the first period.
Second quarter Match is considered in play and is in the second period.
Third quarter Match is considered in play and is in the third period.
Fourth quarter Match is considered in play and is in the fourth period.
Over time Game was considered a draw in normal time. Additional extra time is needed to decide the winner.
Break time Regulation period between quarters or over time.
Half time Half time pause between second and third quarter.
Finished Match has been concluded.
Finished after over time Match has been concluded in over time.
Postponed Match 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.
Cancelled Game will not be played.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Awarded Game 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.
Abandoned Considered "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.
Unknown Unknown match coverage or state.
To be announced Match'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:

Basketball matches example

query Parameters
leagueName
string
Example: leagueName=NBL
leagueId
number
Example: leagueId=1635
date
string
Example: date=2023-10-01

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
homeTeamId
number
Example: homeTeamId=7592
awayTeamId
number
Example: awayTeamId=1635
homeTeamName
string
Example: homeTeamName=Adelaide
awayTeamName
string
Example: awayTeamName=Melbourne United
countryCode
string
Example: countryCode=AU
countryName
string
Example: countryName=Australia
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Certain popular leagues and their associated matches will have additional data about the venue, match weather forecast, both teams statistics and the news.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Basketball.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=AU

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Australia
leagueName
string
Example: leagueName=NBL
leagueId
number
Example: leagueId=1635
date
string
Example: date=2023-10-01

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
matchId
number
Example: matchId=299340885
homeTeamId
number
Example: homeTeamId=7592
awayTeamId
number
Example: awayTeamId=1635
homeTeamName
string
Example: homeTeamName=Adelaide
awayTeamName
string
Example: awayTeamName=Melbourne United
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Basketball.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2023
leagueName
string
Example: leagueName=NBL
countryCode
string
Example: countryCode=AU

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Australia
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Basketball.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising the name query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Adelaide
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Basketball.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Basketball.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
3-Way Moneyline The possible outcomes for the three-way moneyline market are Home, Draw or Away.
Moneyline When a match does not have a three-way moneyline it will have a two-way one instead. The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Total Points This is considered a complex market. It is split into multiple possible variants such as "Total Points 204.5", "Total Points 209.5" and so on. The possible outcome of a variant is either Over or Under.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Spread This is considered a complex market. It is split into multiple possible variants such as "Spread -28.5/+28.5", "Spread -21.25/+21.25 " and so on. The possible outcome of a variant is either Home or Away.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueId
number
leagueName
string
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=75
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=Powbet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Basketball.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

query Parameters
teamId
required
number
Example: teamId=1635
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Basketball.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=1635
teamIdTwo
required
number
Example: teamIdTwo=7592
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Basketball.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=2486
season
required
number
Example: season=2023
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Basketball.Statistics

Get match statistics by match id

Refresh interval: Once every 5 minutes

Retrieve match statistics data by specifying the matchId as the path parameter.

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

Basketball statistics example

path Parameters
matchId
required
number

Requested statistics for given match id

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=Germany
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=DE

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Germany
leagueName
string
Example: leagueName=DEL
leagueId
number
Example: leagueId=16953
date
string
Example: date=2023-10-13

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
matchId
number
Example: matchId=291869956
homeTeamId
number
Example: homeTeamId=223746
awayTeamId
number
Example: awayTeamId=214385
homeTeamName
string
Example: homeTeamName=Frankfurt Lowen
awayTeamName
string
Example: awayTeamName=Kolner
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2023
leagueName
string
Example: leagueName=DEL
countryCode
string
Example: countryCode=DE

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Germany
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.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:

State Description
Not started Match has not been started yet.
1st period Match is in the first period of regular play.
2nd period Match is in the second period of regular play.
3nd period Match is in the third period of regular play.
Over time Game was considered a draw in normal time. Additional extra time is needed to decide the winner.
Break time Short pause between in play periods and over time.
Penalties Penalty shootout to decide the winner of the match.
Finished Match has been concluded.
Finished after penalties Match has been concluded with the penalty shootout.
Finished after over time Match has been concluded in over time.
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Awarded Game 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.
Interrupted An issue arose that is preventing the game from continuing. Based on the interruption the game will either resume normal play or be abandoned.
Abandoned Considered "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.
Unknown Unknown match coverage or state.
To be announced Match'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:

Hockey matches example

query Parameters
leagueName
string
Example: leagueName=DEL
leagueId
number
Example: leagueId=16953
date
string
Example: date=2023-10-13

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
homeTeamId
number
Example: homeTeamId=223746
awayTeamId
number
Example: awayTeamId=214385
homeTeamName
string
Example: homeTeamName=Frankfurt Lowen
awayTeamName
string
Example: awayTeamName=Kolner
countryCode
string
Example: countryCode=DE
countryName
string
Example: countryName=Germany
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Certain popular leagues and their associated matches will have additional data about the venue and match weather forecast.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Hockey.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising the name query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Frankfurt Lowen
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Hockey.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
3-Way Moneyline The possible outcomes for the three-way moneyline market are Home, Draw or Away.
Moneyline When a match does not have a three-way moneyline it will have a two-way one instead. The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Total Goals This is considered a complex market. It is split into multiple possible variants such as "Total Goals 8", "Total Goals 8.5" and so on. The possible outcome of a variant is either Over or Under.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Both Teams to Score The market defines whether both teams will score or not. Outcomes can be either Yes or No.
Correct Score This is considered a complex market. It is split into multiple possible variants such as "Correct Score 2 : 0", "Correct Score 1 : 1" and so on. There is only a single possible outcome of the variant.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueId
number
leagueName
string
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=19
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=1Bet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Hockey.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

query Parameters
teamId
required
number
Example: teamId=214385
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=214385
teamIdTwo
required
number
Example: teamIdTwo=223746
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Hockey.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=130987
season
required
number
Example: season=2022
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Rugby.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=Europe
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Rugby.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=EU

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Europe
leagueName
string
Example: leagueName=Six Nations U20
leagueId
number
Example: leagueId=48440
date
string
Example: date=2024-03-08

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
matchId
number
Example: matchId=36224450
homeTeamId
number
Example: homeTeamId=384585
awayTeamId
number
Example: awayTeamId=385436
homeTeamName
string
Example: homeTeamName=Italy U20
awayTeamName
string
Example: awayTeamName=Scotland U20
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Rugby.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2024
leagueName
string
Example: leagueName=Six Nations U20
countryCode
string
Example: countryCode=EU

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Europe
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

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:

State Description
Not started Match has not been started yet.
First half Match is considered in play and is in the first half.
Second half Match is considered in play and is in the second half.
Extra time Game was considered a draw in normal time. Additional extra time is needed to decide the winner.
Break time Short pause to let the players recover, resolve temporary issues, attend to injuries and so on.
Half time Half time pause between first and second half.
Penalties Penalty shootout to decide the winner of the match.
Finished Match has been concluded.
Finished after extra time Match has been concluded in extra time.
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Awarded Game 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.
Interrupted An issue arose that is preventing the game from continuing. Based on the interruption the game will either resume normal play or be abandoned.
Abandoned Considered "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.
Unknown Unknown match coverage or state.
To be announced Match'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

query Parameters
leagueName
string
Example: leagueName=Six Nations U20
leagueId
number
Example: leagueId=48440
date
string
Example: date=2024-03-08

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
homeTeamId
number
Example: homeTeamId=384585
awayTeamId
number
Example: awayTeamId=385436
homeTeamName
string
Example: homeTeamName=Italy U20
awayTeamName
string
Example: awayTeamName=Scotland U20
countryCode
string
Example: countryCode=EU
countryName
string
Example: countryName=Europe
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Certain popular leagues and their associated matches will have additional data about the venue, match weather forecast, who the game's referee is and lineups.

Every player on the team, whether in the starting lineup or on the bench, is assigned a specific position type:

Position Description
Forward Competes for possession in scrums and rucks.
Back Handles attacking and passing play.
Full Back Defends deep and returns kicks.
Prop Front-row player in the scrum.
Unknown (null) Position not specified or unclear.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Rugby.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising the name query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Italy U20
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Rugby.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Marathonbet
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Rugby.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Full Time Result The possible outcomes for the mentioned market are Home, Draw or Away.
Home/Away The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Over/Under This is considered a complex market. It is split into multiple possible variants such as "Over/Under 65.5", "Over/Under 63.5" points and so on. The possible outcome of a variant is either Over or Under.
Asian Handicap This is considered a complex market. It is split into multiple possible variants such as "Asian Handicap -26.5/+26.5", "Asian Handicap -27.5/+27.5" and so on. The possible outcome of a variant is either Home or Away.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueId
number
leagueName
string
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=1
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=Fezbet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Rugby.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

query Parameters
teamId
required
number
Example: teamId=384585
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Rugby.Head 2 Head

Get head 2 head data for a specific set of teams.

Retrieve a list of head 2 head games played for given team ids.

query Parameters
teamIdOne
required
number
Example: teamIdOne=385436
teamIdTwo
required
number
Example: teamIdTwo=384585
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Rugby.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=69715
season
required
number
Example: season=2022
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Handball.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=Germany
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Handball.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=DE

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Germany
leagueName
string
Example: leagueName=1. Bundesliga Women
leagueId
number
Example: leagueId=36526
date
string
Example: date=2023-12-27

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
matchId
number
Example: matchId=127621850
homeTeamId
number
Example: homeTeamId=302038
awayTeamId
number
Example: awayTeamId=332674
homeTeamName
string
Example: homeTeamName=Bensheim-Auerbach W
awayTeamName
string
Example: awayTeamName=Solingen W
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Handball.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2023
leagueName
string
Example: leagueName=1. Bundesliga Women
countryCode
string
Example: countryCode=DE

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Germany
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Handball.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:

State Description
Not started Match has not been started yet.
First half Match is considered in play and is in the first half.
Second half Match is considered in play and is in the second half.
Half time Half time pause between first and second half.
Extra time Game was considered a draw in normal time. Additional extra time is needed to decide the winner.
Break time Short pause between in play periods and extra time.
Penalties Penalty shootout to decide the winner of the match.
Finished Match has been concluded.
Finished after penalties Match has been concluded with the penalty shootout.
Finished after extra time Match has been concluded in extra time.
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Awarded Game 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.
Interrupted An issue arose that is preventing the game from continuing. Based on the interruption the game will either resume normal play or be abandoned.
Abandoned Considered "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.
Unknown Unknown match coverage or state.
To be announced Match'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:

Handball matches example

query Parameters
leagueName
string
Example: leagueName=1. Bundesliga Women
leagueId
number
Example: leagueId=36526
date
string
Example: date=2023-12-27

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
homeTeamId
number
Example: homeTeamId=302038
awayTeamId
number
Example: awayTeamId=332674
homeTeamName
string
Example: homeTeamName=Bensheim-Auerbach W
awayTeamName
string
Example: awayTeamName=Solingen W
countryCode
string
Example: countryCode=DE
countryName
string
Example: countryName=Germany
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Certain popular leagues and their associated matches will have additional data about the venue and match weather forecast.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Handball.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising the name query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Solingen W
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Handball.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Handball.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Full Time Result The possible outcomes for the mentioned market are Home, Draw or Away.
Home/Away The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Over/Under This is considered a complex market. It is split into multiple possible variants such as "Over/Under 62.5", "Over/Under 57.5" points and so on. The possible outcome of a variant is either Over or Under.
Asian Handicap This is considered a complex market. It is split into multiple possible variants such as "Asian Handicap -0.5/+0.5", "Asian Handicap -4.5/+4.5" and so on. The possible outcome of a variant is either Home or Away.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueId
number
leagueName
string
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=3
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=22Bet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Handball.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

query Parameters
teamId
required
number
Example: teamId=302038
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Handball.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=881569
teamIdTwo
required
number
Example: teamIdTwo=892632
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Handball.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=171835
season
required
number
Example: season=2024
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Volleyball.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=Italy
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Volleyball.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=IT

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Italy
leagueName
string
Example: leagueName=SuperLega
leagueId
number
Example: leagueId=83331
date
string
Example: date=2023-12-30

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
matchId
number
Example: matchId=126347903
homeTeamId
number
Example: homeTeamId=630524
awayTeamId
number
Example: awayTeamId=631375
homeTeamName
string
Example: homeTeamName=Trentino
awayTeamName
string
Example: awayTeamName=Cisterna
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Volleyball.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2023
leagueName
string
Example: leagueName=SuperLega
countryCode
string
Example: countryCode=IT

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Italy
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Volleyball.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:

State Description
Not started Match has not been started yet.
First set Match is considered in play and is in the first set.
Second set Match is considered in play and is in the second set.
Third set Match is considered in play and is in the third set.
Fourth set Match is considered in play and is in the fourth set.
Fifth set Match is considered in play and is in the fifth set.
Finished Match has been concluded.
Postponed Match 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.
Cancelled Game will not be played.
Awarded Game 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.
Interrupted An issue arose that is preventing the game from continuing. Based on the interruption the game will either resume normal play or be abandoned.
Abandoned Considered "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.
Unknown Unknown match coverage or state.
To be announced Match'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:

Volleyball matches example

query Parameters
leagueName
string
Example: leagueName=SuperLega
leagueId
number
Example: leagueId=83331
date
string
Example: date=2023-12-30

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
homeTeamId
number
Example: homeTeamId=630524
awayTeamId
number
Example: awayTeamId=631375
homeTeamName
string
Example: homeTeamName=Trentino
awayTeamName
string
Example: awayTeamName=Cisterna
countryCode
string
Example: countryCode=IT
countryName
string
Example: countryName=Italy
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Certain popular leagues and their associated matches will have additional data about the venue and match weather forecast.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Volleyball.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising the name query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Trentino
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Volleyball.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Volleyball.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Match Winner The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Total Sets This is considered a complex market. It is split into multiple possible variants such as "Total Sets 3.5", "Total Sets 4.5" and so on. The possible outcome of a variant is either Over or Under.
Total Points This is considered a complex market. It is split into multiple possible variants such as "Total Points 172.5", "Total Points 174.5" and so on. The possible outcome of a variant is either Over or Under.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Correct Score This is considered a complex market. It is split into multiple possible variants such as "Correct Score 3 : 0", "Correct Score 3 : 1" and so on. There is only a single possible outcome of the variant.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueId
number
leagueName
string
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=2
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=22Bet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Volleyball.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

query Parameters
teamId
required
number
Example: teamId=630524
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Volleyball.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=630524
teamIdTwo
required
number
Example: teamIdTwo=631375
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Volleyball.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=150560
season
required
number
Example: season=2020
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Cricket.Countries

Get all countries

Refresh interval: Once a day

Retrieve a list of countries that are supported by the API.

By utilising the name query parameter you can check whether a specific country exists or simply retrieve the associated data.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

Below is an example of supported countries and their associated logos: Countries example

query Parameters
name
string
Example: name=Australia
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get country by country code

Refresh interval: Once a day

Retrieve associated country details by specifying the country code path parameter. The path parameter should follow the ISO 3166 standard.

Country name and code can be used to query other resources such as matches, leagues, highlights, etc.

path Parameters
countryCode
required
string

A string value code of the country, following the ISO 3166 standard.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Cricket.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
countryCode
string
Example: countryCode=AU

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Australia
leagueName
string
Example: leagueName=Big Bash League
leagueId
number
Example: leagueId=48513362
date
string
Example: date=2024-01-13

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
matchId
number
Example: matchId=48514657
homeTeamId
number
Example: homeTeamId=17838627
awayTeamId
number
Example: awayTeamId=17838662
homeTeamName
string
Example: homeTeamName=Melbourne Renegades
awayTeamName
string
Example: awayTeamName=Melbourne Stars
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=MR
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=MS
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Cricket.Leagues

Get all leagues

Refresh interval: Multiple times a day

Retrieve a list of leagues.

By utilising the leagueName query parameter you can check whether a specific league exists or simply retrieve the associated data. You can also narrow down your search by specifying the countryCode or countryName query parameters.

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

The league information and their associated seasons can be used to request data from other endpoints such as standings.

query Parameters
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
season
number >= 0
Example: season=2023
leagueName
string
Example: leagueName=Big Bash League
countryCode
string
Example: countryCode=AU

Country code specified by the ISO 3166 standard.

countryName
string
Example: countryName=Australia
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get league by id

Retrieve league information by specifying the league id path parameter.

Note: Used to check whether a league still exists or had its information updated.

path Parameters
id
required
number

Requested league id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Cricket.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:

State Description
Finished Match has been concluded.
Unknown The status of the match is not known.
No live coverage There is no live coverage for the match.
In play The match is currently in progress.
Stumps The end of a day's play in a multi-day match (e.g. Test match).
Lunch The break taken during lunch time in a match.
Innings break The interval between the end of one innings and the start of the next.
Drinks A short break for players to have drinks.
Timeout A strategic break taken during the match.
Tea The break taken during tea time in a match, typically in Test matches.
Scheduled The match is planned and scheduled to be played.
Match delayed The match start or continuation is delayed, often due to weather or other interruptions.
Cancelled The match has been cancelled and will not be played.
Postponed Match 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.
Abandoned The match has started but is stopped and will not continue, typically due to weather or other uncontrollable circumstances.

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

Cricket matches example

query Parameters
leagueName
string
Example: leagueName=Big Bash League
leagueId
number
Example: leagueId=48513362
date
string
Example: date=2024-01-13

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2023
homeTeamId
number
Example: homeTeamId=17838627
awayTeamId
number
Example: awayTeamId=17838662
homeTeamName
string
Example: homeTeamName=Melbourne Renegades
awayTeamName
string
Example: awayTeamName=Melbourne Stars
countryCode
string
Example: countryCode=AU
countryName
string
Example: countryName=Australia
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=MR
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=MS
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get match by id

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

Fetched data will have additional information about the venue and weather forecast.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Cricket.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising either the name or abbreviation query parameter you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
limit
number [ 0 .. 500 ]
Default: 500
Example: limit=50
offset
number >= 0
Default: 0
Example: offset=0
name
string
Example: name=Melbourne Stars
abbreviation
string
Example: abbreviation=MS
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Cricket.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=22Bet
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Cricket.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Full Time Result The possible outcomes for the mentioned market are Home or Away.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Over/Under This is considered a complex market. It is split into multiple possible variants such as "Over/Under 376.5 ", "Over/Under 378.5" and so on. The possible outcome of a variant is either Over or Under.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueName
string
leagueId
number
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=3
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=22Bet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Cricket.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

query Parameters
teamId
required
number
Example: teamId=17838662
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Cricket.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=17838627
teamIdTwo
required
number
Example: teamIdTwo=17838662
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Cricket.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

Endpoint requires both leagueId and season query parameters to be specified before you can fetch the data.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueId
required
number
Example: leagueId=50036737
season
required
number
Example: season=2024
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "groups": [
    ],
  • "league": {}
}

Baseball.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
leagueName
string
Example: leagueName=NCAA
date
string
Example: date=2022-06-10

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2022
matchId
number
Example: matchId=343056
homeTeamId
number
Example: homeTeamId=10291525
awayTeamId
number
Example: awayTeamId=10291566
homeTeamName
string
Example: homeTeamName=Pirates
awayTeamName
string
Example: awayTeamName=Longhorns
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=ECU
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=TEX
homeTeamDisplayName
string
Example: homeTeamDisplayName=East Carolina
awayTeamDisplayName
string
Example: awayTeamDisplayName=Texas
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested highlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Baseball.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:

State Description
Finished Match has been concluded.
Postponed Match 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.
Scheduled Match has not been started yet.
Canceled Game will not be played.
Abandoned Considered "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.
In Progress Game is currently in progress.
Half Time Half time pause between first and second half.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Unknown Unknown match coverage or state.
Rain Delay Match has been delayed due to bad weather conditions. Will either be resumed or suspended.
Period End Break time between periods.

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

Baseball matches example

query Parameters
league
string
Example: league=MLB
date
string
Example: date=2024-08-31

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
homeTeamId
number
Example: homeTeamId=10291199
awayTeamId
number
Example: awayTeamId=10291203
homeTeamName
string
Example: homeTeamName=Rangers
awayTeamName
string
Example: awayTeamName=Athletics
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=TEX
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=OAK
homeTeamDisplayName
string
Example: homeTeamDisplayName=Texas Rangers
awayTeamDisplayName
string
Example: awayTeamDisplayName=Oakland Athletics
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

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, match stats, who the game's referees are, each team's rosters, and plays.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Baseball.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising either league, name, displayName or abbreviation query parameters you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
league
string
Example: league=MLB
name
string
Example: name=Rangers
displayName
string
Example: displayName=Texas Rangers
abbreviation
string
Example: abbreviation=TEX
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Baseball.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

There are numerous ways on how to fetch the data. You can utilise either abbreviation or leagueName:

League Name Abbreviation
American League (MLB) AL
National League (MLB) NL
NCAA Division I (CBASE) NCAA

Additionally you can specify the year parameter to narrow down the the standings for that season.

There are two other important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned standings will be. If the number of actual standings is above the limit value you can make subsequent requests by increasing the offset value.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueType
string
Example: leagueType=MLB
limit
number [ 0 .. 10 ]
Default: 10
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
leagueName
string
Example: leagueName=National League (MLB)
abbreviation
string
Example: abbreviation=NL
year
number
Example: year=2024
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Baseball.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Home/Away The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Over/Under This is considered a complex market. It is split into multiple possible variants such as "Over/Under 7.5", "Over/Under 9.5" points and so on. The possible outcome of a variant is either Over or Under.
Asian Handicap This is considered a complex market. It is split into multiple possible variants such as "Asian Handicap -0.5/+0.5", "Asian Handicap -1.5/+1.5" and so on. The possible outcome of a variant is either Home or Away.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueName
string
Example: leagueName=MLB
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=7122
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=Stake.com
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Baseball.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Megapari Sport
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Baseball.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

query Parameters
teamId
required
number
Example: teamId=10291525
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Baseball.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=10291175
teamIdTwo
required
number
Example: teamIdTwo=10291176
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NBA, NCAAB.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NBA, NCAAB.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=3
teamIdTwo
required
number
Example: teamIdTwo=23
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NBA, NCAAB.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
leagueName
string
Example: leagueName=NCAA
date
string
Example: date=2024-04-07

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
matchId
number
Example: matchId=9853
homeTeamId
number
Example: homeTeamId=11392
awayTeamId
number
Example: awayTeamId=11190
homeTeamName
string
Example: homeTeamName=Huskies
awayTeamName
string
Example: awayTeamName=Crimson Tide
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=CONN
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=ALA
homeTeamDisplayName
string
Example: homeTeamDisplayName=UConn Huskies
awayTeamDisplayName
string
Example: awayTeamDisplayName=Alabama Crimson Tide
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested highlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

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

query Parameters
teamId
required
number
Example: teamId=3
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

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:

State Description
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Abandoned Considered "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.
Finished Match has been concluded.
Scheduled Match has not been started yet.
End period Break time between periods.
Half time Half time pause between second and third quarter.
In progress Game is currently in progress.
Unknown Unknown match coverage or state.

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

American football matches example

query Parameters
league
string
Example: league=NBA
date
string
Example: date=2024-05-20

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
homeTeamId
number
Example: homeTeamId=3
awayTeamId
number
Example: awayTeamId=41
homeTeamName
string
Example: homeTeamName=Nuggets
awayTeamName
string
Example: awayTeamName=Timberwolves
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=DEN
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=MIN
homeTeamDisplayName
string
Example: homeTeamDisplayName=Denver Nuggets
awayTeamDisplayName
string
Example: awayTeamDisplayName=Minnesota Timberwolves
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

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, overallStatistics for each team, injuries and events.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NBA, NCAAB.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
Full Time Result The possible outcomes for the mentioned market are Home, Away or Draw.
Moneyline When a match does not have a three-way moneyline it will have a two-way one instead. The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Totals This is considered a complex market. It is split into multiple possible variants such as "Totals 25", "Totals 25.5" and so on. The possible outcome of a variant is either Over or Under.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Spread This is considered a complex market. It is split into multiple possible variants such as "Spread -28.5/+28.5", "Spread -21.25/+21.25 " and so on. The possible outcome of a variant is either Home or Away.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueName
string
Example: leagueName=NBA
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=284
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=Pinnacle
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

NBA, NCAAB.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

There are numerous ways on how to fetch the data. You can utilise either abbreviation or leagueName:

League Name Abbreviation
Eastern Conference EAST
Western Conference WEST
ASUN Conference A-SUN
America East Conference AEAST
American Athletic Conference AAC
Atlantic 10 Conference ATL10
Atlantic Coast Conference ACC
Big 12 Conference BIG12
Big East Conference BIGE
Big Sky Conference BSKY
Big South Conference BSOU
Big Ten Conference BIG10
Big West Conference BIGW
Coastal Athletic Association COL
Conference USA USA
Horizon League HOR
Ivy League IVY
Metro Atlantic Athletic Conference MAAC
Mid-American Conference MIDAM
Mid-Eastern Athletic Conference MEAC
Missouri Valley Conference MVC
Mountain West Conference MWEST
Northeast Conference NEAST
Patriot League PAT
Division I Independents IND
Western Conference WEST
Eastern Conference EAST
Ohio Valley Conference OVC
Pac-12 Conference PAC12
Southeastern Conference SEC
Southern Conference SOUTH
Southland Conference LAND
Southwestern Athletic Conference SWAC
Summit League SUMM
Sun Belt Conference BELT
West Coast Conference WCC
Western Athletic Conference WAC

Additionally you can specify the year parameter to narrow down the the standings for that season.

There are two other important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned standings will be. If the number of actual standings is above the limit value you can make subsequent requests by increasing the offset value.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueType
string
Example: leagueType=NCAA
limit
number [ 0 .. 10 ]
Default: 10
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
leagueName
string
Example: leagueName=America East Conference
abbreviation
string
Example: abbreviation=AEAST
year
number
Example: year=2024
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

NBA, NCAAB.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising either league, name, displayName or abbreviation query parameters you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
name
string
Example: name=Nuggets
displayName
string
Example: displayName=Denver Nuggets
abbreviation
string
Example: abbreviation=DEN
league
string
Example: league=NBA
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

NHL, NCAAH.Bookmakers

Get all bookmakers

Refresh interval: Once a day

Retrieve a list of supported bookmakers.

There are two important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned bookmakers will be. If the number of actual bookmakers is above the limit value you can make subsequent requests by increasing the offset value.

The bookmakers name or id can be used to filter data from the odds endpoint.

query Parameters
name
string
Example: name=Stake.com
limit
number [ 0 .. 100 ]
Default: 20
Example: limit=20
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

Get bookmaker by id

Retrieve bookmaker information by specifying the bookmaker id path parameter.

Note: Used to check whether a bookmaker still exists or had its information updated.

path Parameters
id
required
number

Requested bookmaker id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NHL, NCAAH.Head 2 Head

Get head 2 head games

Retrieve a list of the last ten head 2 head games between two teams. Compare the two teams to find out who is stronger based on their past match results.

Specify teamIdOne and teamIdTwo query parameters to retrieve the data. The order of team ids does not matter.

Below is an example of what you can achieve with the data:

H2H example

query Parameters
teamIdOne
required
number
Example: teamIdOne=1
teamIdTwo
required
number
Example: teamIdTwo=2
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NHL, NCAAH.Highlights

Get all highlights

Refresh interval: Once a minute

Note: Certain highlights might be uploaded whilst the game is playing. Full game recaps tend to be uploaded anywhere from 1 to 48 hours after a match is finished.

Highlights represent the core of our API. They include various different kinds of clips ranging from real time live events such as insane plays, last minute scores to full game recaps, pre/post match interviews.

Currently we aggregate videos from many different sources. Depending on the source and verification process we divide the clips into two categories:

Type Description
VERIFIED Videos come from reputable sources that have been thoroughly inspected. In most cases the clips are from official authors who own the copyrights to the video itself. The hosting platform can impose geo restrictions or prevent direct embedding (highlights/geo-restrictions/{highlightId} route can be used to check for potential restrictions). Verified highlights are uploaded anywhere from 1 to 48 hours of the match being finished.
UNVERIFIED Highlights vary and might not have gone through the verification process or are considered user uploaded. Videos include a wide spectrum of topics such as last minute scores, memorable plays, game recaps, etc. Unverified highlights are considered more real time and might be uploaded even when the match is still being played. The lifetime of these clips vary and is dependant on the hosting platform.

Each highlight has a title which describes what the video is about. Certain entries will have a description as well which is used to further describe the associated clip. The source field defines where the clip was aggregated from (e.g. would be youtube, twitter, reddit, espn, etc.). For certain sources you will see additional information being present in the channel field. By utilising this information you can further narrow down which videos you want to showcase. Highlights might also have an embedUrl property which is used to directly embed the videos into your website or mobile application.

Below is an example of what you can aim to achieve with our highlights data:

Highlights example

Retrieve highlights

Retrieve a list of highlights 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 highlights relevant to your location.

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

Note: The Basic/Free plan might have certain restrictions in place. More information can be found here.

query Parameters
leagueName
string
Example: leagueName=NCAA
date
string
Example: date=2024-02-10

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
matchId
number
Example: matchId=10523
homeTeamId
number
Example: homeTeamId=494
awayTeamId
number
Example: awayTeamId=15011
homeTeamName
string
Example: homeTeamName=Engineers
awayTeamName
string
Example: awayTeamName=Big Red
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=RPI
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=COR
homeTeamDisplayName
string
Example: homeTeamDisplayName=Rensselaer Engineers
awayTeamDisplayName
string
Example: awayTeamDisplayName=Cornell Big Red
limit
number [ 0 .. 40 ]
Default: 40
Example: limit=40
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [],
  • "pagination": {
    },
  • "plan": {
    }
}

Get geo restrictions for highlight

Refresh interval: Once an hour

Note: Endpoint is not available in the Basic/Free plan.

Geo restrictions are a plague that have been around for quite a while. They restrict access to online content based on the viewers geographical location. Trying to show restricted highlights to your users can greatly hinder the viewing experience.

Each highlight has a state property which defines how the geo restrictions are applied.

State Description
No restricitons applied Highlight has no restrictions applied and is available globally.
Allowed countries restriction Highlight is only available to users whose country code is found in the allowedCountries list.
Blocked countries restriction Highlight is blocked to all users whose country code is found in the blockedCountries list.
Unknown restrictions There is no guaranteed way to define all allowed or blocked countries.

As presented before, certain highlights have an embedUrl field which can be used to directly embed the video into your website or application. The embeddable field specifies whether this is allowed or not.

path Parameters
id
required
number

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "state": "Allowed countries restriction",
  • "allowedCountries": [
    ],
  • "blockedCountries": [ ],
  • "embeddable": true
}

Get highlight by id

Retrieve highlight information by specifying the highlight id path parameter.

Note: Used to check whether a highlight still exists or had its information updated.

path Parameters
id
required
number

Requested highlight id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

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

query Parameters
teamId
required
number
Example: teamId=1
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NHL, NCAAH.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:

State Description
Postponed Match 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.
Suspended Match has already been in play but was suspended. In the future the game will resume from the exact point where it was halted.
Cancelled Game will not be played.
Abandoned Considered "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.
Finished Match has been concluded.
Scheduled Match has not been started yet.
End period Break time between periods.
Half time Half time pause between second and third quarter.
In progress Game is currently in progress.
Unknown Unknown match coverage or state.

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

NHL matches example

query Parameters
league
string
Example: league=NCAA
date
string
Example: date=2024-02-10

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

season
number
Example: season=2024
homeTeamId
number
Example: homeTeamId=494
awayTeamId
number
Example: awayTeamId=15011
homeTeamName
string
Example: homeTeamName=Engineers
awayTeamName
string
Example: awayTeamName=Big Red
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=RPI
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=COR
homeTeamDisplayName
string
Example: homeTeamDisplayName=Rensselaer Engineers
awayTeamDisplayName
string
Example: awayTeamDisplayName=Cornell Big Red
limit
number [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
number >= 0
Default: 0
Example: offset=0
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

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, overallStatistics for each team, who the game's referees are and events.

Note: Used to retrieve additional match information.

path Parameters
id
required
number

Requested match id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

NHL, NCAAH.Odds

Get all odds

Prematch odds refresh interval: Multiple times a day

Live odds refresh interval: Once every 10 minutes

Note: Endpoint is not available in the Basic/Free plan.

Retrieve a list of match odds based on the requested query parameters. With oddsType query parameter you can specify whether you want prematch or live odds. If you do not set a specific value prematch odds will be returned.

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

The most popular way of getting match odds is by specifying the matchId query parameter. You can also utilise the date parameter alongside the timezone to fetch all match odds for a given day. By specifying league or bookmaker related fields you can further narrow down your search.

As it stands, we currently offer the support for the following markets:

Market Description
3-Way Moneyline The possible outcomes for the three-way moneyline market are Home, Draw or Away.
Moneyline When a match does not have a three-way moneyline it will have a two-way one instead. The possible outcomes for the mentioned market are either Home or Away. There is no possible way for the game to end in a Draw.
Total Goals This is considered a complex market. It is split into multiple possible variants such as "Total Goals 8", "Total Goals 8.5" and so on. The possible outcome of a variant is either Over or Under.
Odd or Even The Odd or Even market defines whether the score of both teams will be either Odd or Even.
Both Teams to Score The market defines whether both teams will score or not. Outcomes can be either Yes or No.
Correct Score This is considered a complex market. It is split into multiple possible variants such as "Correct Score 2 : 0", "Correct Score 1 : 1" and so on. There is only a single possible outcome of the variant.

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

Match odds are available up to 28 days after the game finishes and up to 7 days before the game starts.

Below is an example of what can be achieved with bookmaker odds on a match basis:

Odds example

query Parameters
oddsType
string
Example: oddsType=prematch

Defines whether live or prematch odds will be returned.

leagueName
string
Example: leagueName=NHL
timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

bookmakerId
number
Example: bookmakerId=1
limit
number [ 0 .. 5 ]
Default: 5
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
matchId
number
bookmakerName
string
Example: bookmakerName=22Bet
date
string

Date that follows the YYYY-MM-DD format.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "pagination": {
    },
  • "plan": {
    }
}

NHL, NCAAH.Standings

Get standings

Refresh interval: Up to an hour after a match for the associated league and season is finished

Retrieve standings data for a specific league, conference or division.

There are numerous ways on how to fetch the data. You can utilise either abbreviation or leagueName:

League Name Abbreviation
Metro Atlantic Athletic Conference MAAC
Western Conference WEST
College Hockey America CHA
Eastern Conference EAST
East Coast Athletic Conference ECAC
Independent IND
Northeast 10 Conference NE10
Western Collegiate Hockey Association WCHA
Central Collegiate Hockey Association CCHA
Hockey East HE

Additionally you can specify the year parameter to narrow down the the standings for that season.

There are two other important parameters that are used to navigate through the pagination. The limit parameter defines what the number of returned standings will be. If the number of actual standings is above the limit value you can make subsequent requests by increasing the offset value.

Below is an example on how you could render league associated standings

Standings example

query Parameters
leagueType
string
Example: leagueType=NHL
limit
number [ 0 .. 10 ]
Default: 10
Example: limit=5
offset
number >= 0
Default: 0
Example: offset=0
leagueName
string
Example: leagueName=Western Conference
abbreviation
string
Example: abbreviation=WEST
year
number
Example: year=2025
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{
  • "leagueName": "Eastern Conference",
  • "abbreviation": "EAST",
  • "year": 2024,
  • "leagueType": "NHL",
  • "seasonType": "Regular Season",
  • "startDate": "2023-10-09T07:00:00.000Z",
  • "endDate": "2024-04-19T06:59:00.000Z",
  • "data": []
}

NHL, NCAAH.Teams

Get all teams

Retrieve a list of teams that are supported by the API.

By utilising either league, name, displayName or abbreviation query parameters you can check whether a specific team exists or simply retrieve the associated data.

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

query Parameters
name
string
Example: name=Big Red
displayName
string
Example: displayName=Cornell Big Red
abbreviation
string
Example: abbreviation=COR
league
string
Example: league=NCAA
header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

path Parameters
id
required
number

Requested team id.

query Parameters
fromDate
required
string
Example: fromDate=2023-08-06

Date that follows the YYYY-MM-DD format.

timezone
string
Default: "Etc/UTC"
Example: timezone=Europe/London

Valid timezone identifier.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get team by team id

Retrieve team information by specifying the team id path parameter.

Note: Used to check whether a team still exists or had its information updated.

path Parameters
id
required
number

Requested team id.

header Parameters
x-rapidapi-host
required
string

sport-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]