/v1/gold
Iran gold market — ounce, gram, coins
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/irr-api/v1/gold" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/irr-api/v1/gold", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/irr-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/irr-api/v1/gold",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"gold": [
{
"low": 4071.25,
"date": "2026/06/10",
"high": 4262.23,
"name": "Gold Ounce (global)",
"open": 4078.86,
"unit": "USD",
"close": 4260.4,
"change": -180.73,
"symbol": "ounce",
"category": "gold",
"change_pct": -4.43,
"date_jalali": "1405/03/20"
},
{
"low": 177513000,
"date": "2026/06/10",
"high": 179249000,
"name": "Gold 18k (gram)",
"open": 179143000,
"unit": "IRR",
"close": 179249000,
"change": -108000,
"symbol": "gram_18k",
"category": "gold",
"change_pct": -0.06,
"close_toman": 17924900,
"date_jalali": "1405/03/20"
},
{
"low": 236681000,
"date": "2026/06/10",
"high": 238996000,
"name": "Gold 24k (gram)",
"open": 238854000,
"unit": "IRR",
"close": 238996000,
"change": -145000,
"symbol": "gram_24k",
"category": "gold",
"change_pct": -0.06,
"close_toman": 23899600,
"date_jalali": "1405/03/20"
},
{
"low": 768950000,
"date": "2026/06/10",
"high": 776350000,
"name": "Gold Mesghal",
"open": 776350000,
"unit": "IRR",
"close": 771450000,
"change": -120000,
"symbol": "mesghal",
"category": "gold",
"change_pct": -0.02,
"close_toman": 77145000,
"date_jalali": "1405/03/20"
},
{
"low": 1789800000,
"date": "2026/06/10",
"high": 1810100000,
"name": "Emami Gold Coin",
"open": 1810100000,
"unit": "IRR",
"close": 1794800000,
"change": 250000,
"symbol": "coin_emami",
"category": "coin",
"change_pct": 0.01,
"close_toman": 179480000,
"date_jalali": "1405/03/20"
},
{
"low": 1749700000,
"date": "2026/06/10",
"high": 1760200000,
"name": "Bahar Azadi Gold Coin",
"open": 1760050000,
"unit": "IRR",
"close": 1750200000,
"change": 50000,
"symbol": "coin_bahar",
"category": "coin",
"change_pct": null,
"close_toman": 17
…