One intermarket ratio with both legs and reading
API · /marketratios-api
Market Ratios API
Live intermarket relative-value ratios as an API — the cross-asset signals macro and technical traders watch, computed from Yahoo Finance prices. Each ratio divides one market by another to reveal relative value and regime: the Gold/Oil ratio (barrels of crude per ounce of gold), the Oil/Gas energy spread, the Copper/Gold ratio (a growth and interest-rate barometer), the S&P 500 priced in gold, and the Stocks/Bonds ratio (risk-on versus risk-off, SPY/TLT). For each it returns both leg prices, the ratio value, the day change and a plain-language reading. Get one ratio or the whole board in a single call. The intermarket relative-value layer for trading, macro-research and dashboard apps. Live, no key, no cache. Distinct from single-asset price APIs and from the precious-metals ratio — this is the cross-asset ratio set.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 218 ms
- Server probes · 24h
- Subscribers
- 4,544
- active
- Total calls
- 60
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 8,000 calls / month
- 4 requests / second
- Hard cap (429 above quota, no overage)
- 8k calls/month
- 4 req/sec
- All endpoints
- No credit card
Starter
€10.00 /month
- 100,000 calls / month
- 12 requests / second
- Hard cap (429 above quota, no overage)
- 100k calls/month
- 12 req/sec
- Email support
Pro
€25.00 /month
- 500,000 calls / month
- 35 requests / second
- Hard cap (429 above quota, no overage)
- 500k calls/month
- 35 req/sec
- Priority support
Desk
€61.00 /month
- 2,500,000 calls / month
- 100 requests / second
- Hard cap (429 above quota, no overage)
- 2.5M calls/month
- 100 req/sec
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Precious-Metal Ratios API
The ratios between gold, silver, platinum and palladium, where they sit in their own multi-year history, and which metal is cheap relative to which — computed live from Yahoo Finance futures, no key, nothing stored. A precious-metal price tells you what an ounce costs; the ratio between two metals tells you which is expensive relative to the other — and these ratios are famously mean-reverting, which is why the gold/silver "mint ratio" is one of the oldest trades there is: when it stretches to an extreme, traders rotate from the dear metal into the cheap one and ride it back. A single current ratio is only half the story; what matters is where that ratio sits in its multi-year range. This API computes the gold/silver, gold/platinum, platinum/palladium, gold/palladium and silver/platinum ratios, and for each returns its current value, its percentile within a multi-year window (the context that turns a number into a signal), the window min/max/average, and a plain-language rotation read — at a high percentile the numerator metal is historically expensive (favour the denominator), at a low percentile the reverse. The ratios endpoint returns the whole complex; the ratio endpoint returns one pair with its component prices; the history endpoint returns the ratio time series. This is the precious-metal-ratio / mean-reversion cut — distinct from the inter-commodity crack/crush spread API (which gives the current gold/silver ratio but no history, percentile or signal), the intermarket-ratio board and the metals spot-price feed. It is the ratio with its history attached.
api.oanor.com/preciousratios-api
Crypto Pairs Trading & Spread API
The statistical-arbitrage signal between two coins — how stretched their price ratio is versus its own recent average, computed live from Binance daily candles (no key, nothing stored). Pairs traders do not bet on direction; they bet on the spread between two correlated coins reverting to its mean. When ETH/BTC (or any ratio) runs two standard deviations above its average, the spread is stretched — short the rich leg, long the cheap one, and profit when it snaps back. The spread endpoint takes two coins and returns the current price ratio, its rolling mean and standard deviation, the z-score (how many standard deviations stretched), the return correlation of the two coins (pairs trading works on correlated pairs) and a long/short mean-reversion signal. The screener endpoint scans every pair in a liquid basket and ranks them by absolute z-score — the most stretched, most tradeable spreads right now. The coins endpoint lists what is covered. The pairs-trading / relative-value spread cut for crypto — distinct from the correlation-&-beta API (which gives the correlation matrix, not the tradeable spread), the single-coin momentum, the funding-arbitrage and the price APIs. It answers whether a spread is stretched, not whether two coins move together.
api.oanor.com/cryptopairs-api
Statistics Sweden (SCB) API
A gateway to the official Statistics Sweden (SCB) PxWeb data service. Read the latest headline Consumer Price Index and fetch the latest time-series observations for any of the thousands of SCB statistics tables by table path and dimension selections — consumer prices, population, the labour market, national accounts, housing and much more. Every observation carries its reference period, and values always resolve to the latest published release, so there are no dates to hard-code. Built for Swedish macro research, CPI and inflation tracking, and SEK currency or rates models that need authoritative national statistics. Distinct from our OECD, Statistics Canada, ABS and Statistics Norway feeds, and from central-bank FX feeds: this surfaces the official SCB data service for Sweden.
api.oanor.com/scb-api
Statistics Norway (SSB) API
A gateway to the official Statistics Norway (SSB) PxWeb data service. Read the latest headline Consumer Price Index (2015=100) and fetch the latest time-series observations for any of the thousands of SSB statistics tables by table id and dimension selections — consumer prices, the producer price index, GDP, the labour market, population, housing and much more. Every observation carries its reference period, and values always resolve to the latest published release, so there are no dates to hard-code. Built for Norwegian macro research, CPI and inflation tracking, and NOK currency or rates models that need authoritative national statistics. Distinct from our OECD cross-country indicators, Statistics Canada and ABS feeds, and from central-bank FX feeds: this surfaces the official SSB data service for Norway.
api.oanor.com/ssb-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Market Ratios API?
What's the rate limit for Market Ratios API?
How much does Market Ratios API cost?
Can I cancel my subscription anytime?
Is Market Ratios 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/marketratios-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/marketratios-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/marketratios-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/marketratios-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.