@allratestoday/nbm-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 +65 -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,61 @@ 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/nbm/)
|
|
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 National Bank of Moldova โ 40 rates. Updated 2026-10-12.
|
|
46
|
+
|
|
47
|
+
| Base | Quote | Type | Rate |
|
|
48
|
+
| --- | --- | --- | ---: |
|
|
49
|
+
| AED | MDL | reference | 4.8743 |
|
|
50
|
+
| ALL | MDL | reference | 0.21887 |
|
|
51
|
+
| AMD | MDL | reference | 0.04938 |
|
|
52
|
+
| AUD | MDL | reference | 12.4893 |
|
|
53
|
+
| AZN | MDL | reference | 10.5346 |
|
|
54
|
+
| BYN | MDL | reference | 5.8855 |
|
|
55
|
+
| CAD | MDL | reference | 12.5751 |
|
|
56
|
+
| CHF | MDL | reference | 21.5442 |
|
|
57
|
+
| CNY | MDL | reference | 2.6752 |
|
|
58
|
+
| CZK | MDL | reference | 0.824 |
|
|
59
|
+
| DKK | MDL | reference | 2.6845 |
|
|
60
|
+
| EUR | MDL | reference | 20.0678 |
|
|
61
|
+
| GBP | MDL | reference | 23.6825 |
|
|
62
|
+
| GEL | MDL | reference | 6.8821 |
|
|
63
|
+
| HKD | MDL | reference | 2.2814 |
|
|
64
|
+
| HUF | MDL | reference | 0.054958 |
|
|
65
|
+
| ILS | MDL | reference | 5.858 |
|
|
66
|
+
| INR | MDL | reference | 0.1851 |
|
|
67
|
+
| ISK | MDL | reference | 0.14669 |
|
|
68
|
+
| JPY | MDL | reference | 0.113087 |
|
|
69
|
+
| KGS | MDL | reference | 0.20388 |
|
|
70
|
+
| KRW | MDL | reference | 0.013351 |
|
|
71
|
+
| KWD | MDL | reference | 57.5751 |
|
|
72
|
+
| KZT | MDL | reference | 0.03942 |
|
|
73
|
+
| MKD | MDL | reference | 0.32546 |
|
|
74
|
+
| MYR | MDL | reference | 4.3822 |
|
|
75
|
+
| NOK | MDL | reference | 1.8695 |
|
|
76
|
+
| NZD | MDL | reference | 10.0437 |
|
|
77
|
+
| PLN | MDL | reference | 4.5806 |
|
|
78
|
+
| RON | MDL | reference | 3.7575 |
|
|
79
|
+
| RSD | MDL | reference | 0.170916 |
|
|
80
|
+
| RUB | MDL | reference | 0.2103 |
|
|
81
|
+
| SEK | MDL | reference | 1.7955 |
|
|
82
|
+
| TJS | MDL | reference | 1.9411 |
|
|
83
|
+
| TMT | MDL | reference | 5.1157 |
|
|
84
|
+
| TRY | MDL | reference | 0.3628 |
|
|
85
|
+
| UAH | MDL | reference | 0.3986 |
|
|
86
|
+
| USD | MDL | reference | 17.9033 |
|
|
87
|
+
| UZS | MDL | reference | 0.001506 |
|
|
88
|
+
| XDR | MDL | reference | 24.2288 |
|
|
89
|
+
|
|
90
|
+
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.
|
|
91
|
+
<!-- daily-table:end -->
|
|
92
|
+
|
|
36
93
|
## ๐ Get your API key
|
|
37
94
|
|
|
38
95
|
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 +142,10 @@ const pair = await getRate('USD', 'MDL', { apiKey: 'art_live_...' });
|
|
|
85
142
|
{
|
|
86
143
|
bank: 'nbm',
|
|
87
144
|
name: 'National Bank of Moldova',
|
|
88
|
-
rate_date: '2026-10-
|
|
145
|
+
rate_date: '2026-10-12', // National Bank of Moldova's own publication date
|
|
89
146
|
source: 'USD',
|
|
90
147
|
target: 'MDL',
|
|
91
|
-
rate: 17.
|
|
148
|
+
rate: 17.9033,
|
|
92
149
|
rate_type: 'reference',
|
|
93
150
|
derived: false,
|
|
94
151
|
method: 'published',
|
|
@@ -113,9 +170,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
170
|
{
|
|
114
171
|
bank: 'nbm',
|
|
115
172
|
name: 'National Bank of Moldova',
|
|
116
|
-
rate_date: '2026-10-
|
|
173
|
+
rate_date: '2026-10-12',
|
|
117
174
|
rates: [
|
|
118
|
-
{ "base": "USD", "quote": "MDL", "type": "reference", "value": 17.
|
|
175
|
+
{ "base": "USD", "quote": "MDL", "type": "reference", "value": 17.9033 },
|
|
119
176
|
// โฆ the rest of the published table (40 currencies vs MDL)
|
|
120
177
|
],
|
|
121
178
|
disclaimer: 'โฆ'
|
|
@@ -155,7 +212,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
155
212
|
import { getHistory } from '@allratestoday/nbm-exchange-rate';
|
|
156
213
|
|
|
157
214
|
const series = await getHistory(
|
|
158
|
-
{ source: 'USD', target: 'MDL', from: '2026-01-01', to: '2026-10-
|
|
215
|
+
{ source: 'USD', target: 'MDL', from: '2026-01-01', to: '2026-10-12' },
|
|
159
216
|
{ apiKey: 'art_live_...' }
|
|
160
217
|
);
|
|
161
218
|
```
|
|
@@ -168,11 +225,11 @@ const series = await getHistory(
|
|
|
168
225
|
source: 'USD',
|
|
169
226
|
target: 'MDL',
|
|
170
227
|
from: '2026-01-01',
|
|
171
|
-
to: '2026-10-
|
|
228
|
+
to: '2026-10-12',
|
|
172
229
|
count: 152,
|
|
173
230
|
rates: [
|
|
174
231
|
// one entry per publication date
|
|
175
|
-
{ date: '2026-10-
|
|
232
|
+
{ date: '2026-10-12', rate: 17.9033, rate_type: 'reference', derived: false, method: 'published' },
|
|
176
233
|
// โฆ
|
|
177
234
|
],
|
|
178
235
|
disclaimer: 'โฆ'
|
|
@@ -222,6 +279,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbm/latest?format=xml&api_ke
|
|
|
222
279
|
- 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
280
|
- 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
|
|
224
281
|
- 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
|
|
282
|
+
- 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`
|
|
225
283
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
226
284
|
|
|
227
285
|
## โ๏ธ 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.9",
|
|
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",
|