Highlightly Cricket API (2.0.0)

Download OpenAPI specification:Download

The API provides a standardized way for developers to interact with the service and retrieve cricket highlights data. With this API, users can request highlights based on various parameters such as team, country, match, or specific timeframes. The specification defines the endpoints and their corresponding operations, such as retrieving a list of all available highlights, retrieving a specific highlight by its ID, filtering highlights based on specific criteria, and more. The API specification also includes detailed information about the data models used, such as the structure of a highlight object, including properties like title, description, teams involved, players featured, and video URLs. In addition to the basic functionality, the API specification may also include optional features such as pagination for retrieving large result sets, sorting and filtering options, and authentication mechanisms for secure access to the API.

Cricket Highlights API

Cricket.Countries

Get all countries.

Retrieve a list of all supported.

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

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

Retrieve country details by country code.

path Parameters
countryCode
required
string
Example: AU

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

header Parameters
x-rapidapi-host
required
string

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

Retrieve a list of all highlights.

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
object
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
object [ 0 .. 40 ]
Default: 40
offset
object >= 0
Default: 0
homeTeamAbbreviation
string
Example: homeTeamAbbreviation=MR
awayTeamAbbreviation
string
Example: awayTeamAbbreviation=MS
header Parameters
x-rapidapi-host
required
string

cricket-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
{}

Get highlight by id.

Retrieve highlight details by highlight id.

path Parameters
id
required
number
Example: 75

Requested higlight id.

header Parameters
x-rapidapi-host
required
string

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

Retrieve a list of all leagues.

query Parameters
limit
object [ 0 .. 100 ]
Default: 100
Example: limit=100
offset
object >= 0
Default: 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

cricket-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 details by league id.

path Parameters
id
required
number
Example: 48513362

Requested league id.

header Parameters
x-rapidapi-host
required
string

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

Retrieve a list of all matches. At least one parameter has to be specified.

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

Date that follows the YYYY-MM-DD format.

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

Valid timezone identifier.

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

cricket-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 match details by match id.

path Parameters
id
required
number
Example: 48514657

Requested match id.

header Parameters
x-rapidapi-host
required
string

cricket-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 all teams.

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

cricket-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 id.

Retrieve team details by team id.

path Parameters
id
required
number
Example: 17838627

Requested team id.

header Parameters
x-rapidapi-host
required
string

cricket-highlights-api.p.rapidapi.com

x-rapidapi-key
required
string

Rapid API Token

Responses

Response samples

Content type
application/json
[]