/v1/karat-to-fineness
Karat to fineness and percent
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/goldpurity-api/v1/karat-to-fineness" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/goldpurity-api/v1/karat-to-fineness", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/goldpurity-api/v1/karat-to-fineness");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/goldpurity-api/v1/karat-to-fineness",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Karat is the number of 24ths of a piece that is pure gold, so the fineness (parts per thousand) = karat ÷ 24 × 1000 and the gold percentage = karat ÷ 24 × 100. 24K is pure (1000‰, 100 %), 18K is 750‰ (75 %), 14K is 583‰ (58.3 %), 9K is 375‰. Hallmark stamps quote the fineness directly — 750 for 18K — so this is the conversion between the two systems jewellers and assayers move between.",
"inputs": {
"karat": 18
},
"gold_percent": 75,
"gold_fraction": 0.75,
"fineness_permille": 750
},
"meta": {
"timestamp": "2026-06-07T08:17:54.606Z",
"request_id": "e0442c49-ee24-4823-bd84-f319229abe24"
},
"status": "ok",
"message": "Karat to fineness",
"success": true
}