/v1/gold
Kijang Emas gold bullion prices
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/malaysia-fx-api/v1/gold" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/malaysia-fx-api/v1/gold", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/malaysia-fx-api/v1/gold");
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/malaysia-fx-api/v1/gold",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"one_oz": {
"buying": 17701,
"selling": 18436
},
"half_oz": {
"buying": 8850,
"selling": 9392
},
"currency": "MYR",
"instrument": "Kijang Emas (Malaysian gold bullion coin)",
"quarter_oz": {
"buying": 4425,
"selling": 4783
},
"effective_date": "2026-06-15"
},
"meta": {
"timestamp": "2026-06-15T11:15:26.475Z",
"request_id": "1d9a951f-dd0c-4fa8-9064-054a6c2d613f"
},
"status": "ok",
"message": "Gold prices retrieved successfully",
"success": true
}