/v1/pure-gold-weight
Pure gold weight in a piece
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/pure-gold-weight" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/goldpurity-api/v1/pure-gold-weight", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/goldpurity-api/v1/pure-gold-weight");
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/pure-gold-weight",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "The pure (fine) gold in a piece = its total weight × the gold fraction (karat ÷ 24). A 10 g 18K ring holds 7.5 g of actual gold and 2.5 g of alloy metals (copper, silver, etc.). This is the fine-gold content that drives the intrinsic metal value and what a refiner pays on — the rest is the alloy that gives the colour and hardness.",
"inputs": {
"karat": 18,
"total_weight_g": 10
},
"alloy_g": 2.5,
"pure_gold_g": 7.5,
"gold_fraction": 0.75
},
"meta": {
"timestamp": "2026-06-07T08:17:54.680Z",
"request_id": "5a6bddc3-1271-462e-a89d-37a7ab35c971"
},
"status": "ok",
"message": "Pure gold weight",
"success": true
}