Aller au contenu
GET /v1/asset

Full asymmetry profile of one instrument

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/capture-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/capture-api/v1/asset" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/capture-api/v1/asset", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/capture-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/capture-api/v1/asset",
    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": {
        "name": "20Y+ Treasuries",
        "note": "Up- and down-capture vs SPY on the benchmark's up- and down-days; capture_ratio = upside/downside. downside_beta and upside_beta are the asset's beta on down- and up-days. Read fresh per call, nothing cached.",
        "class": "bond",
        "reads": {
            "capture_ratio": "poor asymmetry (gives up more than it gains)",
            "crash_exposure": "more exposed in rallies than crashes (good asymmetry)",
            "downside_capture": "defensive — cushions sell-offs"
        },
        "source": "Yahoo Finance",
        "symbol": "TLT",
        "up_days": 141,
        "benchmark": "SPY",
        "down_days": 111,
        "upside_beta": 0.266,
        "window_days": 252,
        "observations": 252,
        "capture_ratio": 0.789,
        "downside_beta": 0.022,
        "benchmark_name": "S&P 500",
        "upside_capture": 15,
        "downside_capture": 19
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:46.181Z",
        "request_id": "11226ef6-235a-4f75-8e08-c51f82d958ea"
    },
    "status": "ok",
    "message": "Asset capture retrieved successfully",
    "success": true
}