Matches


Schema of a match object (APIMatch):

{
    "id": string,
    "title": string,
    "category": string,
    "date": number, // unix timestamp in milliseconds
    "poster": string | undefined,
    "popular": boolean,
    "teams": undefined | {
        "home": undefined | {
            "name": string,
            "badge": string,
        },
        "away": undefined | {
            "name": string,
            "badge": string,
        },
    },
    "sources": {
        "source": string,
        "id": 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/matches/[SPORT]
/api/matches/[SPORT]/popular

All matches:
/api/matches/all
/api/matches/all/popular

All matches TODAY:
/api/matches/all-today
/api/matches/all-today/popular

Live matches:
/api/matches/live
/api/matches/live/popular