Skip to main content
Version: 2.0.0

Leagues & Sport API Documentation


This endpoint returns all the available leagues that are active in a given sport, ie: NFL, NBA, MLB, NHL, Premier League, college football, basketball & more.


You'll need a license key to use OpticOdds' API. You can get one by contacting us at

API Endpoint



You can pass in multiple of the same parameters in each GET request.

key (required)

Your OpticOdds API license key.



You can pass in multiple of this parameter.

The sport you want to receive leagues for. We support the following:

  • football
  • basketball
  • baseball
  • mma
  • boxing
  • hockey
  • soccer
  • tennis
  • golf
  • motorsports
  • esports
  • wrestling
  • aussie-rules
  • rugby
  • lacrosse
  • cricket
  • volleyball


Flag to filter for odds for live leagues (supports values true, yes, t, 1)


Get all leagues that we offer, not just the ones that currently have games.


Get the id and the name of all the leagues that we offer.

Example Response

"data": [
"UEFA - Europa League",
"Fed-Ex 500 Round 3",
"Spain - La Liga",
"Fed-Ex 500 Events",
"England - Premier League",
"France - Ligue 1",
"Italy - Serie A",
"Germany - Bundesliga",
"UEFA - Champions League",

Example Response (detailed)

{"id": "nfl", "label": "NFL"},
{"id": "uefa_-_champions_league", "label": "UEFA - Champions League"},