Skip to content

IRR to AFN exchange rate API

Iranian Rial to Afghani · quoted 2026-10-01

0.000037

▼ +97.80% over 5Y

1 IRR = 0.000037 AFN · 1 AFN = 27027.03 IRR · Get this rate via the API

1 IRR buys 0.000037 AFN as of 2026-10-01, so 1 AFN buys 27027.03 IRR. Over the last 5 years, IRR/AFN traded between 0.000037 and 0.001799, averaged 0.001093 and fell 97.80%. The API holds daily IRR/AFN 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.

IRR/AFN over 5Y

IRR/AFN over 5Y: show the values
PointIRR/AFN
2024-08-240.001681
2024-10-070.001615
2024-11-060.001591
2024-12-060.001638
2025-01-050.001679
2025-02-040.001799
2025-03-060.001733
2025-04-060.001705
2025-05-060.001682
2025-06-070.001658
2025-07-070.001660
2025-08-060.001623
2025-09-050.001626
2025-10-060.001595
2025-11-050.001577
2025-12-050.001560
2026-01-050.001561
2026-02-040.000057
2026-03-060.000047
2026-04-050.000049
2026-05-050.000048
2026-06-060.000046
2026-07-080.000046
2026-08-070.000047
2026-09-070.000048

High

0.001799

Low

0.000037

Average

0.001093

For developers

Get this rate via the API

One GET request returns the IRR/AFN 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=IRR&currencies=AFN"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=IRR&currencies=AFN");
const data = await response.json();
Python
import requests

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

Replace YOUR_API_KEY with the key from your dashboard.

IRR/AFN API questions

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

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

How far back does IRR/AFN historical data go?

Daily IRR/AFN 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 IRR/AFN 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.