logo
theme
API-BASKETBALL
FREEMIUM
By api-sports
Updated 4 months ago
API-BASKETBALL Overview

115 Basketball Leagues & Cups with Livescore, Odds, Bookmakers, Statistics, Standings, Historical Data, Countries, Seasons

provider
rating
Followers on API
Follow this API
resourcesProvider WebsiteTerms of Service
More Details

Documentation - v1.0.5

ARCHITECTURE

Authentification

To use our API you must subscribe to one of our pricing plans on rapidapi.com

For all your requests you must send in headers the key provided.
X-RapidAPI-Key

    "header" => [
        'X-RapidAPI-Key: XXXXXXXXXXXXXXXXXXXXXXXXX'
    ]

Timezone

Get the list of available timezone to be used in the [games] endpoint

Parameters

This endpoint does not require any parameters

Requests

GET All

get("https://api-basketball.p.rapidapi.com/timezone");

Response Model

{
    "get": "timezone",
    "parameters": [],
    "errors": [],
    "results": 425,
    "response": [
        "Africa/Abidjan",
        "Africa/Accra",
        "Africa/Addis_Ababa",
        "Africa/Algiers",
        "Africa/Asmara",
    ]
}

Seasons

All {season} can be used in other endpoints as filters

Parameters

This endpoint does not require any parameters

Requests

GET All

Get all available {season}

get("https://api-basketball.p.rapidapi.com/seasons");

Response Model

{
    "get": "seasons",
    "parameters": [],
    "errors": [],
    "results": 8,
    "response": [
        "2015-2016",
        "2016-2017",
        2017,
        "2017-2018",
        2018,
        "2018-2019",
        2019,
        "2019-2020"
    ]
}

Countries

The {country} and {code} keys can be used in other endpoints as filters

Parameters

All the parameters of this endpoint can be used together

Parameter Type Required Description
id integer false Fails if field contains anything other than an integer
name string false Fails if field contains anything other than alpha-numeric characters, underscores or dashes
code string false 2 characters | Fails if field has anything other than alphabetic characters | Ex : FR, GB, IT...
search string false 3 characters minimum | Fails if field has anything other than alphabetic characters

Requests

GET All

Get all available country in the API across all {season} and competitions

get("https://api-basketball.p.rapidapi.com/countries");

GET By id

Get all available country from one country {id}

get("https://api-basketball.p.rapidapi.com/countries?id=5");

GET By name

Get all available country from one country {name}

get("https://api-basketball.p.rapidapi.com/countries?name=usa");

GET By code

Get all available country from one country {code}

get("https://api-basketball.p.rapidapi.com/countries?code=us");

GET By search

Allows you to search for a country in relation to a country {name}

get("https://api-basketball.p.rapidapi.com/countries?search=usa");

Response Model

{
    "get": "countries",
    "parameters": {
        "search": "usa"
    },
    "errors": [],
    "results": 1,
    "response": [
        {
            "id": 5,
            "name": "USA",
            "code": "US",
            "flag": "https://media.api-football.com/flags/us.svg"
        }
    ]
}

Leagues

Leagues data are updated several times a day

Leagues & cups history and logo are still in progress, many more seasons will be available in the coming days

The league {id} are unique in the API and leagues keep it across all seasons

Parameters

Most of the parameters of this endpoint can be used together

Parameter Type Required Description
id integer false Fails if field contains anything other than an integer
name string false Fails if field contains anything other than alpha-numeric characters, numbers or space
country_id integer false Fails if field contains anything other than an integer
country string false Fails if field contains anything other than alpha-numeric characters, underscores or dashes
code string false 2 characters | Fails if field has anything other than alphabetic characters | Ex : FR, GB, IT...
season string false Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
search string false 3 characters minimum | Fails if field has anything other than alphabetic characters
type string false Fails if field is not within a predetermined list : [league,cup]

Requests

GET all

Allows to retrieve all the seasons available for all leagues/cups

get("https://api-basketball.p.rapidapi.com/leagues");

GET By id

Allows to retrieve all the seasons available for a league/cup

get("https://api-basketball.p.rapidapi.com/leagues?id=12");

GET By name

Get all leagues from one league {name}

get("https://api-basketball.p.rapidapi.com/leagues?name=nba");

GET By country id

Get all leagues from one {country_id}

You can find the available {country_id} by using the endpoint [country]

get("https://api-basketball.p.rapidapi.com/leagues?country_id=8");

GET By country

Get all leagues from one {country}

You can find the available {country} by using the endpoint [country]

get("https://api-basketball.p.rapidapi.com/leagues?country=chile");

GET By code

Get all leagues from one country {code} (GB, FR, IT etc..)

You can find the available country {code} by using the endpoint [country]

get("https://api-basketball.p.rapidapi.com/leagues?code=gb");

GET By season

Get all leagues from one {season}

You can find the available {season} by using the endpoint [seasons]

get("https://api-basketball.p.rapidapi.com/leagues?season=2019-2020");

GET By search

Allows you to search for a league in relation to a league {name}

get("https://api-basketball.p.rapidapi.com/leagues?search=lnb");

GET By type

Get all leagues from one {type}

get("https://api-basketball.p.rapidapi.com/leagues?type=league");

Examples

It's possible to make requests by mixing the available parameters

get("https://api-basketball.p.rapidapi.com/leagues?country=chile&season=2019-2020&type=league");
get("https://api-basketball.p.rapidapi.com/leagues?name=lnb&season=2019-2020");

Response Model

{
    "get": "leagues",
    "parameters": {
        "id": "12"
    },
    "errors": [],
    "results": 1,
    "response": [
        {
            "id": 12,
            "name": "NBA",
            "type": "League",
            "logo": null,
            "country": {
                "id": 5,
                "name": "USA",
                "code": "US",
                "flag": "https://media.api-football.com/flags/us.svg"
            },
            "seasons": [
                {
                    "season": "2019-2020",
                    "start": "2019-10-04",
                    "end": "2020-04-16"
                },
                {
                    "season": "2018-2019",
                    "start": "2018-09-28",
                    "end": "2019-05-24"
                },
                {
                    "season": "2017-2018",
                    "start": "2017-10-01",
                    "end": "2018-06-09"
                },
                {
                    "season": "2016-2017",
                    "start": "2016-10-01",
                    "end": "2017-06-13"
                },
                {
                    "season": "2015-2016",
                    "start": "2015-10-03",
                    "end": "2016-06-20"
                }
            ]
        }
    ]
}

Teams

Data

The team {id} are unique in the API and teams keep it among all the leagues/cups in which they participate

Teams logos are not yet available but will be in the coming weeks

Parameters

All the parameters of this endpoint can be used together

Parameter Type Required Description
id integer false Fails if field contains anything other than an integer
name string false Fails if field contains anything other than alpha-numeric characters, numbers, dashes or space
league integer false Fails if field contains anything other than an integer
season string false Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
search string false 3 characters minimum | Fails if field has anything other than alphabetic characters

Requests

GET By id

Get one team from one team {id}

get("https://api-basketball.p.rapidapi.com/teams?id=32");

GET By name

Get one team from one team {name}

get("https://api-basketball.p.rapidapi.com/teams?name=Denver Nuggets");

GET By league & season

Get all teams from one {league} & {season}

get("https://api-basketball.p.rapidapi.com/teams?league=12&season=2019-2020");

GET By search

Allows you to search for a team in relation to a team {name}

get("https://api-basketball.p.rapidapi.com/teams?search=denver");

Response Model

{
    "get": "teams",
    "parameters": {
        "name": "Denver Nuggets"
    },
    "errors": [],
    "results": 1,
    "response": [
        {
            "id": 139,
            "name": "Denver Nuggets",
            "nationnal": false,
            "logo": null,
            "country": {
                "id": 5,
                "name": "USA",
                "code": "US",
                "flag": "https://media.api-football.com/flags/us.svg"
            }
        }
    ]
}

Statistics

Parameters

Parameter Type Required Description
league integer true Fails if field contains anything other than an integer
season string true Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
team integer true Fails if field contains anything other than an integer
date string false Fails if field does not contain a valid date : [YYYY-MM-DD]

Requests

GET

Get all statistics for a {team} in a {league} & {season}

get("https://api-basketball.p.rapidapi.com/statistics?league=12&season=2019-2020&team=139");

GET With date

Get all statistics for a {team} in a {league} & {season} with a end {date}

get("https://api-basketball.p.rapidapi.com/statistics?league=12&season=2019-2020&team=139&date=2019-10-22");

Response Model

{
    "get": "statistics",
    "parameters": {
        "league": "12",
        "season": "2019-2020",
        "team": "139"
    },
    "errors": [],
    "results": 5,
    "response": {
        "league": {
            "id": 12,
            "name": "NBA",
            "type": "League",
            "season": "2019-2020",
            "logo": null
        },
        "country": {
            "id": 5,
            "name": "USA",
            "code": "US",
            "flag": "https://media.api-football.com/flags/us.svg"
        },
        "team": {
            "id": 139,
            "name": "Denver Nuggets",
            "logo": null
        },
        "games": {
            "played": {
                "home": 9,
                "away": 9,
                "all": 18
            },
            "wins": {
                "home": {
                    "total": 7,
                    "percentage": "0.778"
                },
                "away": {
                    "total": 8,
                    "percentage": "0.889"
                },
                "all": {
                    "total": 15,
                    "percentage": "0.833"
                }
            },
            "draws": {
                "home": {
                    "total": 0,
                    "percentage": "0.000"
                },
                "away": {
                    "total": 0,
                    "percentage": "0.000"
                },
                "all": {
                    "total": 0,
                    "percentage": "0.000"
                }
            },
            "loses": {
                "home": {
                    "total": 2,
                    "percentage": "0.222"
                },
                "away": {
                    "total": 1,
                    "percentage": "0.111"
                },
                "all": {
                    "total": 3,
                    "percentage": "0.167"
                }
            }
        },
        "points": {
            "for": {
                "total": {
                    "home": 956,
                    "away": 961,
                    "all": 1917
                },
                "average": {
                    "home": "106.2",
                    "away": "106.8",
                    "all": "106.5"
                }
            },
            "against": {
                "total": {
                    "home": 911,
                    "away": 902,
                    "all": 1813
                },
                "average": {
                    "home": "101.2",
                    "away": "100.2",
                    "all": "100.7"
                }
            }
        }
    }
}

Standings

Standings are updated every hours

For the moment only the current season standings are available

Return a table of one or more rankings according to the league / cup. Some competitions have several rankings in a year, group phase, opening ranking, closing ranking etc…

Parameters

Parameter Type Required Description
league integer true Fails if field contains anything other than an integer
season string true Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
team integer false Fails if field contains anything other than an integer
stage string false Fails if field is not a result of the endpoint standings/stages
group string false Fails if field is not a result of the endpoint standings/groups

Requests

GET By league

Get all Standings from one {league} & {season}

get("https://api-basketball.p.rapidapi.com/standings?league=12&season=2019-2020");

GET By league & team

Get all Standings from one {league} & {season} & {team}

get("https://api-basketball.p.rapidapi.com/standings?league=12&season=2019-2020&team=137");

Response Model

{
    "get": "standings",
    "parameters": {
        "league": "12",
        "season": "2019-2020",
        "team": "137"
    },
    "errors": [],
    "results": 1,
    "response": [
        [
            {
                "position": 14,
                "stage": "NBA - Regular Season",
                "group": {
                    "name": "Eastern Conference",
                    "points": null
                },
                "team": {
                    "id": 137,
                    "name": "Cleveland Cavaliers",
                    "logo": null
                },
                "league": {
                    "id": 12,
                    "name": "NBA",
                    "type": "League",
                    "season": "2019-2020",
                    "logo": null
                },
                "country": {
                    "id": 5,
                    "name": "USA",
                    "code": "US",
                    "flag": "https://media.api-football.com/flags/us.svg"
                },
                "games": {
                    "played": 15,
                    "win": {
                        "total": 4,
                        "percentage": "0.267"
                    },
                    "lose": {
                        "total": 11,
                        "percentage": "0.733"
                    }
                },
                "points": {
                    "for": 1559,
                    "against": 1682
                },
                "form": "LLLLL",
                "description": null
            }
        ]
    ]
}

Stages

Parameters

Parameter Type Required Description
league integer true Fails if field contains anything other than an integer
season string true Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]

Requests

GET By league & season

Get all Stages from one {league} & {season}

get("https://api-basketball.p.rapidapi.com/standings/stages?league=12&season=2019-2020");

Response Model

{
"get":"standings/stages"
"parameters":{
     "league":"12"
     "season":"2019-2020"
}
"errors":[]
"results":2
"response":[
     "NBA - Regular Season"
     "NBA - Pre-season"
   ]
}

Groups

Parameters

Parameter Type Required Description
league integer true Fails if field contains anything other than an integer
season string true Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]

Requests

GET By league & season

Get all Groups from one {league} & {season}

get("https://api-basketball.p.rapidapi.com/standings/groups?league=12&season=2019-2020");

Response Model

{
"get":"standings/groups"
"parameters":{
     "league":"12"
     "season":"2019-2020"
}
"errors":[]
"results":8
"response":[
     "Western Conference"
     "Eastern Conference"
     "Atlantic"
     "Southeast"
     "Central"
     "Northwest"
     "Pacific"
     "Southwest"
   ]
}

Games

Games

Games are updated every 15 seconds

For all requests to [Games] you can add the query parameter {timezone} to your request in order to retrieve the list of matches in the time zone of your choice like "Europe/London"

To know the list of available time zones you have to use the endpoint [timezone]

Available games status

  • NS : Not Started
  • Q1 : Quarter 1 (In Play)
  • Q2 : Quarter 2 (In Play)
  • Q3 : Quarter 3 (In Play)
  • Q4 : Quarter 4 (In Play)
  • OT : Over Time (In Play)
  • BT : Break Time (In Play)
  • HT : Halftime (In Play)
  • FT : Game Finished (Game Finished)
  • AOT : After Over Time (Game Finished)
  • POST : Game Postponed
  • CANC : Game Cancelled

Parameters

Most of the parameters of this endpoint can be used together

Parameter Type Required Description
id integer false Fails if field contains anything other than an integer
league integer false Fails if field contains anything other than an integer
season string false Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
team integer false Fails if field contains anything other than an integer
date string false Fails if field does not contain a valid date : [YYYY-MM-DD]
timezone string false Fails if field is not a result of the endpoint timezone

Requests

GET By id

Get game from one game {id}

get("https://api-basketball.p.rapidapi.com/games?id=1154");

GET By league

Get all available games from one {league} & {season}

get("https://api-basketball.p.rapidapi.com/games?league=12&season=2019-2020");

GET By team

Get all available games from one {team}

get("https://api-basketball.p.rapidapi.com/games?team=134");

GET By date

Get all available games from one {date}

get("https://api-basketball.p.rapidapi.com/games?date=2019-11-23");

Example

It’s possible to make requests by mixing the available parameters

get("https://api-basketball.p.rapidapi.com/games?team=134&date=2019-11-23");
get("https://api-basketball.p.rapidapi.com/games?league=12&season=2019-2020");
get("https://api-basketball.p.rapidapi.com/games?league=12&season=2019-2020&date=2019-11-23");
get("https://api-basketball.p.rapidapi.com/games?league=12&season=2019-2020&team=134&date=2019-11-23&timezone=europe/london");

Response Model

{
    "get": "games",
    "parameters": {
        "league": "12",
        "date": "2019-11-23",
        "team": "134",
        "timezone": "europe/london",
        "season": "2019-2020"
    },
    "errors": [],
    "results": 1,
    "response": [
        {
            "id": 1911,
            "date": "2019-11-23T00:30:00+00:00",
            "time": "00:30",
            "timestamp": 1574469000,
            "timezone": "europe/london",
            "stage": null,
            "week": null,
            "status": {
                "long": "Game Finished",
                "short": "FT",
                "timer": null
            },
            "league": {
                "id": 12,
                "name": "NBA",
                "type": "League",
                "season": "2019-2020",
                "logo": null
            },
            "country": {
                "id": 5,
                "name": "USA",
                "code": "US",
                "flag": "https://media.api-football.com/flags/us.svg"
            },
            "teams": {
                "home": {
                    "id": 134,
                    "name": "Brooklyn Nets",
                    "logo": null
                },
                "away": {
                    "id": 157,
                    "name": "Sacramento Kings",
                    "logo": null
                }
            },
            "scores": {
                "home": {
                    "quarter_1": 26,
                    "quarter_2": 30,
                    "quarter_3": 30,
                    "quarter_4": 30,
                    "over_time": null,
                    "total": 116
                },
                "away": {
                    "quarter_1": 23,
                    "quarter_2": 26,
                    "quarter_3": 21,
                    "quarter_4": 27,
                    "over_time": null,
                    "total": 97
                }
            }
        }
    ]
}

h2h

Parameters

Most of the parameters of this endpoint can be used together

Parameter Type Required Description
h2h string true Fails if field does not match the regular expression : [id-id]
league integer false Fails if field contains anything other than an integer
season string false Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
timezone string false Fails if field is not a result of the endpoint timezone

Requests

GET

Get all head to head between two {team}

get("https://api-basketball.p.rapidapi.com/games?h2h=132-134");

Examples

It’s possible to make requests by mixing the available parameters

get("https://api-basketball.p.rapidapi.com/games?league=12&season=2019-2020&h2h=132-134");
get("https://api-basketball.p.rapidapi.com/games?league=12&season=2019-2020&h2h=132-134&timezone=Europe/London");

Response Model

{
    "get": "games",
    "parameters": {
        "league": "12",
        "h2h": "132-134",
        "season": "2019-2020"
    },
    "errors": [],
    "results": 4,
    "response": [
        {
            "id": 2003,
            "date": "2019-12-05T00:30:00+00:00",
            "time": "00:30",
            "timestamp": 1575505800,
            "timezone": "UTC",
            "stage": null,
            "week": null,
            "status": {
                "long": "Not Started",
                "short": "NS",
                "timer": null
            },
            "league": {
                "id": 12,
                "name": "NBA",
                "type": "League",
                "season": "2019-2020",
                "logo": null
            },
            "country": {
                "id": 5,
                "name": "USA",
                "code": "US",
                "flag": "https://media.api-football.com/flags/us.svg"
            },
            "teams": {
                "home": {
                    "id": 132,
                    "name": "Atlanta Hawks",
                    "logo": null
                },
                "away": {
                    "id": 134,
                    "name": "Brooklyn Nets",
                    "logo": null
                }
            },
            "scores": {
                "home": {
                    "quarter_1": null,
                    "quarter_2": null,
                    "quarter_3": null,
                    "quarter_4": null,
                    "over_time": null,
                    "total": null
                },
                "away": {
                    "quarter_1": null,
                    "quarter_2": null,
                    "quarter_3": null,
                    "quarter_4": null,
                    "over_time": null,
                    "total": null
                }
            }
        }
    ]
}

Odds

Odds are updated once a day

We provide pre-match odds between 1 and 7 days before the game

(The availability of odds may vary according to the leagues, seasons, games and bookmakers)

bookmakers

All bookmakers {id} can be used in endpoint [odds] as filters

Parameters

Parameter Type Required Description
id integer false Fails if field contains anything other than an integer
search string false 3 characters minimum | Fails if field has anything other than alphabetic characters

Requests

GET all

Get all available bookmakers

get("https://api-basketball.p.rapidapi.com/bookmakers");

GET By Id

Get bookmaker from one {id}

get("https://api-basketball.p.rapidapi.com/bookmakers?id=8");

GET By search

Allows you to search for a bookmaker in relation to a bookmakers {name}

get("https://api-basketball.p.rapidapi.com/bookmakers?search=bet365");

Response Model

{
    "get": "bookmakers",
    "parameters": [],
    "errors": [],
    "results": 15,
    "response": [
        {
            "id": 1,
            "name": "Bwin"
        },
        {
            "id": 2,
            "name": "Marathon Bet"
        },
        {
            "id": 3,
            "name": "1xBet"
        },
        {
            "id": 4,
            "name": "Bet365"
        },
        {
            "id": 5,
            "name": "Bovada"
        },
        {
            "id": 6,
            "name": "Betcris"
        },
        {
            "id": 7,
            "name": "10Bet"
        },
        {
            "id": 8,
            "name": "5Dimes"
        },
        {
            "id": 9,
            "name": "Betfair"
        },
        {
            "id": 10,
            "name": "188bet"
        },
        {
            "id": 11,
            "name": "Intertops"
        },
        {
            "id": 12,
            "name": "Pinnacle"
        },
        {
            "id": 13,
            "name": "Sport Betting Online"
        },
        {
            "id": 14,
            "name": "BetFred"
        },
        {
            "id": 15,
            "name": "BetUS"
        }
    ]
}

bets

All bets {id} can be used in endpoint [odds] as filters

Parameters

Parameter Type Required Description
id integer false Fails if field contains anything other than an integer
search string false 3 characters minimum | Fails if field has anything other than alphabetic characters

Requests

GET all

Get all available bets

get("https://api-basketball.p.rapidapi.com/bets");

GET By Id

Get bet from one {id}

get("https://api-basketball.p.rapidapi.com/bets?id=47");

GET By search

Allows you to search for a bet in relation to a bets {name}

get("https://api-basketball.p.rapidapi.com/bets?search=under");

Response Model

{
    "get": "bets",
    "parameters": {
        "search": "under"
    },
    "errors": [],
    "results": 7,
    "response": [
        {
            "id": 1,
            "name": "3Way Result"
        },
        {
            "id": 2,
            "name": "Home/Away"
        },
        {
            "id": 3,
            "name": "Asian Handicap"
        },
        {
            "id": 4,
            "name": "Over/Under"
        },
        {
            "id": 5,
            "name": "Over/Under 1st Half"
        },
        {
            "id": 6,
            "name": "Highest Scoring Half"
        },
        {
            "id": 7,
            "name": "Double Chance"
        },
        {
            "id": 8,
            "name": "1st Half 3Way Result"
        },
        {
            "id": 9,
            "name": "Handicap Result 1st Half"
        },
        {
            "id": 10,
            "name": "Asian Handicap First Half"
        },
        {
            "id": 11,
            "name": "Asian Handicap 2nd Qtr"
        },
        {
            "id": 12,
            "name": "Odd/Even (Including OT)"
        },
        {
            "id": 13,
            "name": "Odd/Even 1st Half"
        },
        {
            "id": 14,
            "name": "3Way Result - 1st Qtr"
        },
        {
            "id": 15,
            "name": "HT/FT (Including OT)"
        },
        {
            "id": 16,
            "name": "Over/Under 1st Qtr"
        },
        {
            "id": 17,
            "name": "Asian Handicap 1st Qtr"
        },
        {
            "id": 18,
            "name": "Home/Away - 1st Half"
        },
        {
            "id": 19,
            "name": "Home/Away - 1st Qtr"
        }
    ]
}

odds

Parameters

Parameter Type Required Description
game integer false Fails if field contains anything other than an integer
league integer false Fails if field contains anything other than an integer
season string false Fails if field contains anything other than a valid season [YYYY] or [YYYY-YYYY]
bookmaker integer false Fails if field contains anything other than an integer
bet integer false Fails if field contains anything other than an integer

Requests

GET By game

Get all available odds from one {game}

get("https://api-basketball.p.rapidapi.com/odds?game=1912");

GET By league

Get all available odds from one {league} & {season}

get("https://api-basketball.p.rapidapi.com/odds?league=12&season=2019-2020");

Examples

It's possible to make requests by mixing the available parameters

get("https://api-basketball.p.rapidapi.com/odds?game=1912&bookmaker=4&bet=5");
get("https://api-basketball.p.rapidapi.com/odds?game=1912&bet=5");
get("https://api-basketball.p.rapidapi.com/odds?league=12&game=1912&bookmaker=4&season=2019-2020");

Response Model

{
    "get": "odds",
    "parameters": {
        "bet": "2",
        "game": "1912"
    },
    "errors": [],
    "results": 1,
    "response": [
        {
            "league": {
                "id": 12,
                "name": "NBA",
                "type": "League",
                "season": "2019-2020",
                "logo": null
            },
            "country": {
                "id": 5,
                "name": "USA",
                "code": "US",
                "flag": "https://media.api-football.com/flags/us.svg"
            },
            "game": {
                "id": 1912
            },
            "bookmakers": [
                {
                    "id": 1,
                    "name": "bwin",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.30"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.60"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 7,
                    "name": "10Bet",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.33"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.45"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 4,
                    "name": "bet365",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.34"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.35"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 2,
                    "name": "Marathon",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.36"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.44"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 8,
                    "name": "5Dimes",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.36"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.55"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 9,
                    "name": "Betfair",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.33"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.25"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 10,
                    "name": "188bet",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.32"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.60"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 11,
                    "name": "Intertops",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.33"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.50"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 12,
                    "name": "Pncl",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.34"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.51"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 13,
                    "name": "Sbo",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.32"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.38"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "1xBet",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.37"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.42"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 14,
                    "name": "BetFred",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.33"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.25"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 5,
                    "name": "Bovada",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.33"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.50"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 15,
                    "name": "BetUS",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.36"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.35"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": 6,
                    "name": "Betcris",
                    "bets": [
                        {
                            "id": 2,
                            "name": "Home/Away",
                            "values": [
                                {
                                    "value": "Home",
                                    "odd": "1.32"
                                },
                                {
                                    "value": "Away",
                                    "odd": "3.39"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
Have a question about this API?Ask the API Provider.
More by api-sports
Developers who viewed API-BASKETBALL also viewed

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication