Skip to content

CNY to MAD exchange rate API

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

1.4818

▲ +15.85% over 1Y

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 year, CNY/MAD traded between 1.2791 and 1.4818, averaged 1.3500 and rose 15.85%. 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 1Y

CNY/MAD over 1Y: show the values
PointCNY/MAD
2025-10-041.2791
2025-10-111.2827
2025-10-181.2858
2025-10-251.2968
2025-11-011.3065
2025-11-081.2999
2025-11-151.3010
2025-11-221.3096
2025-11-291.3095
2025-12-061.3051
2025-12-131.3035
2025-12-201.3016
2025-12-271.3001
2026-01-031.3047
2026-01-101.3244
2026-01-171.3238
2026-01-241.3121
2026-01-311.3113
2026-02-071.3223
2026-02-141.3230
2026-02-211.3272
2026-02-281.3353
2026-03-071.3477
2026-03-141.3669
2026-03-211.3587
2026-03-281.3520
2026-04-041.3654
2026-04-111.3595
2026-04-181.3530
2026-04-251.3531
2026-05-021.3548
2026-05-091.3411
2026-05-161.3558
2026-05-231.3565
2026-05-301.3562
2026-06-061.3666
2026-06-131.3700
2026-06-201.3748
2026-06-271.3799
2026-07-041.3814
2026-07-111.3767
2026-07-181.3773
2026-07-251.3822
2026-08-011.3810
2026-08-081.3799
2026-08-151.3771
2026-08-221.3758
2026-08-291.3803
2026-09-051.3955
2026-09-121.4025
2026-09-191.4189
2026-09-261.4310
2026-10-031.4818

High

1.4818

Low

1.2791

Average

1.3500

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.