Skip to content

IDR to AFN exchange rate API

Rupiah to Afghani · quoted 2026-10-01

0.003568

▼ +9.03% over YTD

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 year to date, IDR/AFN traded between 0.003509 and 0.003945, averaged 0.003704 and fell 9.03%. 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 YTD

IDR/AFN over YTD: show the values
PointIDR/AFN
2025-12-310.003922
2026-01-070.003945
2026-01-140.003915
2026-01-210.003876
2026-01-280.003927
2026-02-040.003925
2026-02-110.003861
2026-02-180.003701
2026-02-250.003764
2026-03-040.003710
2026-03-110.003732
2026-03-180.003711
2026-03-250.003731
2026-04-010.003756
2026-04-080.003825
2026-04-150.003730
2026-04-220.003662
2026-04-290.003631
2026-05-060.003664
2026-05-140.003664
2026-05-210.003555
2026-05-290.003534
2026-06-050.003509
2026-06-140.003590
2026-06-210.003619
2026-06-280.003602
2026-07-050.003648
2026-07-120.003620
2026-07-190.003669
2026-07-260.003675
2026-08-020.003643
2026-08-090.003669
2026-08-160.003657
2026-08-240.003697
2026-08-310.003692
2026-09-070.003739
2026-09-140.003649
2026-09-210.003633
2026-09-280.003531

High

0.003945

Low

0.003509

Average

0.003704

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.