Retrieve a list of divisions.

Description

Get a list of all divisions and the leagues that they are a part of for the given sports and leagues.

Specific Parameter Information

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

You must pass at least one sport and/or league.

sport

The sport you want data for. You can pass the id or the name.

league

The league you want data for. You can pass the id or the name.

Example Responses

URL: https://api.opticodds.com/api/v3/divisions?league=NCAAF

{
    "data": [
        {
            "name": "FBS",
            "leagues": [
                {
                    "id": "ncaaf",
                    "name": "NCAAF"
                }
            ]
        },
        {
            "name": "FCS",
            "leagues": [
                {
                    "id": "ncaaf",
                    "name": "NCAAF"
                }
            ]
        }
    ]
}
Language
Credentials
Click Try It! to start a request and see the response here!