Naar de inhoud
GET /v1/asset

Full tail-correlation profile of one instrument

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/tailcorr-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "name": "High-Yield Credit",
        "note": "normal_correlation over all days vs crash_correlation on the benchmark's worst 10% of days and rally_correlation on its best. breakdown = crash - normal. A false diversifier has low normal but high crash correlation. Read fresh per call, nothing cached.",
        "class": "bond",
        "reads": {
            "crash": "partial diversification in a crash",
            "breakdown": "correlation is stable across regimes"
        },
        "source": "Yahoo Finance",
        "symbol": "HYG",
        "tail_pct": 10,
        "benchmark": "SPY",
        "breakdown": -0.19,
        "crash_days": 26,
        "rally_days": 26,
        "window_days": 252,
        "observations": 252,
        "benchmark_name": "S&P 500",
        "crash_correlation": 0.518,
        "rally_correlation": 0.632,
        "normal_correlation": 0.708
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:44.986Z",
        "request_id": "f5bdc3e4-19b7-4110-ba47-bd48be7c19b0"
    },
    "status": "ok",
    "message": "Asset tail correlation retrieved successfully",
    "success": true
}