Skip to content

IDR to AFN exchange rate API

Rupiah to Afghani · quoted 2026-10-01

0.003568

▼ +6.72% over 6M

1 IDR = 0.003568 AFN · 1 AFN = 280.2691 IDR · Get this rate via the API

1 IDR buys 0.003568 AFN as of 2026-10-01, so 1 AFN buys 280.2691 IDR. Over the last 6 months, IDR/AFN traded between 0.003486 and 0.003825, averaged 0.003641 and fell 6.72%. The API holds daily IDR/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.

IDR/AFN over 6M

IDR/AFN over 6M: show the values
PointIDR/AFN
2026-04-040.003825
2026-04-110.003774
2026-04-180.003763
2026-04-250.003593
2026-05-020.003692
2026-05-090.003682
2026-05-170.003620
2026-05-250.003554
2026-06-010.003532
2026-06-100.003486
2026-06-170.003544
2026-06-240.003532
2026-07-010.003556
2026-07-080.003537
2026-07-150.003673
2026-07-220.003718
2026-07-290.003628
2026-08-050.003664
2026-08-120.003666
2026-08-200.003677
2026-08-270.003683
2026-09-030.003727
2026-09-100.003736
2026-09-170.003658
2026-09-240.003567

High

0.003825

Low

0.003486

Average

0.003641

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

IDR/AFN API questions

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

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

How far back does IDR/AFN historical data go?

Daily IDR/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 IDR/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.