Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/cryptorisk-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/cryptorisk-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptorisk-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptorisk-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/cryptorisk-api/v1/meta",
    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": "coin is a Binance base (BTC, ETH) or symbol (BTCUSDT); quote defaults to USDT. window is 30-1000 days (default 365). VaR/CVaR are historical (non-parametric). Risk-free rate assumed 0. Read fresh per call; only the tradable-symbol list is cached hourly.",
        "source": "Binance public REST (api.binance.com/api/v3/klines, daily, live)",
        "service": "cryptorisk-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/compare": "Rank a basket of coins by risk-adjusted return (coins=BTC,ETH,SOL, window=365).",
            "GET /v1/profile": "Full risk scorecard: VaR, CVaR, skew, kurtosis, drawdown, Sharpe, Sortino (coin=BTC, window=365).",
            "GET /v1/drawdown": "Worst peak-to-trough decline and current drawdown from the high (coin=BTC)."
        },
        "description": "Crypto risk profile and tail risk, computed live from a coin's Binance daily candles (no key, nothing stored). profile returns the full scorecard for one coin — Value at Risk and CVaR at 95%/99%, skewness, excess kurtosis, max drawdown, Sharpe, Sortino, annualised return and volatility. drawdown returns the worst peak-to-trough decline and the current drawdown from the high. compare ranks a basket of coins by risk-adjusted return. The coin-native risk-distribution / tail-risk cut — distinct from the generic risk-metrics, CAPM and trade-stats APIs (which compute on a series you pass in) and from the realised-volatility API (no VaR, skew, kurtosis or drawdown).",
        "trading_symbols": 1370,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:06.120Z",
        "request_id": "ff9ab456-7d2a-4903-9176-fdf92fc58aa9"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}