Skip to content

MAD to SAR exchange rate API

Moroccan Dirham to Saudi Riyal · quoted 2026-10-03

0.37744

▼ +8.34% over YTD

1 MAD = 0.37744 SAR · 1 SAR = 2.6494 MAD · Get this rate via the API

1 MAD buys 0.37744 SAR as of 2026-10-03, so 1 SAR buys 2.6494 MAD. Over the year to date, MAD/SAR traded between 0.37744 and 0.41525, averaged 0.40380 and fell 8.34%. The API holds daily MAD/SAR 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/SAR over YTD

MAD/SAR over YTD: show the values
PointMAD/SAR
2025-12-310.41177
2026-01-070.40818
2026-01-140.40754
2026-01-210.40915
2026-01-280.41525
2026-02-040.40992
2026-02-110.41193
2026-02-180.41096
2026-02-250.40966
2026-03-040.40475
2026-03-110.40201
2026-03-180.40136
2026-03-250.40325
2026-04-010.40311
2026-04-080.40396
2026-04-150.40690
2026-04-220.40624
2026-04-290.40610
2026-05-060.40741
2026-05-140.40822
2026-05-210.40595
2026-05-290.40837
2026-06-050.40751
2026-06-140.40456
2026-06-210.40252
2026-06-280.39935
2026-07-050.40034
2026-07-120.40136
2026-07-190.40158
2026-07-260.40009
2026-08-020.40179
2026-08-090.40248
2026-08-160.40387
2026-08-240.40524
2026-08-310.40328
2026-09-070.39941
2026-09-140.39671
2026-09-210.39328
2026-09-280.38909

High

0.41525

Low

0.37744

Average

0.40380

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/SAR API questions

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

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

How far back does MAD/SAR historical data go?

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