/v1/sector
One sector performance by name or ETF
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/sectors-api/v1/sector" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sectors-api/v1/sector", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sectors-api/v1/sector");
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/sectors-api/v1/sector",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"etf": "XLK",
"name": "Technology",
"as_of": "2026-06-08T20:00:00.000Z",
"price": 184.18,
"change": 3.88,
"sector": "technology",
"day_low": 183.17,
"day_high": 186.71,
"change_pct": 2.15,
"week52_low": 119.15,
"week52_high": 198.73,
"previous_close": 180.3
},
"meta": {
"timestamp": "2026-06-09T03:02:03.374Z",
"request_id": "b247f22a-cb8d-482f-858e-a83ecf2951e4"
},
"status": "ok",
"message": "Sector retrieved successfully",
"success": true
}