Skip to content

IDR to AFN exchange rate API

Rupiah to Afghani · quoted 2026-10-01

0.003568

▼ +12.03% over 1Y

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 year, IDR/AFN traded between 0.003478 and 0.004056, averaged 0.003761 and fell 12.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 1Y

IDR/AFN over 1Y: show the values
PointIDR/AFN
2025-10-010.004056
2025-10-080.004024
2025-10-150.003993
2025-10-220.003995
2025-10-290.003965
2025-11-050.003979
2025-11-120.003962
2025-11-190.003969
2025-11-260.003972
2025-12-030.003994
2025-12-110.003955
2025-12-180.003960
2025-12-250.003900
2026-01-010.003922
2026-01-080.003919
2026-01-150.003870
2026-01-220.003883
2026-01-290.003876
2026-02-050.003908
2026-02-120.003832
2026-02-190.003682
2026-02-260.003755
2026-03-050.003722
2026-03-120.003700
2026-03-190.003771
2026-03-260.003694
2026-04-020.003736
2026-04-090.003743
2026-04-160.003734
2026-04-230.003675
2026-04-300.003632
2026-05-070.003699
2026-05-150.003553
2026-05-230.003546
2026-05-300.003478
2026-06-060.003528
2026-06-150.003534
2026-06-220.003562
2026-06-290.003573
2026-07-060.003529
2026-07-130.003583
2026-07-200.003673
2026-07-270.003682
2026-08-030.003643
2026-08-100.003688
2026-08-170.003674
2026-08-250.003698
2026-09-010.003719
2026-09-080.003719
2026-09-150.003667
2026-09-220.003636
2026-09-300.003592

High

0.004056

Low

0.003478

Average

0.003761

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.