Skip to content

CNY to MAD exchange rate API

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

1.4818

▲ +13.62% over YTD

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 year to date, CNY/MAD traded between 1.3033 and 1.4818, averaged 1.3649 and rose 13.62%. 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 YTD

CNY/MAD over YTD: show the values
PointCNY/MAD
2025-12-311.3042
2026-01-071.3174
2026-01-141.3229
2026-01-211.3194
2026-01-281.3033
2026-02-041.3211
2026-02-111.3183
2026-02-181.3242
2026-02-251.3362
2026-03-041.3479
2026-03-111.3628
2026-03-181.3615
2026-03-251.3520
2026-04-011.3580
2026-04-081.3638
2026-04-151.3551
2026-04-221.3562
2026-04-291.3549
2026-05-061.3521
2026-05-131.3492
2026-05-201.3581
2026-05-271.3546
2026-06-031.3611
2026-06-101.3663
2026-06-171.3680
2026-06-241.3808
2026-07-011.3846
2026-07-081.3781
2026-07-151.3784
2026-07-221.3865
2026-07-291.3874
2026-08-051.3803
2026-08-121.3807
2026-08-191.3779
2026-08-261.3772
2026-09-021.3904
2026-09-091.3971
2026-09-161.4125
2026-09-231.4309
2026-09-301.4463

High

1.4818

Low

1.3033

Average

1.3649

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.