Skip to content

IRR to AFN exchange rate API

Iranian Rial to Afghani · quoted 2026-10-01

0.000037

▼ +97.63% over YTD

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 year to date, IRR/AFN traded between 0.000037 and 0.001574, averaged 0.000124 and fell 97.63%. 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 YTD

IRR/AFN over YTD: show the values
PointIRR/AFN
2025-12-310.001558
2026-01-070.001574
2026-01-140.000063
2026-01-210.000061
2026-01-280.000060
2026-02-040.000057
2026-02-110.000051
2026-02-180.000048
2026-02-250.000048
2026-03-040.000047
2026-03-110.000047
2026-03-180.000047
2026-03-250.000047
2026-04-010.000048
2026-04-080.000049
2026-04-150.000048
2026-04-220.000047
2026-04-290.000047
2026-05-060.000048
2026-05-140.000048
2026-05-210.000047
2026-05-290.000046
2026-06-050.000046
2026-06-140.000046
2026-06-210.000046
2026-06-280.000046
2026-07-050.000047
2026-07-120.000047
2026-07-190.000047
2026-07-260.000048
2026-08-020.000047
2026-08-090.000047
2026-08-160.000047
2026-08-240.000047
2026-08-310.000047
2026-09-070.000048
2026-09-140.000046
2026-09-210.000047
2026-09-280.000046

High

0.001574

Low

0.000037

Average

0.000124

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.