Skip to content

USD to MAD exchange rate API

US Dollar to Moroccan Dirham · quoted 2026-10-14

9.8044

▲ +1.31% over 2Y

1 USD = 9.8044 MAD · 1 MAD = 0.10200 USD · Get this rate via the API

1 USD buys 9.8044 MAD as of 2026-10-14, so 1 MAD buys 0.10200 USD. Over the last 2 years, USD/MAD traded between 8.7972 and 10.1097, averaged 9.3423 and rose 1.31%. The API holds daily USD/MAD 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.

Chart sampled every 7 observations · table and exports keep every daily rate

Download CSV
USD/MAD over 2Y: show the values
Rates per 1 USD. Missing rates are shown as a dash.
DateMAD
2024-10-149.67806471
2024-10-159.67931905
2024-10-169.67186667
2024-10-179.70623125
2024-10-189.73127647
2024-10-199.85216789
2024-10-209.85653757
2024-10-219.75622105
2024-10-229.71338095
2024-10-239.71798333
2024-10-249.70562353
2024-10-259.69196471
2024-10-269.90797845
2024-10-279.81468491
2024-10-289.70456842
2024-10-299.67794
2024-10-309.67039524
2024-10-319.64832632
2024-11-019.66296667
2024-11-029.83854318
2024-11-039.75008559
2024-11-049.66388889
2024-11-059.63679524
2024-11-069.68286
2024-11-079.709915
2024-11-089.7251625
2024-11-099.88676548
2024-11-109.79201792
2024-11-119.76788824
2024-11-129.76271875
2024-11-139.74787368
2024-11-149.79636
2024-11-159.80198889
2024-11-169.95243049
2024-11-179.89929956
2024-11-189.84002
2024-11-199.81263889
2024-11-209.81471667
2024-11-219.8366
2024-11-229.86438571
2024-11-239.96378448
2024-11-249.99374063
2024-11-259.89938667
2024-11-269.85837059
2024-11-279.83530526
2024-11-289.833885
2024-11-299.85026667
2024-11-3010.01723959
2024-12-019.88346384
2024-12-029.84786471

High

10.1097

Low

8.7972

Average

9.3423

Statistics use all 731 daily observations in the selected period.

For developers

Get this rate via the API

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

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

Replace YOUR_API_KEY with the key from your dashboard.

USD/MAD API questions

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

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

How far back does USD/MAD historical data go?

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