Alloy to add for a target karat
API · /goldpurity-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 health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 79 ms
- Server probes · 24h
- Subscribers
- 3,617
- active
- Total calls
- 80
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 6,800 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 6,800 calls/month
- 2 req/sec
- Karat, fineness, pure gold, alloy mix
- No credit card
Starter
€7.40 /month
- 60,000 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 60,000 calls/month
- 6 req/sec
- Hallmark & bench batching
- Email support
Pro
€24.60 /month
- 248,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 248,000 calls/month
- 15 req/sec
- Pawn, scrap & assay pipelines
- Priority support
Mega
€76.00 /month
- 1,150,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1,150,000 calls/month
- 40 req/sec
- Platform & catalogue scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Bank Negara Malaysia FX & Rates API
Official central-bank data from Bank Negara Malaysia (BNM), the central bank of Malaysia, all quoted around the Malaysian Ringgit (MYR). Read every BNM foreign-exchange reference rate with its buying, selling and middle quote — each row carries the BNM quoting unit (the Japanese Yen, for example, is quoted per 100) plus a normalized myr_per_unit, so conversions are never ambiguous — look up a single currency, or convert any amount between two quoted currencies or MYR using the central-bank cross rate. Beyond FX, the same surface exposes the Kijang Emas gold bullion coin buying and selling prices (one, half and quarter ounce), the current Overnight Policy Rate set by the Monetary Policy Committee, and the published base rate, base lending rate and indicative effective lending rate for every licensed Malaysian bank. Rates always resolve to the latest published business-day fixing. Distinct from our other central-bank FX feeds: this bundles Malaysian FX, gold and policy/lending rates in one API.
api.oanor.com/malaysia-fx-api
Bitcoin Reference Rates API
The value of one bitcoin expressed across every unit CoinGecko tracks — world fiat currencies, precious metals (gold and silver, troy ounce) and other cryptocurrencies, powered by the public CoinGecko exchange-rates feed, no key, nothing stored. This is the "Bitcoin standard" / unit-of-account view: not a coin's dollar price, but how much of each asset one BTC buys right now — 1 BTC in US dollars, euros and yen, in ounces of gold and silver, and in ether, satoshi and dozens more. The rates endpoint returns every unit with its value and asset type; the rate endpoint returns one specific unit (gold, the euro, ether); the groups endpoint splits the units into fiat, commodity and crypto so you can see what a bitcoin is worth across asset classes at a glance. This is the Bitcoin-denominated reference-index cut — distinct from the coin-price converters, the market-overview and the per-exchange ticker APIs in the catalogue.
api.oanor.com/btcrates-api
Turkey Market API
Live Turkish market prices for the lira (TRY): foreign currencies, the famous Turkish gold market (gram, quarter/half/full and Republic coins, 14/18/22-carat, silver) and key market instruments (the BIST 100 index, Bitcoin in lira, Brent crude and the gold ounce). Turkey's high-inflation economy makes physical gold a primary store of value, and the gram-altın and coin prices quoted here are what the bazaar trades on. The currencies endpoint returns every foreign currency against the lira with buy/sell and daily change; the gold endpoint returns the full Turkish gold/silver market; the quote endpoint returns any single instrument by code (also BIST 100, Bitcoin, Brent); the convert endpoint converts between any currency and the lira. Read live, nothing stored. This is Turkey's own live market FX + gold-bazaar layer — distinct from the central bank's official reference rates.
api.oanor.com/turkey-api
Iran Rial Market API
Live free-market (bazaar) prices for the Iranian rial against foreign currencies, gold and gold coins. Iran's official rate is fixed and unused in practice; the real economy trades on the open bazaar rate, which is what this API exposes. The price endpoint returns one instrument's latest close/open/high/low, day change and date — in both rial and toman. The currencies endpoint returns every foreign currency (USD, EUR, GBP, AED, TRY, CNY, RUB …) against the rial at once. The gold endpoint returns Iran's gold market — the global ounce, 18k and 24k gram, the mesghal, and the famous gold coins (Emami, Bahar Azadi, half, quarter, gerami). The history endpoint returns an instrument's daily OHLC series. Read live, nothing stored. This is Iran's own free-market rial/gold/coin layer — distinct from official central-bank feeds and from other countries' parallel-dollar APIs.
api.oanor.com/irr-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Gold Purity API?
What's the rate limit for Gold Purity API?
How much does Gold Purity API cost?
Can I cancel my subscription anytime?
Is Gold Purity 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/goldpurity-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/goldpurity-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/goldpurity-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/goldpurity-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.