cbm-exchange-rate 1.3.7 โ 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 +43 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,51 +37,53 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
37
37
|
|
|
38
38
|
## ๐ Latest published table
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
[](https://allratestoday.com/central-bank-rates-api/cbm/)
|
|
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-
|
|
45
|
+
Published **2026-10-12** by Central Bank of Myanmar โ 38 rates. Updated 2026-10-12.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
|
-
| AUD | MMK | reference |
|
|
48
|
-
| BDT | MMK | reference | 17.
|
|
49
|
-
| BND | MMK | reference |
|
|
50
|
-
| BRL | MMK | reference |
|
|
51
|
-
| CAD | MMK | reference |
|
|
52
|
-
| CHF | MMK | reference |
|
|
53
|
-
| CNY | MMK | reference | 313.
|
|
54
|
-
| CZK | MMK | reference | 96.
|
|
55
|
-
| DKK | MMK | reference | 314.
|
|
56
|
-
| EGP | MMK | reference |
|
|
57
|
-
| EUR | MMK | reference |
|
|
58
|
-
| GBP | MMK | reference |
|
|
59
|
-
| HKD | MMK | reference | 267.
|
|
60
|
-
| IDR | MMK | reference | 0.
|
|
61
|
-
| ILS | MMK | reference |
|
|
62
|
-
| INR | MMK | reference | 21.
|
|
63
|
-
| JPY | MMK | reference | 13.
|
|
64
|
-
| KES | MMK | reference | 16.
|
|
65
|
-
| KHR | MMK | reference | 0.
|
|
66
|
-
| KRW | MMK | reference | 1.
|
|
49
|
+
| AUD | MMK | reference | 1465.8 |
|
|
50
|
+
| BDT | MMK | reference | 17.06 |
|
|
51
|
+
| BND | MMK | reference | 1640.82 |
|
|
52
|
+
| BRL | MMK | reference | 420.65 |
|
|
53
|
+
| CAD | MMK | reference | 1473.12 |
|
|
54
|
+
| CHF | MMK | reference | 2525.1 |
|
|
55
|
+
| CNY | MMK | reference | 313.79 |
|
|
56
|
+
| CZK | MMK | reference | 96.53 |
|
|
57
|
+
| DKK | MMK | reference | 314.8 |
|
|
58
|
+
| EGP | MMK | reference | 39.92 |
|
|
59
|
+
| EUR | MMK | reference | 2352.95 |
|
|
60
|
+
| GBP | MMK | reference | 2781.14 |
|
|
61
|
+
| HKD | MMK | reference | 267.6 |
|
|
62
|
+
| IDR | MMK | reference | 0.1173 |
|
|
63
|
+
| ILS | MMK | reference | 685.05 |
|
|
64
|
+
| INR | MMK | reference | 21.93 |
|
|
65
|
+
| JPY | MMK | reference | 13.2538 |
|
|
66
|
+
| KES | MMK | reference | 16.18 |
|
|
67
|
+
| KHR | MMK | reference | 0.5173 |
|
|
68
|
+
| KRW | MMK | reference | 1.577 |
|
|
67
69
|
| KWD | MMK | reference | 6814.86 |
|
|
68
70
|
| LAK | MMK | reference | 0.0934 |
|
|
69
71
|
| LKR | MMK | reference | 6.35 |
|
|
70
|
-
| MYR | MMK | reference |
|
|
71
|
-
| NOK | MMK | reference | 219.
|
|
72
|
-
| NPR | MMK | reference | 13.
|
|
73
|
-
| NZD | MMK | reference |
|
|
74
|
-
| PHP | MMK | reference | 33.
|
|
72
|
+
| MYR | MMK | reference | 514.26 |
|
|
73
|
+
| NOK | MMK | reference | 219.41 |
|
|
74
|
+
| NPR | MMK | reference | 13.71 |
|
|
75
|
+
| NZD | MMK | reference | 1176.74 |
|
|
76
|
+
| PHP | MMK | reference | 33.46 |
|
|
75
77
|
| PKR | MMK | reference | 7.58 |
|
|
76
|
-
| RSD | MMK | reference | 20.
|
|
77
|
-
| RUB | MMK | reference | 24.
|
|
78
|
-
| SAR | MMK | reference | 559.
|
|
79
|
-
| SEK | MMK | reference |
|
|
80
|
-
| SGD | MMK | reference |
|
|
81
|
-
| THB | MMK | reference | 62.
|
|
78
|
+
| RSD | MMK | reference | 20.04 |
|
|
79
|
+
| RUB | MMK | reference | 24.99 |
|
|
80
|
+
| SAR | MMK | reference | 559.15 |
|
|
81
|
+
| SEK | MMK | reference | 210.01 |
|
|
82
|
+
| SGD | MMK | reference | 1640.82 |
|
|
83
|
+
| THB | MMK | reference | 62.57 |
|
|
82
84
|
| USD | MMK | reference | 2100 |
|
|
83
|
-
| VND | MMK | reference | 0.
|
|
84
|
-
| ZAR | MMK | reference |
|
|
85
|
+
| VND | MMK | reference | 0.0811 |
|
|
86
|
+
| ZAR | MMK | reference | 127.28 |
|
|
85
87
|
|
|
86
88
|
Source: [Official rates published by CBM, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbm/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
87
89
|
<!-- daily-table:end -->
|
|
@@ -138,7 +140,7 @@ const pair = await getRate('USD', 'MMK', { apiKey: 'art_live_...' });
|
|
|
138
140
|
{
|
|
139
141
|
bank: 'cbm',
|
|
140
142
|
name: 'Central Bank of Myanmar',
|
|
141
|
-
rate_date: '2026-10-
|
|
143
|
+
rate_date: '2026-10-12', // Central Bank of Myanmar's own publication date
|
|
142
144
|
source: 'USD',
|
|
143
145
|
target: 'MMK',
|
|
144
146
|
rate: 2100,
|
|
@@ -166,7 +168,7 @@ console.log(table.rate_date, table.rates.length);
|
|
|
166
168
|
{
|
|
167
169
|
bank: 'cbm',
|
|
168
170
|
name: 'Central Bank of Myanmar',
|
|
169
|
-
rate_date: '2026-10-
|
|
171
|
+
rate_date: '2026-10-12',
|
|
170
172
|
rates: [
|
|
171
173
|
{ "base": "USD", "quote": "MMK", "type": "reference", "value": 2100 },
|
|
172
174
|
// โฆ the rest of the published table (38 currencies vs MMK)
|
|
@@ -208,7 +210,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
208
210
|
import { getHistory } from 'cbm-exchange-rate';
|
|
209
211
|
|
|
210
212
|
const series = await getHistory(
|
|
211
|
-
{ source: 'USD', target: 'MMK', from: '2026-01-01', to: '2026-10-
|
|
213
|
+
{ source: 'USD', target: 'MMK', from: '2026-01-01', to: '2026-10-12' },
|
|
212
214
|
{ apiKey: 'art_live_...' }
|
|
213
215
|
);
|
|
214
216
|
```
|
|
@@ -221,11 +223,11 @@ const series = await getHistory(
|
|
|
221
223
|
source: 'USD',
|
|
222
224
|
target: 'MMK',
|
|
223
225
|
from: '2026-01-01',
|
|
224
|
-
to: '2026-10-
|
|
226
|
+
to: '2026-10-12',
|
|
225
227
|
count: 152,
|
|
226
228
|
rates: [
|
|
227
229
|
// one entry per publication date
|
|
228
|
-
{ date: '2026-10-
|
|
230
|
+
{ date: '2026-10-12', rate: 2100, rate_type: 'reference', derived: false, method: 'published' },
|
|
229
231
|
// โฆ
|
|
230
232
|
],
|
|
231
233
|
disclaimer: 'โฆ'
|
|
@@ -275,6 +277,7 @@ curl "https://allratestoday.com/api/v1/central-bank/cbm/latest?format=xml&api_ke
|
|
|
275
277
|
- 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
|
|
276
278
|
- 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('cbm')` 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
|
|
277
279
|
- 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 cbm ...` command
|
|
280
|
+
- 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`
|
|
278
281
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
279
282
|
|
|
280
283
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cbm-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Official Central Bank of Myanmar (Myanmar) daily exchange rates โ 38 currencies vs MMK, history since 2012. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbm",
|