Cross-asset board ranked by relative strength vs the S&P 500 with leaders/laggards
API · /relativestrength-api
Relative Strength vs S&P 500 API
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.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 298 ms
- Server probes · 24h
- Subscribers
- 4,298
- active
- Total calls
- 0
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 710 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 710 calls/month
- 2 req/sec
- Relative-strength leaderboard
- Per-asset RS + beta
Starter
€11.08 /month
- 16,300 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 16.3k calls/month
- 6 req/sec
- All classes + improving/fading
- Email support
Pro
€33.44 /month
- 88,500 calls / month
- 16 requests / second
- Hard cap (429 above quota, no overage)
- 88.5k calls/month
- 16 req/sec
- Production rotation signals
- Priority support
Business
€76.20 /month
- 478,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 478k calls/month
- 40 req/sec
- High-volume leadership feed
- Dedicated support
Built by
Related APIs
Other APIs with overlapping tags.
Sector Rotation RRG (Relative Rotation Graph) API
Where each S&P 500 sector sits on the rotation map versus the market, computed live from Yahoo Finance (no key, nothing stored). The Relative Rotation Graph is how professional allocators visualise sector rotation: it plots each sector on two axes — relative strength (is it out- or under-performing the S&P 500) and relative momentum (is that relative strength improving or fading) — and the combination lands each sector in one of four quadrants that rotate clockwise over time: Leading (strong and getting stronger), Weakening (strong but losing steam), Lagging (weak and getting weaker) and Improving (weak but turning up). Money rotates Improving to Leading to Weakening to Lagging, so the quadrant tells you not just who is winning but who is next. This computes each of the eleven SPDR sectors' RS-Ratio and RS-Momentum against the S&P 500 and places it in its quadrant. The rrg endpoint returns the whole rotation map; the sector endpoint returns one sector's coordinates and quadrant; the sectors endpoint lists what is covered. The sector-rotation RRG / quadrant cut — distinct from the relative-strength ranking (a one-dimensional list), the sector price/performance feed and the correlation APIs. It shows the rotation, not just the ranking.
api.oanor.com/rrg-api
Commodities Momentum & Relative-Strength API
Which corner of the commodity complex is leading and which is lagging, ranked by trailing momentum, computed live from Yahoo Finance futures (no key, nothing stored). A price tells you where a commodity is; momentum tells you where the money is flowing. This scores every major commodity — crude, Brent, natural gas, gasoline and heating oil in energy; gold, silver, copper, platinum and palladium in metals; corn, wheat and soybeans in grains; coffee, sugar, cocoa, cotton and orange juice in softs; live cattle and lean hogs in livestock — by its return over five horizons (1 week, 1 month, 3 months, 6 months and a ~1-year proxy), blends them into a single momentum score and ranks the whole complex into leaders and laggards. The screener endpoint returns that ranked table with a relative-strength rank and trend regime for each. The momentum endpoint drills into one commodity: its multi-horizon returns, where it sits versus its 50- and 200-day averages, and a trend label. The commodities endpoint lists what is covered. The cross-commodity momentum / relative-strength factor cut — distinct from the commodity-price feed (front-month prices), the commodity-spreads API (crack/crush/ratios) and the precious-metals spot API. It answers what is leading the complex, not what one thing costs.
api.oanor.com/commoditymomentum-api
Stock Sector Correlation Matrix API
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.
api.oanor.com/sectorcorrelation-api
Altcoin Season Index API
One number that tells you whether crypto capital is rotating into altcoins or huddling in Bitcoin, computed live from Binance daily candles (no key, nothing stored). The market swings between two regimes: in "altcoin season" most alts outperform Bitcoin and money chases the long tail; in "Bitcoin season" alts bleed against BTC and capital flees to the majors. The classic gauge is simple — of the top altcoins, what share has outperformed Bitcoin over the last 90 days? Above ~75% it is altcoin season; below ~25% it is Bitcoin season. The index endpoint returns that index (0-100), the season label, Bitcoin's own return over the window and how many alts out- versus under-performed. The leaderboard endpoint ranks the alts by their excess return versus Bitcoin — who is leading the rotation and who is lagging — each with its own return, BTC's return and the gap. The coins endpoint lists the universe. The altcoin-season / alt-vs-BTC rotation cut — distinct from the market-cap-dominance and global-market APIs (which report BTC's share of total cap, not relative performance), the single-coin momentum and the price APIs. It answers whether it is altseason, not what the market cap is.
api.oanor.com/altseason-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Relative Strength vs S&P 500 API?
What's the rate limit for Relative Strength vs S&P 500 API?
How much does Relative Strength vs S&P 500 API cost?
Can I cancel my subscription anytime?
Is Relative Strength vs S&P 500 API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/relativestrength-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/relativestrength-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/relativestrength-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/relativestrength-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.