Unified Rate Sheet
Consolidated real-time rates across all 11 first-party data providers in a single compact schema.
Returns the full market state including free-market currencies (USD, EUR, AED in Tomans), sovereign gold coins (Emami, Azadi), bullion benchmarks (18K gold, Mithqal, Ounce), global fiat cross-rates, and major crypto tickers.
GET/latest
curl -sS -H "Accept: application/json" "https://rates-api.mehrnet.com/latest"
const response = await fetch("https://rates-api.mehrnet.com/latest", {
headers: { "Accept": "application/json" }
});
const data = await response.json();
$opts = ["http" => ["header" => "Accept: application/json\r\n"]];
$ctx = stream_context_create($opts);
$json = file_get_contents("https://rates-api.mehrnet.com/latest", false, $ctx);
$data = json_decode($json, true);
from urllib.request import Request, urlopen
import json
req = Request("https://rates-api.mehrnet.com/latest", headers={"Accept": "application/json"})
data = json.load(urlopen(req))
req, _ := http.NewRequest("GET", "https://rates-api.mehrnet.com/latest", nil)
req.Header.Set("Accept", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil { log.Fatal(err) }
defer resp.Body.Close()
var data map[string]any
json.NewDecoder(resp.Body).Decode(&data)
{
"timestamp": 1786712702228,
"date_iso": "2026-08-14T13:05:02.228Z",
"base": "IRT",
"currencies": {
"USD": { "buy": 186192, "sell": 187300 },
"EUR": { "buy": 215418, "sell": 216700 },
"AED": { "buy": 50897, "sell": 51200 }
},
"coins": {
"EMAMI": { "buy": 186500000, "sell": 189500000 },
"AZADI": { "buy": 182000000, "sell": 186000000 }
},
"gold": {
"GOLD_GRAM_18K": 19038275,
"MITHQAL": 82470000,
"OUNCE": 4374.9
},
"fiat": {
"base": "USD",
"rates": { "EUR": 0.921, "GBP": 0.792, "IRT": 187300 }
},
"crypto": {
"base": "USD",
"rates": { "BTC": 62787.52, "ETH": 3415.2, "SOL": 182.4 }
},
"sources": [
{ "id": "hub_arzbin", "age_seconds": 5 },
{ "id": "bonbast", "age_seconds": 4 }
]
}