Iran Price API: Dollar, Gold, Coins and Crypto
Get live Tehran free-market prices for currencies, gold and coins, cryptocurrencies, Tehran steel, the Iran Mercantile Exchange and gold and silver funds as JSON with one simple request. Try it free for three days, then subscribe.
- Currencies, gold, coins and crypto update every 5 minutes
- Every price carries its own update time
- Plain JSON, works with any language
Plans and pricing
Pay in the bot in USDT on the Tron network (TRC20). A USDT payment is approved automatically from its txid and the token is active at once.
Guarantee: if the problem is on our side (slowness, outages or stale prices) you get a refund at any time; otherwise within 7 days of purchase.
What data you get
Dollar and currency rates API
type=currenciesUSD, EUR, AED, TRY and 40+ currencies on the Tehran free market: buy, sell, day high and low
Full symbol list (44 symbols)
usd
eur
aed
try
gbp
cny
cad
aud
rub
iqd
myr
gel
azn
amd
thb
omr
inr
pkr
jpy
sar
afn
sek
chf
qar
krw
nok
nzd
sgd
hkd
kwd
dkk
bhd
tjs
tmt
kgs
syp
brl
ars
usd-hav
usd-ist
usd-sulaymaniyah
usd-herat
eur-hav
eur-ist
Gold and coin price API
type=golds18K gold per gram, melted gold, Emami, Bahar Azadi, half, quarter and gram coins, with the coin bubble
Full symbol list (12 symbols)
abshodeh
18ayar
sekkeh
bahar
nim
rob
sek
usd_xau
xag
xpt
xpd
xrh
Tether and crypto price API
type=cryptoTether, Bitcoin, Ethereum and dozens more in toman and dollars
Full symbol list (40 symbols)
usdt
btc
eth
xrp
bnb
shib
ada
doge
ton
not
sol
trx
cake
avax
dot
link
ltc
pepe
uni
xlm
fil
near
eos
aave
grt
xtz
flow
sand
mana
axs
chz
enj
zec
gala
lrc
bat
one
zen
cvc
storj
Steel
type=steelRebar, beams, sheet and profiles on the Tehran market, by size
Full symbol list (8 symbols)
rebar
beam
black-sheet
cold-rolled-sheet
galvanized-sheet
profile
angle
channel
Iran Mercantile Exchange
type=imeIME trades: billets, rebar, sheet, cement and more
Full symbol list (23 symbols)
billet
slab
wire-rod
rebar
beam
hot-rolled-sheet
cold-rolled-sheet
coated-sheet
angle-channel
copper-cathode
copper-wire
aluminium
zinc
sponge-iron
iron-ore-concentrate
pellet
iron-ore
type-1
type-2
type-5
white
pozzolanic
blended
Gold and silver funds
type=fundsPrice, NAV, bubble, traded value and retail money flow of exchange-traded funds
Full symbol list (52 symbols)
ayar
tala
mesghal
kahroba
riton
javaher
ganj
roz-toranj
atash
alton
noghran
emerald
gohar
zomorod
zar
jam-tala
golda
zarfam
lian
noghrabi
simin
zarvan
derakhshan
silver
nab
plata
noghrin
zargar
tabesh
ghollak-gold
rozgold
mehrgold
nafis
hamyan
noghrsa
silva
yas
ghirat
noghrfam
miras
siglo
noghrat
goldis
dafineh
hira
noghramad
dorna
noghra
negin-fars
noghrati
zariran
sian
Quick start
- Get a free test token from the Telegram bot. @alanchand_token_bot
- Send a request with
type(the category) and, if you like,symbols(comma-separated). Withoutsymbolsyou get the whole category. - Send the token in the
Authorizationheader (or as thetokenquery parameter).
GET https://api.alanchand.com/?type=currencies&symbols=usd,eur Authorization: Bearer YOUR_API_TOKEN
A real response
{
"eur": {
"slug": "eur",
"name": "یورو",
"sell": 323600,
"buy": 320400,
"dolar_rate": 0.912,
"open": 323600,
"high": 323600,
"low": 323600,
"dayChange": 0,
"updated_at": "2026-11-26 08:50:06"
}
}Code samples
To show prices on your own website, call the API from your server (PHP, Node.js, Python…), not from JavaScript in the visitor's browser: browsers do not hand the API's response to another site, and your token must not reach visitors. Keep the response on your server (a cache) and refresh it every two minutes; that uses about 720 requests a day, however many visitors you have.
cURL
curl -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://api.alanchand.com/?type=currencies&symbols=usd,eur"
Node.js
const res = await fetch('https://api.alanchand.com/?type=crypto&symbols=btc,eth', {
headers: { Authorization: 'Bearer ' + process.env.ALANCHAND_TOKEN }
});
const data = await res.json();PHP
$curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => 'https://api.alanchand.com/?type=golds&symbols=sekkeh,18ayar', CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_TOKEN'], ]); $response = curl_exec($curl); curl_close($curl); $prices = json_decode($response, true);
Python
import requests
headers = {'Authorization': 'Bearer YOUR_API_TOKEN'}
res = requests.get('https://api.alanchand.com/', params={'type': 'currencies', 'symbols': 'usd'}, headers=headers)
print(res.json())C#
var client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "YOUR_API_TOKEN");
var response = await client.GetAsync("https://api.alanchand.com/?type=steel&symbols=rebar");
Console.WriteLine(await response.Content.ReadAsStringAsync());Errors
| Code | Meaning |
|---|---|
401 | The token is missing, unknown or expired, or its daily or monthly limit is used up. The error field says which. |
403 | Your token's plan does not include this category (Basic has currencies and gold only). |
400 | The category (type) or one of the symbols is not valid. |
404 | The symbol is valid but has no price yet. |
503 | This category's data is not ready yet. |
FAQ
What does the API cost?
How do I buy the API?
Is there a free gold and dollar price API?
Do you have a Tether and crypto price API?
type=crypto returns Tether, Bitcoin, Ethereum and dozens more in toman and dollars. It is part of the Pro and High volume plans.