/v1/universe
The cross-asset universe and its classes
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/varianceratio-api/v1/universe" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/varianceratio-api/v1/universe", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/varianceratio-api/v1/universe");
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/varianceratio-api/v1/universe",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "The cross-asset universe the screener ranks. Pass class= to a screener call to rank within one class.",
"count": 19,
"assets": [
{
"name": "S&P 500 ETF",
"class": "index",
"symbol": "SPY"
},
{
"name": "Nasdaq 100 ETF",
"class": "index",
"symbol": "QQQ"
},
{
"name": "US Small Caps",
"class": "index",
"symbol": "IWM"
},
{
"name": "Developed ex-US",
"class": "index",
"symbol": "EFA"
},
{
"name": "Emerging Markets",
"class": "index",
"symbol": "EEM"
},
{
"name": "Technology Sector",
"class": "sector",
"symbol": "XLK"
},
{
"name": "Financials Sector",
"class": "sector",
"symbol": "XLF"
},
{
"name": "Energy Sector",
"class": "sector",
"symbol": "XLE"
},
{
"name": "Utilities Sector",
"class": "sector",
"symbol": "XLU"
},
{
"name": "Gold ETF",
"class": "commodity",
"symbol": "GLD"
},
{
"name": "Silver ETF",
"class": "commodity",
"symbol": "SLV"
},
{
"name": "Crude Oil ETF",
"class": "commodity",
"symbol": "USO"
},
{
"name": "Broad Commodities",
"class": "commodity",
"symbol": "DBC"
},
{
"name": "20Y+ Treasuries",
"class": "bond",
"symbol": "TLT"
},
{
"name": "High-Yield Credit",
"class": "bond",
"symbol": "HYG"
},
{
"name": "EUR/USD",
"class": "fx",
"symbol": "EURUSD=X"
},
{
"name": "USD/JPY",
"class": "fx",
"symbol": "USDJPY=X"
},
{
"name": "Bitcoin",
"class": "crypto",
"symbol": "BTC-USD"
},
{
"name": "Ethereum",
"class": "crypto",
"symbol": "ETH-USD"
}
],
"source": "Yahoo Finance",
"classes": [
"index",
"sector",
"commodity",
"bond",
"fx",
"crypto"
]
},
…