Skip to content
Thursday 26 November - 08:51

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

Basic 3 months: 25 USDT 1 year: 70 USDT Request limit: 1,000 a day Data: Currencies, gold and coins Buy a subscription
Most popular Pro 3 months: 50 USDT 1 year: 150 USDT Request limit: 3,000 a day Data: All categories Buy a subscription
High volume 1 year: 400 USDT Request limit: 15,000 a day Data: All categories Buy a subscription

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=currencies

USD, 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=golds

18K 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=crypto

Tether, 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=steel

Rebar, 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=ime

IME 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=funds

Price, 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

  1. Get a free test token from the Telegram bot. @alanchand_token_bot
  2. Send a request with type (the category) and, if you like, symbols (comma-separated). Without symbols you get the whole category.
  3. Send the token in the Authorization header (or as the token query 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

CodeMeaning
401The token is missing, unknown or expired, or its daily or monthly limit is used up. The error field says which.
403Your token's plan does not include this category (Basic has currencies and gold only).
400The category (type) or one of the symbols is not valid.
404The symbol is valid but has no price yet.
503This category's data is not ready yet.

FAQ

What does the API cost?
There are three plans. Basic (currencies, gold and coins): 25 USDT for 3 months, 70 USDT for a year. Pro (every category: currencies, gold and coins, crypto, steel, the IME and funds): 50 USDT for 3 months, 150 USDT for a year. High volume (every category, high limits): 400 USDT for a year.
How do I buy the API?
Pick a plan in our Telegram bot and pay in USDT on the Tron network (TRC20). A USDT payment is approved automatically from its txid and the token is active at once.
Is there a free gold and dollar price API?
The 3-day test is free and includes all data. After that a subscription is needed; the cheapest plan (currencies, gold and coins) is 25 USDT for 3 months.
Do you have a Tether and crypto price API?
Yes. type=crypto returns Tether, Bitcoin, Ethereum and dozens more in toman and dollars. It is part of the Pro and High volume plans.
Can I test the API?
Yes. The Telegram bot gives you a free 3-day test token automatically, once per Telegram account.
Are there usage limits?
Yes, by plan: Basic 1,000, Pro 3,000 and High volume 15,000 requests a day.
How often are prices updated?
Currencies, gold, coins and crypto every 5 minutes; steel, the IME and funds whenever their source updates. Every price carries its own update time.
Can I show the prices on my own website?
Yes. Call the API from your server (PHP, WordPress, Node.js, Python…), not from JavaScript in the browser; the token must not appear in the page. Keep the response on your server and refresh it every two minutes, which uses about 720 requests a day however many visitors you have. If you do not code, add the free price widget with one line.
Is WebSocket access available?
No, only the REST API for now.
Can I get a refund?
If the problem is on our side (slowness, outages or stale prices), at any time. Otherwise you can ask support for a refund within 7 days of purchase.