{"_id":"@allratestoday/national-bank-of-rwanda-exchange-rate","_rev":"7-9ec577564b8fd86b9bc9f071ad624a94","name":"@allratestoday/national-bank-of-rwanda-exchange-rate","dist-tags":{"latest":"1.3.6"},"versions":{"1.2.7":{"name":"@allratestoday/national-bank-of-rwanda-exchange-rate","version":"1.2.7","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.2.7","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"49f12d46d1979fe35e4c56c877a0b8d2e3fc5b45","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.2.7.tgz","fileCount":6,"integrity":"sha512-8zZ1EWsqlueR5J8UWzLjW4gNfaLK6dJ2abU0T1mIp8FZZA6Yf3JFjYdr2Dw7LrdwdpeEhY9UqbrLoH/UDGZGcA==","signatures":[{"sig":"MEYCIQDWafITyepSlM+kBdOQZVIdRtRVVnn22lgyLwmr/2SDcgIhANFN/QU1BBV4DcfXSIWyL9Y/K5ny6rzYaeegdg1sU+kt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17804},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"0bdc92d850f026c2ce3ab23033ab006807b0ecfc","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.2.7_1787567057522_0.4309800145613427","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allratestoday/national-bank-of-rwanda-exchange-rate","version":"1.3.0","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.3.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"e65ba447668ef31780037636bf9d613a215dbc86","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.3.0.tgz","fileCount":6,"integrity":"sha512-NNpO6bd3GXxJC9NpT+DkS0VWpbjQ6N1rx4b11GVfoQoSiQwM20FGSCbEWgKY7Zg2d1SC7tn/ieHKJmBD9oY2Rg==","signatures":[{"sig":"MEQCIDGlGCLVFK2rf2ndh73pZSXRICyw1eqP62tQn0QfAdDwAiAQMn4jNwcwcomj2znBo2GO/Rre7s7H6++zmz91IALzag==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18354},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"ec4d6bcf08cf485c7ab237f12d27e3d5a0f97e14","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.3.0_1788977129929_0.2045539577863229","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@allratestoday/national-bank-of-rwanda-exchange-rate","version":"1.3.1","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.3.1","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"db97fdc2161a3f6227bfbea745ea6a6d9e56dde2","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.3.1.tgz","fileCount":6,"integrity":"sha512-0OA1ATZMPN1+g5WAb0aWRe7A5LlbW/i/vMQKVgyB4aZ86euL0vCB40Vyi9O/ckOkbI3F7Ion8jjyo7l1Iweftw==","signatures":[{"sig":"MEQCIBg/JkUxt65run3jhNGguXH2PZgNkHRQfUCtf6i0TjZZAiACZNnA1ABiPacxLElT2B7j5ea6VxvLSrr2Bn/iHshaCg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22249},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"fc26fa33ba7dd14ed15e95764a0cdb2b1355358f","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.3.1_1789650212725_0.23244591659589342","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@allratestoday/national-bank-of-rwanda-exchange-rate","version":"1.3.3","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.3.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"1a4c341d242ca85bdca403b58da29251b1ba6cc4","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.3.3.tgz","fileCount":6,"integrity":"sha512-AeHFKF5IK/JF9ma/6Va0zFlEVkDwgSqDoUkat/D5qpGZA7Wyz7UjIlzyTHD5ann9sTrSa0RVFvh6rBq06QWD/g==","signatures":[{"sig":"MEQCIHaZfPHfaWUDZKCB6vL5rupyY4nOFCs1bmrE1mCVIO2OAiBcoJhxwBYyCrfcqs3WwsBbs6x3DDHsAit7ksEnhkEItQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD2c4jm3bO1MKT7E7lKKlIxA/untMxmrsZUc32RHL3Y6AIga3W6uLy3RSDBpdFbV9tU5XphMYGlE2CwiYXl75wxWPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22241},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"ca0b6b268a0b3c562dedb06b2ec12ac8815a6a05","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.3.3_1790770418941_0.22526869440533281","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@allratestoday/national-bank-of-rwanda-exchange-rate","version":"1.3.4","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.3.4","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"9265e71002391c545ecbe859c78d9cadbc2ca962","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.3.4.tgz","fileCount":6,"integrity":"sha512-pAs9PHQxVfXR47NwVOssXUVZ1M8TwPp3O5+GqqP5FcVDyDj+m+xYU42WDLCLLK5TNhzMmnaJGsqAutaYQNzpig==","signatures":[{"sig":"MEQCIA0oWqU7O/oRjQAfmHWdA1iAQvvViG2jpQK1ULNIZrG8AiAWm0k0N3+YkUtZD8WMyZtSoHCVUpNrB3icWqTQw8w30g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDSrLiT/SsO+V5MRSO2U3M80+RyQjY7EOmlpYH2ThrVGAiEA6WUrOnCUnCc05hHo0T5UjTZz+gxruNDKWH/MtiXO7qE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22641},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"79b405ca4251d0e8c85b00c9f6c63206e5e3dab3","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.3.4_1790851432184_0.2322300470330263","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@allratestoday/national-bank-of-rwanda-exchange-rate","version":"1.3.5","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.3.5","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"d3f01f0cc795f27183963e082625cb2c4d1aa8ec","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.3.5.tgz","fileCount":6,"integrity":"sha512-SzODPekRVGb0CRVt3ue6PfukcFH0z02qsnu9oAu4OiAN4/DZ9ktNVnfrOHBe+TVOEsH0LVnbTsSuhHWNaaGwSQ==","signatures":[{"sig":"MEQCIF5/mqz5FRRl/K7xRysg//2Va23lQNsLYGKt7cgKqFflAiB/IHH9OuSpTiwxhWUkv0eql0ATNoTTx8fhrPsu4wfLmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDHngfn55uEMMvhTq5f8rrWoS5c/P3RfAsogtlgiZVNLwIgEsXun7q2yXmOKxjluXB8vVEGbce4ofmLFCQpgcXuOSU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22641},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"96538305fe3410109ec8f078656cb344ea3a301a","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.3.5_1791322504409_0.13777889102765495","host":"s3://npm-registry-packages-npm-production"}},"1.3.6":{"_id":"@allratestoday/national-bank-of-rwanda-exchange-rate@1.3.6","bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"dist":{"shasum":"406701c5db26a250f773eaa3bb8e304f31d00c8f","tarball":"https://registry.npmjs.org/@allratestoday/national-bank-of-rwanda-exchange-rate/-/national-bank-of-rwanda-exchange-rate-1.3.6.tgz","fileCount":6,"integrity":"sha512-nR26PDkiCbzqaLZL6RbLZ+13y+e8eZiSRl29EyyoK5yfmCi/ck4yzLudSQ+/9COBrizCD/4RW0dCGbf+lyaXOQ==","signatures":[{"sig":"MEUCIEyXWlduojcMiSljaNuOdHEqO/ltIzT/Y+p2KTyEN4ArAiEAlS4G1uwJnjmFhm/9SouZpT5RJuzapW3DVcs/vqSk5qo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEA8DYiMRpeORRC5WPkqRj50PcSLwodrXEgnLXCVqVPMAiEAshsFejcJi6MpSSNixHvkTLx6uI/cHvWdB1kBZUTlEMY="}],"unpackedSize":22859},"main":"./index.cjs","name":"@allratestoday/national-bank-of-rwanda-exchange-rate","type":"module","types":"./index.d.ts","author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"96538305fe3410109ec8f078656cb344ea3a301a","license":"MIT","version":"1.3.6","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","directories":{},"maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/national-bank-of-rwanda-exchange-rate_1.3.6_1791502566038_0.622869852120973"}}},"time":{"created":"2026-08-24T10:24:17.388Z","modified":"2026-10-08T23:36:06.313Z","1.2.7":"2026-08-24T10:24:17.651Z","1.3.0":"2026-09-09T18:05:30.066Z","1.3.1":"2026-09-17T13:03:32.869Z","1.3.3":"2026-09-30T12:13:39.046Z","1.3.4":"2026-10-01T10:43:52.287Z","1.3.5":"2026-10-06T21:35:04.488Z","1.3.6":"2026-10-08T23:36:06.117Z"},"bugs":{"url":"https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/issues"},"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","homepage":"https://allratestoday.com/central-bank-rates-api/bnrw/","keywords":["bnrw","national","bank","of","rwanda","exchange-rate","exchange-rates","currency","forex","fx","rwf","central-bank","official-rates","rwanda","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate.git","type":"git"},"description":"Official National Bank of Rwanda (Rwanda) daily exchange rates — 21 currencies vs RWF, history since 2012. Zero-dependency Node.js/TypeScript client.","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"readme":"# National Bank of Rwanda Exchange Rates API — national-bank-of-rwanda-exchange-rate\n\n[![npm version](https://img.shields.io/npm/v/@allratestoday%2Fnational-bank-of-rwanda-exchange-rate.svg)](https://www.npmjs.com/package/@allratestoday/national-bank-of-rwanda-exchange-rate)\n[![license](https://img.shields.io/npm/l/@allratestoday%2Fnational-bank-of-rwanda-exchange-rate.svg)](https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate/blob/main/LICENSE)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/national-bank-of-rwanda-exchange-rate)\n[![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)\n\n**Official National Bank of Rwanda (Rwanda) 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 National Bank of Rwanda itself prints, every business day.**\n\n## 🚀 Why this client?\n\n- 🏛️ **Official published rates** — National Bank of Rwanda's own table, with the publisher's own `rate_date` on every response\n- 📅 **History back to 2012** — point-in-time tables and daily series for any past date\n- 🔀 **Published vs derived, always flagged** — computed inverse/cross pairs carry `derived: true`, never mixed with official prints\n- ⚡ **Zero dependencies** — pure ESM + CJS over global `fetch`; Node 18+, Bun, Deno, and edge runtimes\n- 🔷 **Type-safe** — full TypeScript definitions shipped with the package\n- 🧾 **Compliance-grade metadata** — `rate_type`, publication date, and source disclaimer on every response\n\n> **Official rate, not mid-market:** every value here is a number National Bank of Rwanda 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](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.\n\n## ⚡ Try it without a key\n\nThe latest National Bank of Rwanda table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:\n\n```bash\ncurl \"https://allratestoday.com/api/open/central-bank/bnrw?source=USD&target=RWF\"\n```\n\n```js\nconst r = await fetch('https://allratestoday.com/api/open/central-bank/bnrw').then((x) => x.json());\nconsole.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key\n```\n\nThe open endpoint serves the *latest* table only and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables, history, and CSV/XML/Excel output.\n\n## 🔑 Get your API key\n\nGet a free API key at [allratestoday.com/register](https://allratestoday.com/register) — no credit card required. Latest rates are on every plan, including free.\n\n## 📦 Installation\n\n```bash\nnpm install @allratestoday/national-bank-of-rwanda-exchange-rate\n```\n\n```bash\nyarn add @allratestoday/national-bank-of-rwanda-exchange-rate\n```\n\n```bash\npnpm add @allratestoday/national-bank-of-rwanda-exchange-rate\n```\n\nRequires Node 18+ (global `fetch`); also runs on Bun, Deno and edge runtimes. Scoped mirror of [`national-bank-of-rwanda-exchange-rate`](https://www.npmjs.com/package/national-bank-of-rwanda-exchange-rate) — same code, same versions.\n\n## 🏁 Quick start\n\n```js\nimport { getRate } from '@allratestoday/national-bank-of-rwanda-exchange-rate';\n\nconst pair = await getRate('USD', 'RWF', { apiKey: 'art_live_...' });\nconsole.log(pair.rate, pair.rate_date); // the official National Bank of Rwanda rate, on the central bank's own date\n```\n\n## 📚 API reference\n\n- [Latest pair rate](#latest-pair-rate) — one pair from the latest published table\n- [Full published table](#full-published-table) — everything the central bank printed, in one call\n- [Table for a date](#table-for-a-date) — the official table for an invoice or filing date\n- [Daily time series](#daily-time-series) — one pair across a date range\n\n---\n\n### Latest pair rate\n\nFree plan and up. Pairs the central bank does not print directly are resolved from its table and flagged (see *Published vs derived rates* below).\n\n```js\nconst pair = await getRate('USD', 'RWF', { apiKey: 'art_live_...' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnrw',\n  name: 'National Bank of Rwanda',\n  rate_date: '2026-10-08',   // National Bank of Rwanda's own publication date\n  source: 'USD',\n  target: 'RWF',\n  rate: 1474.395,\n  rate_type: 'reference',\n  derived: false,\n  method: 'published',\n  disclaimer: 'Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned.'\n}\n```\n\n### Full published table\n\nFree plan and up. The complete table for the latest publication date.\n\n```js\nimport { getLatestRates } from '@allratestoday/national-bank-of-rwanda-exchange-rate';\n\nconst table = await getLatestRates({ apiKey: 'art_live_...' });\nconsole.log(table.rate_date, table.rates.length);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnrw',\n  name: 'National Bank of Rwanda',\n  rate_date: '2026-10-08',\n  rates: [\n    { \"base\": \"USD\", \"quote\": \"RWF\", \"type\": \"reference\", \"value\": 1474.395 },\n    { \"base\": \"USD\", \"quote\": \"RWF\", \"type\": \"sell\", \"value\": 1479.395 },\n    { \"base\": \"USD\", \"quote\": \"RWF\", \"type\": \"buy\", \"value\": 1469.395 },\n    // … the rest of the published table (21 currencies vs RWF)\n  ],\n  disclaimer: '…'\n}\n```\n\n### Table for a date\n\nPaid plans. The official table for any date since 2012 — weekends and holidays return the most recent published date, flagged via `published_on_requested_date`, which is exactly the in-force rate a filing needs.\n\n```js\nimport { getRatesForDate } from '@allratestoday/national-bank-of-rwanda-exchange-rate';\n\nconst day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });\n// Optionally narrow to one pair:\nconst one = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...', source: 'USD', target: 'RWF' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnrw',\n  requested_date: '2026-06-30',\n  rate_date: '2026-06-30',                // the date actually published\n  published_on_requested_date: true,      // false when a weekend/holiday fell back\n  rates: [ /* the full table for that date */ ],\n  disclaimer: '…'\n}\n```\n\n### Daily time series\n\nPaid plans. One resolved rate per publication date — ready for charting, revaluation runs, or audit workpapers.\n\n```js\nimport { getHistory } from '@allratestoday/national-bank-of-rwanda-exchange-rate';\n\nconst series = await getHistory(\n  { source: 'USD', target: 'RWF', from: '2026-01-01', to: '2026-10-08' },\n  { apiKey: 'art_live_...' }\n);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bnrw',\n  source: 'USD',\n  target: 'RWF',\n  from: '2026-01-01',\n  to: '2026-10-08',\n  count: 152,\n  rates: [\n    // one entry per publication date\n    { date: '2026-10-08', rate: 1474.395, rate_type: 'reference', derived: false, method: 'published' },\n    // …\n  ],\n  disclaimer: '…'\n}\n```\n\nPass `{ symbol: 'USD' }` instead of `source`/`target` to get the raw published rows for one currency (all rate types, no pair resolution).\n\n---\n\n## 🗺️ Currencies covered\n\nNational Bank of Rwanda currently publishes rates covering **21 currencies** against the RWF (as of the latest table):\n\n🇦🇪 `AED` · 🇦🇺 `AUD` · 🇧🇮 `BIF` · 🇨🇦 `CAD` · 🇨🇩 `CDF` · 🇨🇭 `CHF` · 🇨🇳 `CNY` · 🇩🇰 `DKK` · 🇪🇹 `ETB` · 🇪🇺 `EUR` · 🇬🇧 `GBP` · 🇮🇳 `INR` · 🇯🇵 `JPY` · 🇰🇪 `KES` · 🇳🇴 `NOK` · 🇸🇦 `SAR` · 🇸🇪 `SEK` · 🇹🇿 `TZS` · 🇺🇬 `UGX` · 🇺🇸 `USD` · 🇿🇦 `ZAR`\n\n## 🏛️ Source\n\nThe National Bank of Rwanda publishes daily official franc rates — an average (reference) rate with buying and selling quotes — for the major world and East African currencies. Kigali's rate matters well beyond Rwanda's borders: the franc corridor with Kenya, Tanzania and Uganda carries substantial regional trade, and the series reaches back to 2012.\n\n- Publisher's own page: [Exchange rates](https://www.bnr.rw/exchange-rate/) · [www.bnr.rw](https://www.bnr.rw)\n- Publication: every business day; the exact schedule, freshness status and any current delay are on the [National Bank of Rwanda rates page](https://allratestoday.com/central-bank-rates-api/bnrw/)\n- Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)\n\n## 🧭 Reading the numbers\n\n- `value` is always **quote currency per 1 unit of base currency** (`base: \"EUR\", quote: \"USD\", value: 1.15` means 1 EUR = 1.15 USD).\n- National Bank of Rwanda quotes **RWF per 1 unit of foreign currency** (e.g. `base: \"USD\", quote: \"RWF\"` means RWF per one US dollar).\n- Need the other way round? Ask `getRate(target, source)` and the API inverts or crosses for you, flagged `derived: true` — never divide a published rate yourself in a compliance workflow.\n- `rate_type` tells you which of the central bank's series a row belongs to (`reference` here); some publishers print buy/sell or several fixings for the same pair.\n\n## 🧩 ERP & accounting systems\n\nLoading the official National Bank of Rwanda rate into an accounting system is a supported workflow, not a hack. Step-by-step guides with the direction each system expects:\n\n- [Dynamics 365 Business Central](https://allratestoday.com/docs/integrations/business-central/) — built-in Currency Exchange Rate Service, no code\n- [Xero](https://allratestoday.com/docs/integrations/xero/) · [QuickBooks Online](https://allratestoday.com/docs/integrations/quickbooks/) · [SAP S/4HANA and ECC](https://allratestoday.com/docs/integrations/sap/) · [Odoo](https://allratestoday.com/docs/integrations/odoo/)\n\nThe same keyed endpoints return `?format=csv`, `?format=xml` and `?format=xlsx`, and accept the key as `?api_key=` on the URL for importers that cannot send headers:\n\n```bash\ncurl \"https://allratestoday.com/api/v1/central-bank/bnrw/latest?format=xml&api_key=art_live_...\"\n```\n\n## 🤖 AI agents\n\n- MCP server: `npx -y @allratestoday/central-bank-mcp` (stdio) or the hosted endpoint `https://allratestoday.com/api/mcp` — tools for official rates, history, cross-bank comparison and publication calendars\n- Already using the general SDK or MCP server? Since 2026-10-01 [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk) 1.4+ has `officialRates('bnrw')` and [`@allratestoday/mcp-server`](https://www.npmjs.com/package/@allratestoday/mcp-server) 0.6+ has a `get_official_rates` tool — both return this source's latest table with no key, so you can add it without a second dependency\n- Claude Code plugin (no key): `/plugin marketplace add AllRates-Today/claude-code-plugin` then `/plugin install allratestoday@allratestoday` — bundles both MCP servers plus an `/official-rate bnrw ...` command\n- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)\n\n## ⚖️ Published vs derived rates\n\nIf National Bank of Rwanda does not print a pair directly, the API resolves it from the central bank's own table and says so — official and computed values are never confused:\n\n| `method` | `derived` | Meaning |\n| --- | --- | --- |\n| `published` | `false` | The central bank printed this pair directly |\n| `inverse` | `true` | Computed as 1 ÷ the published opposite direction |\n| `cross` | `true` | Computed via RWF from two published rates |\n\n## 🛡️ Error handling\n\nErrors are thrown as `Error` with `status` (HTTP code) and `body` (the API's JSON error) attached:\n\n```js\ntry {\n  const pair = await getRate('USD', 'XXX', { apiKey: 'art_live_...' });\n} catch (err) {\n  console.log(err.message); // human-readable reason\n  console.log(err.status);  // e.g. 404\n}\n```\n\n| Status | Meaning |\n| ------ | ------- |\n| — | Missing `apiKey` (thrown before any request) |\n| `400` | Malformed date or parameters |\n| `401` | Invalid API key |\n| `403` | Endpoint needs a [paid plan](https://allratestoday.com/pricing/) (historical dates & series) |\n| `404` | Pair or date range not covered by National Bank of Rwanda |\n| `429` | Monthly quota exceeded |\n\n## 🔷 TypeScript\n\nFull definitions ship with the package — no `@types` install:\n\n```ts\nimport type { LatestRates, PairRate, DatedRates, RateEntry, HistoryQuery, RequestOptions } from '@allratestoday/national-bank-of-rwanda-exchange-rate';\n```\n\n## 📦 CommonJS\n\n```javascript\nconst { getRate } = require('@allratestoday/national-bank-of-rwanda-exchange-rate');\n\ngetRate('USD', 'RWF', { apiKey: 'art_live_...' }).then((pair) => console.log(pair.rate));\n```\n\n## 💡 Quota tips\n\n- Rates change once per business day — cache the published table locally and a small monthly quota goes a long way.\n- Every request counts toward your AllRatesToday quota, shared across all AllRatesToday endpoints on your key.\n\n## 📖 Methods reference\n\n| Method | Plan | Description |\n| ------ | ---- | ----------- |\n| `getRate(source, target, { apiKey })` | Free | Latest rate for one pair, resolved from the published table |\n| `getLatestRates({ apiKey })` | Free | The central bank's full latest published table |\n| `getRatesForDate(date, { apiKey, source?, target? })` | Paid | The official table (or one pair) for a YYYY-MM-DD date |\n| `getHistory({ symbol \\| source+target, from?, to? }, { apiKey })` | Paid | Daily series since 2012 |\n\n## 📥 Bulk data (no key)\n\nNeed the whole archive rather than an API call? The same published tables are mirrored daily as open data:\n\n- Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/bnrw.csv`)\n- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)\n- CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bnrw/latest.json`\n\n## 🔗 Links\n\n- [National Bank of Rwanda rates page](https://allratestoday.com/central-bank-rates-api/bnrw/) — live table, publication cadence, FAQ\n- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)\n- [Package docs on the site](https://allratestoday.com/docs/sdk/national-bank-of-rwanda-exchange-rate/) · [ERP integration guides](https://allratestoday.com/docs/integrations/)\n- [API documentation](https://allratestoday.com/docs/#central-bank) · [Interactive reference](https://allratestoday.com/api-reference/) · [Methodology](https://allratestoday.com/official-rates-methodology/)\n- [Register (free)](https://allratestoday.com/register) · [Pricing](https://allratestoday.com/pricing/)\n- [GitHub](https://github.com/AllRates-Today/national-bank-of-rwanda-exchange-rate)\n\n## 📜 License\n\nMIT\n","readmeFilename":"README.md"}