Skip to content

MAD to AFN exchange rate API

Moroccan Dirham to Afghani · quoted 2026-11-21

6.4265

▼ +6.11% over 6M

1 MAD = 6.4265 AFN · 1 AFN = 0.15560 MAD · Get this rate via the API

1 MAD buys 6.4265 AFN as of 2026-11-21, so 1 AFN buys 0.15560 MAD. Over the last 6 months, MAD/AFN traded between 6.4265 and 7.1408, averaged 6.8240 and fell 6.11%. The API holds daily MAD/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.

Daily observations · gaps mean no published rate

Download CSV
MAD/AFN over 6M: show the values
Rates per 1 MAD. Missing rates are shown as a dash.
DateAFN
2026-05-256.844586
2026-05-266.859065
2026-05-276.82821
2026-05-286.810385
2026-05-296.85719
2026-05-306.756747
2026-05-316.955576
2026-06-016.85211
2026-06-026.785876
2026-06-036.773164
2026-06-046.777776
2026-06-056.874233
2026-06-066.904692
2026-06-096.774505
2026-06-106.739388
2026-06-116.745579
2026-06-126.746574
2026-06-136.952916
2026-06-146.942436
2026-06-156.760204
2026-06-166.814682
2026-06-176.825183
2026-06-186.787884
2026-06-196.807238
2026-06-206.902178
2026-06-216.930035
2026-06-226.805967
2026-06-236.787666
2026-06-246.752035
2026-06-256.747756
2026-06-266.806953
2026-06-276.888931
2026-06-286.884476
2026-06-296.797265
2026-06-306.805483
2026-07-016.79079
2026-07-026.758942
2026-07-036.816218
2026-07-046.774102
2026-07-057.011511
2026-07-066.782983
2026-07-076.791687
2026-07-086.827504
2026-07-096.842296
2026-07-106.846471
2026-07-116.818366
2026-07-127.013402
2026-07-136.927191
2026-07-147.083231
2026-07-157.108854
2026-07-167.122239
2026-07-177.121285
2026-07-187.095109
2026-07-197.063332
2026-07-207.045907
2026-07-217.119771
2026-07-227.096031
2026-07-237.132995
2026-07-247.028151
2026-07-257.039292
2026-07-267.044504
2026-07-277.091328
2026-07-287.08346
2026-07-296.984788
2026-07-306.998652
2026-07-316.986142
2026-08-017.067047
2026-08-027.050804
2026-08-037.017584
2026-08-047.026996
2026-08-057.029189
2026-08-067.047741
2026-08-077.023906
2026-08-087.068324
2026-08-097.059037
2026-08-107.03339
2026-08-117.034032
2026-08-127.026162
2026-08-137.026922
2026-08-147.031227
2026-08-157.053065
2026-08-167.038493
2026-08-177.043287
2026-08-187.080792
2026-08-207.071306
2026-08-217.140808
2026-08-227.077939
2026-08-237.021218
2026-08-247.07702
2026-08-257.063727
2026-08-267.124991
2026-08-277.056935
2026-08-287.117569
2026-08-297.05272
2026-08-307.0118
2026-08-317.032854
2026-09-017.076982
2026-09-027.048668
2026-09-037.033885
2026-09-047.035763
2026-09-057.017688
2026-09-066.883822
2026-09-077.029461
2026-09-086.966308
2026-09-096.954527
2026-09-107.00256
2026-09-116.956861
2026-09-126.995705
2026-09-136.837737
2026-09-146.817886
2026-09-156.842481
2026-09-166.856017
2026-09-176.827451
2026-09-186.829789
2026-09-196.694729
2026-09-206.801794
2026-09-216.80932
2026-09-226.775331
2026-09-236.768925
2026-09-246.651454
2026-09-256.655229
2026-09-266.723581
2026-09-276.756004
2026-09-286.586807
2026-09-306.628794
2026-10-026.533477
2026-10-036.487634
2026-10-056.466838
2026-10-066.473875
2026-10-076.46131
2026-10-086.527665
2026-10-096.571708
2026-10-106.80222
2026-10-116.642451
2026-10-126.67305
2026-10-136.657517
2026-10-146.589538
2026-10-156.61341
2026-10-166.66382
2026-10-176.708498
2026-10-186.652224
2026-10-196.638591
2026-10-206.562116
2026-10-216.564299
2026-10-226.572928
2026-10-236.593141
2026-10-246.494294
2026-10-256.615754
2026-10-266.552295
2026-10-276.589406
2026-10-286.539849
2026-10-296.575865
2026-10-306.561335
2026-10-316.600692
2026-11-016.601055
2026-11-026.56398
2026-11-036.611843
2026-11-046.638143
2026-11-056.5569
2026-11-066.552067
2026-11-076.513697
2026-11-086.672677
2026-11-096.651832
2026-11-106.594587
2026-11-116.632028
2026-11-126.595108
2026-11-136.452973
2026-11-146.533114
2026-11-156.583608
2026-11-166.527968
2026-11-176.510081
2026-11-186.513048
2026-11-196.439412
2026-11-206.434889
2026-11-216.42653

High

7.1408

Low

6.4265

Average

6.8240

Statistics use all 175 daily observations in the selected period.

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/AFN API questions

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

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

How far back does MAD/AFN historical data go?

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