Vai al contenuto
GET /v1/beta

Each coin's beta to BTC

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/cryptocorrelation-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}