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: show the values
| Point | AFN/IRR |
|---|---|
| 2024-08-24 | 594.69 |
| 2024-10-07 | 618.85 |
| 2024-11-06 | 628.43 |
| 2024-12-06 | 610.43 |
| 2025-01-05 | 595.29 |
| 2025-02-04 | 555.86 |
| 2025-03-06 | 576.81 |
| 2025-04-06 | 586.19 |
| 2025-05-06 | 594.41 |
| 2025-06-07 | 602.99 |
| 2025-07-07 | 602.36 |
| 2025-08-06 | 616.00 |
| 2025-09-05 | 614.92 |
| 2025-10-06 | 626.68 |
| 2025-11-05 | 633.76 |
| 2025-12-05 | 640.84 |
| 2026-01-05 | 640.29 |
| 2026-02-04 | 17489.67 |
| 2026-03-06 | 20953.64 |
| 2026-04-05 | 20281.67 |
| 2026-05-05 | 20710.48 |
| 2026-06-06 | 21533.25 |
| 2026-07-08 | 21480.72 |
| 2026-08-07 | 20989.44 |
| 2026-09-07 | 20825.58 |
High
26348.96
Low
555.8637
Average
7728.93
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 -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN¤cies=IRR"const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN¤cies=IRR");
const data = await response.json();import requests
data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN¤cies=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¤cies=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.