IDR to AFN exchange rate API
Rupiah to Afghani · quoted 2026-11-21
0.003507
▼ +1.65% over 30D
1 IDR = 0.003507 AFN · 1 AFN = 285.1440 IDR · Get this rate via the API
1 IDR buys 0.003507 AFN as of 2026-11-21, so 1 AFN buys 285.1440 IDR. Over the last 30 days, IDR/AFN traded between 0.003506 and 0.003597, averaged 0.003558 and fell 1.65%. 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 30D
Daily observations · gaps mean no published rate
IDR/AFN over 30D: show the values
| Date | AFN |
|---|---|
| 2026-10-22 | 0.003566 |
| 2026-10-23 | 0.003578 |
| 2026-10-24 | 0.003525 |
| 2026-10-25 | 0.003591 |
| 2026-10-26 | 0.003549 |
| 2026-10-27 | 0.003581 |
| 2026-10-28 | 0.003547 |
| 2026-10-29 | 0.003567 |
| 2026-10-30 | 0.003554 |
| 2026-10-31 | 0.00358 |
| 2026-11-01 | 0.003581 |
| 2026-11-02 | 0.003557 |
| 2026-11-03 | 0.003583 |
| 2026-11-04 | 0.003584 |
| 2026-11-05 | 0.003543 |
| 2026-11-06 | 0.003533 |
| 2026-11-07 | 0.00351 |
| 2026-11-08 | 0.003597 |
| 2026-11-09 | 0.003595 |
| 2026-11-10 | 0.003568 |
| 2026-11-11 | 0.003577 |
| 2026-11-12 | 0.003559 |
| 2026-11-13 | 0.003506 |
| 2026-11-14 | 0.003566 |
| 2026-11-15 | 0.003595 |
| 2026-11-16 | 0.003565 |
| 2026-11-17 | 0.003556 |
| 2026-11-18 | 0.003557 |
| 2026-11-19 | 0.003516 |
| 2026-11-20 | 0.003518 |
| 2026-11-21 | 0.003507 |
High
0.003597
Low
0.003506
Average
0.003558
Statistics use all 31 daily observations in the selected period.
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 -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=IDR¤cies=AFN"const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=IDR¤cies=AFN");
const data = await response.json();import requests
data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=IDR¤cies=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¤cies=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.