BRH Exchange Rate API: Official Haitian Gourde Rates as JSON
The Banque de la République d'Haïti publishes the official exchange rates that accounting, tax, and customs rules in Haiti 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 brh-exchange-rate npm package.
What the BRH publishes
- The daily taux de référence — a weighted average of the banking system's spot dollar transactions; 130.53 HTG per USD on 5 September 2026.
- Banking-market buying and selling rates alongside it (130.35 / 131.14 on the same day), stored as separate rate types.
- US dollar only — the one pair that matters in Haiti, where the dollar is the second everyday currency.
- Published on Saturdays too, and every response carries the bank's own date; Sundays resolve to Saturday's table and are flagged.
The BRH taux de référence is the legal reference for invoices, customs and tax in Haiti — a country where prices are routinely quoted in dollars and settled in gourdes, so the official conversion is a daily necessity rather than an accounting footnote.
Why official rates, not market rates
A live mid-market feed answers "what is USD/HTG 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 Banque de la République d'Haïti's published rates, and it never changes after publication.
Get the latest rates (REST)
curl "https://allratestoday.com/api/v1/central-bank/brh/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 brh-exchange-rate import { getRate, getLatestRates } from 'brh-exchange-rate';
// One pair at the official BRH rate
const pair = await getRate('USD', 'HTG', { 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 'brh-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: 'HTG', 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 BRH does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross rate via HTG — 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 archive is a monthly PDF, so our series accumulates from September 2026 forward — every published day's reference rate and banking-market buy/sell, stored with its date, building the queryable record Haitian filings can cite.
FAQ
Does the Banque de la République d'Haïti have an official exchange rate API?
The BRH publishes its official rates on its own site, and AllRatesToday serves the same published rates as clean JSON via REST or the brh-exchange-rate npm package. The latest table is free.
How often do Banque de la République d'Haïti rates update?
Six days a week — the BRH publishes on Saturdays as well as business days. Each publication carries the taux de référence plus the banking market's buying and selling rates; every API response carries the date.
Can I get the BRH rate for a past date, like an invoice date?
Yes. The /central-bank/brh/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 Banque de la République d'Haïti rates, as JSON
The latest rates are free — 300 requests/month, no credit card.
Get your free API key