/v1/universe
The cross-asset universe and its classes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/ulcerindex-api/v1/universe" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ulcerindex-api/v1/universe", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ulcerindex-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/ulcerindex-api/v1/universe",
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": {
"note": "The cross-asset universe the screener ranks. Pass class= to a screener call to rank within one class.",
"count": 21,
"assets": [
{
"name": "S&P 500",
"class": "equity",
"symbol": "SPY"
},
{
"name": "Nasdaq 100",
"class": "equity",
"symbol": "QQQ"
},
{
"name": "US Small Caps",
"class": "equity",
"symbol": "IWM"
},
{
"name": "Developed ex-US",
"class": "equity",
"symbol": "EFA"
},
{
"name": "Emerging Markets",
"class": "equity",
"symbol": "EEM"
},
{
"name": "Technology",
"class": "sector",
"symbol": "XLK"
},
{
"name": "Financials",
"class": "sector",
"symbol": "XLF"
},
{
"name": "Energy",
"class": "sector",
"symbol": "XLE"
},
{
"name": "Health Care",
"class": "sector",
"symbol": "XLV"
},
{
"name": "Industrials",
"class": "sector",
"symbol": "XLI"
},
{
"name": "Utilities",
"class": "sector",
"symbol": "XLU"
},
{
"name": "Real Estate",
"class": "sector",
"symbol": "XLRE"
},
{
"name": "Gold",
"class": "commodity",
"symbol": "GLD"
},
{
"name": "Silver",
"class": "commodity",
"symbol": "SLV"
},
{
"name": "Crude Oil",
"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": "US Aggregate Bonds",
"class": "bond",
"symbol": "AGG"
},
{
"name": "Bitcoin",
"class": "crypto",
"symbol": "BTC-USD"
},
{
"name": "Ethereum",
"class": "crypto",
"symbol"
…