Skip to content

MAD to AFN exchange rate API

Moroccan Dirham to Afghani · quoted 2026-11-21

6.4261

▼ +10.54% over YTD

1 MAD = 6.4261 AFN · 1 AFN = 0.15561 MAD · Get this rate via the API

1 MAD buys 6.4261 AFN as of 2026-11-21, so 1 AFN buys 0.15561 MAD. Over the year to date, MAD/AFN traded between 6.4261 and 7.2621, averaged 6.8763 and fell 10.54%. 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.

MAD/AFN over YTD

Daily observations · gaps mean no published rate

Download CSV
MAD/AFN over YTD: show the values
Rates per 1 MAD. Missing rates are shown as a dash.
DateAFN
2026-01-017.183099
2026-01-027.175489
2026-01-037.259399
2026-01-047.226783
2026-01-057.159989
2026-01-067.177559
2026-01-077.183324
2026-01-087.152028
2026-01-097.137657
2026-01-107.141374
2026-01-117.154713
2026-01-127.154885
2026-01-137.160019
2026-01-147.161468
2026-01-157.08441
2026-01-167.121407
2026-01-177.046498
2026-01-187.199631
2026-01-197.114679
2026-01-207.123127
2026-01-217.135331
2026-01-227.132362
2026-01-237.08956
2026-01-247.128374
2026-01-257.247417
2026-01-267.219641
2026-01-277.215767
2026-01-287.262135
2026-01-297.179698
2026-01-307.238775
2026-01-317.229057
2026-02-017.192218
2026-02-027.205546
2026-02-037.188586
2026-02-047.187848
2026-02-057.177397
2026-02-067.124111
2026-02-077.148837
2026-02-087.038475
2026-02-097.103623
2026-02-107.111782
2026-02-117.114166
2026-02-127.054074
2026-02-137.04098
2026-02-147.138631
2026-02-156.950752
2026-02-166.998448
2026-02-176.996182
2026-02-186.832181
2026-02-196.796372
2026-02-206.865795
2026-02-216.913232
2026-02-226.893166
2026-02-236.85769
2026-02-246.862835
2026-02-256.895667
2026-02-266.864705
2026-02-276.815406
2026-02-286.931469
2026-03-016.961145
2026-03-026.825487
2026-03-036.795632
2026-03-046.726294
2026-03-056.764279
2026-03-066.757407
2026-03-076.710139
2026-03-086.8103
2026-03-096.737872
2026-03-106.745219
2026-03-116.739861
2026-03-126.649747
2026-03-136.62689
2026-03-146.624198
2026-03-156.742118
2026-03-166.67614
2026-03-176.709511
2026-03-186.7254
2026-03-196.815189
2026-03-206.754729
2026-03-216.83562
2026-03-226.858111
2026-03-236.727208
2026-03-246.758114
2026-03-256.742943
2026-03-266.694889
2026-03-276.774366
2026-03-286.795865
2026-03-296.879175
2026-03-306.773153
2026-03-316.777823
2026-04-016.807356
2026-04-026.788332
2026-04-036.7611
2026-04-046.912728
2026-04-056.899091
2026-04-066.762569
2026-04-076.808947
2026-04-086.972627
2026-04-096.871839
2026-04-106.882781
2026-04-116.948986
2026-04-126.949194
2026-04-136.941221
2026-04-146.916783
2026-04-156.92389
2026-04-166.928929
2026-04-176.984244
2026-04-186.992678
2026-04-196.980954
2026-04-206.984536
2026-04-216.925266
2026-04-226.806944
2026-04-236.851604
2026-04-246.798236
2026-04-256.702467
2026-04-266.702909
2026-04-276.699844
2026-04-286.693605
2026-04-296.804484
2026-04-306.809997
2026-05-016.876678
2026-05-026.918023
2026-05-036.924384
2026-05-046.923354
2026-05-056.868738
2026-05-066.895166
2026-05-076.969475
2026-05-087.049494
2026-05-097.017291
2026-05-107.014261
2026-05-117.022917
2026-05-126.996983
2026-05-146.966979
2026-05-156.772061
2026-05-166.766181
2026-05-176.889365
2026-05-186.782117
2026-05-196.774697
2026-05-206.820497
2026-05-216.804231
2026-05-236.810325
2026-05-246.900282
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.426125

High

7.2621

Low

6.4261

Average

6.8763

Statistics use all 317 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.