{"openapi":"3.1.0","info":{"title":"Stock Sector Correlation Matrix API","version":"1.0.0","description":"How the eleven S&P 500 sectors move together, computed live from Yahoo Finance via the SPDR sector ETFs (no key, nothing stored). Sector correlation is the heart of equity diversification and rotation: defensives (utilities, staples, health care) and cyclicals (tech, discretionary, financials, energy) cluster differently, and when correlations rise the whole market is moving as one (risk-on/risk-off), while a spread of correlations means stock-picking and rotation are rewarded. The matrix endpoint returns the full pairwise return-correlation matrix across all eleven sectors with the most- and least-correlated sector pairs. The sector endpoint returns one sector's correlation to every other, ranked, plus its beta to the S&P 500 (how much it amplifies the market). The sectors endpoint lists what is covered. The equity sector correlation / rotation cut — distinct from the cross-asset correlation matrix (asset classes, not sectors), the crypto and currency correlation APIs (other markets) and the sector price/performance feed. It answers which sectors are the same bet and which diversify, within the stock market.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/sectorcorrelation-api","description":"oanor gateway"}],"tags":[{"name":"Matrix"},{"name":"Sector"},{"name":"Sectors"},{"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/matrix":{"get":{"operationId":"get_v1_matrix","tags":["Matrix"],"summary":"Full 11x11 sector correlation matrix with most/least correlated pairs","description":"","parameters":[{"name":"window","in":"query","required":false,"description":"Lookback in days (20-365)","schema":{"type":"string"},"example":"90"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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 correlations to all others, ranked, with beta to S&P 500","description":"","parameters":[{"name":"sector","in":"query","required":true,"description":"Sector key (see /v1/sectors)","schema":{"type":"string"},"example":"technology"},{"name":"window","in":"query","required":false,"description":"Lookback in days (20-365)","schema":{"type":"string"},"example":"90"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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/sectors":{"get":{"operationId":"get_v1_sectors","tags":["Sectors"],"summary":"The eleven S&P 500 sectors","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"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":720,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1086,"monthly_call_quota":16700,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3266,"monthly_call_quota":87500,"rps_limit":16,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":7480,"monthly_call_quota":476000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/sectorcorrelation-api"}