Get match by ID
Retrieve detailed information for one match.
- Detail
- Everything on the list route, plus three blocks
The match id comes from
matches.
This route returns everything the list route does, and adds venue,
forecast and predictions.
Venue and forecast
venue names the city, the venue name, the
country and its capacity, which is a string.
forecast carries a status such as cloudy and a
temperature already formatted with its unit, as in 11.97°C.
Predictions
predictions splits into prematch and live, and
each is a list rather than a single entry.
Every prediction carries its type, the modelType that produced
it, a generatedAt timestamp, a readable description and the
probabilities behind it. Those are percentage strings in
home and away, plus an optional draw.
Parameters
| Parameter | Type | Description |
|---|---|---|
idrequired
|
numberpath | Requested match id. |
Request
curl --request GET \
--url 'https://volleyball.highlightly.net/matches/{id}' \
--header 'x-rapidapi-key: YOUR_API_KEY'
const response = await fetch('https://volleyball.highlightly.net/matches/{id}', {
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/{id}',
headers={
'x-rapidapi-key': os.environ['HIGHLIGHTLY_API_KEY'],
},
timeout=10,
)
response.raise_for_status()
data = response.json()
Response
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.
venueDetailedMatchVenueResponse4 fields
citystring
namestring
countrystring
capacitystring
forecastDetailedMatchForecastResponse2 fields
statusstring
temperaturestring
predictionsPredictionResponse18 fields
prematchPrediction[]required8 fields
typestringrequired
modelTypestringrequired
generatedAtstringrequired
descriptionstringrequired
probabilitiesPredictionProbabilitiesrequired3 fields
homestringrequired
drawstring
awaystringrequired
livePrediction[]required8 fields
typestringrequired
modelTypestringrequired
generatedAtstringrequired
descriptionstringrequired
probabilitiesPredictionProbabilitiesrequired3 fields
homestringrequired
drawstring
awaystringrequired
Example response
[
{
"id": 139134178,
"week": "Semi-finals",
"date": "2024-04-06T14:30: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"
}
},
"venue": {
"city": "Swansea",
"name": "Liberty Stadium",
"country": "Wales",
"capacity": "20827"
},
"forecast": {
"status": "cloudy",
"temperature": "11.97°C"
},
"predictions": {
"prematch": [
{
"type": "prematch",
"modelType": "three-way",
"generatedAt": "2025-03-12T19:00:20.000Z",
"description": "Team A is most likely to win the game against Team B.`",
"probabilities": {
"home": "30.22%",
"draw": "0.00%",
"away": "69.78%"
}
}
],
"live": [
{
"type": "prematch",
"modelType": "three-way",
"generatedAt": "2025-03-12T19:00:20.000Z",
"description": "Team A is most likely to win the game against Team B.`",
"probabilities": {
"home": "30.22%",
"draw": "0.00%",
"away": "69.78%"
}
}
]
}
}
]
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. |