Matches Highlights
This endpoint allows you to retrieve the highlights from matches. It has all social media posts about the match.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every 10 seconds during a live match.
Recommended Calls: Limit calls to 1 per 10 seconds during a live match.
Use Cases
Get highlights from a specific match_idhttps://football.sportdevs.com/matches-highlights?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.155
The id of the match
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the highlight
Note: This is a Primary Key.
- match_id integer
The id of the match
Note: This is a Foreign Key to
injuries.match_id
. - title text
The title of the highlight
- subtitle text
The subtitle of the highlight
- url text
The url of the highlight
- created_at timestamp with time zone
The publishing date of the highlight
- source_url text
The source url of the highlight
[
{
"id": 1,
"match_id": 155,
"title": "CS Cartaginés 1-3 LD Alajuelense",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=_sbyxSQOYaQ&ab_channel=Concacaf",
"created_at": "2023-09-29T06:16:50+00:00",
"source_url": "https://www.youtube.com/watch?v=_sbyxSQOYaQ&ab_channel=Concacaf"
}
]