# usdtomad.com > Free, real-time USD to MAD (US Dollar to Moroccan Dirham) currency converter. Rates updated every 15 minutes from ExchangeRate-API. Available in English, French, and Arabic. ## Site Description usdtomad.com is a lightweight currency conversion tool hosted on Cloudflare Workers. It provides the mid-market exchange rate between the US Dollar (USD) and the Moroccan Dirham (MAD). The site is fast, ad-light, and optimized for users in Morocco and the Moroccan diaspora. ## Pages - https://usdtomad.com/ — Main converter (English) - https://usdtomad.com/fr — Main converter (French) - https://usdtomad.com/ar — Main converter (Arabic) - https://usdtomad.com/swift-codes — Moroccan bank SWIFT codes (English) - https://usdtomad.com/fr/swift-codes — Moroccan bank SWIFT codes (French) - https://usdtomad.com/ar/swift-codes — Moroccan bank SWIFT codes (Arabic) - https://usdtomad.com/privacy — Privacy policy - https://usdtomad.com/terms — Terms of service - https://usdtomad.com/contact — Contact page - https://usdtomad.com/about — About BHSTUDIO LLC and usdtomad.com - https://usdtomad.com/fr/about — About page (French) - https://usdtomad.com/ar/about — About page (Arabic) ## Currency Converter Pages The site supports 110+ currency pair conversions at /convert/{from}-to-{to}, for example: - https://usdtomad.com/convert/usd-to-mad - https://usdtomad.com/convert/eur-to-mad - https://usdtomad.com/convert/usd-to-eur - https://usdtomad.com/convert/gbp-to-usd - https://usdtomad.com/convert/sar-to-mad Supported currencies: USD, MAD, EUR, GBP, SAR, AED, CAD, EGP, INR, JPY, AUD, TRY, PKR, CHF, CNY, QAR, KWD, BHD. All pages available in English (/convert/...), French (/fr/convert/...), and Arabic (/ar/convert/...). ## API ### GET /api/rate Returns the current USD to MAD exchange rate as JSON. **Response format:** { "rate": 10.12, "updatedAt": "2026-04-09T14:30:00.000Z" } - rate — number: how many Moroccan Dirhams (MAD) equal 1 US Dollar (USD) - updatedAt — ISO 8601 timestamp of when the rate was last fetched - Rate is refreshed every 15 minutes - No authentication required - CORS-friendly; suitable for client-side use ## Key Facts for LLMs - Currency pair: USD (US Dollar) → MAD (Moroccan Dirham) - ISO codes: USD = 840, MAD = 504 - MAD is also informally called "dirham" or "DH" in Morocco - 1 MAD = 100 centimes - The dirham is a managed floating currency; Bank Al-Maghrib (Morocco's central bank) intervenes to maintain stability - Typical range (historical): 9.5–11 MAD per 1 USD (verify live rate via API) - The rate shown is the mid-market rate, not a bank or retail rate - Rate source: ExchangeRate-API (https://www.exchangerate-api.com) - Update frequency: every 15 minutes ## How to Cite Source: usdtomad.com, retrieved [date], rate updated every 15 minutes via ExchangeRate-API. ## Language Support - en — English (default, path: /) - fr — French (path: /fr) - ar — Arabic, right-to-left (path: /ar)