Sports
Synced sports teams and leagues reference data
Returns every synced team and league for frontend lookups (logos, abbreviations, aliases, colors), ordered by name/sport. Served from a shared server cache refreshed every 15 minutes and never more than 24 hours old; the Age header gives the seconds since the body was built.
GET
/
sports
/
metadata
Synced sports teams and leagues reference data
curl --request GET \
--url https://data.kairos.trade/sports/metadataimport requests
url = "https://data.kairos.trade/sports/metadata"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/sports/metadata', 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://data.kairos.trade/sports/metadata",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://data.kairos.trade/sports/metadata"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.kairos.trade/sports/metadata")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/sports/metadata")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"teams": [
{
"id": "142",
"name": "Boston Celtics",
"league": "NBA",
"logoUrl": "<string>",
"abbreviation": "BOS",
"alias": "Celtics",
"color": "#007A33"
}
],
"leagues": [
{
"id": "8",
"sport": "basketball",
"imageUrl": "<string>"
}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}Was this page helpful?
⌘I
Synced sports teams and leagues reference data
curl --request GET \
--url https://data.kairos.trade/sports/metadataimport requests
url = "https://data.kairos.trade/sports/metadata"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/sports/metadata', 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://data.kairos.trade/sports/metadata",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://data.kairos.trade/sports/metadata"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.kairos.trade/sports/metadata")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/sports/metadata")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"teams": [
{
"id": "142",
"name": "Boston Celtics",
"league": "NBA",
"logoUrl": "<string>",
"abbreviation": "BOS",
"alias": "Celtics",
"color": "#007A33"
}
],
"leagues": [
{
"id": "8",
"sport": "basketball",
"imageUrl": "<string>"
}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}
