Real-time Currency & Gold API
Real-time IRR/Toman rates for 28+ currencies, gold and crypto with clean, fast JSON. Built for businesses, sites and apps.
- 28+ currencies, gold & crypto
- Easy to integrate into your site
- Fast, cached and reliable
- Flexible plans for any need
Live test
GET
https://navararz.com/api/v1/latest
Click "Run" to see a live response.
Plans & Pricing
Contact us to order a plan or a dedicated key. A free test key is available too. Contact / Order
Code examples
PHP
$json = file_get_contents('https://navararz.com/api/v1/latest');
$data = json_decode($json, true);
echo "USD = " . $data['rates']['USD']['price_toman'] . " Toman";
Python
import urllib.request, json
r = urllib.request.urlopen("https://navararz.com/api/v1/latest")
data = json.load(r)
print("USD =", data["rates"]["USD"]["price_toman"], "Toman")
JavaScript
const res = await fetch('https://navararz.com/api/v1/latest');
const data = await res.json();
console.log('USD =', data.rates.USD.price_toman, 'Toman');