---
updatedAt: 2026-06-04T22:07:08.000Z
agentTools:
  projectIndex: https://developer.opticodds.com/llms.txt
---

# /markets

## Description

Returns a list of all the markets that are / have been supported by OpticOdds.

## Specific Parameter Information

For a full list of parameters, scroll to the bottom of this page.

## Example Responses

*ONLY USED TO SHOW AN EXAMPLE JSON FORMAT, DATA CAN BE DIFFERENT FROM ACTUAL RESPONSE*

URL: `https://api.opticodds.com/api/v3/markets?sport=aussie_rules&markets_only=true`

```json
{
  "data": [
    {
      "id": "team_total",
      "name": "Team Total",
      "numerical_id": 1261,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "ladbrokes",
                  "name": "Ladbrokes"
                },
                {
                  "id": "sportsbet",
                  "name": "Sportsbet"
                },
                {
                  "id": "draftkings",
                  "name": "DraftKings"
                },
                {
                  "id": "bet365",
                  "name": "bet365"
                },
                {
                  "id": "dabble_australia_",
                  "name": "Dabble (Australia)"
                },
                {
                  "id": "elite_bet",
                  "name": "Elite Bet"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "2nd_half_moneyline",
      "name": "2nd Half Moneyline",
      "numerical_id": 323,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "leovegas",
                  "name": "LeoVegas"
                },
                {
                  "id": "twinspires",
                  "name": "TwinSpires"
                },
                {
                  "id": "unibet_united_kingdom_",
                  "name": "Unibet (United Kingdom)"
                },
                {
                  "id": "four_winds",
                  "name": "Four Winds"
                },
                {
                  "id": "betrivers",
                  "name": "BetRivers"
                },
                {
                  "id": "ladbrokes_australia_",
                  "name": "Ladbrokes (Australia)"
                },
                {
                  "id": "casumo",
                  "name": "Casumo"
                },
                {
                  "id": "northstar_bets",
                  "name": "NorthStar Bets"
                },
                {
                  "id": "unibet_australia_",
                  "name": "Unibet (Australia)"
                },
                {
                  "id": "bet365",
                  "name": "bet365"
                },
                {
                  "id": "unibet",
                  "name": "Unibet"
                },
                {
                  "id": "betrivers_new_york_",
                  "name": "BetRivers (New York)"
                },
                {
                  "id": "sugarhouse",
                  "name": "SugarHouse"
                },
                {
                  "id": "desert_diamond",
                  "name": "Desert Diamond"
                },
                {
                  "id": "bally_bet",
                  "name": "Bally Bet"
                },
                {
                  "id": "tabtouch",
                  "name": "TABtouch"
                },
                {
                  "id": "neds",
                  "name": "Neds"
                },
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "betparx",
                  "name": "betPARX"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "first_goal_scorer",
      "name": "First Goal Scorer",
      "numerical_id": 920,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "leovegas",
                  "name": "LeoVegas"
                },
                {
                  "id": "playup_australia_",
                  "name": "PlayUp (Australia)"
                },
                {
                  "id": "unibet_australia_",
                  "name": "Unibet (Australia)"
                },
                {
                  "id": "bet365",
                  "name": "bet365"
                },
                {
                  "id": "twinspires",
                  "name": "TwinSpires"
                },
                {
                  "id": "dabble_australia_",
                  "name": "Dabble (Australia)"
                },
                {
                  "id": "unibet_united_kingdom_",
                  "name": "Unibet (United Kingdom)"
                },
                {
                  "id": "tab",
                  "name": "TAB"
                },
                {
                  "id": "elite_bet",
                  "name": "Elite Bet"
                },
                {
                  "id": "four_winds",
                  "name": "Four Winds"
                },
                {
                  "id": "unibet",
                  "name": "Unibet"
                },
                {
                  "id": "betrivers",
                  "name": "BetRivers"
                },
                {
                  "id": "sugarhouse",
                  "name": "SugarHouse"
                },
                {
                  "id": "picklebet",
                  "name": "Picklebet"
                },
                {
                  "id": "betr_australia_",
                  "name": "betr (Australia)"
                },
                {
                  "id": "desert_diamond",
                  "name": "Desert Diamond"
                },
                {
                  "id": "bet_right",
                  "name": "Bet Right"
                },
                {
                  "id": "bally_bet",
                  "name": "Bally Bet"
                },
                {
                  "id": "pointsbet_australia_",
                  "name": "PointsBet (Australia)"
                },
                {
                  "id": "tabtouch",
                  "name": "TABtouch"
                },
                {
                  "id": "casumo",
                  "name": "Casumo"
                },
                {
                  "id": "draftkings",
                  "name": "DraftKings"
                },
                {
                  "id": "northstar_bets",
                  "name": "NorthStar Bets"
                },
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "tab_new_zealand_",
                  "name": "TAB (New Zealand)"
                },
                {
                  "id": "betparx",
                  "name": "betPARX"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "2nd_quarter_total_points_odd_even",
      "name": "2nd Quarter Total Points Odd/Even",
      "numerical_id": 479,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "ladbrokes_australia_",
                  "name": "Ladbrokes (Australia)"
                },
                {
                  "id": "neds",
                  "name": "Neds"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "2nd_half_total_points",
      "name": "2nd Half Total Points",
      "numerical_id": 379,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "sportsbet",
                  "name": "Sportsbet"
                },
                {
                  "id": "playup_australia_",
                  "name": "PlayUp (Australia)"
                },
                {
                  "id": "bet365",
                  "name": "bet365"
                },
                {
                  "id": "ladbrokes_australia_",
                  "name": "Ladbrokes (Australia)"
                },
                {
                  "id": "neds",
                  "name": "Neds"
                },
                {
                  "id": "tab_new_zealand_",
                  "name": "TAB (New Zealand)"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "moneyline_3-way",
      "name": "Moneyline 3-Way",
      "numerical_id": 954,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "picklebet",
                  "name": "Picklebet"
                },
                {
                  "id": "dabble_australia_",
                  "name": "Dabble (Australia)"
                },
                {
                  "id": "topsport",
                  "name": "TopSport"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "total_goals_odd_even",
      "name": "Total Goals Odd/Even",
      "numerical_id": 1345,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "bet365",
                  "name": "bet365"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "4th_quarter_moneyline_3-way",
      "name": "4th Quarter Moneyline 3-Way",
      "numerical_id": 685,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "neds",
                  "name": "Neds"
                },
                {
                  "id": "tab_new_zealand_",
                  "name": "TAB (New Zealand)"
                },
                {
                  "id": "ladbrokes_australia_",
                  "name": "Ladbrokes (Australia)"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "1st_half_team_total",
      "name": "1st Half Team Total",
      "numerical_id": 128,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "1xbet",
                  "name": "1XBet"
                },
                {
                  "id": "sportsbet",
                  "name": "Sportsbet"
                },
                {
                  "id": "bet365",
                  "name": "bet365"
                },
                {
                  "id": "dabble_australia_",
                  "name": "Dabble (Australia)"
                },
                {
                  "id": "draftkings",
                  "name": "DraftKings"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "anytime_goal_scorer",
      "name": "Anytime Goal Scorer",
      "numerical_id": 890,
      "sports": [
        {
          "id": "aussie_rules",
          "name": "Aussie Rules",
          "leagues": [
            {
              "id": "afl",
              "name": "AFL",
              "sportsbooks": [
                {
                  "id": "leovegas",
                  "name": "LeoVegas"
                },
                {
                  "id": "unibet_australia_",
                  "name": "Unibet (Australia)"
                },
                {
                  "id": "twinspires",
                  "name": "TwinSpires"
                },
                {
                  "id": "dabble_australia_",
                  "name": "Dabble (Australia)"
                },
                {
                  "id": "unibet_united_kingdom_",
                  "name": "Unibet (United Kingdom)"
                },
                {
                  "id": "elite_bet",
                  "name": "Elite Bet"
                },
                {
                  "id": "four_winds",
                  "name": "Four Winds"
                },
                {
                  "id": "unibet",
                  "name": "Unibet"
                },
                {
                  "id": "betrivers",
                  "name": "BetRivers"
                },
                {
                  "id": "sugarhouse",
                  "name": "SugarHouse"
                },
                {
                  "id": "betr_australia_",
                  "name": "betr (Australia)"
                },
                {
                  "id": "desert_diamond",
                  "name": "Desert Diamond"
                },
                {
                  "id": "bet_right",
                  "name": "Bet Right"
                },
                {
                  "id": "bally_bet",
                  "name": "Bally Bet"
                },
                {
                  "id": "sportsbet",
                  "name": "Sportsbet"
                },
                {
                  "id": "pointsbet_australia_",
                  "name": "PointsBet (Australia)"
                },
                {
                  "id": "tabtouch",
                  "name": "TABtouch"
                },
                {
                  "id": "ladbrokes_australia_",
                  "name": "Ladbrokes (Australia)"
                },
                {
                  "id": "neds",
                  "name": "Neds"
                },
                {
                  "id": "casumo",
                  "name": "Casumo"
                },
                {
                  "id": "draftkings",
                  "name": "DraftKings"
                },
                {
                  "id": "northstar_bets",
                  "name": "NorthStar Bets"
                },
                {
                  "id": "tab_new_zealand_",
                  "name": "TAB (New Zealand)"
                },
                {
                  "id": "betparx",
                  "name": "betPARX"
                }
              ]
            }
          ]
        }
      ]
    },
    ...
  ]
}
```

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "OpticOdds",
    "description": "OpticOdds API",
    "version": "3.0.0"
  },
  "servers": [
    {
      "url": "https://api.opticodds.com/api/v3",
      "description": "Production server"
    }
  ],
  "paths": {
    "/markets": {
      "get": {
        "tags": [
          "Common"
        ],
        "parameters": [
          {
            "required": false,
            "deprecated": false,
            "explode": true,
            "schema": {
              "title": "sport",
              "type": "string"
            },
            "name": "sport",
            "in": "query",
            "allowEmptyValue": false,
            "allowReserved": false
          },
          {
            "required": false,
            "deprecated": false,
            "explode": true,
            "schema": {
              "title": "league",
              "type": "string"
            },
            "name": "league",
            "in": "query",
            "allowEmptyValue": false,
            "allowReserved": false
          },
          {
            "required": false,
            "deprecated": false,
            "explode": true,
            "schema": {
              "title": "markets_only",
              "type": "string",
              "default": true
            },
            "name": "markets_only",
            "in": "query",
            "allowEmptyValue": false,
            "allowReserved": false
          },
          {
            "required": false,
            "deprecated": false,
            "explode": true,
            "schema": {
              "title": "sportsbook",
              "type": "string"
            },
            "name": "sportsbook",
            "in": "query",
            "allowEmptyValue": false,
            "allowReserved": false
          }
        ],
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketsExternalResponse"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "BaseSportsbook": {
        "title": "BaseSportsbook",
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        }
      },
      "Market": {
        "title": "Market",
        "required": [
          "id",
          "name",
          "sports"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "numerical_id": {
            "title": "Numerical Id",
            "type": "integer",
            "nullable": true
          },
          "sports": {
            "title": "Sports",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketSport"
            }
          },
          "market_type_id": {
            "title": "Market Type Id",
            "type": "integer",
            "nullable": true
          }
        }
      },
      "MarketLeague": {
        "title": "MarketLeague",
        "required": [
          "id",
          "name",
          "sportsbooks"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "numerical_id": {
            "title": "Numerical Id",
            "type": "integer",
            "nullable": true
          },
          "sportsbooks": {
            "title": "Sportsbooks",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BaseSportsbook"
            }
          }
        }
      },
      "MarketSport": {
        "title": "MarketSport",
        "required": [
          "id",
          "name",
          "leagues"
        ],
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "numerical_id": {
            "title": "Numerical Id",
            "type": "integer",
            "nullable": true
          },
          "leagues": {
            "title": "Leagues",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MarketLeague"
            }
          }
        }
      },
      "MarketsExternalResponse": {
        "title": "MarketsExternalResponse",
        "required": [
          "data"
        ],
        "type": "object",
        "properties": {
          "data": {
            "title": "Data",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Market"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "Header": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header"
      },
      "QueryParam": {
        "type": "apiKey",
        "name": "key",
        "in": "query"
      }
    }
  },
  "security": [
    {
      "Header": []
    },
    {
      "QueryParam": []
    }
  ]
}
```