Skip to content

CUP to MAD exchange rate API

Cuban Peso to Moroccan Dirham · quoted 2026-10-04

0.41383

▲ +8.86% over YTD

1 CUP = 0.41383 MAD · 1 MAD = 2.4165 CUP · Get this rate via the API

1 CUP buys 0.41383 MAD as of 2026-10-04, so 1 MAD buys 2.4165 CUP. Over the year to date, CUP/MAD traded between 0.34646 and 0.41383, averaged 0.36850 and rose 8.86%. The API holds daily CUP/MAD 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.

CUP/MAD over YTD

CUP/MAD over YTD: show the values
PointCUP/MAD
2025-12-310.38015
2026-01-070.38397
2026-01-140.38403
2026-01-210.38283
2026-01-280.37868
2026-02-040.38333
2026-02-110.38019
2026-02-180.38169
2026-02-250.38282
2026-03-040.38749
2026-03-110.38973
2026-03-180.39170
2026-03-250.38937
2026-04-010.38917
2026-04-080.39023
2026-04-150.34880
2026-04-220.34925
2026-04-290.34938
2026-05-060.34751
2026-05-140.38282
2026-05-210.38483
2026-05-290.34646
2026-06-050.34813
2026-06-140.34976
2026-06-210.35177
2026-06-280.35421
2026-07-050.35343
2026-07-120.35254
2026-07-190.35231
2026-07-260.35360
2026-08-020.35210
2026-08-090.35156
2026-08-160.35043
2026-08-240.34903
2026-08-310.35087
2026-09-070.35433
2026-09-140.35664
2026-09-210.35985
2026-09-280.40115

High

0.41383

Low

0.34646

Average

0.36850

For developers

Get this rate via the API

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

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=CUP&currencies=MAD").json()

Replace YOUR_API_KEY with the key from your dashboard.

CUP/MAD API questions

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

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

How far back does CUP/MAD historical data go?

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