Bank of Mongolia Exchange Rates API — bank-of-mongolia-exchange-rate
Official Bank of Mongolia (Mongolia) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing — not market estimates, but the numbers Bank of Mongolia itself prints, every business day.
🚀 Why this client?
- 🏛️ Official rates — Bank of Mongolia's own table, with the publisher's own
rate_date on every response
- 📅 History back to 2026 — point-in-time tables and daily series for any past date
- 🔀 Official vs derived, always flagged — computed inverse/cross pairs carry
derived: true, never mixed with official prints
- ⚡ Zero dependencies — pure ESM + CJS over global
fetch; Node 18+, Bun, Deno, and edge runtimes
- 🔷 Type-safe — full TypeScript definitions shipped with the package
- 🧾 Compliance-grade metadata —
rate_type, publication date, and source disclaimer on every response
Official rate, not mid-market: every value here is a number Bank of Mongolia itself published, fixed once printed and carrying the central bank's own rate_date — what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the mid-market API or @allratestoday/sdk. The two can diverge by several percent.
🔑 Get your API key
Get a free API key at allratestoday.com/register — no credit card required. Latest rates are on every plan, including free.
📈 Latest official table
The image is rendered live from the keyless endpoint, so it follows the central bank's publications on npm and on GitHub alike without a new release. The same table as text is folded below for search and copy-paste: on GitHub a daily Action refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
| Base | Quote | Type | Rate |
|---|
| AED | MNT | reference | 980.91 |
| AUD | MNT | reference | 2458.64 |
| BGN | MNT | reference | 2163.92 |
| CAD | MNT | reference | 2527.31 |
| CHF | MNT | reference | 4329.92 |
| CNY | MNT | reference | 540.26 |
| CZK | MNT | reference | 163.9 |
| DKK | MNT | reference | 534.31 |
| EGP | MNT | reference | 67.28 |
| EUR | MNT | reference | 3994.03 |
| GBP | MNT | reference | 4781.27 |
| HKD | MNT | reference | 459.29 |
| HUF | MNT | reference | 10.96 |
| IDR | MNT | reference | 0.2 |
| INR | MNT | reference | 38.34 |
| JPY | MNT | reference | 22.56 |
| KPW | MNT | reference | 27.71 |
| KRW | MNT | reference | 2.7 |
| KWD | MNT | reference | 11675.08 |
| KZT | MNT | reference | 8.1 |
| MYR | MNT | reference | 882.75 |
| NOK | MNT | reference | 376.98 |
|
Source: Official rates published by BOM, served by AllRatesToday. Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
📦 Installation
npm install bank-of-mongolia-exchange-rate
yarn add bank-of-mongolia-exchange-rate
pnpm add bank-of-mongolia-exchange-rate
Requires Node 18+ (global fetch); also runs on Bun, Deno and edge runtimes. Also published under the org scope as @allratestoday/bank-of-mongolia-exchange-rate — same code, same versions.
🏁 Quick start
import { getRate } from 'bank-of-mongolia-exchange-rate';
const pair = await getRate('USD', 'MNT', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); // the official Bank of Mongolia rate, on the central bank's own date
This is the beginning of the README. Read the rest at the original. Read the full README ↗