/v1/asset
One instrument full risk profile
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/assetvolatility-api/v1/asset" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/assetvolatility-api/v1/asset", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/assetvolatility-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/assetvolatility-api/v1/asset",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"key": "gold",
"note": "ann_volatility_pct is annualised realised volatility; sharpe_ratio is annualised return divided by annualised volatility (zero risk-free); max_drawdown_pct is the worst peak-to-trough fall over the window. Computed from daily closes.",
"class": "commodities",
"label": "Gold",
"source": "Yahoo Finance",
"symbol": "GLD",
"vol_regime": "elevated volatility",
"window_days": 90,
"observations": 90,
"sharpe_ratio": -0.78,
"ann_return_pct": -24.5,
"max_drawdown_pct": -23.56,
"total_return_pct": -9.55,
"ann_volatility_pct": 31.5
},
"meta": {
"timestamp": "2026-06-12T10:35:16.937Z",
"request_id": "fcb7a655-4fad-4590-a70d-afd80f527acb"
},
"status": "ok",
"message": "Asset risk profile retrieved successfully",
"success": true
}