Skip to content

USD to MAD exchange rate API

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

9.8077

▲ +1.34% over 2Y

1 USD = 9.8077 MAD · 1 MAD = 0.10196 USD · Get this rate via the API

1 USD buys 9.8077 MAD as of 2026-10-14, so 1 MAD buys 0.10196 USD. Over the last 2 years, USD/MAD traded between 8.7972 and 10.1097, averaged 9.3423 and rose 1.34%. 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-12-039.8193
2024-12-049.79442
2024-12-059.75795556
2024-12-069.782875
2024-12-0710.00528816
2024-12-089.86321223
2024-12-099.81904706
2024-12-109.81952778
2024-12-119.82474444
2024-12-129.82675
2024-12-139.81850556
2024-12-149.98073924
2024-12-159.86378621
2024-12-169.81707368
2024-12-179.82216667
2024-12-189.85135263
2024-12-199.887025
2024-12-209.87661667
2024-12-219.96891774
2024-12-229.94599291
2024-12-239.90360625
2024-12-249.90813529
2024-12-2510.05619471
2024-12-269.89383889
2024-12-279.891175
2024-12-2810.04731638
2024-12-299.97939369
2024-12-309.94473333
2024-12-319.953195
2025-01-0110.02725892
2025-01-029.96386667
2025-01-039.93152778
2025-01-0410.1096879
2025-01-059.98022648
2025-01-069.87461
2025-01-079.83817
2025-01-089.86458889
2025-01-099.87421579
2025-01-109.89556842
2025-01-1110.03903003
2025-01-129.97086191
2025-01-139.933665
2025-01-149.88517647
2025-01-159.89599444
2025-01-169.90892
2025-01-179.89998333
2025-01-1810.0467878
2025-01-199.96397883
2025-01-209.88215
2025-01-219.873725

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.