Ir al contenido
GET /v1/components

The four cross-asset gauges with current value and percentile

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/riskappetite-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "The four cross-asset gauges behind the risk-appetite score. value is the current ratio (or VIX level); risk_on_score is its percentile over ~120 trading days (higher = more risk-on). VIX is inverted so a low VIX scores high.",
        "source": "Yahoo Finance",
        "components": [
            {
                "pair": "SPY/TLT",
                "gauge": "stocks_vs_bonds",
                "value": 8.5806,
                "meaning": "stocks outperforming long bonds = risk-on",
                "risk_on_score": 84.9
            },
            {
                "pair": "HYG/LQD",
                "gauge": "credit",
                "value": 0.7329,
                "meaning": "high-yield outperforming investment-grade = risk-on",
                "risk_on_score": 64.7
            },
            {
                "pair": "HG=F/GC=F",
                "gauge": "copper_vs_gold",
                "value": 0.001512,
                "meaning": "copper outperforming gold = growth/risk-on",
                "risk_on_score": 98.3
            },
            {
                "pair": "VIX (inverted)",
                "gauge": "volatility",
                "value": 18.88,
                "meaning": "low VIX = calm/risk-on",
                "risk_on_score": 37.3
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:28.713Z",
        "request_id": "5b137304-c491-4ee7-9cfe-4b4cedc8e3dd"
    },
    "status": "ok",
    "message": "Components retrieved successfully",
    "success": true
}