StatsHub Docs
APIEndpoint referenceLive foul card alerts

/live-foul-card-alerts/leagues

The competitions the live foul and card alert bot covers.

GET
/api/live-foul-card-alerts/leagues

The competitions the live foul and card alert bot covers.

Ordered by follower count with nulls last, then by name, so the leagues a user is most likely to want are at the top and the long tail is still findable alphabetically.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/live-foul-card-alerts/leagues"
{  "leagues": [    {      "name": "string",      "uniqueTournamentId": 0    }  ]}