Skip to content

AFN to IDR exchange rate API

Afghani to Rupiah · quoted 2026-10-01

280.2567

▲ +13.70% over 1Y

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

1 AFN buys 280.2567 IDR as of 2026-10-01, so 1 IDR buys 0.003568 AFN. Over the last year, AFN/IDR traded between 246.4963 and 287.4394, averaged 266.3538 and rose 13.70%. The API holds daily AFN/IDR 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/IDR over 1Y

AFN/IDR over 1Y: show the values
PointAFN/IDR
2025-10-01246.4963
2025-10-08248.4958
2025-10-15250.4379
2025-10-22250.2736
2025-10-29252.1809
2025-11-05251.2948
2025-11-12252.3762
2025-11-19251.9058
2025-11-26251.7350
2025-12-03250.3385
2025-12-11252.7837
2025-12-18252.4801
2025-12-25256.4022
2026-01-01254.9246
2026-01-08255.1472
2026-01-15258.3955
2026-01-22257.5250
2026-01-29257.9681
2026-02-05255.8675
2026-02-12260.9174
2026-02-19271.5446
2026-02-26266.2917
2026-03-05268.6294
2026-03-12270.2693
2026-03-19265.1319
2026-03-26270.6444
2026-04-02267.6481
2026-04-09267.1435
2026-04-16267.8039
2026-04-23272.0762
2026-04-30275.3287
2026-05-07270.2891
2026-05-15281.4402
2026-05-23281.9429
2026-05-30287.4394
2026-06-06283.4008
2026-06-15282.9620
2026-06-22280.7039
2026-06-29279.8740
2026-07-06283.3659
2026-07-13279.0793
2026-07-20272.2335
2026-07-27271.5659
2026-08-03274.4527
2026-08-10271.0823
2026-08-17272.1351
2026-08-25270.3452
2026-09-01268.8815
2026-09-08268.8536
2026-09-15272.6889
2026-09-22274.9618
2026-09-30278.3369

High

287.4394

Low

246.4963

Average

266.3538

For developers

Get this rate via the API

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

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=AFN&currencies=IDR").json()

Replace YOUR_API_KEY with the key from your dashboard.

AFN/IDR API questions

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

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

How far back does AFN/IDR historical data go?

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