Zum Inhalt springen
GET /v1/universe

The cross-asset universe and its classes

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/hurst-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/hurst-api/v1/universe" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hurst-api/v1/universe", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hurst-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/hurst-api/v1/universe",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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": "Utilities",
                "class": "sector",
                "symbol": "XLU"
            },
            {
                "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": "EUR/USD",
                "class": "fx",
                "symbol": "EURUSD=X"
            },
            {
                "name": "USD/JPY",
                "class": "fx",
                "symbol": "USDJPY=X"
            },
            {
                "name": "GBP/USD",
                "class": "fx",
                "symbol": "GBPUSD=X"
            },
            {
                "name": "Bitcoin",
                "class": "crypto",
                "symbol": "BTC-USD"
            },
            {
                "name": "Ethereum",
                "class": "crypto",
                "symbol": "ETH-USD"
   
…