/v1/metals
Official gold, silver, platinum and palladium prices in manat
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/cbar-api/v1/metals" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cbar-api/v1/metals", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cbar-api/v1/metals");
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/cbar-api/v1/metals",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"base": "AZN",
"date": "2026-06-10",
"count": 4,
"metals": [
{
"code": "XAG",
"unit": "troy ounce",
"metal": "Silver",
"azn_per_ounce": 107.8813
},
{
"code": "XAU",
"unit": "troy ounce",
"metal": "Gold",
"azn_per_ounce": 7096.1485
},
{
"code": "XPD",
"unit": "troy ounce",
"metal": "Palladium",
"azn_per_ounce": 2041.598
},
{
"code": "XPT",
"unit": "troy ounce",
"metal": "Platinum",
"azn_per_ounce": 2817.393
}
],
"source": "Central Bank of Azerbaijan"
},
"meta": {
"timestamp": "2026-06-10T14:00:20.192Z",
"request_id": "8d0ddb16-f99b-4d16-b6fa-91fdaadc33a9"
},
"status": "ok",
"message": "Metals retrieved successfully",
"success": true
}