@allratestoday/rbm-exchange-rate 1.3.6 โ 1.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/rbm-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/rbm-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/rbm/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/rbm/)
|
|
7
9
|
|
|
8
10
|
**Official Reserve Bank of Malawi (Malawi) 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 Reserve Bank of Malawi itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,81 @@ console.log(r.rate_date, r.rates.length); // the central bank's latest published
|
|
|
33
35
|
|
|
34
36
|
The 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.
|
|
35
37
|
|
|
38
|
+
## ๐ Latest published table
|
|
39
|
+
|
|
40
|
+
[](https://allratestoday.com/central-bank-rates-api/rbm/)
|
|
41
|
+
|
|
42
|
+
The image is rendered live from the keyless endpoint above, so it follows the central bank's publications on npm and on GitHub alike without a new release. The text copy below is there for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
|
|
43
|
+
|
|
44
|
+
<!-- daily-table:start -->
|
|
45
|
+
Published **2026-10-12** by Reserve Bank of Malawi โ 114 rates, first 60 shown. Updated 2026-10-12.
|
|
46
|
+
|
|
47
|
+
| Base | Quote | Type | Rate |
|
|
48
|
+
| --- | --- | --- | ---: |
|
|
49
|
+
| AED | MWK | buy | 467.5226 |
|
|
50
|
+
| AED | MWK | middle | 472.1483 |
|
|
51
|
+
| AED | MWK | sell | 476.7739 |
|
|
52
|
+
| ARS | MWK | buy | 1.1322 |
|
|
53
|
+
| ARS | MWK | middle | 1.1434 |
|
|
54
|
+
| ARS | MWK | sell | 1.1546 |
|
|
55
|
+
| AUD | MWK | buy | 1198.7877 |
|
|
56
|
+
| AUD | MWK | middle | 1210.6485 |
|
|
57
|
+
| AUD | MWK | sell | 1222.5092 |
|
|
58
|
+
| BWP | MWK | buy | 124.4842 |
|
|
59
|
+
| BWP | MWK | middle | 125.7159 |
|
|
60
|
+
| BWP | MWK | sell | 126.9475 |
|
|
61
|
+
| CAD | MWK | buy | 1205.3518 |
|
|
62
|
+
| CAD | MWK | middle | 1217.2775 |
|
|
63
|
+
| CAD | MWK | sell | 1229.2032 |
|
|
64
|
+
| CHF | MWK | buy | 2129.9944 |
|
|
65
|
+
| CHF | MWK | middle | 2151.0685 |
|
|
66
|
+
| CHF | MWK | sell | 2172.1426 |
|
|
67
|
+
| CMD | MWK | buy | 1717.0236 |
|
|
68
|
+
| CMD | MWK | middle | 1734.0118 |
|
|
69
|
+
| CMD | MWK | sell | 1751 |
|
|
70
|
+
| CNY | MWK | buy | 256.5594 |
|
|
71
|
+
| CNY | MWK | middle | 259.0978 |
|
|
72
|
+
| CNY | MWK | sell | 261.6362 |
|
|
73
|
+
| DKK | MWK | buy | 257.4055 |
|
|
74
|
+
| DKK | MWK | middle | 259.9523 |
|
|
75
|
+
| DKK | MWK | sell | 262.4991 |
|
|
76
|
+
| ETB | MWK | buy | 10.6705 |
|
|
77
|
+
| ETB | MWK | middle | 10.7761 |
|
|
78
|
+
| ETB | MWK | sell | 10.8816 |
|
|
79
|
+
| EUR | MWK | buy | 1981.6427 |
|
|
80
|
+
| EUR | MWK | middle | 2001.249 |
|
|
81
|
+
| EUR | MWK | sell | 2020.8553 |
|
|
82
|
+
| GBP | MWK | buy | 2344.0154 |
|
|
83
|
+
| GBP | MWK | middle | 2367.207 |
|
|
84
|
+
| GBP | MWK | sell | 2390.3986 |
|
|
85
|
+
| HKD | MWK | buy | 218.7988 |
|
|
86
|
+
| HKD | MWK | middle | 220.9636 |
|
|
87
|
+
| HKD | MWK | sell | 223.1284 |
|
|
88
|
+
| IDR | MWK | buy | 0.0959 |
|
|
89
|
+
| IDR | MWK | middle | 0.0969 |
|
|
90
|
+
| IDR | MWK | sell | 0.0978 |
|
|
91
|
+
| IEP | MWK | buy | 1206.9617 |
|
|
92
|
+
| IEP | MWK | middle | 1218.9033 |
|
|
93
|
+
| IEP | MWK | sell | 1230.8449 |
|
|
94
|
+
| INR | MWK | buy | 17.9258 |
|
|
95
|
+
| INR | MWK | middle | 18.1032 |
|
|
96
|
+
| INR | MWK | sell | 18.2805 |
|
|
97
|
+
| JPY | MWK | buy | 10.8466 |
|
|
98
|
+
| JPY | MWK | middle | 10.954 |
|
|
99
|
+
| JPY | MWK | sell | 11.0613 |
|
|
100
|
+
| KES | MWK | buy | 13.2384 |
|
|
101
|
+
| KES | MWK | middle | 13.3694 |
|
|
102
|
+
| KES | MWK | sell | 13.5004 |
|
|
103
|
+
| KRW | MWK | buy | 1.2861 |
|
|
104
|
+
| KRW | MWK | middle | 1.2988 |
|
|
105
|
+
| KRW | MWK | sell | 1.3115 |
|
|
106
|
+
| KWD | MWK | buy | 5572.9427 |
|
|
107
|
+
| KWD | MWK | middle | 5628.0812 |
|
|
108
|
+
| KWD | MWK | sell | 5683.2197 |
|
|
109
|
+
|
|
110
|
+
[Full table on the Reserve Bank of Malawi rates page](https://allratestoday.com/central-bank-rates-api/rbm/) ยท Source: [Official rates published by RBM, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/rbm/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
111
|
+
<!-- daily-table:end -->
|
|
112
|
+
|
|
36
113
|
## ๐ Get your API key
|
|
37
114
|
|
|
38
115
|
Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) โ no credit card required. Latest rates are on every plan, including free.
|
|
@@ -85,7 +162,7 @@ const pair = await getRate('USD', 'MWK', { apiKey: 'art_live_...' });
|
|
|
85
162
|
{
|
|
86
163
|
bank: 'rbm',
|
|
87
164
|
name: 'Reserve Bank of Malawi',
|
|
88
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-12', // Reserve Bank of Malawi's own publication date
|
|
89
166
|
source: 'USD',
|
|
90
167
|
target: 'MWK',
|
|
91
168
|
rate: 1734.0118,
|
|
@@ -113,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
190
|
{
|
|
114
191
|
bank: 'rbm',
|
|
115
192
|
name: 'Reserve Bank of Malawi',
|
|
116
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-12',
|
|
117
194
|
rates: [
|
|
118
195
|
{ "base": "USD", "quote": "MWK", "type": "middle", "value": 1734.0118 },
|
|
119
196
|
{ "base": "USD", "quote": "MWK", "type": "sell", "value": 1751 },
|
|
@@ -157,7 +234,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
157
234
|
import { getHistory } from '@allratestoday/rbm-exchange-rate';
|
|
158
235
|
|
|
159
236
|
const series = await getHistory(
|
|
160
|
-
{ source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-
|
|
237
|
+
{ source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-12' },
|
|
161
238
|
{ apiKey: 'art_live_...' }
|
|
162
239
|
);
|
|
163
240
|
```
|
|
@@ -170,11 +247,11 @@ const series = await getHistory(
|
|
|
170
247
|
source: 'USD',
|
|
171
248
|
target: 'MWK',
|
|
172
249
|
from: '2026-01-01',
|
|
173
|
-
to: '2026-10-
|
|
250
|
+
to: '2026-10-12',
|
|
174
251
|
count: 152,
|
|
175
252
|
rates: [
|
|
176
253
|
// one entry per publication date
|
|
177
|
-
{ date: '2026-10-
|
|
254
|
+
{ date: '2026-10-12', rate: 1734.0118, rate_type: 'middle', derived: false, method: 'published' },
|
|
178
255
|
// โฆ
|
|
179
256
|
],
|
|
180
257
|
disclaimer: 'โฆ'
|
|
@@ -224,6 +301,7 @@ curl "https://allratestoday.com/api/v1/central-bank/rbm/latest?format=xml&api_ke
|
|
|
224
301
|
- 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
|
|
225
302
|
- 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('rbm')` 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
|
|
226
303
|
- 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 rbm ...` command
|
|
304
|
+
- Need dated tables or history for an evaluation? Agents can self-issue a trial key with no signup: `POST https://allratestoday.com/api/agent/keys` (send `Content-Type: application/json`) returns a 100-call key valid 7 days; the MCP servers expose it as `request_trial_key`
|
|
227
305
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
228
306
|
|
|
229
307
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/rbm-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Official Reserve Bank of Malawi (Malawi) daily exchange rates โ 37 currencies vs MWK, history since 2016. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rbm",
|