West African CFA francs to Moroccan dirhams exchange rate API
1 XOF = 0.0167 MAD
Convert XOF to MAD at the mid-market exchange rate. Access real-time rates via our /api/rate endpoint (free API key required) or the developer docs.
Exchange Rate Trend
XOF to MAD Conversion Table
Convert XOF to MAD
| XOF | MAD |
|---|---|
| CFA1 | د.م.0.02 |
| CFA5 | د.م.0.08 |
| CFA10 | د.م.0.17 |
| CFA25 | د.م.0.42 |
| CFA50 | د.م.0.84 |
| CFA100 | د.م.1.67 |
| CFA500 | د.م.8.36 |
| CFA1,000 | د.م.16.72 |
| CFA5,000 | د.م.83.62 |
| CFA10,000 | د.م.167.23 |
Convert MAD to XOF
| MAD | XOF |
|---|---|
| د.م.1 | CFA59.7975 |
| د.م.5 | CFA298.9876 |
| د.م.10 | CFA597.9753 |
| د.م.25 | CFA1,494.9381 |
| د.م.50 | CFA2,989.8763 |
| د.م.100 | CFA5,979.7526 |
| د.م.500 | CFA29,898.7628 |
| د.م.1,000 | CFA59,797.5256 |
| د.م.5,000 | CFA298,987.6279 |
| د.م.10,000 | CFA597,975.2558 |
About the West African CFA Franc (XOF)
The West African CFA Franc (XOF) is the official currency used in international trade and commerce.
Key Factors That Influence XOF
- Central bank monetary policy
- Economic indicators
- Trade balance
- Political stability
- Global market conditions
About the Moroccan Dirham (MAD)
The Moroccan Dirham (MAD) is used for trade and commerce in its respective region.
Key Factors That Influence MAD
- Central bank monetary policy
- Economic indicators
- Trade balance
- Political stability
- Global market conditions
Understanding the XOF/MAD Exchange Rate
The XOF/MAD exchange rate tells you how many Moroccan dirhams you get for 1 West African CFA Franc. This is the mid-market rate — the real exchange rate without any markup. It's the same rate used by Google Finance.
AllRatesToday provides this rate via a free REST API, updated every 60 seconds from institutional foreign exchange market data. Integrate live XOF/MAD rates into your app with our official SDKs for JavaScript, Python, PHP, and React.
The exchange rate between XOF and MAD fluctuates based on supply and demand in the foreign exchange market. Economic data releases, central bank announcements, and geopolitical events can all cause significant movements in the rate.
Currency converter API for XOF to MAD
The rate above comes from the AllRatesToday API. Each call below is one HTTP request that returns JSON for XOF/MAD.
The live rate needs a free API key, no card required. The ECB example below needs no key at all.
Get a free API key Already registered? Copy your key from the dashboard.Live mid-market rate
The number shown on this page, refreshed every 60 seconds across 163 currencies. Use it for pricing, checkout and anything a customer sees.
curl "https://allratestoday.com/api/v1/rates?source=XOF&target=MAD" \
-H "Authorization: Bearer art_live_your_key" Response (live, when this page was generated):
[
{
"rate": 0.0167231,
"source": "XOF",
"target": "MAD",
"time": "2026-10-27T15:23:01+0000"
}
] Several targets in one call return one row per pair:
curl "https://allratestoday.com/api/v1/rates?source=XOF&target=MAD,EUR,GBP" \
-H "Authorization: Bearer art_live_your_key" Official central bank rate
The rate a named institution published for a date, from 123 central banks and 4 tax authorities. It never changes after publication, which is what tax filings, customs and audits require.
curl "https://allratestoday.com/api/v1/central-bank/bam/latest?source=XOF&target=MAD" \
-H "Authorization: Bearer art_live_your_key" Bank Al-Maghrib: live example responses · All 127 sources · Endpoint reference
- Historical (paid plans):
?time=YYYY-MM-DDfor one past day, or/api/historical-ratesfor a range. - Four formats: add
?format=csv,xmlorxlsxto get a file instead of JSON.
Official SDKs
npm install @allratestoday/sdk · pip install allratestoday · composer require allratestoday/sdk
For AI agents
An MCP server — @allratestoday/mcp-server — lets Claude, Cursor and other MCP clients pull these rates directly, no glue code.
Free tier
No credit card, no trial expiry. Paid plans start at €4.99/month for 5,000 requests a month.
Which one do you need? If a regulator, tax authority or auditor names the source, use the official rate — the two can differ by several percent on the same day. For everything a customer sees, use the mid-market rate. On weekends and holidays the official endpoints return the most recent published date, which is the figure compliance rules expect you to apply.
Official XOF and MAD Central Bank Rates
The rate on this page is the live mid-market rate. For tax filings, customs valuations, audits, and compliant invoicing you often need the official reference rate published by the central bank instead. AllRatesToday also serves published central-bank rates as JSON, with history and a free latest-rates tier.
Central Bank of West African States (BCEAO) official rates → Bank Al-Maghrib official rates → All central banks →
How XOF/MAD Exchange Rates Work
Exchange rates are determined by supply and demand in the global foreign exchange (forex) market, the largest financial market in the world with over $6 trillion traded daily.
Floating vs Fixed Rates: Most major currencies like XOF and MAD have floating exchange rates, meaning their value is determined by market forces. Some currencies are pegged to another currency (usually USD) at a fixed rate.
Bid and Ask Prices: In forex markets, currencies are quoted with a bid price (what buyers pay) and ask price (what sellers receive). The mid-market rate shown on this page is the midpoint between these two prices.
Rate Fluctuations: The XOF/MAD rate can change every second during trading hours. Major economic announcements, interest rate decisions, and geopolitical events can cause significant moves in either direction.
Frequently Asked Questions About XOF/MAD
How do I convert XOF to MAD?
To convert XOF to MAD: (1) Use the calculator above to see the live mid-market rate. (2) For programmatic access, call our API: GET /api/v1/rates?source=XOF&target=MAD. Current rate: 1 XOF = 0.0167 MAD. Get your free API key at allratestoday.com/register.
What is 1 XOF in MAD today?
1 XOF equals 0.0167 MAD as of today. This is the mid-market exchange rate, which is the real rate without any bank markup. Rates fluctuate constantly based on market conditions, so check back regularly for updates.
Is the XOF going up or down against MAD today?
The XOF/MAD exchange rate fluctuates throughout the day based on market conditions. Today's rate is 1 XOF = 0.0167 MAD. Check our historical chart above to see the trend over the past day, week, month, or year to understand whether XOF is strengthening or weakening against MAD.
What is the best time to buy MAD with XOF?
The best time to exchange XOF to MAD depends on market conditions. Generally, rates tend to be more favorable during overlapping trading hours between major financial centers (London, New York, Tokyo). Avoid exchanging during weekends or bank holidays when spreads may be wider. Use our historical chart to identify trends and consider setting up rate alerts.
Why is XOF falling or rising against MAD?
Exchange rates between XOF and MAD are influenced by: interest rate differentials between central banks, inflation rates, GDP and economic growth data, trade balances, political stability, and global market sentiment. Major announcements from the Federal Reserve, ECB, or other central banks can cause significant short-term movements in the XOF/MAD rate.
How can I get XOF/MAD rates in my app?
Use the AllRatesToday API: (1) Register for a free API key at allratestoday.com/register. (2) Call GET /api/v1/rates?source=XOF&target=MAD with your Bearer token. (3) Rates update every 60 seconds from institutional foreign exchange market data. (4) Install our official SDK for JavaScript (npm), Python (PyPI), or PHP (Packagist) for even faster integration.
What is the mid-market rate for XOF/MAD?
The mid-market rate (also called the interbank rate) is the midpoint between buy and sell prices in global currency markets. The current mid-market rate is 1 XOF = 0.0167 MAD. This is the "real" exchange rate without any bank markup. AllRatesToday provides this rate via a free API, sourced from institutional foreign exchange market data.
Other XOF conversions
Building XOF/MAD into software?
These rates come from the AllRatesToday API. If you need them in an application rather than on a page, these are the places to start:
- Choosing an exchange rate API — what to check before you commit to one, and how the free tiers really compare.
- Free currency API — the ten free exchange rate APIs worth using in 2026, with limits and update frequency.
- Free forex APIs compared — coverage, rate limits and update frequency side by side.
- Exchange rates in Google Sheets — pulling live XOF rates into a spreadsheet.
- Official central bank rates — the published rates tax filings, customs and audits require, from 123 central banks.
- API documentation — endpoints, authentication and code samples.
Packages and open data
- JavaScript: @allratestoday/sdk on npm — live XOF/MAD rates, conversion and official central-bank tables.
- Python: allratestoday on PyPI · PHP: allratestoday/sdk on Packagist · Go: allratestoday-go · Rust: allratestoday on crates.io.
- Central Bank of West African States (BCEAO) rates for XOF: bceao-exchange-rate on npm · source on GitHub · docs.
- Bank Al-Maghrib rates for MAD: bank-al-maghrib-exchange-rate on npm · source on GitHub · docs.
- Open dataset of official central-bank rates, refreshed daily: Hugging Face · Kaggle · GitHub (JSON and CSV).
- AI agents: hosted MCP server and @allratestoday/mcp-server on npm.
- All code: AllRates-Today on GitHub · SDK docs.