@allratestoday/nbm-exchange-rate 1.3.5 โ 1.3.7
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 +63 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/nbm-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/nbm-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/nbm/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/nbm/)
|
|
7
9
|
|
|
8
10
|
**Official National Bank of Moldova (Moldova) 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 Moldova itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,59 @@ 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
|
+
Today's full National Bank of Moldova 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.
|
|
41
|
+
|
|
42
|
+
<!-- daily-table:start -->
|
|
43
|
+
Published **2026-10-09** by National Bank of Moldova โ 40 rates. Updated 2026-10-09.
|
|
44
|
+
|
|
45
|
+
| Base | Quote | Type | Rate |
|
|
46
|
+
| --- | --- | --- | ---: |
|
|
47
|
+
| AED | MDL | reference | 4.8735 |
|
|
48
|
+
| ALL | MDL | reference | 0.21832 |
|
|
49
|
+
| AMD | MDL | reference | 0.0494 |
|
|
50
|
+
| AUD | MDL | reference | 12.4336 |
|
|
51
|
+
| AZN | MDL | reference | 10.5321 |
|
|
52
|
+
| BYN | MDL | reference | 5.8436 |
|
|
53
|
+
| CAD | MDL | reference | 12.5575 |
|
|
54
|
+
| CHF | MDL | reference | 21.4683 |
|
|
55
|
+
| CNY | MDL | reference | 2.6703 |
|
|
56
|
+
| CZK | MDL | reference | 0.82 |
|
|
57
|
+
| DKK | MDL | reference | 2.6784 |
|
|
58
|
+
| EUR | MDL | reference | 20.0179 |
|
|
59
|
+
| GBP | MDL | reference | 23.63 |
|
|
60
|
+
| GEL | MDL | reference | 6.8834 |
|
|
61
|
+
| HKD | MDL | reference | 2.281 |
|
|
62
|
+
| HUF | MDL | reference | 0.054612 |
|
|
63
|
+
| ILS | MDL | reference | 5.8109 |
|
|
64
|
+
| INR | MDL | reference | 0.18494 |
|
|
65
|
+
| ISK | MDL | reference | 0.14612 |
|
|
66
|
+
| JPY | MDL | reference | 0.113121 |
|
|
67
|
+
| KGS | MDL | reference | 0.20337 |
|
|
68
|
+
| KRW | MDL | reference | 0.013308 |
|
|
69
|
+
| KWD | MDL | reference | 57.5641 |
|
|
70
|
+
| KZT | MDL | reference | 0.03964 |
|
|
71
|
+
| MKD | MDL | reference | 0.32522 |
|
|
72
|
+
| MYR | MDL | reference | 4.3743 |
|
|
73
|
+
| NOK | MDL | reference | 1.8689 |
|
|
74
|
+
| NZD | MDL | reference | 10.0044 |
|
|
75
|
+
| PLN | MDL | reference | 4.5709 |
|
|
76
|
+
| RON | MDL | reference | 3.7457 |
|
|
77
|
+
| RSD | MDL | reference | 0.170506 |
|
|
78
|
+
| RUB | MDL | reference | 0.2095 |
|
|
79
|
+
| SEK | MDL | reference | 1.7859 |
|
|
80
|
+
| TJS | MDL | reference | 1.9406 |
|
|
81
|
+
| TMT | MDL | reference | 5.1146 |
|
|
82
|
+
| TRY | MDL | reference | 0.3626 |
|
|
83
|
+
| UAH | MDL | reference | 0.3987 |
|
|
84
|
+
| USD | MDL | reference | 17.9003 |
|
|
85
|
+
| UZS | MDL | reference | 0.001515 |
|
|
86
|
+
| XDR | MDL | reference | 24.1975 |
|
|
87
|
+
|
|
88
|
+
Source: [Official rates published by NBM, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbm/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
89
|
+
<!-- daily-table:end -->
|
|
90
|
+
|
|
36
91
|
## ๐ Get your API key
|
|
37
92
|
|
|
38
93
|
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,10 +140,10 @@ const pair = await getRate('USD', 'MDL', { apiKey: 'art_live_...' });
|
|
|
85
140
|
{
|
|
86
141
|
bank: 'nbm',
|
|
87
142
|
name: 'National Bank of Moldova',
|
|
88
|
-
rate_date: '2026-10-
|
|
143
|
+
rate_date: '2026-10-08', // National Bank of Moldova's own publication date
|
|
89
144
|
source: 'USD',
|
|
90
145
|
target: 'MDL',
|
|
91
|
-
rate: 17.
|
|
146
|
+
rate: 17.8919,
|
|
92
147
|
rate_type: 'reference',
|
|
93
148
|
derived: false,
|
|
94
149
|
method: 'published',
|
|
@@ -113,9 +168,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
168
|
{
|
|
114
169
|
bank: 'nbm',
|
|
115
170
|
name: 'National Bank of Moldova',
|
|
116
|
-
rate_date: '2026-10-
|
|
171
|
+
rate_date: '2026-10-08',
|
|
117
172
|
rates: [
|
|
118
|
-
{ "base": "USD", "quote": "MDL", "type": "reference", "value": 17.
|
|
173
|
+
{ "base": "USD", "quote": "MDL", "type": "reference", "value": 17.8919 },
|
|
119
174
|
// โฆ the rest of the published table (40 currencies vs MDL)
|
|
120
175
|
],
|
|
121
176
|
disclaimer: 'โฆ'
|
|
@@ -155,7 +210,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
155
210
|
import { getHistory } from '@allratestoday/nbm-exchange-rate';
|
|
156
211
|
|
|
157
212
|
const series = await getHistory(
|
|
158
|
-
{ source: 'USD', target: 'MDL', from: '2026-01-01', to: '2026-10-
|
|
213
|
+
{ source: 'USD', target: 'MDL', from: '2026-01-01', to: '2026-10-08' },
|
|
159
214
|
{ apiKey: 'art_live_...' }
|
|
160
215
|
);
|
|
161
216
|
```
|
|
@@ -168,11 +223,11 @@ const series = await getHistory(
|
|
|
168
223
|
source: 'USD',
|
|
169
224
|
target: 'MDL',
|
|
170
225
|
from: '2026-01-01',
|
|
171
|
-
to: '2026-10-
|
|
226
|
+
to: '2026-10-08',
|
|
172
227
|
count: 152,
|
|
173
228
|
rates: [
|
|
174
229
|
// one entry per publication date
|
|
175
|
-
{ date: '2026-10-
|
|
230
|
+
{ date: '2026-10-08', rate: 17.8919, rate_type: 'reference', derived: false, method: 'published' },
|
|
176
231
|
// โฆ
|
|
177
232
|
],
|
|
178
233
|
disclaimer: 'โฆ'
|
|
@@ -221,6 +276,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbm/latest?format=xml&api_ke
|
|
|
221
276
|
|
|
222
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
|
|
223
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('nbm')` 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
|
|
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 nbm ...` command
|
|
224
280
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
225
281
|
|
|
226
282
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/nbm-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "Official National Bank of Moldova (Moldova) daily exchange rates โ 40 currencies vs MDL, history since 1994. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nbm",
|