API · /marketratios-api

Market Ratios API

healthy 4,544 Subscribers

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

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

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

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

Market Ratios API — live data on the oanor API marketplace

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

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

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

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

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

Built by

Related APIs

Other APIs with overlapping tags.

Precious-Metal Ratios API — oanor API marketplace

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 — oanor API marketplace

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 — oanor API marketplace

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 — oanor API marketplace

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?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Market Ratios API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Market Ratios 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 Market Ratios API cost?
Market Ratios API has a free tier with 100 calls / month. Paid plans start at €10.00 / 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 Market Ratios API GDPR-compliant?
All requests to Market Ratios 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/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 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.