Skip to content

MAD to IDR exchange rate API

Moroccan Dirham to Rupiah · quoted 2026-10-04

1799.69

▼ +1.04% over 1Y

1 MAD = 1799.69 IDR · 1 IDR = 0.000556 MAD · Get this rate via the API

1 MAD buys 1799.69 IDR as of 2026-10-04, so 1 IDR buys 0.000556 MAD. Over the last year, MAD/IDR traded between 1789.30 and 1956.80, averaged 1856.50 and fell 1.04%. The API holds daily MAD/IDR 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/IDR over 1Y

MAD/IDR over 1Y: show the values
PointMAD/IDR
2025-10-041818.53
2025-10-111816.42
2025-10-181807.97
2025-10-251798.74
2025-11-011789.30
2025-11-081801.64
2025-11-151808.92
2025-11-221794.78
2025-11-291797.40
2025-12-061808.05
2025-12-131808.35
2025-12-201821.36
2025-12-271841.12
2026-01-031828.41
2026-01-101822.04
2026-01-171831.81
2026-01-241837.15
2026-01-311840.79
2026-02-071836.47
2026-02-141841.04
2026-02-211838.47
2026-02-281834.25
2026-03-071820.55
2026-03-141797.01
2026-03-211812.91
2026-03-281818.27
2026-04-041807.20
2026-04-111841.02
2026-04-181858.09
2026-04-251865.08
2026-05-021873.73
2026-05-091905.34
2026-05-161907.16
2026-05-231920.12
2026-05-301942.16
2026-06-061956.80
2026-06-131918.68
2026-06-201911.76
2026-06-271900.95
2026-07-041921.79
2026-07-111936.19
2026-07-181921.88
2026-07-251916.32
2026-08-011932.38
2026-08-081911.12
2026-08-151920.70
2026-08-221910.33
2026-08-291911.81
2026-09-051882.47
2026-09-121870.63
2026-09-191871.90
2026-09-261864.36
2026-10-031799.69

High

1956.80

Low

1789.30

Average

1856.50

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/IDR API questions

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

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

How far back does MAD/IDR historical data go?

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