@allratestoday/nbm-exchange-rate 1.3.19 → 1.3.24
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 -57
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,73 +24,58 @@
|
|
|
24
24
|
|
|
25
25
|
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.
|
|
26
26
|
|
|
27
|
-
## ⚡ Try it without a key
|
|
28
|
-
|
|
29
|
-
The latest National Bank of Moldova table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
curl "https://allratestoday.com/api/open/central-bank/nbm?source=USD&target=MDL"
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
```js
|
|
36
|
-
const r = await fetch('https://allratestoday.com/api/open/central-bank/nbm').then((x) => x.json());
|
|
37
|
-
console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
|
|
41
|
-
|
|
42
27
|
## 📈 Latest published table
|
|
43
28
|
|
|
44
29
|
[](https://allratestoday.com/central-bank-rates-api/nbm/)
|
|
45
30
|
|
|
46
|
-
The image is rendered live from the keyless endpoint
|
|
31
|
+
The image is rendered live from the keyless endpoint, so it follows the central bank's publications on npm and on GitHub alike without a new release. The same table as text is folded below 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.
|
|
47
32
|
|
|
48
33
|
<!-- daily-table:start -->
|
|
49
34
|
<details>
|
|
50
|
-
<summary>Table as text: published 2026-10-
|
|
35
|
+
<summary>Table as text: published 2026-10-30 by National Bank of Moldova — 40 rates. Updated 2026-10-30.</summary>
|
|
51
36
|
|
|
52
37
|
| Base | Quote | Type | Rate |
|
|
53
38
|
| --- | --- | --- | ---: |
|
|
54
|
-
| AED | MDL | reference | 4.
|
|
55
|
-
| ALL | MDL | reference | 0.
|
|
56
|
-
| AMD | MDL | reference | 0.
|
|
57
|
-
| AUD | MDL | reference | 12.
|
|
58
|
-
| AZN | MDL | reference | 10.
|
|
59
|
-
| BYN | MDL | reference | 6.
|
|
60
|
-
| CAD | MDL | reference | 12.
|
|
61
|
-
| CHF | MDL | reference | 21.
|
|
62
|
-
| CNY | MDL | reference | 2.
|
|
63
|
-
| CZK | MDL | reference | 0.
|
|
64
|
-
| DKK | MDL | reference | 2.
|
|
65
|
-
| EUR | MDL | reference | 20.
|
|
66
|
-
| GBP | MDL | reference | 24.
|
|
67
|
-
| GEL | MDL | reference | 6.
|
|
68
|
-
| HKD | MDL | reference | 2.
|
|
69
|
-
| HUF | MDL | reference | 0.
|
|
70
|
-
| ILS | MDL | reference | 5.
|
|
71
|
-
| INR | MDL | reference | 0.
|
|
72
|
-
| ISK | MDL | reference | 0.
|
|
73
|
-
| JPY | MDL | reference | 0.
|
|
74
|
-
| KGS | MDL | reference | 0.
|
|
75
|
-
| KRW | MDL | reference | 0.
|
|
76
|
-
| KWD | MDL | reference |
|
|
77
|
-
| KZT | MDL | reference | 0.
|
|
78
|
-
| MKD | MDL | reference | 0.
|
|
79
|
-
| MYR | MDL | reference | 4.
|
|
80
|
-
| NOK | MDL | reference | 1.
|
|
81
|
-
| NZD | MDL | reference | 10.
|
|
82
|
-
| PLN | MDL | reference | 4.
|
|
83
|
-
| RON | MDL | reference | 3.
|
|
84
|
-
| RSD | MDL | reference | 0.
|
|
85
|
-
| RUB | MDL | reference | 0.
|
|
86
|
-
| SEK | MDL | reference | 1.
|
|
87
|
-
| TJS | MDL | reference | 1.
|
|
88
|
-
| TMT | MDL | reference | 5.
|
|
89
|
-
| TRY | MDL | reference | 0.
|
|
90
|
-
| UAH | MDL | reference | 0.
|
|
91
|
-
| USD | MDL | reference | 18.
|
|
92
|
-
| UZS | MDL | reference | 0.
|
|
93
|
-
| XDR | MDL | reference | 24.
|
|
39
|
+
| AED | MDL | reference | 4.9106 |
|
|
40
|
+
| ALL | MDL | reference | 0.2213 |
|
|
41
|
+
| AMD | MDL | reference | 0.0499 |
|
|
42
|
+
| AUD | MDL | reference | 12.6824 |
|
|
43
|
+
| AZN | MDL | reference | 10.6176 |
|
|
44
|
+
| BYN | MDL | reference | 6.1265 |
|
|
45
|
+
| CAD | MDL | reference | 12.9081 |
|
|
46
|
+
| CHF | MDL | reference | 21.7728 |
|
|
47
|
+
| CNY | MDL | reference | 2.7071 |
|
|
48
|
+
| CZK | MDL | reference | 0.8257 |
|
|
49
|
+
| DKK | MDL | reference | 2.6889 |
|
|
50
|
+
| EUR | MDL | reference | 20.0954 |
|
|
51
|
+
| GBP | MDL | reference | 24.0301 |
|
|
52
|
+
| GEL | MDL | reference | 6.9532 |
|
|
53
|
+
| HKD | MDL | reference | 2.2987 |
|
|
54
|
+
| HUF | MDL | reference | 0.054888 |
|
|
55
|
+
| ILS | MDL | reference | 5.7946 |
|
|
56
|
+
| INR | MDL | reference | 0.18934 |
|
|
57
|
+
| ISK | MDL | reference | 0.14797 |
|
|
58
|
+
| JPY | MDL | reference | 0.114143 |
|
|
59
|
+
| KGS | MDL | reference | 0.20627 |
|
|
60
|
+
| KRW | MDL | reference | 0.013476 |
|
|
61
|
+
| KWD | MDL | reference | 57.9285 |
|
|
62
|
+
| KZT | MDL | reference | 0.03975 |
|
|
63
|
+
| MKD | MDL | reference | 0.32629 |
|
|
64
|
+
| MYR | MDL | reference | 4.4431 |
|
|
65
|
+
| NOK | MDL | reference | 1.9441 |
|
|
66
|
+
| NZD | MDL | reference | 10.1257 |
|
|
67
|
+
| PLN | MDL | reference | 4.5712 |
|
|
68
|
+
| RON | MDL | reference | 3.7602 |
|
|
69
|
+
| RSD | MDL | reference | 0.170949 |
|
|
70
|
+
| RUB | MDL | reference | 0.2239 |
|
|
71
|
+
| SEK | MDL | reference | 1.8243 |
|
|
72
|
+
| TJS | MDL | reference | 1.9597 |
|
|
73
|
+
| TMT | MDL | reference | 5.154 |
|
|
74
|
+
| TRY | MDL | reference | 0.3611 |
|
|
75
|
+
| UAH | MDL | reference | 0.396 |
|
|
76
|
+
| USD | MDL | reference | 18.0365 |
|
|
77
|
+
| UZS | MDL | reference | 0.001499 |
|
|
78
|
+
| XDR | MDL | reference | 24.3953 |
|
|
94
79
|
|
|
95
80
|
</details>
|
|
96
81
|
|
|
@@ -255,6 +240,7 @@ The National Bank of Moldova sets the official leu exchange rate each working af
|
|
|
255
240
|
|
|
256
241
|
- Publisher's own page: [Official exchange rates](https://www.bnm.md/en/content/official-exchange-rates) · [www.bnm.md](https://www.bnm.md)
|
|
257
242
|
- Publication: every business day; the exact schedule, freshness status and any current delay are on the [National Bank of Moldova rates page](https://allratestoday.com/central-bank-rates-api/nbm/)
|
|
243
|
+
- In the API: usually by **02:20 UTC** (measured over the last 11 publications). Schedule a sync at or after that time and retry hourly until `rate_date` moves; every response carries the same figure as `available_by_utc` — see [when to poll](https://allratestoday.com/docs/#when-to-poll)
|
|
258
244
|
- Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)
|
|
259
245
|
|
|
260
246
|
## 🧭 Reading the numbers
|
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.24",
|
|
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",
|