Schema of a match object (APIMatch):
{
"id": string,
"slug": string,
"title": string,
"live": boolean,
"category": string,
"date": number, // unix timestamp in milliseconds
"popular": boolean,
"teams": undefined | {
"home": undefined | {
"name": string,
"badge": string,
},
"away": undefined | {
"name": string,
"badge": string,
},
},
"league": string,
"sources": {
"id": string,
"name": string,
"embed": string,
}[]
}
To get stream lists from a source, use the streams endpoint here.
Available endpoints are listed below:
Sports:
You can get a list of sports to be used in the [SPORT] endpoints here.
/api/[SPORT]/matches
/api/[SPORT]/matches/live
/api/[SPORT]/matches/today
/api/[SPORT]/matches/top-today
All matches:
/api/matches
/api/matches/live
/api/matches/today