curl "https://api.basketballapi.net/v1/standings?competition=cp_11A6HQXJ&season=ss_K1TTWVRM" \
-H "Authorization: Bearer bba_live_your_key"
import requests
r = requests.get("https://api.basketballapi.net/v1/standings?competition=cp_11A6HQXJ&season=ss_K1TTWVRM",
headers={"Authorization": "Bearer bba_live_your_key"})
print(r.json()["data"])
const r = await fetch("https://api.basketballapi.net/v1/standings?competition=cp_11A6HQXJ&season=ss_K1TTWVRM", {
headers: { Authorization: "Bearer bba_live_your_key" }
});
const { data } = await r.json();
$ctx = stream_context_create(['http' => [
'header' => "Authorization: Bearer bba_live_your_key",
]]);
$r = json_decode(file_get_contents("https://api.basketballapi.net/v1/standings?competition=cp_11A6HQXJ&season=ss_K1TTWVRM", false, $ctx), true);
200Example answer, in shape
{
"data": {
"competition": {
"id": "cp_929127FC",
"name": "Example name"
},
"season": {
"id": "ss_EBC81C6D",
"name": "Example name"
},
"games": 34,
"through": "2026-10-01",
"table": [
{
"rank": 12,
"team": {
"id": "tm_8EB4D858",
"name": "Example name"
},
"played": 12,
"won": 12,
"lost": 12,
"win_share": 7.5,
"points_for": 12,
"points_against": 12,
"points_difference": 12,
"home": "text",
"away": "text",
"last_ten": "text",
"streak": "text"
}
]
},
"meta": { "plan": "Free key" }
}