Skip to content

IDR to AFN exchange rate API

Rupiah to Afghani · quoted 2026-10-01

0.003568

▼ +22.33% over 5Y

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 5 years, IDR/AFN traded between 0.003528 and 0.004620, averaged 0.004057 and fell 22.33%. 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 5Y

IDR/AFN over 5Y: show the values
PointIDR/AFN
2024-08-240.004594
2024-10-070.004357
2024-11-060.004220
2024-12-060.004357
2025-01-050.004346
2025-02-040.004620
2025-03-060.004458
2025-04-060.004303
2025-05-060.004311
2025-06-070.004270
2025-07-070.004297
2025-08-060.004186
2025-09-050.004167
2025-10-060.004040
2025-11-050.003979
2025-12-050.003938
2026-01-050.003922
2026-02-040.003925
2026-03-060.003710
2026-04-050.003812
2026-05-050.003637
2026-06-060.003528
2026-07-080.003537
2026-08-070.003670
2026-09-070.003739

High

0.004620

Low

0.003528

Average

0.004057

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.