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:
football
basketball
baseball
mma
boxing
hockey
soccer
tennis
golf
motorsports
esports
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"
]
}