Skip to content
GET /v1/sectors

The eleven S&P 500 sectors

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/sectorcorrelation-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "The eleven S&P 500 GICS sectors (via SPDR sector ETFs). 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"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:13.245Z",
        "request_id": "3a75ee4f-8172-430b-a453-f93e1684c641"
    },
    "status": "ok",
    "message": "Sectors retrieved successfully",
    "success": true
}