Skip to content

MAD to TOP exchange rate API

Moroccan Dirham to Pa’anga · quoted 2026-09-25

0.24627

▲ +2.38% over 5Y

1 MAD = 0.24627 TOP · 1 TOP = 4.0605 MAD · Get this rate via the API

1 MAD buys 0.24627 TOP as of 2026-09-25, so 1 TOP buys 4.0605 MAD. Over the last 5 years, MAD/TOP traded between 0.23569 and 0.26709, averaged 0.25159 and rose 2.38%. The API holds daily MAD/TOP rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

MAD/TOP over 5Y

MAD/TOP over 5Y: show the values
PointMAD/TOP
2024-08-240.24055
2024-10-010.23963
2024-10-310.23778
2024-11-300.23569
2024-12-300.23608
2025-01-290.24301
2025-02-280.24109
2025-03-300.24960
2025-04-290.25726
2025-05-290.25561
2025-06-280.26709
2025-07-280.26102
2025-08-270.26670
2025-09-260.25998
2025-10-260.25508
2025-11-250.25868
2025-12-250.26419
2026-01-240.26054
2026-02-230.25417
2026-03-250.25168
2026-04-250.26029
2026-05-250.25343
2026-06-240.25110
2026-07-240.24962
2026-08-230.25314
2026-09-220.24373

High

0.26709

Low

0.23569

Average

0.25159

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/TOP API questions

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

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

How far back does MAD/TOP historical data go?

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