StatsHub Docs
APIEndpoint referenceDashboard

/dashboard/leagues/search

The term matches a competition's name or its country, so "spain" finds LaLiga without the user knowing what it is called.

GET
/api/dashboard/leagues/search

The term matches a competition's name or its country, so "spain" finds LaLiga without the user knowing what it is called.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Query Parameters

query?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/dashboard/leagues/search"
[  {    "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  }]