Leagues
REQUIREMENT
You'll need a license key to use OpticOdds' API. You can get one by contacting us at www.opticodds.com.
API Endpoint
https://api.opticodds.com/api/feed/leagues/
Parameters
NOTE
You can pass in multiple of the same parameters in each GET request.
key (required)
Your OpticOdds API license key.
sport
The sport you want to receive leagues for. We support the following:
footballbasketballbaseballmmaboxinghockeysoccertennisgolfmotorsportsesports
isLive
Flag to filter for odds for live games (supports values true, yes, t, 1)
Example Response
{
"leagues": [
"UEFA - Europa League",
"Brazil - Serie A",
"Spain - La Liga",
"England - Premier League",
"France - Ligue 1",
"USA - Major League Soccer",
"Italy - Serie A",
"Germany - Bundesliga",
"UEFA - Champions League"
]
}