curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/leaderboard/leagues'import requests
url = "https://api.0xinsider.com/api/v1/leaderboard/leagues"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.0xinsider.com/api/v1/leaderboard/leagues', 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.0xinsider.com/api/v1/leaderboard/leagues",
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.0xinsider.com/api/v1/leaderboard/leagues"
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.0xinsider.com/api/v1/leaderboard/leagues")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/leaderboard/leagues")
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{
"object": "leaderboard_leagues",
"data": {
"min_ranked": 20,
"min_resolved": 10,
"refreshed_at": "2026-11-01T12:00:00Z",
"leagues": [
{
"category": "Soccer",
"sport": "soccer",
"slug": "premier-league",
"name": "Premier League",
"ranked_traders": 412,
"total_traders": 1630
}
]
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}Leaderboard leagues
List every league that has its own skill leaderboard, grouped by sport.
curl -sS \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
'https://api.0xinsider.com/api/v1/leaderboard/leagues'import requests
url = "https://api.0xinsider.com/api/v1/leaderboard/leagues"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.0xinsider.com/api/v1/leaderboard/leagues', 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.0xinsider.com/api/v1/leaderboard/leagues",
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.0xinsider.com/api/v1/leaderboard/leagues"
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.0xinsider.com/api/v1/leaderboard/leagues")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/leaderboard/leagues")
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{
"object": "leaderboard_leagues",
"data": {
"min_ranked": 20,
"min_resolved": 10,
"refreshed_at": "2026-11-01T12:00:00Z",
"leagues": [
{
"category": "Soccer",
"sport": "soccer",
"slug": "premier-league",
"name": "Premier League",
"ranked_traders": 412,
"total_traders": 1630
}
]
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}sport and slug are the {sport} path segment and the league value of Sport leaderboard.
Leagues are grouped by sport, then sorted by the number of ranked wallets, most first. A league is listed once its edge ranking holds at least min_ranked wallets. It needs a Pro or Max key.
Parameters
This endpoint takes no parameters.Key response fields
| Field | Meaning |
|---|---|
min_ranked | The number of ranked wallets a league needs before it gets a board. |
min_resolved | The number of resolved markets a wallet needs in a league to be on its board. |
refreshed_at | When the league ranking last ran. Leagues are ranked once a day. |
leagues[].category | The sport the league belongs to, for example Soccer. |
leagues[].sport | The sport slug. Use it as the {sport} path segment of the board. |
leagues[].slug | The league slug. Use it as the board’s league value. |
leagues[].name | The league’s display name, for example Premier League. |
leagues[].ranked_traders | The number of wallets the league’s edge ranking holds. |
leagues[].total_traders | The number of wallets with at least min_resolved resolved markets in the league. |
Example
curl -H "Authorization: Bearer $OXINSIDER_API_KEY" \
"https://api.0xinsider.com/api/v1/leaderboard/leagues"
What it does not return
- The boards themselves. Read one with Sport leaderboard.
- A league with too few ranked wallets. It has no board, so it is not listed.
- A ranking while the daily run is rebuilding it. The endpoint returns
503read_model_warmingwithRetry-Afterinstead.
Authorizations
Legacy default or named integration API key, or OAuth 2.1 access token, in the Authorization header as Bearer oxi_sk_live_... or Bearer oxi_at_.... Default keys retain full access; integration keys are limited to their approved read, webhooks, export and usage scopes and expire within 90 days. All credentials share the owner's account limits. Data calls require an active Pro subscription and return live data. A 401 carries WWW-Authenticate: Bearer resource_metadata="https://api.0xinsider.com/.well-known/oauth-protected-resource" (RFC 6750 section 3, RFC 9728).
Scopes
Headers
Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.
strict Was this page helpful?