Maldives Monetary Authority Exchange Rate API: Official MVR Rates as JSON

Reviewed by Madhushan, Fintech Developer — September 2026

The Maldives Monetary Authority publishes the official exchange rates that accounting, tax, and customs rules in the Maldives reference — published official rates, not moving market prices. This guide shows how to pull them as JSON: via a REST endpoint or the zero-dependency maldives-monetary-authority-exchange-rate npm package.

What the MMA publishes

For Maldivian tax, customs and audit work the number that counts is not the market dollar but the MMA reference rate in force on the transaction date — and because it is a band, the rare day it moves is exactly the day an accountant needs the dated record.

Why official rates, not market rates

A live mid-market feed answers "what is USD/MVR trading at right now?" — the right tool for checkouts and dashboards. But accountants, auditors, and tax authorities ask a different question: "which rate were you required to use for this date?" That answer comes from the Maldives Monetary Authority's published rates, and it never changes after publication.

Get the latest rates (REST)

curl "https://allratestoday.com/api/v1/central-bank/mma/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

The response is the bank's most recent published data — every rate and the publication date. The latest rates are available on every plan, including the free tier (300 requests/month, no credit card).

The npm SDK

npm install maldives-monetary-authority-exchange-rate
import { getRate, getLatestRates } from 'maldives-monetary-authority-exchange-rate';

// One pair at the official MMA rate
const pair = await getRate('USD', 'MVR', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

// The bank's full published table
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Historical rates for an invoice date

import { getRatesForDate, getHistory } from 'maldives-monetary-authority-exchange-rate';

// The official rates for an invoice date — non-publication days return
// the most recent published date, flagged via published_on_requested_date.
const day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });

// Time series for one pair
const series = await getHistory(
  { source: 'USD', target: 'MVR', from: '2026-01-01' },
  { apiKey: 'art_live_...' }
);

Historical dates and time series need a paid plan; the latest rates stay free.

Published vs derived pairs

If the MMA does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross rate via MVR — and flags it derived: true with the method used. Official and computed values are never silently mixed, which is exactly the distinction an auditor will ask about.

Fifteen years of the reference rate

Our archive starts on 21 April 2011, the day the MMA moved from a hard 12.85 peg to the managed band, and runs through every published day since — a flat series punctuated by the steps to 15.42. For a past invoice date, one call returns the rate in force.

FAQ

Does the Maldives Monetary Authority have an official exchange rate API?

The MMA publishes its official rates on its own site, and AllRatesToday serves the same published rates as clean JSON via REST or the maldives-monetary-authority-exchange-rate npm package. The latest rates are free (300 requests/month); historical dates need a paid plan.

How often do Maldives Monetary Authority rates update?

Daily, including weekends — the MMA publishes a USD reference rate every calendar day. It is a single pair, US dollar to rufiyaa, in MVR per 1 USD; every API response carries the authority's own date.

Can I get the MMA rate for a past date, like an invoice date?

Yes. The /central-bank/mma/rates-for-date endpoint returns the official rates for any archived date. Non-publication days resolve to the most recent published date and are flagged via published_on_requested_date.

Official Maldives Monetary Authority rates, as JSON

The latest rates are free — 300 requests/month, no credit card.

Get your free API key

Related Articles