Banco de Moçambique Exchange Rate API: Official MZN Rates as JSON
The Banco de Moçambique publishes the official exchange rates that accounting, tax, and customs rules in Mozambique 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 bdm-exchange-rate npm package.
/api/v1/central-bank/bdm/latest).What the Banco de Moçambique publishes
- Daily buying and selling rates for ~40 currencies — one of southern Africa's broader official tables.
- Published each business afternoon, Maputo time.
- The bank's own publication date on every response, so a rate is always citable.
- No gaps to trip over — weekends and Mozambican holidays resolve to the most recent published rates and are flagged explicitly.
The metical's official table is the reference for Mozambique's commodity-driven trade flows — and at ~40 currencies it covers the corridors regional business actually uses, from the rand to the renminbi.
Why official rates, not market rates
A live mid-market feed answers "what is USD/MZN 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 Banco de Moçambique's published rates, and it never changes after publication.
Get the latest rates (REST)
curl "https://allratestoday.com/api/v1/central-bank/bdm/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 bdm-exchange-rate import { getRate, getLatestRates } from 'bdm-exchange-rate';
// One pair at the official Banco de Moçambique rate
const pair = await getRate('USD', 'MZN', { 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 'bdm-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: 'MZN', 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 Banco de Moçambique does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross rate via MZN — 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.
A fresh official series
The bank's API serves the latest table only, so our series accumulates from August 2026 forward — every business day stored with its publication date, building the queryable archive the source itself never offered.
FAQ
Does the Banco de Moçambique have an official exchange rate API?
The Banco de Moçambique publishes its official rates on its own site, and AllRatesToday serves the same published rates as clean JSON via REST or the bdm-exchange-rate npm package. The latest table is free.
How often do Banco de Moçambique rates update?
Once per business day, in the afternoon Maputo time, as buying and selling rates. Every API response carries the publication date so you can cite it.
Can I get the Banco de Moçambique rate for a past date, like an invoice date?
Yes. The /central-bank/bdm/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, so your audit trail stays honest. Historical dates require a paid plan; latest rates are free.
Official Banco de Moçambique rates, as JSON
The latest rates are free — 300 requests/month, no credit card.
Get your free API key