Skip to content

MAD to TOP exchange rate API

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

0.24627

▼ +5.53% over YTD

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 year to date, MAD/TOP traded between 0.24541 and 0.26070, averaged 0.25274 and fell 5.53%. 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 YTD

MAD/TOP over YTD: show the values
PointMAD/TOP
2025-12-310.26070
2026-01-070.25873
2026-01-140.25727
2026-01-210.25739
2026-01-280.25905
2026-02-040.25441
2026-02-110.25548
2026-02-180.25575
2026-02-250.25460
2026-03-040.25243
2026-03-110.25099
2026-03-180.24958
2026-03-250.25168
2026-04-010.25287
2026-04-080.25320
2026-04-160.25119
2026-04-230.25334
2026-04-300.25073
2026-05-070.25378
2026-05-140.25247
2026-05-210.25180
2026-05-280.25397
2026-06-040.25466
2026-06-110.25502
2026-06-180.24913
2026-06-250.25161
2026-07-020.25224
2026-07-090.25304
2026-07-160.25193
2026-07-230.24974
2026-07-300.25068
2026-08-060.25317
2026-08-130.25308
2026-08-200.25315
2026-08-270.25223
2026-09-030.24990
2026-09-100.24949
2026-09-170.24765
2026-09-240.24541

High

0.26070

Low

0.24541

Average

0.25274

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.