Get historical oracle (spot) prices for crypto chart pre-population
Returns per-symbol resolution-price history over [end_ms - minutes*60*1000, end_ms]
(end_ms defaults to now; clamped to now if a future value is given). Each request
names one oracle source so settlement feeds are never mixed. Symbols must be
the wire ids for that source (bare btc-usd for Binance;
btc-usd-polymarket-chainlink, btc-usd-kalshi-cfb, btc-usd-hyperliquid-mark,
or a -polymarket-twap30/-polymarket-twap60 suffix for venue series). When
source is omitted, it is inferred from the wire symbols — mixed sources are
rejected. Only Binance gaps may be backfilled from Binance REST; every other
source returns an empty array for a missing span. Responses are cached briefly.
The internal store can lag real time by a few seconds.
curl --request GET \
--url https://data.kairos.trade/markets/crypto/oracle-historyimport requests
url = "https://data.kairos.trade/markets/crypto/oracle-history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/markets/crypto/oracle-history', 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/markets/crypto/oracle-history",
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/markets/crypto/oracle-history"
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/markets/crypto/oracle-history")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/markets/crypto/oracle-history")
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{}{
"detail": "<string>"
}{
"detail": "Invalid API credentials"
}{
"detail": "Invite required"
}{
"detail": [
{}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}Query Parameters
Comma-separated, case-insensitive wire symbols for a single source.
Logical assets are btc-usd, eth-usd, sol-usd, xrp-usd, doge-usd, hype-usd,
bnb-usd; venue sources append their suffix (for example
btc-usd-polymarket-chainlink). Kalshi CF Benchmarks supports BTC, ETH, SOL, XRP, DOGE, HYPE, and BNB.
Was this page helpful?
curl --request GET \
--url https://data.kairos.trade/markets/crypto/oracle-historyimport requests
url = "https://data.kairos.trade/markets/crypto/oracle-history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data.kairos.trade/markets/crypto/oracle-history', 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/markets/crypto/oracle-history",
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/markets/crypto/oracle-history"
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/markets/crypto/oracle-history")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.kairos.trade/markets/crypto/oracle-history")
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{}{
"detail": "<string>"
}{
"detail": "Invalid API credentials"
}{
"detail": "Invite required"
}{
"detail": [
{}
]
}{
"error": "Rate limit exceeded: 100 per 1 minute"
}
