@allratestoday/rbm-exchange-rate 1.3.7 โ†’ 1.3.13

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.
Files changed (2) hide show
  1. package/README.md +65 -62
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -37,70 +37,72 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
37
37
 
38
38
  ## ๐Ÿ“ˆ Latest published table
39
39
 
40
- Today's full Reserve Bank of Malawi table, straight from the central bank's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the central bank publishes a new table; the copy on npm is as of the package's publish date.
40
+ [![Latest Reserve Bank of Malawi table](https://allratestoday.com/api/open/central-bank/rbm/table.svg)](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.
41
43
 
42
44
  <!-- daily-table:start -->
43
- Published **2026-10-08** by Reserve Bank of Malawi โ€” 114 rates, first 60 shown. Updated 2026-10-08.
45
+ Published **2026-10-14** by Reserve Bank of Malawi โ€” 114 rates, first 60 shown. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | AED | MWK | buy | 467.5354 |
48
- | AED | MWK | middle | 472.1611 |
49
- | AED | MWK | sell | 476.7869 |
50
- | ARS | MWK | buy | 1.1319 |
51
- | ARS | MWK | middle | 1.1431 |
52
- | ARS | MWK | sell | 1.1543 |
53
- | AUD | MWK | buy | 1193.372 |
54
- | AUD | MWK | middle | 1205.1792 |
55
- | AUD | MWK | sell | 1216.9864 |
56
- | BWP | MWK | buy | 131.5243 |
57
- | BWP | MWK | middle | 132.8256 |
58
- | BWP | MWK | sell | 134.1269 |
59
- | CAD | MWK | buy | 1204.1683 |
60
- | CAD | MWK | middle | 1216.0823 |
61
- | CAD | MWK | sell | 1227.9963 |
62
- | CHF | MWK | buy | 2123.6003 |
63
- | CHF | MWK | middle | 2144.6112 |
64
- | CHF | MWK | sell | 2165.622 |
49
+ | AED | MWK | buy | 467.5226 |
50
+ | AED | MWK | middle | 472.1483 |
51
+ | AED | MWK | sell | 476.7739 |
52
+ | ARS | MWK | buy | 1.1352 |
53
+ | ARS | MWK | middle | 1.1465 |
54
+ | ARS | MWK | sell | 1.1577 |
55
+ | AUD | MWK | buy | 1202.5659 |
56
+ | AUD | MWK | middle | 1214.4641 |
57
+ | AUD | MWK | sell | 1226.3622 |
58
+ | BWP | MWK | buy | 132.3822 |
59
+ | BWP | MWK | middle | 133.692 |
60
+ | BWP | MWK | sell | 135.0018 |
61
+ | CAD | MWK | buy | 1208.9162 |
62
+ | CAD | MWK | middle | 1220.8771 |
63
+ | CAD | MWK | sell | 1232.8381 |
64
+ | CHF | MWK | buy | 2125.8978 |
65
+ | CHF | MWK | middle | 2146.9313 |
66
+ | CHF | MWK | sell | 2167.9649 |
65
67
  | CMD | MWK | buy | 1717.0236 |
66
68
  | CMD | MWK | middle | 1734.0118 |
67
69
  | CMD | MWK | sell | 1751 |
68
- | CNY | MWK | buy | 256.2034 |
69
- | CNY | MWK | middle | 258.7382 |
70
- | CNY | MWK | sell | 261.2731 |
71
- | DKK | MWK | buy | 257.1858 |
72
- | DKK | MWK | middle | 259.7304 |
73
- | DKK | MWK | sell | 262.2749 |
74
- | ETB | MWK | buy | 10.6738 |
75
- | ETB | MWK | middle | 10.7794 |
76
- | ETB | MWK | sell | 10.885 |
77
- | EUR | MWK | buy | 1979.8742 |
78
- | EUR | MWK | middle | 1999.463 |
79
- | EUR | MWK | sell | 2019.0518 |
80
- | GBP | MWK | buy | 2333.4042 |
81
- | GBP | MWK | middle | 2356.4908 |
82
- | GBP | MWK | sell | 2379.5775 |
83
- | HKD | MWK | buy | 218.7932 |
84
- | HKD | MWK | middle | 220.958 |
85
- | HKD | MWK | sell | 223.1227 |
86
- | IDR | MWK | buy | 0.096 |
70
+ | CNY | MWK | buy | 256.5747 |
71
+ | CNY | MWK | middle | 259.1133 |
72
+ | CNY | MWK | sell | 261.6518 |
73
+ | DKK | MWK | buy | 257.4905 |
74
+ | DKK | MWK | middle | 260.0381 |
75
+ | DKK | MWK | sell | 262.5857 |
76
+ | ETB | MWK | buy | 10.6387 |
77
+ | ETB | MWK | middle | 10.7439 |
78
+ | ETB | MWK | sell | 10.8492 |
79
+ | EUR | MWK | buy | 1982.1733 |
80
+ | EUR | MWK | middle | 2001.7849 |
81
+ | EUR | MWK | sell | 2021.3964 |
82
+ | GBP | MWK | buy | 2346.1377 |
83
+ | GBP | MWK | middle | 2369.3503 |
84
+ | GBP | MWK | sell | 2392.5629 |
85
+ | HKD | MWK | buy | 218.7849 |
86
+ | HKD | MWK | middle | 220.9495 |
87
+ | HKD | MWK | sell | 223.1142 |
88
+ | IDR | MWK | buy | 0.0959 |
87
89
  | IDR | MWK | middle | 0.0969 |
88
- | IDR | MWK | sell | 0.0979 |
89
- | IEP | MWK | buy | 1207.5558 |
90
- | IEP | MWK | middle | 1219.5033 |
91
- | IEP | MWK | sell | 1231.4509 |
92
- | INR | MWK | buy | 17.7415 |
93
- | INR | MWK | middle | 17.917 |
94
- | INR | MWK | sell | 18.0926 |
95
- | JPY | MWK | buy | 10.8549 |
96
- | JPY | MWK | middle | 10.9623 |
97
- | JPY | MWK | sell | 11.0697 |
98
- | KES | MWK | buy | 13.2333 |
99
- | KES | MWK | middle | 13.3643 |
100
- | KES | MWK | sell | 13.4952 |
101
- | KRW | MWK | buy | 1.282 |
102
- | KRW | MWK | middle | 1.2946 |
103
- | KRW | MWK | sell | 1.3073 |
90
+ | IDR | MWK | sell | 0.0978 |
91
+ | IEP | MWK | buy | 1206.7072 |
92
+ | IEP | MWK | middle | 1218.6463 |
93
+ | IEP | MWK | sell | 1230.5854 |
94
+ | INR | MWK | buy | 18.0663 |
95
+ | INR | MWK | middle | 18.2451 |
96
+ | INR | MWK | sell | 18.4238 |
97
+ | JPY | MWK | buy | 10.8473 |
98
+ | JPY | MWK | middle | 10.9547 |
99
+ | JPY | MWK | sell | 11.062 |
100
+ | KES | MWK | buy | 13.2589 |
101
+ | KES | MWK | middle | 13.3901 |
102
+ | KES | MWK | sell | 13.5212 |
103
+ | KRW | MWK | buy | 1.2833 |
104
+ | KRW | MWK | middle | 1.296 |
105
+ | KRW | MWK | sell | 1.3087 |
104
106
  | KWD | MWK | buy | 5572.9427 |
105
107
  | KWD | MWK | middle | 5628.0812 |
106
108
  | KWD | MWK | sell | 5683.2197 |
@@ -160,7 +162,7 @@ const pair = await getRate('USD', 'MWK', { apiKey: 'art_live_...' });
160
162
  {
161
163
  bank: 'rbm',
162
164
  name: 'Reserve Bank of Malawi',
163
- rate_date: '2026-10-08', // Reserve Bank of Malawi's own publication date
165
+ rate_date: '2026-10-14', // Reserve Bank of Malawi's own publication date
164
166
  source: 'USD',
165
167
  target: 'MWK',
166
168
  rate: 1734.0118,
@@ -188,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
188
190
  {
189
191
  bank: 'rbm',
190
192
  name: 'Reserve Bank of Malawi',
191
- rate_date: '2026-10-08',
193
+ rate_date: '2026-10-14',
192
194
  rates: [
193
195
  { "base": "USD", "quote": "MWK", "type": "middle", "value": 1734.0118 },
194
196
  { "base": "USD", "quote": "MWK", "type": "sell", "value": 1751 },
@@ -232,7 +234,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
232
234
  import { getHistory } from '@allratestoday/rbm-exchange-rate';
233
235
 
234
236
  const series = await getHistory(
235
- { source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-08' },
237
+ { source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-14' },
236
238
  { apiKey: 'art_live_...' }
237
239
  );
238
240
  ```
@@ -245,11 +247,11 @@ const series = await getHistory(
245
247
  source: 'USD',
246
248
  target: 'MWK',
247
249
  from: '2026-01-01',
248
- to: '2026-10-08',
250
+ to: '2026-10-14',
249
251
  count: 152,
250
252
  rates: [
251
253
  // one entry per publication date
252
- { date: '2026-10-08', rate: 1734.0118, rate_type: 'middle', derived: false, method: 'published' },
254
+ { date: '2026-10-14', rate: 1734.0118, rate_type: 'middle', derived: false, method: 'published' },
253
255
  // โ€ฆ
254
256
  ],
255
257
  disclaimer: 'โ€ฆ'
@@ -299,6 +301,7 @@ curl "https://allratestoday.com/api/v1/central-bank/rbm/latest?format=xml&api_ke
299
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
300
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
301
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`
302
305
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
303
306
 
304
307
  ## โš–๏ธ Published vs derived rates
@@ -367,9 +370,9 @@ getRate('USD', 'MWK', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
367
370
 
368
371
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
369
372
 
370
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/rbm.csv`)
373
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/rbm.csv`)
371
374
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
372
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/rbm/latest.json`
375
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/rbm/latest.json`
373
376
 
374
377
  ## ๐Ÿ”— Links
375
378
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/rbm-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.13",
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
  ],