Team videos
GET
/
Markdown copyOpen in the playground →
Videos about a team from official channels, such as extended highlights and interviews, hosted elsewhere (YouTube): the link, title, host and the host’s thumbnail. DataSportsAPI hosts no video itself.
Newest first; a team without any gives an empty array. For one match’s highlights, use /v2/fixtures/{id}/highlights.
Parameters
idpathrequired
DataSportsAPI team id, a positive integer
Response
- data
Video[]- meta
- count
- errors
- 404
not_found— DataSportsAPI has never assigned this id
The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.
curl -H "Authorization: Bearer sk_live_…" \
"https://api.datasportsapi.com/v2/teams/{id}/videos"Example
{ "data": [ { "title": "FC BARCELONA 2-3 VILLARREAL CF 2024/25 | Resumen ampliado", "description": "…", "url": "https://www.youtube.com/watch?v=TwW4X-jpkDE",
"provider": "youtube", "thumbnailUrl": "https://i.ytimg.com/vi/TwW4X-jpkDE/maxresdefault.jpg", "embeddable": true }, … ],
"meta": { "count": 6 } }