get https://api.opticodds.com/api/v3/leagues/active
Description
Returns a list of all the leagues that currently have fixtures with odds.
Specific Parameter Information
For a full list of parameters, scroll to the bottom of this page.
Example Responses
URL: https://api.opticodds.com/api/v3/leagues/active?sport=basketball
{
"data": [
{
"id": "euroleague",
"name": "Euroleague",
"sport": {
"id": "basketball",
"name": "Basketball",
"main_markets": [
{
"id": "moneyline",
"name": "Moneyline"
},
{
"id": "point_spread",
"name": "Point Spread"
},
{
"id": "total_points",
"name": "Total Points"
}
]
},
"region": "INTERNATIONAL",
"region_code": "INT"
},
{
"id": "nba",
"name": "NBA",
"sport": {
"id": "basketball",
"name": "Basketball",
"main_markets": [
{
"id": "moneyline",
"name": "Moneyline"
},
{
"id": "point_spread",
"name": "Point Spread"
},
{
"id": "total_points",
"name": "Total Points"
}
]
},
"region": "UNITED_STATES",
"region_code": "USA"
},
{
"id": "wnba",
"name": "WNBA",
"sport": {
"id": "basketball",
"name": "Basketball",
"main_markets": [
{
"id": "moneyline",
"name": "Moneyline"
},
{
"id": "point_spread",
"name": "Point Spread"
},
{
"id": "total_points",
"name": "Total Points"
}
]
},
"region": "UNITED_STATES",
"region_code": "USA"
}
]
}