StatsHub Docs
Endpoint 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/v2/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.

Query Parameters

query?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/dashboard/leagues/search"
[  {    "$schema": "https://example.com/schemas/DashboardLeagueRow.json",    "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  }]