/v1/meta
Service metadata
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/irr-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/irr-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/irr-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Prices in IRR (rial); toman = rial / 10. Gold ounce quoted in USD.",
"source": "tgju.org market API (api.tgju.org, live)",
"service": "irr-api",
"usd_irr": 1758050,
"endpoints": {
"GET /v1/gold": "Iran's gold market — ounce, 18k/24k gram and gold coins.",
"GET /v1/meta": "This document.",
"GET /v1/price": "One instrument's latest close/open/high/low, day change and date (symbol=usd).",
"GET /v1/history": "An instrument's daily OHLC series (symbol=usd, limit=30).",
"GET /v1/symbols": "All supported symbols.",
"GET /v1/currencies": "Every foreign currency vs the rial at once."
},
"description": "Live free-market (bazaar) prices for the Iranian rial against foreign currencies, gold and gold coins, from a public Iranian market feed. Iran's official rate is fixed and unused in practice; the real economy trades on the open bazaar rate exposed here. The price endpoint returns one instrument's latest close/open/high/low, day change and date (rial and toman); the currencies endpoint returns every foreign currency (USD, EUR, GBP, AED, TRY, CNY …) vs the rial at once; the gold endpoint returns the global ounce, 18k/24k gram and the famous gold coins (Emami, Bahar Azadi, half, quarter, gerami); the history endpoint returns an instrument's daily OHLC series. Live, no key, nothing stored. Distinct from official central-bank feeds and from other countries' parallel-dollar APIs — this is Iran's own free-market rial/gold/coin layer.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-10T22:57:54.330Z",
"request_id": "b9c1ea9f-c387-4a26-8e5c-1932f656573d"
},
"status": "ok",
"message": "Meta",
"success": true
}