Ir al contenido
GET /v1/sectors

All 11 sectors ranked by the day move

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/sectors-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "as_of": "2026-06-08T20:00:00.000Z",
        "count": 11,
        "leader": {
            "sector": "technology",
            "change_pct": 2.15
        },
        "laggard": {
            "sector": "utilities",
            "change_pct": -1.87
        },
        "sectors": [
            {
                "etf": "XLK",
                "name": "Technology",
                "rank": 1,
                "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
            },
            {
                "etf": "XLE",
                "name": "Energy",
                "rank": 2,
                "as_of": "2026-06-08T20:00:00.000Z",
                "price": 58.33,
                "change": 0.66,
                "sector": "energy",
                "day_low": 57.97,
                "day_high": 58.96,
                "change_pct": 1.14,
                "week52_low": 42.05,
                "week52_high": 63.46,
                "previous_close": 57.67
            },
            {
                "etf": "XLY",
                "name": "Consumer Discretionary",
                "rank": 3,
                "as_of": "2026-06-08T20:00:00.000Z",
                "price": 115.39,
                "change": 0.53,
                "sector": "consumer_discretionary",
                "day_low": 114.82,
                "day_high": 116.02,
                "change_pct": 0.46,
                "week52_low": 104.81,
                "week52_high": 125.01,
                "previous_close": 114.86
            },
            {
                "etf": "XLV",
                "name": "Health Care",
                "rank": 4,
                "as_of": "2026-06-08T20:00:00.000Z",
                "price": 152.65,
                "change": -0.36,
                "sector": "healthcare",
                "day_low": 152.41,
                "day_high": 154.47,
                "change_pct": -0.24,
                "week52_low": 127.96,
                "week52_high": 160.59,
                "previous_close": 153.01
            },
            {
                "etf": "XLI",
                "name": "Industrials",
                "rank": 5,
                "as_of": "2026-06-08T20:00:00.000Z",
                "price": 173.63,
                "change": -0.55,
                "sector": "industrials",
                "day_low": 173.27,
                "day_high": 175.33,
                "change_pct": -0.32,
                "week52_low": 141.28,
                "week52_high": 179.31,
                "previous_close": 174.18
            },
            {
                "etf": "XLP",
                "name": "Consumer Staples",
                "rank": 6,
                "as_of": "2026-06-
…