/v1/asset
Full asymmetry profile of one instrument
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}