Matches
Retrieve a list of matches.
- Refresh interval
- Once a minute
- Pagination
- limit and offset, 100 per page
- Detail
- General information only
Querying
At least one primary query parameter must be specified before you can retrieve data.
timezone, limit and offset are secondary and do
not count on their own.
Combine timezone with date to get matches relevant to your own
location rather than UTC.
Teams can be filtered by id through homeTeamId and awayTeamId,
or by name through homeTeamName and awayTeamName. Country and
league filters narrow the same list further.
limit sets how many matches come back. When the number of matching games
exceeds it, request the next page by increasing offset. See
Pagination and limits.
Score
Every match carries a state, holding the state description and
the score.
| Field | Counts |
|---|---|
current |
The home and away score for the match, such as 3 - 1. |
firstSet through fifthSet |
The home and away score for that set, such as 19 - 25 or
25 - 12.
|
Every one of them is a string in home and away form rather than a pair of numbers. Every score field is optional, so render each set only when it is present.
Match states
| State | Meaning |
|---|---|
Not started |
Match has not been started yet. |
First set |
In play, in the first set. |
Second set |
In play, in the second set. |
Third set |
In play, in the third set. |
Fourth set |
In play, in the fourth set. |
Fifth set |
In play, in the fifth set. |
Finished |
Match has been concluded. |
Postponed |
Prevented from being played. The start time moves to a future moment. |
Cancelled |
Game will not be played. |
Awarded |
Given to one team when the other forfeits, or after circumstances such as insufficient players, late arrival or a withdrawal. |
Interrupted |
Something arose that stops the game continuing. It will either resume normal play or be abandoned. |
Abandoned |
Ended prematurely by the officials without being completed. It might be resumed later from the exact point where it was halted. |
Unknown |
Unknown coverage or state. |
To be announced |
Start time is still to be set, or the competing teams are not yet known. |
Parameters
| Parameter | Type | Description |
|---|---|---|
leagueNameoptional
|
string |
No description in the spec.e.g. SuperLega
|
leagueIdoptional |
number |
No description in the spec.e.g. 83331
|
dateoptional |
string |
Date that follows the YYYY-MM-DD format.e.g. 2023-12-30
|
timezoneoptional |
stringdefault Etc/UTC
|
Valid timezone identifier.e.g. Europe/London
|
seasonoptional |
number |
No description in the spec.e.g. 2023
|
homeTeamIdoptional
|
number |
No description in the spec.e.g. 630524
|
awayTeamIdoptional
|
number |
No description in the spec.e.g. 631375
|
homeTeamNameoptional
|
string |
No description in the spec.e.g. Trentino Volley
|
awayTeamNameoptional
|
string |
No description in the spec.e.g. Cisterna
|
countryCodeoptional
|
string |
No description in the spec.e.g. IT
|
countryNameoptional
|
string |
No description in the spec.e.g. Italy
|
limitoptional |
numberdefault 100
|
No description in the spec.e.g. 100
|
offsetoptional |
numberdefault 0
|
No description in the spec.e.g. 0
|
Request
curl --request GET \
--url 'https://volleyball.highlightly.net/matches?leagueName=SuperLega&leagueId=83331' \
--header 'x-rapidapi-key: YOUR_API_KEY'
const params = new URLSearchParams({
leagueName: 'SuperLega',
leagueId: '83331'
})
const response = await fetch(`https://volleyball.highlightly.net/matches?${params}`, {
headers: {
'x-rapidapi-key': process.env.HIGHLIGHTLY_API_KEY
}
})
if (!response.ok) {
throw new Error(`Highlightly responded ${response.status}`)
}
const data = await response.json()
import os
import requests
response = requests.get(
'https://volleyball.highlightly.net/matches',
params={
'leagueName': 'SuperLega',
'leagueId': '83331',
},
headers={
'x-rapidapi-key': os.environ['HIGHLIGHTLY_API_KEY'],
},
timeout=10,
)
response.raise_for_status()
data = response.json()
Response
dataVolleyballMatchResponse[]required29 fields
idnumberrequired
weekstring
datestringrequired
countryVolleyballCountryResponserequired3 fields
codestringrequiredCountry code specified by the ISO 3166 standard.
namestringrequired
logostringrequired
awayTeamVolleyballTeamResponserequired3 fields
idnumberrequired
logostring
namestringrequired
homeTeamVolleyballTeamResponserequired3 fields
idnumberrequired
logostring
namestringrequired
leagueVolleyballMatchLeagueResponserequired4 fields
idnumberrequired
seasonnumberrequired
namestringrequired
logostring
stateVolleyballMatchStateResponserequired8 fields
descriptionstringrequiredState of the match.Not startedFirst setSecond setThird setFourth setFifth setAwardedPostponedCancelledInterruptedAbandonedFinishedUnknownTo be announced
scoreVolleyballMatchScoreResponserequired6 fields
currentstringHome - Away score for the match.
firstSetstringHome - Away score for the first set.
secondSetstringHome - Away score for the second set.
thirdSetstringHome - Away score for the third set.
fourthSetstringHome - Away score for the fourth set.
fifthSetstringHome - Away score for the fifth set.
paginationPaginationResponserequired3 fields
totalCountnumberrequiredAvailable number of items, relevant to the provided query.
offsetnumberrequired
limitnumberrequired
planPlanResponserequired2 fields
tierstringrequiredYour current API subscription tier.
messagestringrequiredExplanation message regarding your current tier.
Example response
{
"data": [
{
"id": 126347903,
"week": "12",
"date": "2023-12-30T17:00:00.000Z",
"country": {
"code": "IT",
"name": "Italy",
"logo": "https://example.com/logos/country/IT.png"
},
"awayTeam": {
"id": 630524,
"logo": "https://example.com/logos/team/630524.png",
"name": "Trentino"
},
"homeTeam": {
"id": 630524,
"logo": "https://example.com/logos/team/630524.png",
"name": "Trentino"
},
"league": {
"id": 83331,
"season": 2023,
"name": "SuperLega",
"logo": "https://example.com/logos/league/83331.png"
},
"state": {
"description": "Second set",
"score": {
"current": "3 - 1",
"firstSet": "19 - 25",
"secondSet": "25 - 12",
"thirdSet": "22 - 17",
"fourthSet": "22 - 17",
"fifthSet": "25 - 19"
}
}
}
],
"pagination": {
"totalCount": 490,
"offset": 20,
"limit": 100
},
"plan": {
"tier": "BASIC",
"message": "Some results might be hidden with FREE tier. Check your API coverage for more information: https://rapidapi.com/highlightly-api-highlightly-api-default/api/sport-highlights-api/details"
}
}
Values are the examples declared in the OpenAPI spec, not a captured live response.
Errors
| Status | Description |
|---|---|
400 |
Bad request descriptive error. |
500 |
Internal server error. |