{"openapi":"3.1.0","info":{"title":"Relative Strength vs S&P 500 API","version":"1.0.0","description":"Which markets are beating the benchmark and which are lagging, ranked, computed live from Yahoo Finance (no key, nothing stored). Relative strength is the engine of rotation: money flows toward what is outperforming, and the leaders of one quarter often lead the next. For a cross-asset, cross-sector universe — the eleven S&P 500 sectors plus small caps, international and emerging equities, gold, oil, commodities, bonds and crypto — this measures each asset's return MINUS the S&P 500's over one, three and six months, blends them into a relative-strength score, and ranks the whole board into leaders and laggards. A positive score means the asset is beating the market; a negative one means it is lagging. The ranking endpoint returns that ranked board with the benchmark's own return and the standout leaders and laggards. The asset endpoint returns one market's relative strength across each window, its beta to the S&P 500 and whether its relative strength is improving or fading. The universe endpoint lists what is covered. The relative-strength / market-leadership rotation cut — distinct from the absolute-momentum, the sector-correlation and the altcoin-season APIs. It answers what is leading the market, measured against it.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/relativestrength-api","description":"oanor gateway"}],"tags":[{"name":"Ranking"},{"name":"Asset"},{"name":"Universe"},{"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/ranking":{"get":{"operationId":"get_v1_ranking","tags":["Ranking"],"summary":"Cross-asset board ranked by relative strength vs the S&P 500 with leaders/laggards","description":"","parameters":[{"name":"class","in":"query","required":false,"description":"Filter by class: equities, sector, commodities, bonds, crypto","schema":{"type":"string"},"example":"sector"}],"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/asset":{"get":{"operationId":"get_v1_asset","tags":["Asset"],"summary":"One market relative strength per window + beta + improving/fading","description":"","parameters":[{"name":"asset","in":"query","required":true,"description":"Asset key (see /v1/universe)","schema":{"type":"string"},"example":"technology"}],"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/universe":{"get":{"operationId":"get_v1_universe","tags":["Universe"],"summary":"Supported instruments","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":710,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1108,"monthly_call_quota":16300,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3344,"monthly_call_quota":88500,"rps_limit":16,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":7620,"monthly_call_quota":478000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/relativestrength-api"}