/v1/sectors
The eleven S&P 500 sectors
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/rrg-api/v1/sectors" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rrg-api/v1/sectors", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rrg-api/v1/sectors");
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/rrg-api/v1/sectors",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "The eleven S&P 500 sectors plotted on the Relative Rotation Graph against the S&P 500. Pass key/alias as sector= to /v1/sector.",
"count": 11,
"source": "Yahoo Finance",
"sectors": [
{
"etf": "XLK",
"key": "technology",
"name": "Technology"
},
{
"etf": "XLF",
"key": "financials",
"name": "Financials"
},
{
"etf": "XLE",
"key": "energy",
"name": "Energy"
},
{
"etf": "XLV",
"key": "health_care",
"name": "Health Care"
},
{
"etf": "XLY",
"key": "consumer_discretionary",
"name": "Consumer Discretionary"
},
{
"etf": "XLP",
"key": "consumer_staples",
"name": "Consumer Staples"
},
{
"etf": "XLI",
"key": "industrials",
"name": "Industrials"
},
{
"etf": "XLB",
"key": "materials",
"name": "Materials"
},
{
"etf": "XLU",
"key": "utilities",
"name": "Utilities"
},
{
"etf": "XLRE",
"key": "real_estate",
"name": "Real Estate"
},
{
"etf": "XLC",
"key": "communication",
"name": "Communication Services"
}
],
"benchmark": "S&P 500 (SPY)",
"quadrants": [
"leading",
"weakening",
"lagging",
"improving"
]
},
"meta": {
"timestamp": "2026-06-12T10:34:57.908Z",
"request_id": "b718599b-2c57-43c4-8137-e7813df26745"
},
"status": "ok",
"message": "Sectors retrieved successfully",
"success": true
}