Skip to content

AFN to IRR exchange rate API

Afghani to Iranian Rial · quoted 2026-10-01

26348.96

▲ +4330.74% over 5Y

1 AFN = 26348.96 IRR · 1 IRR = 0.000038 AFN · Get this rate via the API

1 AFN buys 26348.96 IRR as of 2026-10-01, so 1 IRR buys 0.000038 AFN. Over the last 5 years, AFN/IRR traded between 555.8637 and 26348.96, averaged 7728.93 and rose 4330.74%. The API holds daily AFN/IRR rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

Converting an invoice? Convert an amount on a specific date.

AFN/IRR over 5Y

AFN/IRR over 5Y: show the values
PointAFN/IRR
2024-08-24594.69
2024-10-07618.85
2024-11-06628.43
2024-12-06610.43
2025-01-05595.29
2025-02-04555.86
2025-03-06576.81
2025-04-06586.19
2025-05-06594.41
2025-06-07602.99
2025-07-07602.36
2025-08-06616.00
2025-09-05614.92
2025-10-06626.68
2025-11-05633.76
2025-12-05640.84
2026-01-05640.29
2026-02-0417489.67
2026-03-0620953.64
2026-04-0520281.67
2026-05-0520710.48
2026-06-0621533.25
2026-07-0821480.72
2026-08-0720989.44
2026-09-0720825.58

High

26348.96

Low

555.8637

Average

7728.93

For developers

Get this rate via the API

One GET request returns the AFN/IRR rate as JSON. The free plan includes 1,000 requests a month, with no credit card required.

cURL
curl -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN&currencies=IRR"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN&currencies=IRR");
const data = await response.json();
Python
import requests

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN&currencies=IRR").json()

Replace YOUR_API_KEY with the key from your dashboard.

AFN/IRR API questions

How do I get the AFN/IRR exchange rate from an API?

Send one GET request to https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN&currencies=IRR, replacing YOUR_API_KEY with your own key. The JSON response carries the date and the latest AFN/IRR rate in rates.IRR.

How far back does AFN/IRR historical data go?

Daily AFN/IRR rates are available from 2024-08-24. Request one day with the /historical endpoint and a date, or a range of days with /timeseries.

Is there a free AFN/IRR exchange rate API?

Yes. The free plan includes 1,000 requests a month, with no credit card required; paid plans raise the limit.

Put these rates in your application

One endpoint, JSON responses, 160+ currencies and history back to 1999. Start on the free plan.