{"openapi":"3.1.0","info":{"title":"Stock Sectors API","version":"1.0.0","description":"Live S&P 500 sector performance as an API — the sector-rotation picture traders watch, served from Yahoo Finance via the eleven SPDR sector ETFs. It returns each of the eleven GICS sectors — Technology, Financials, Energy, Health Care, Consumer Discretionary, Consumer Staples, Industrials, Materials, Utilities, Real Estate and Communication Services — with its tracking ETF's price, the day's change, the day's high and low, and the 52-week high and low. Pull the whole board ranked by the day's move, with the leading and lagging sectors called out, or look one sector up by name or ETF ticker. The sector-rotation and market-breadth layer for trading, macro-research and dashboard apps. Live, no key, no cache. Distinct from index-level, single-stock and cross-asset-ratio APIs — this is the equity-sector performance breakdown.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/sectors-api","description":"oanor gateway"}],"tags":[{"name":"Sectors"},{"name":"Sector"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/sectors":{"get":{"operationId":"get_v1_sectors","tags":["Sectors"],"summary":"All 11 sectors ranked by the day move","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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-08T20:00:00.000Z","price":83.07,"change":-0.37,"sector":"consumer_staples","day_low":82.93,"day_high":83.49,"change_pct":-0.44,"week52_low":75.16,"week52_high":90.14,"previous_close":83.44},{"etf":"XLC","name":"Communication Services","rank":7,"as_of":"2026-06-08T20:00:00.000Z","price":111.09,"change":-0.58,"sector":"communication","day_low":110.12,"day_high":111.47,"change_pct":-0.52,"week52_low":101.99,"week52_high":120.41,"previous_close":111.67},{"etf":"XLF","name":"Financials","rank":8,"as_of":"2026-06-08T20:00:00.000Z","price":51.97,"change":-0.33,"sector":"financials","day_low":51.96,"day_high":52.47,"change_pct":-0.63,"week52_low":47.67,"week52_high":56.52,"previous_close":52.3},{"etf":"XLB","name":"Materials","rank":9,"as_of":"2026-06-08T20:00:00.000Z","price":49.96,"change":-0.67,"sector":"materials","day_low":49.91,"day_high":50.8,"change_pct":-1.32,"week52_low":42.04,"week52_high":54.14,"previous_close":50.63},{"etf":"XLRE","name":"Real Estate","rank":10,"as_of":"2026-06-08T20:00:00.000Z","price":44.03,"change":-0.67,"sector":"real_estate","day_low":43.95,"day_high":44.83,"change_pct":-1.5,"week52_low":39.73,"week52_high":45.05,"previous_close":44.7},{"etf":"XLU","name":"Utilities","rank":11,"as_of":"2026-06-08T20:00:00.000Z","price":43.52,"change":-0.83,"sector":"utilities","day_low":43.47,"day_high":44.37,"change_pct":-1.87,"week52_low":39.89,"week52_high":47.8,"previous_close":44.35}]},"meta":{"timestamp":"2026-06-09T03:02:03.292Z","request_id":"4b2322bb-5a60-4337-a148-82ba97505b55"},"status":"ok","message":"Sectors retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/sector":{"get":{"operationId":"get_v1_sector","tags":["Sector"],"summary":"One sector performance by name or ETF","description":"","parameters":[{"name":"sector","in":"query","required":false,"description":"Sector key (technology, energy, financials, …)","schema":{"type":"string"},"example":"technology"},{"name":"etf","in":"query","required":false,"description":"SPDR ETF ticker","schema":{"type":"string"},"example":"XLK"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata and sector list","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"source":"Yahoo Finance SPDR sector ETFs (live)","sectors":{"energy":"Energy (XLE)","materials":"Materials (XLB)","utilities":"Utilities (XLU)","financials":"Financials (XLF)","healthcare":"Health Care (XLV)","technology":"Technology (XLK)","industrials":"Industrials (XLI)","real_estate":"Real Estate (XLRE)","communication":"Communication Services (XLC)","consumer_staples":"Consumer Staples (XLP)","consumer_discretionary":"Consumer Discretionary (XLY)"},"service":"sectors-api","endpoints":{"GET /v1/meta":"This document (with the full sector list).","GET /v1/sector":"One sector's performance (sector=technology|energy|… or etf=XLK).","GET /v1/sectors":"All 11 sectors ranked by the day's move, with leader/laggard."},"description":"Live S&P 500 sector performance from Yahoo Finance via the eleven SPDR sector ETFs: each GICS sector (Technology, Financials, Energy, Health Care, Consumer Discretionary, Consumer Staples, Industrials, Materials, Utilities, Real Estate, Communication Services) with its ETF price, day change, day high/low and 52-week high/low. Pull the whole board ranked by the day's move, or one sector. Live, no key. Distinct from index-level, single-stock and cross-asset-ratio APIs — this is the equity-sector performance breakdown.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-09T03:02:03.480Z","request_id":"7fe9afba-0efd-4d21-9adf-ae5bdd89a78d"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":10000,"rps_limit":4,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1000,"monthly_call_quota":130000,"rps_limit":12,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2400,"monthly_call_quota":660000,"rps_limit":35,"hard_limit":true},{"slug":"desk","name":"Desk","price_cents_month":5900,"monthly_call_quota":3400000,"rps_limit":100,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/sectors-api"}