curl --request GET \
--url https://api.sportquanta.com/v1/nba/season-leaders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sportquanta.com/v1/nba/season-leaders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sportquanta.com/v1/nba/season-leaders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sportquanta.com/v1/nba/season-leaders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sportquanta.com/v1/nba/season-leaders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sportquanta.com/v1/nba/season-leaders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sportquanta.com/v1/nba/season-leaders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"season": 123,
"team_id": "<string>",
"limit": 123,
"leaders": {
"points": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"rebounds": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"assists": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"steals": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"blocks": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"three_pointers_made": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
]
}
},
"_meta": {
"request_id": "<string>",
"served_from": "live",
"cache_ttl_seconds": 123,
"provenance": {},
"availability": {}
}
}Season leaders
NBA-only route. Returns top-N leaders per stat category —
points, rebounds, assists, steals, blocks, and made threes
(3PM) — optionally restricted to one team. Mirrors
/v1/kbl/season-leaders; the consumer can treat the two
identically. Projected from the NBA player_box_scores season
aggregate written by the derive:player-boxscore derivation
(the NBA analogue of KBL’s player_season_stats). Each entry
carries the player id, team, games played, the ranked value,
a 1-based rank, and the full per-game line.
Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.
curl --request GET \
--url https://api.sportquanta.com/v1/nba/season-leaders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sportquanta.com/v1/nba/season-leaders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sportquanta.com/v1/nba/season-leaders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sportquanta.com/v1/nba/season-leaders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sportquanta.com/v1/nba/season-leaders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sportquanta.com/v1/nba/season-leaders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sportquanta.com/v1/nba/season-leaders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"season": 123,
"team_id": "<string>",
"limit": 123,
"leaders": {
"points": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"rebounds": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"assists": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"steals": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"blocks": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
],
"three_pointers_made": [
{
"player_id": "<string>",
"team_id": "<string>",
"games_played": 123,
"value": 123,
"rank": 123,
"points_per_game": 123,
"rebounds_per_game": 123,
"assists_per_game": 123,
"steals_per_game": 123,
"blocks_per_game": 123,
"three_pointers_made": 123,
"field_goal_pct": 123,
"three_point_pct": 123
}
]
}
},
"_meta": {
"request_id": "<string>",
"served_from": "live",
"cache_ttl_seconds": 123,
"provenance": {},
"availability": {}
}
}Authorizations
Send a workspace API token in the Authorization: Bearer <token> header.
Query Parameters
Required season year. Missing, invalid, or out-of-range values return invalid_query_parameter.
1946 <= x <= 21001 <= x <= 20Response
Season leaders payload.
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
live, cache Response cache TTL; independent of source freshness. Omitted when zero.
Endpoint-specific availability context, including soccer roster coverage.