Skip to content

MAD to IRR exchange rate API

Moroccan Dirham to Iranian Rial · quoted 2026-10-04

175886.02

▲ +3714.24% over 1Y

1 MAD = 175886.02 IRR · 1 IRR = 0.000006 MAD · Get this rate via the API

1 MAD buys 175886.02 IRR as of 2026-10-04, so 1 IRR buys 0.000006 MAD. Over the last year, MAD/IRR traded between 4523.77 and 175886.02, averaged 104904.01 and rose 3714.24%. The API holds daily MAD/IRR 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/IRR over 1Y

MAD/IRR over 1Y: show the values
PointMAD/IRR
2025-10-044611.30
2025-10-114603.23
2025-10-184585.32
2025-10-254547.46
2025-11-014523.77
2025-11-084555.02
2025-11-154554.95
2025-11-224548.21
2025-11-294552.09
2025-12-064571.73
2025-12-144570.89
2025-12-214581.05
2025-12-284602.90
2026-01-044603.32
2026-01-11108084.62
2026-01-18115298.30
2026-01-25117798.20
2026-02-01121869.87
2026-02-08130906.58
2026-02-15139874.75
2026-02-22139965.85
2026-03-01143505.45
2026-03-08141580.95
2026-03-15139875.09
2026-03-22140341.59
2026-03-29140813.07
2026-04-05139925.08
2026-04-12141789.81
2026-04-19143019.55
2026-04-26142381.92
2026-05-03142165.45
2026-05-10143736.73
2026-05-18143124.99
2026-05-26143661.87
2026-06-02146870.61
2026-06-11148257.22
2026-06-18147873.88
2026-06-25146102.27
2026-07-02146472.61
2026-07-09146906.42
2026-07-16147267.72
2026-07-23146530.39
2026-07-30146518.43
2026-08-06147481.19
2026-08-13147657.39
2026-08-21148720.77
2026-08-28148279.17
2026-09-04146795.52
2026-09-11146278.72
2026-09-18144433.28
2026-09-25142945.90

High

175886.02

Low

4523.77

Average

104904.01

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/IRR API questions

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

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

How far back does MAD/IRR historical data go?

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