Skip to content

CNY to MAD exchange rate API

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

1.4818

▲ +9.38% over 5Y

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 5 years, CNY/MAD traded between 1.2380 and 1.4818, averaged 1.3357 and rose 9.38%. 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 5Y

CNY/MAD over 5Y: show the values
PointCNY/MAD
2024-08-241.3548
2024-10-011.3923
2024-10-311.3559
2024-11-301.3832
2024-12-301.3624
2025-01-291.3581
2025-02-281.3472
2025-03-301.3267
2025-04-291.2489
2025-05-291.2626
2025-06-281.2590
2025-07-281.2380
2025-08-271.2408
2025-09-261.2749
2025-10-261.2958
2025-11-251.3103
2025-12-251.3004
2026-01-241.3121
2026-02-231.3286
2026-03-251.3520
2026-04-241.3556
2026-05-241.3571
2026-06-231.3806
2026-07-231.3859
2026-08-221.3758
2026-09-211.4242

High

1.4818

Low

1.2380

Average

1.3357

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.