Arz Parz

All Currencies, One View

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.

Live test

GET https://arzparz.com/api/v1/latest
Click "Run" to see a live response.

Plans & Pricing

Basic

$450 / year

Live rates
Up to 10,000 monthly queries

Order
Popular

Premier

$900 / year

Live rates
Up to 100,000 monthly queries

Order

Ultimate

$1800 / year

Live rates
Unlimited queries

Order

Contact us to order a plan or a dedicated key. A free test key is available too. Contact / Order

Code examples

Every request needs your API username and password (HTTP Basic Auth). Filter by type: ?type=currency,gold,metal,world_metal,bourse,crypto — full detail: ?full=1

cURL

curl -u USERNAME:PASSWORD "https://arzparz.com/api/v1/latest?type=currency,world_metal,bourse"

PHP

$ctx  = stream_context_create(['http' => ['header' => 'Authorization: Basic ' . base64_encode('USERNAME:PASSWORD')]]);
$data = json_decode(file_get_contents('https://arzparz.com/api/v1/latest', false, $ctx), true);
echo "USD = " . $data['rates']['USD']['price_toman'] . " Toman";

Python

import requests
data = requests.get("https://arzparz.com/api/v1/latest", auth=("USERNAME", "PASSWORD")).json()
print("USD =", data["rates"]["USD"]["price_toman"], "Toman")
print("TEDPIX =", data["rates"]["TEDPIX"]["value"], "points")

JavaScript

const res = await fetch('https://arzparz.com/api/v1/latest', {
  headers: { Authorization: 'Basic ' + btoa('USERNAME:PASSWORD') }
});
const data = await res.json();
console.log('Gold ounce =', data.rates.XAUUSD.price_usd, 'USD');