/v1/symbols
All supported symbols
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/irr-api/v1/symbols" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/irr-api/v1/symbols", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/irr-api/v1/symbols");
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/symbols",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 21,
"source": "tgju.org",
"symbols": [
{
"name": "US Dollar",
"unit": "IRR",
"symbol": "usd",
"category": "currency"
},
{
"name": "Euro",
"unit": "IRR",
"symbol": "eur",
"category": "currency"
},
{
"name": "British Pound",
"unit": "IRR",
"symbol": "gbp",
"category": "currency"
},
{
"name": "UAE Dirham",
"unit": "IRR",
"symbol": "aed",
"category": "currency"
},
{
"name": "Turkish Lira",
"unit": "IRR",
"symbol": "try",
"category": "currency"
},
{
"name": "Canadian Dollar",
"unit": "IRR",
"symbol": "cad",
"category": "currency"
},
{
"name": "Australian Dollar",
"unit": "IRR",
"symbol": "aud",
"category": "currency"
},
{
"name": "Swiss Franc",
"unit": "IRR",
"symbol": "chf",
"category": "currency"
},
{
"name": "Chinese Yuan",
"unit": "IRR",
"symbol": "cny",
"category": "currency"
},
{
"name": "Japanese Yen (100)",
"unit": "IRR",
"symbol": "jpy",
"category": "currency"
},
{
"name": "Russian Ruble",
"unit": "IRR",
"symbol": "rub",
"category": "currency"
},
{
"name": "Gold Ounce (global)",
"unit": "USD",
"symbol": "ounce",
"category": "gold"
},
{
"name": "Gold 18k (gram)",
"unit": "IRR",
"symbol": "gram_18k",
"category": "gold"
},
{
"name": "Gold 24k (gram)",
"unit": "IRR",
"symbol": "gram_24k",
"category": "gold"
},
{
"name": "Gold Mesghal",
"unit": "IRR",
"symbol": "mesghal",
"category": "gold"
},
{
"name": "Emami Gold Coin",
"unit": "IRR",
"symbol": "coin_emami",
"category": "coin"
},
{
"name": "Bahar Azadi Gold Coin",
"unit": "IRR",
"symbol": "coin_bahar",
…