StatsHub Docs
APIEndpoint referenceDashboard

/dashboard/leagues/by-country/{country}

An unknown country is an empty array, not a 404 — the dashboard renders the list either way.

GET
/api/dashboard/leagues/by-country/{country}

An unknown country is an empty array, not a 404 — the dashboard renders the list either way.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Path Parameters

country*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/dashboard/leagues/by-country/string"
[  {    "ai_analysis_allowed": true,    "country": "string",    "heatmapLoad": true,    "id": 0,    "isFavorite": true,    "name": "string",    "predictlineup_allowed": true,    "shotmapLoad": true,    "shouldShow": true,    "slug": "string",    "uniqueTournamentId": 0  }]