API · /relativestrength-api

Relative Strength vs S&P 500 API

healthy 4,298 Subscribers

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.oanor.com/relativestrength-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/relativestrength-api/openapi.json
/api/relativestrength-api/llms.txt

Discovery: GET /api/index.json lists every API.

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
status Full status page → · 4 probes/24h

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
Sign in to subscribe

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
Sign in to subscribe

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
Sign in to subscribe

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
Sign in to subscribe

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?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Relative Strength vs S&P 500 API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Relative Strength vs S&P 500 API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Relative Strength vs S&P 500 API cost?
Relative Strength vs S&P 500 API has a free tier with 100 calls / month. Paid plans start at €11.08 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Relative Strength vs S&P 500 API GDPR-compliant?
All requests to Relative Strength vs S&P 500 API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

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 in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 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 in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.