Ir al contenido
GET /v1/asset

One asset correlation to all others, ranked, with best diversifiers

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/crossassetcorrelation-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "to": "2026-06-11",
        "from": "2026-03-10",
        "note": "One asset's Pearson correlation to every other, ranked high to low. best_diversifiers are the lowest / most negative — the assets that most reduce concentration risk when held alongside this one.",
        "asset": "gold",
        "class": "commodities",
        "label": "Gold",
        "source": "Yahoo Finance + Binance",
        "window_days": 90,
        "correlations": [
            {
                "key": "silver",
                "class": "commodities",
                "label": "Silver",
                "correlation": 0.836
            },
            {
                "key": "intl_developed",
                "class": "equities",
                "label": "Developed ex-US Equities",
                "correlation": 0.686
            },
            {
                "key": "us_equities",
                "class": "equities",
                "label": "US Equities (S&P 500)",
                "correlation": 0.668
            },
            {
                "key": "us_tech",
                "class": "equities",
                "label": "US Tech (Nasdaq 100)",
                "correlation": 0.655
            },
            {
                "key": "emerging",
                "class": "equities",
                "label": "Emerging Market Equities",
                "correlation": 0.624
            },
            {
                "key": "us_smallcap",
                "class": "equities",
                "label": "US Small Caps",
                "correlation": 0.597
            },
            {
                "key": "mid_treasuries",
                "class": "bonds",
                "label": "7-10y US Treasuries",
                "correlation": 0.588
            },
            {
                "key": "high_yield",
                "class": "bonds",
                "label": "High-Yield Credit",
                "correlation": 0.546
            },
            {
                "key": "ig_credit",
                "class": "bonds",
                "label": "Investment-Grade Credit",
                "correlation": 0.5
            },
            {
                "key": "long_treasuries",
                "class": "bonds",
                "label": "Long US Treasuries",
                "correlation": 0.404
            },
            {
                "key": "ether",
                "class": "crypto",
                "label": "Ether",
                "correlation": 0.343
            },
            {
                "key": "bitcoin",
                "class": "crypto",
                "label": "Bitcoin",
                "correlation": 0.336
            },
            {
                "key": "real_estate",
                "class": "real_estate",
                "label": "US Real Estate (REITs)",
                "correlation": 0.313
            },
            {
                "key": "broad_commodities",
                "class": "commodities",
                "label": "Broad
…