Skip to content

CNY to MAD exchange rate API

Yuan Renminbi to Moroccan Dirham · quoted 2026-10-04

1.4818

▲ +8.32% over 6M

1 CNY = 1.4818 MAD · 1 MAD = 0.67486 CNY · Get this rate via the API

1 CNY buys 1.4818 MAD as of 2026-10-04, so 1 MAD buys 0.67486 CNY. Over the last 6 months, CNY/MAD traded between 1.3438 and 1.4818, averaged 1.3818 and rose 8.32%. The API holds daily CNY/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.

CNY/MAD over 6M

CNY/MAD over 6M: show the values
PointCNY/MAD
2026-04-071.3680
2026-04-141.3576
2026-04-211.3559
2026-04-281.3544
2026-05-051.3534
2026-05-121.3438
2026-05-191.3557
2026-05-261.3565
2026-06-021.3603
2026-06-091.3670
2026-06-161.3702
2026-06-231.3806
2026-06-301.3847
2026-07-071.3788
2026-07-141.3774
2026-07-211.3869
2026-07-281.3860
2026-08-041.3815
2026-08-111.3803
2026-08-181.3798
2026-08-251.3781
2026-09-011.3872
2026-09-081.4001
2026-09-151.4132
2026-09-221.4276
2026-09-291.4430

High

1.4818

Low

1.3438

Average

1.3818

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

CNY/MAD API questions

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

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

How far back does CNY/MAD historical data go?

Daily CNY/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 CNY/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.