Zum Inhalt springen
GET /v1/beta

Each coin's beta to BTC

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cryptocorrelation-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}