API · /preciousratios-api

Precious-Metal Ratios API

healthy 3,748 Subscribers

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
Get an API key Try in playground → Contact provider

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

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

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

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
176 ms
Server probes · 24h
Subscribers
3,748
active
Total calls
4
last 7 days
status Full status page → · 8 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 705 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 705 calls/month
  • 2 req/sec
  • All endpoints
  • No credit card
Sign in to subscribe

Starter

€11.40 /month

  • 16,100 calls / month
  • 6 requests / second
  • Hard cap (429 above quota, no overage)
  • 16.1k calls/month
  • 6 req/sec
  • All ratios & history
  • Email support
Sign in to subscribe

Pro

€35.80 /month

  • 86,000 calls / month
  • 16 requests / second
  • Hard cap (429 above quota, no overage)
  • 86k calls/month
  • 16 req/sec
  • Priority support
Sign in to subscribe

Mega

€80.60 /month

  • 476,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • 476k calls/month
  • 40 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Central Bank of Azerbaijan API

Live official exchange-rate data from the Central Bank of the Republic of Azerbaijan (CBAR), the central bank of Azerbaijan, for the Azerbaijani manat (AZN) — uniquely also publishing official bank metal prices: the CBAR official rate for every published currency (normalised to one unit), a single currency's manat-per-unit rate and inverse, the official price of gold, silver, platinum and palladium per troy ounce in manat, and currency conversion between any two published currencies (including AZN) cross-computed through the manat.

api.oanor.com/cbar-api

Precious Metals API

Live precious and industrial metal spot prices as an API — gold, silver, platinum, palladium and copper — with optional currency conversion via European Central Bank rates. Get the live USD spot price of any metal and convert it into any major currency; list them all at once; compute the value of a quantity of metal; or read the classic gold/silver and gold/platinum ratios traders watch. Built for trading, jewellery, treasury and dashboard apps. The commodities and precious-metals layer, live and key-free — distinct from generic ticker-quote APIs.

api.oanor.com/metals-api

Gold Purity API

Gold purity and karat maths as an API, computed locally and deterministically — the karat, fineness and alloy numbers a jeweller, goldsmith, assayer or refiner works to. The karat-to-fineness endpoint converts between the two purity systems: karat is the number of 24ths of a piece that is pure gold, so the fineness (parts per thousand, the figure on a hallmark stamp) = karat ÷ 24 × 1000 and the gold percentage = karat ÷ 24 × 100 — 24K is pure (1000‰), 18K is 750‰ (75 %), 14K is 583‰, 9K is 375‰. The pure-gold-weight endpoint gives the actual fine gold in a piece = its total weight × the gold fraction (karat ÷ 24): a 10 g 18K ring holds 7.5 g of gold and 2.5 g of alloy, the fine-gold content a refiner pays on and the basis of the intrinsic metal value. The alloy-mix endpoint inverts it for the bench: to bring refined fine gold down to a target karat, the total weight = the fine gold ÷ (target karat ÷ 24) and the alloy to add = the total − the fine gold, so 7.5 g of pure gold makes 10 g of 18K with 2.5 g of master alloy. Everything is computed locally and deterministically, so it is instant and private. Ideal for jewellery and goldsmithing tools, pawn and scrap-gold apps, and assay and metal-value calculators. Pure local computation — no key, no third-party service, instant. Purity maths only — it does not fetch the live gold price. 3 compute endpoints. For a metal part's weight from its dimensions use a metal-weight API.

api.oanor.com/goldpurity-api

Commodity Spreads API

The spreads and ratios that commodity traders actually trade, not just the raw prices, computed live from the underlying futures — no key, nothing stored. A single commodity price means little on its own; the money is in the relationships. The crack endpoint returns the 3:2:1 crack spread — the refining margin from turning three barrels of crude oil into two of gasoline and one of heating oil, the number that drives refiner profits and gasoline prices. The crush endpoint returns the soybean crush spread — the processing margin from crushing soybeans into meal and oil. The ratios endpoint returns the classic macro ratios: gold/silver (the "fear versus growth" gauge), gold/oil (real-asset value), oil/natural-gas (the energy ratio) and gold/copper. Each comes with the component futures prices so you can see exactly how it is built. This is the commodity-spread / inter-commodity cut — distinct from the single-commodity price feed, the precious-metals spot API and the FX APIs in the catalogue. It gives you the margin and the ratio, the things that are actually positioned. All endpoints are parameter-less and return the current values with their components; the crack spread is in USD per barrel and the crush in USD per bushel.

api.oanor.com/commodityspreads-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Precious-Metal Ratios API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Precious-Metal Ratios API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Precious-Metal 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 Precious-Metal Ratios API cost?
Precious-Metal Ratios API has a free tier with 100 calls / month. Paid plans start at €11.40 / 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 Precious-Metal Ratios API GDPR-compliant?
All requests to Precious-Metal 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/preciousratios-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/preciousratios-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/preciousratios-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/preciousratios-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.