/v1/beta
Each coin's beta to BTC
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/cryptocorrelation-api/v1/beta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptocorrelation-api/v1/beta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptocorrelation-api/v1/beta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/cryptocorrelation-api/v1/beta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "beta = cov(coin, BTC) / var(BTC) on daily log returns: beta > 1 amplifies BTC moves, < 1 dampens, < 0 moves against. r_squared is how much of the coin's variance BTC explains.",
"betas": [
{
"beta": 1.28,
"coin": "ETH",
"r_squared": 0.821,
"correlation": 0.906
},
{
"beta": 1.245,
"coin": "SOL",
"r_squared": 0.772,
"correlation": 0.878
},
{
"beta": 0.985,
"coin": "DOGE",
"r_squared": 0.605,
"correlation": 0.778
}
],
"count": 3,
"source": "Binance",
"benchmark": "BTC",
"window_days": 90,
"observations": 90
},
"meta": {
"timestamp": "2026-06-12T01:41:09.338Z",
"request_id": "9093d429-7a47-4758-82b4-d413f2f27d37"
},
"status": "ok",
"message": "Beta retrieved successfully",
"success": true
}