@allratestoday/rbm-exchange-rate 1.3.9 → 1.3.14
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 +60 -60
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,67 +42,67 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
42
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
43
|
|
|
44
44
|
<!-- daily-table:start -->
|
|
45
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-16** by Reserve Bank of Malawi — 114 rates, first 60 shown. Updated 2026-10-16.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
49
|
| AED | MWK | buy | 467.5226 |
|
|
50
50
|
| AED | MWK | middle | 472.1483 |
|
|
51
51
|
| AED | MWK | sell | 476.7739 |
|
|
52
|
-
| ARS | MWK | buy | 1.
|
|
53
|
-
| ARS | MWK | middle | 1.
|
|
54
|
-
| ARS | MWK | sell | 1.
|
|
55
|
-
| AUD | MWK | buy |
|
|
56
|
-
| AUD | MWK | middle |
|
|
57
|
-
| AUD | MWK | sell |
|
|
58
|
-
| BWP | MWK | buy |
|
|
59
|
-
| BWP | MWK | middle |
|
|
60
|
-
| BWP | MWK | sell |
|
|
61
|
-
| CAD | MWK | buy |
|
|
62
|
-
| CAD | MWK | middle |
|
|
63
|
-
| CAD | MWK | sell |
|
|
64
|
-
| CHF | MWK | buy |
|
|
65
|
-
| CHF | MWK | middle |
|
|
66
|
-
| CHF | MWK | sell |
|
|
52
|
+
| ARS | MWK | buy | 1.1352 |
|
|
53
|
+
| ARS | MWK | middle | 1.1465 |
|
|
54
|
+
| ARS | MWK | sell | 1.1577 |
|
|
55
|
+
| AUD | MWK | buy | 1192.2947 |
|
|
56
|
+
| AUD | MWK | middle | 1204.0913 |
|
|
57
|
+
| AUD | MWK | sell | 1215.8878 |
|
|
58
|
+
| BWP | MWK | buy | 132.3822 |
|
|
59
|
+
| BWP | MWK | middle | 133.692 |
|
|
60
|
+
| BWP | MWK | sell | 135.0018 |
|
|
61
|
+
| CAD | MWK | buy | 1211.0479 |
|
|
62
|
+
| CAD | MWK | middle | 1223.0299 |
|
|
63
|
+
| CAD | MWK | sell | 1235.012 |
|
|
64
|
+
| CHF | MWK | buy | 2140.3054 |
|
|
65
|
+
| CHF | MWK | middle | 2161.4815 |
|
|
66
|
+
| CHF | MWK | sell | 2182.6576 |
|
|
67
67
|
| CMD | MWK | buy | 1717.0236 |
|
|
68
68
|
| CMD | MWK | middle | 1734.0118 |
|
|
69
69
|
| CMD | MWK | sell | 1751 |
|
|
70
|
-
| CNY | MWK | buy | 256.
|
|
71
|
-
| CNY | MWK | middle | 259.
|
|
72
|
-
| CNY | MWK | sell | 261.
|
|
73
|
-
| DKK | MWK | buy |
|
|
74
|
-
| DKK | MWK | middle |
|
|
75
|
-
| DKK | MWK | sell |
|
|
76
|
-
| ETB | MWK | buy | 10.
|
|
77
|
-
| ETB | MWK | middle | 10.
|
|
78
|
-
| ETB | MWK | sell | 10.
|
|
79
|
-
| EUR | MWK | buy |
|
|
80
|
-
| EUR | MWK | middle |
|
|
81
|
-
| EUR | MWK | sell |
|
|
82
|
-
| GBP | MWK | buy |
|
|
83
|
-
| GBP | MWK | middle |
|
|
84
|
-
| GBP | MWK | sell |
|
|
85
|
-
| HKD | MWK | buy | 218.
|
|
86
|
-
| HKD | MWK | middle | 220.
|
|
87
|
-
| HKD | MWK | sell | 223.
|
|
88
|
-
| IDR | MWK | buy | 0.
|
|
89
|
-
| IDR | MWK | middle | 0.
|
|
90
|
-
| IDR | MWK | sell | 0.
|
|
91
|
-
| IEP | MWK | buy |
|
|
92
|
-
| IEP | MWK | middle |
|
|
93
|
-
| IEP | MWK | sell |
|
|
94
|
-
| INR | MWK | buy |
|
|
95
|
-
| INR | MWK | middle | 18.
|
|
96
|
-
| INR | MWK | sell | 18.
|
|
97
|
-
| JPY | MWK | buy | 10.
|
|
98
|
-
| JPY | MWK | middle | 10.
|
|
99
|
-
| JPY | MWK | sell | 11.
|
|
100
|
-
| KES | MWK | buy | 13.
|
|
101
|
-
| KES | MWK | middle | 13.
|
|
102
|
-
| KES | MWK | sell | 13.
|
|
103
|
-
| KRW | MWK | buy | 1.
|
|
104
|
-
| KRW | MWK | middle | 1.
|
|
105
|
-
| KRW | MWK | sell | 1.
|
|
70
|
+
| CNY | MWK | buy | 256.7128 |
|
|
71
|
+
| CNY | MWK | middle | 259.2527 |
|
|
72
|
+
| CNY | MWK | sell | 261.7926 |
|
|
73
|
+
| DKK | MWK | buy | 258.0051 |
|
|
74
|
+
| DKK | MWK | middle | 260.5577 |
|
|
75
|
+
| DKK | MWK | sell | 263.1104 |
|
|
76
|
+
| ETB | MWK | buy | 10.6383 |
|
|
77
|
+
| ETB | MWK | middle | 10.7436 |
|
|
78
|
+
| ETB | MWK | sell | 10.8488 |
|
|
79
|
+
| EUR | MWK | buy | 1986.2409 |
|
|
80
|
+
| EUR | MWK | middle | 2005.8927 |
|
|
81
|
+
| EUR | MWK | sell | 2025.5445 |
|
|
82
|
+
| GBP | MWK | buy | 2353.2118 |
|
|
83
|
+
| GBP | MWK | middle | 2376.4944 |
|
|
84
|
+
| GBP | MWK | sell | 2399.777 |
|
|
85
|
+
| HKD | MWK | buy | 218.796 |
|
|
86
|
+
| HKD | MWK | middle | 220.9608 |
|
|
87
|
+
| HKD | MWK | sell | 223.1255 |
|
|
88
|
+
| IDR | MWK | buy | 0.0953 |
|
|
89
|
+
| IDR | MWK | middle | 0.0962 |
|
|
90
|
+
| IDR | MWK | sell | 0.0971 |
|
|
91
|
+
| IEP | MWK | buy | 1204.1683 |
|
|
92
|
+
| IEP | MWK | middle | 1216.0823 |
|
|
93
|
+
| IEP | MWK | sell | 1227.9963 |
|
|
94
|
+
| INR | MWK | buy | 18.0716 |
|
|
95
|
+
| INR | MWK | middle | 18.2504 |
|
|
96
|
+
| INR | MWK | sell | 18.4292 |
|
|
97
|
+
| JPY | MWK | buy | 10.8789 |
|
|
98
|
+
| JPY | MWK | middle | 10.9866 |
|
|
99
|
+
| JPY | MWK | sell | 11.0942 |
|
|
100
|
+
| KES | MWK | buy | 13.2333 |
|
|
101
|
+
| KES | MWK | middle | 13.3643 |
|
|
102
|
+
| KES | MWK | sell | 13.4952 |
|
|
103
|
+
| KRW | MWK | buy | 1.2856 |
|
|
104
|
+
| KRW | MWK | middle | 1.2983 |
|
|
105
|
+
| KRW | MWK | sell | 1.311 |
|
|
106
106
|
| KWD | MWK | buy | 5572.9427 |
|
|
107
107
|
| KWD | MWK | middle | 5628.0812 |
|
|
108
108
|
| KWD | MWK | sell | 5683.2197 |
|
|
@@ -162,7 +162,7 @@ const pair = await getRate('USD', 'MWK', { apiKey: 'art_live_...' });
|
|
|
162
162
|
{
|
|
163
163
|
bank: 'rbm',
|
|
164
164
|
name: 'Reserve Bank of Malawi',
|
|
165
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-14', // Reserve Bank of Malawi's own publication date
|
|
166
166
|
source: 'USD',
|
|
167
167
|
target: 'MWK',
|
|
168
168
|
rate: 1734.0118,
|
|
@@ -190,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
|
|
|
190
190
|
{
|
|
191
191
|
bank: 'rbm',
|
|
192
192
|
name: 'Reserve Bank of Malawi',
|
|
193
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-14',
|
|
194
194
|
rates: [
|
|
195
195
|
{ "base": "USD", "quote": "MWK", "type": "middle", "value": 1734.0118 },
|
|
196
196
|
{ "base": "USD", "quote": "MWK", "type": "sell", "value": 1751 },
|
|
@@ -234,7 +234,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
234
234
|
import { getHistory } from '@allratestoday/rbm-exchange-rate';
|
|
235
235
|
|
|
236
236
|
const series = await getHistory(
|
|
237
|
-
{ source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-
|
|
237
|
+
{ source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-14' },
|
|
238
238
|
{ apiKey: 'art_live_...' }
|
|
239
239
|
);
|
|
240
240
|
```
|
|
@@ -247,11 +247,11 @@ const series = await getHistory(
|
|
|
247
247
|
source: 'USD',
|
|
248
248
|
target: 'MWK',
|
|
249
249
|
from: '2026-01-01',
|
|
250
|
-
to: '2026-10-
|
|
250
|
+
to: '2026-10-14',
|
|
251
251
|
count: 152,
|
|
252
252
|
rates: [
|
|
253
253
|
// one entry per publication date
|
|
254
|
-
{ date: '2026-10-
|
|
254
|
+
{ date: '2026-10-14', rate: 1734.0118, rate_type: 'middle', derived: false, method: 'published' },
|
|
255
255
|
// …
|
|
256
256
|
],
|
|
257
257
|
disclaimer: '…'
|
|
@@ -301,7 +301,7 @@ curl "https://allratestoday.com/api/v1/central-bank/rbm/latest?format=xml&api_ke
|
|
|
301
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
|
|
302
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
|
|
303
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
|
-
-
|
|
304
|
+
- Evaluating? 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 that covers the free-plan methods (latest table, pairs); dated tables and history need a [paid plan](https://allratestoday.com/pricing/). The MCP servers expose it as `request_trial_key`
|
|
305
305
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
306
306
|
|
|
307
307
|
## ⚖️ Published vs derived rates
|
|
@@ -370,9 +370,9 @@ getRate('USD', 'MWK', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
370
370
|
|
|
371
371
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
372
372
|
|
|
373
|
-
- Hugging Face: [
|
|
373
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/rbm.csv`)
|
|
374
374
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
375
|
-
-
|
|
375
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/rbm/latest.json`
|
|
376
376
|
|
|
377
377
|
## 🔗 Links
|
|
378
378
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/rbm-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
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",
|
|
7
|
+
"reserve-bank-of-malawi",
|
|
7
8
|
"reserve",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"malawi",
|
|
11
11
|
"exchange-rate",
|
|
12
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"mwk-exchange-rate",
|
|
13
16
|
"currency",
|
|
14
17
|
"forex",
|
|
15
18
|
"fx",
|
|
16
19
|
"mwk",
|
|
20
|
+
"currency-api",
|
|
21
|
+
"currency-exchange-rates",
|
|
22
|
+
"forex-api",
|
|
23
|
+
"currency-conversion",
|
|
24
|
+
"currency-exchange",
|
|
25
|
+
"currency-rates",
|
|
17
26
|
"central-bank",
|
|
18
27
|
"official-rates",
|
|
19
|
-
"malawi",
|
|
20
28
|
"api",
|
|
21
29
|
"typescript"
|
|
22
30
|
],
|