Skip to content

MYR to AFN exchange rate API

Malaysian Ringgit to Afghani · quoted 2026-10-07

15.7231

▼ +2.70% over YTD

1 MYR = 15.7231 AFN · 1 AFN = 0.06360 MYR · Get this rate via the API

1 MYR buys 15.7231 AFN as of 2026-10-07, so 1 AFN buys 0.06360 MYR. Over the year to date, MYR/AFN traded between 15.5484 and 16.7768, averaged 16.0693 and fell 2.70%. The API holds daily MYR/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.

MYR/AFN over YTD

MYR/AFN over YTD: show the values
PointMYR/AFN
2025-12-3116.1590
2026-01-0716.3036
2026-01-1416.3206
2026-01-2116.1993
2026-01-2816.7768
2026-02-0416.7650
2026-02-1116.4825
2026-02-1816.0263
2026-02-2516.2675
2026-03-0415.8653
2026-03-1116.1027
2026-03-1816.1043
2026-03-2515.8634
2026-04-0115.7794
2026-04-0816.3343
2026-04-1516.1820
2026-04-2215.9392
2026-04-2915.9393
2026-05-0616.1778
2026-05-1416.2790
2026-05-2115.8623
2026-05-2915.8811
2026-06-0515.7453
2026-06-1415.8318
2026-06-2115.5779
2026-06-2815.7881
2026-07-0516.0968
2026-07-1216.0695
2026-07-1916.0756
2026-07-2616.1136
2026-08-0216.0787
2026-08-0916.0525
2026-08-1615.9670
2026-08-2416.2003
2026-08-3116.2439
2026-09-0716.3121
2026-09-1415.8116
2026-09-2115.9238
2026-09-2815.5484

High

16.7768

Low

15.5484

Average

16.0693

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MYR/AFN API questions

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

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

How far back does MYR/AFN historical data go?

Daily MYR/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 MYR/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.