Zum Inhalt springen
GET /v1/meta

Spec

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptocorrelation-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptocorrelation-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "coins are Binance bases (BTC, ETH) or symbols (BTCUSDT); quote defaults to USDT. matrix/beta take coins=BTC,ETH,SOL (default top majors, max 15). window is 14-365 days (default 90). pair takes a= and b=.",
        "source": "Binance public REST (api.binance.com/api/v3/klines, daily, live)",
        "service": "cryptocorrelation-api",
        "endpoints": {
            "GET /v1/beta": "Each coin's beta to BTC with correlation and R-squared (coins=ETH,SOL,DOGE, window=90).",
            "GET /v1/meta": "This document.",
            "GET /v1/pair": "Correlation between two coins (a=BTC, b=ETH, window=90).",
            "GET /v1/matrix": "Pairwise correlation matrix across a basket + average pairwise correlation (coins=BTC,ETH,SOL, window=90)."
        },
        "description": "Crypto cross-asset correlation and beta, computed live from Binance daily candles (no key, nothing stored). matrix returns the full pairwise return-correlation matrix across a basket plus the average pairwise correlation. pair returns the correlation between two coins. beta returns each coin's beta to BTC with correlation and R-squared. From the covariance of daily log returns. The correlation/beta analytics cut for crypto — distinct from the FX-correlation API, the single-asset realised-volatility API and the portfolio-optimiser.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:10.350Z",
        "request_id": "8e402e31-6782-4f6c-9bf2-c1d9b149d824"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}