Basketball.Highlights
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.
get/basketball/highlights/{id}
Request
- Base URLhttps://sports.highlightly.net
- Authnone declared. Required headers: x-rapidapi-host, x-rapidapi-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
Requested highlight id.
Headers
x-rapidapi-hoststring required
sport-highlights-api.p.rapidapi.com
x-rapidapi-keystring required
Rapid API Token
Response
Example response
[
{
"id": 28,
"type": "VERIFIED",
"imgUrl": "https://example.com/images/preview/28.png",
"title": "NBL: Adelaide vs Melbourne United",
"description": "Game recap of the match.",
"url": "https://example.com/highlight/213123safas132e",
"embedUrl": "https://example.com/embed/213123safas132e",
"match": {
"id": 489389,
"week": "1",
"stage": "Final",
"date": "2023-10-01T03:00:00.000Z",
"country": {
"code": "AU",
"name": "Australia",
"logo": "https://example.com/logos/country/AU.png"
},
"awayTeam": {
"id": 7592,
"logo": "https://example.com/logos/team/7592.png",
"name": "Adelaide"
},
"homeTeam": {
"id": 7592,
"logo": "https://example.com/logos/team/7592.png",
"name": "Adelaide"
},
"league": {
"id": 1635,
"season": 2023,
"name": "NBL",
"logo": "https://example.com/logos/league/1635.png"
},
"state": {
"description": "Finished",
"clock": 9,
"score": {
"current": "105 - 104",
"q1": "22 - 15",
"q2": "17 - 33",
"q3": "11 - 27",
"q4": "33 - 14",
"overTime": "22 - 15"
}
}
},
"channel": "NBA",
"source": "youtube"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.