Skip to content

CUP to MAD exchange rate API

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

0.41383

▲ +5.58% over 6M

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 last 6 months, CUP/MAD traded between 0.34778 and 0.41383, averaged 0.36094 and rose 5.58%. 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 6M

CUP/MAD over 6M: show the values
PointCUP/MAD
2026-04-070.39194
2026-04-140.34917
2026-04-210.34874
2026-04-280.34953
2026-05-050.34883
2026-05-120.38039
2026-05-200.38535
2026-05-280.38268
2026-06-040.34778
2026-06-130.34934
2026-06-200.35113
2026-06-270.35390
2026-07-040.35326
2026-07-110.35201
2026-07-180.35211
2026-07-250.35321
2026-08-010.35175
2026-08-080.35131
2026-08-150.35047
2026-08-230.34919
2026-08-300.35059
2026-09-060.35359
2026-09-130.35507
2026-09-200.35913
2026-09-270.40017

High

0.41383

Low

0.34778

Average

0.36094

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.