The same data you see on EZRate — the median of live trading groups, plus history and charts — in one simple REST call. JSON output, bilingual names, ready for mobile apps.
/v1/ratesLatest buy and sell rates — all or some symbols, in any unit (Toman, Rial, USD, USDT, EUR, gold gram…).
symbolsstringComma-separated: usd,eur,g18,emami,btc (empty = all)categorystringCategory: fiat, gold, coin, cryptomarketstringMarket: tehran (default), herat, sulaymaniyah, dubai, istanbul, havalequotestringPrice unit: IRT Toman (default), IRR Rial, or any asset symbol: usd, usdt, eur, g18, btc…langstringNames language: fa or enGET https://api.ezrate.me/v1/rates?symbols=usd,btc
X-API-Key: ezr_live_xxxx
{
"data": [
{ "symbol": "usd", "code": "USD", "name": "US Dollar", "category": "fiat",
"market": "tehran", "quote": "IRT", "buy": 259200, "sell": 259400,
"usd": null, "change_pct": 1.14, "sources": 14, "low_sources": false,
"updated_at": "2026-10-01T10:15:00Z" },
{ "symbol": "btc", "code": "BTC", "name": "Bitcoin", "category": "crypto",
"market": "global", "quote": "IRT", "buy": 21820000000, "sell": 21859000000,
"usd": "84896.00000000", "change_pct": 1.43, "sources": 1, "low_sources": true,
"updated_at": "2026-10-01T10:15:00Z" }
],
"meta": { "as_of": "2026-10-01T10:15:00Z", "freshness_sec": 1800, "quote": "IRT" }
}Every rate in any unit: Toman, Rial, or any asset in terms of another (USD, USDT, EUR, gold grams…). Price in X = Toman price ÷ Toman price of X (buy with buy, sell with sell). The same units work in /convert and /cross. Auth: X-API-Key header or Authorization: Bearer.
quote=irtToman (default)259400quote=irrRial2594000quote=usdin Tehran free-market USDEUR → 1.1204quote=usdtin USDTBTC → 84,896quote=g18in 18k gold gramsEmami → 10.02 gquote=eurin EURUSD → 0.893X-RateLimit-Limit-Day: 50 X-RateLimit-Remaining-Day: 12 X-RateLimit-Limit-Month: 1500 X-RateLimit-Remaining-Month: 858 X-RateLimit-Reset: 2026-10-01T00:00:00Z
401Invalid or revoked key403Domain or IP not allowed404Unknown symbol429Daily/monthly quota exceededIf you only want to show dollar, gold, coin and crypto prices on a WordPress site, you don't need the API: install the free EZRate plugin and build a price bar, table, cards or chart from your dashboard.
Install from your dashboard: Plugins › Add New › search «EZRate».The EZRate exchange rate API returns live buy and sell rates for the US dollar, euro, dirham, lira and dozens of other currencies against the Iranian toman and rial as JSON — for your website, app, Telegram bot or spreadsheet. As a free exchange rate API it needs no card: sign up and create a key. Rates are the median of real trading groups and exchanges, never copied from other sites, and refreshed every 60 seconds.
Our Iranian rial exchange rate API and toman exchange rate API cover the free market of Tehran and other markets, with the number of live sources and the update time in every response. See the same numbers on the US dollar price and USDT price pages — the USDT to toman API uses real USDT trades, not an estimate.
The gold price API Iran developers use returns 18K and 24K gold per gram, mesghal, Emami and Bahar Azadi coins and the global ounce with the same key, including coin bubble, intrinsic value and 24-hour change — see the live 18K gold price.
Our crypto price API gives Bitcoin, Ethereum, USDT and other coins in both USD and toman. Choose the unit of any response with the quote parameter: toman, rial, USD, USDT, euro or even grams of gold.
Not a developer? Build a currency widget for website use — a table, ticker or free currency chart widget in any language and currency — and paste one line of code, or install the WordPress plugin. See website price widgets.
Most international exchange rate APIs quote the Iranian rial at the official rate, which is far from what people actually pay. EZRate is a free currency API built on the Tehran free market: buy and sell prices in Toman or rial, rates for Herat, Sulaymaniyah, Dubai and Istanbul, gold, coins and crypto — sign-up with an e-mail, no card. The free plan has 50 requests a day (1,500 a month) with prices refreshed every 30 minutes; cache the answer on your server and it covers a personal site, a small shop or a bot.
The same key returns 18k and 24k gold per gram, the mesghal, Emami and Bahar Azadi coins, silver per gram and the world ounce of gold and silver. The domestic gram price is built from the ounce and the free-market dollar, but Tehran often runs ahead of or behind that formula — the API gives you both, so you can show the gap (bubble) yourself.
/v1/convert?from=usd&to=eur&amount=250 returns the converted amount at the sell rate (or side=buy), and /v1/cross gives the rate between two foreign currencies without going through Toman. The site's own currency converter runs on the same endpoint.
Store the base price of a product in dollars or grams of gold and let a scheduled job read the rate every 30 minutes and rewrite the local price: 48 requests a day, inside the free quota. Round the result, hold updates that jump more than 5 %, keep the last valid rate for outages and keep the API key on the server only.