@allratestoday/nbrm-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 +78 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/nbrm-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/nbrm-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/nbrm/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/nbrm/)
|
|
7
9
|
|
|
8
10
|
**Official National Bank of North Macedonia (North Macedonia) 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 North Macedonia itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,72 @@ 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/nbrm/)
|
|
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 North Macedonia โ 51 rates. Updated 2026-10-12.
|
|
46
|
+
|
|
47
|
+
| Base | Quote | Type | Rate |
|
|
48
|
+
| --- | --- | --- | ---: |
|
|
49
|
+
| AUD | MKD | buy | 38.24 |
|
|
50
|
+
| AUD | MKD | reference | 38.4322 |
|
|
51
|
+
| AUD | MKD | sell | 38.6244 |
|
|
52
|
+
| BRL | MKD | reference | 10.9994 |
|
|
53
|
+
| CAD | MKD | buy | 38.5038 |
|
|
54
|
+
| CAD | MKD | reference | 38.6973 |
|
|
55
|
+
| CAD | MKD | sell | 38.8908 |
|
|
56
|
+
| CHF | MKD | buy | 65.9109 |
|
|
57
|
+
| CHF | MKD | reference | 66.2421 |
|
|
58
|
+
| CHF | MKD | sell | 66.5733 |
|
|
59
|
+
| CNY | MKD | reference | 8.2264 |
|
|
60
|
+
| CZK | MKD | reference | 2.5315 |
|
|
61
|
+
| DKK | MKD | buy | 8.2116 |
|
|
62
|
+
| DKK | MKD | reference | 8.2529 |
|
|
63
|
+
| DKK | MKD | sell | 8.2942 |
|
|
64
|
+
| EUR | MKD | buy | 61.3828 |
|
|
65
|
+
| EUR | MKD | reference | 61.6913 |
|
|
66
|
+
| EUR | MKD | sell | 61.9998 |
|
|
67
|
+
| GBP | MKD | buy | 72.417 |
|
|
68
|
+
| GBP | MKD | reference | 72.7809 |
|
|
69
|
+
| GBP | MKD | sell | 73.1448 |
|
|
70
|
+
| HKD | MKD | reference | 7.0152 |
|
|
71
|
+
| HUF | MKD | reference | 0.169 |
|
|
72
|
+
| IDR | MKD | reference | 0.0031 |
|
|
73
|
+
| ILS | MKD | reference | 18.0068 |
|
|
74
|
+
| INR | MKD | reference | 0.5691 |
|
|
75
|
+
| JPY | MKD | buy | 0.3462 |
|
|
76
|
+
| JPY | MKD | reference | 0.3479 |
|
|
77
|
+
| JPY | MKD | sell | 0.3496 |
|
|
78
|
+
| KRW | MKD | reference | 0.041 |
|
|
79
|
+
| MXN | MKD | reference | 3.0248 |
|
|
80
|
+
| MYR | MKD | reference | 13.4765 |
|
|
81
|
+
| NOK | MKD | buy | 5.7284 |
|
|
82
|
+
| NOK | MKD | reference | 5.7572 |
|
|
83
|
+
| NOK | MKD | sell | 5.786 |
|
|
84
|
+
| NZD | MKD | reference | 30.9059 |
|
|
85
|
+
| PHP | MKD | reference | 0.8763 |
|
|
86
|
+
| PLN | MKD | reference | 14.0735 |
|
|
87
|
+
| RON | MKD | reference | 11.5514 |
|
|
88
|
+
| RSD | MKD | reference | 0.5254 |
|
|
89
|
+
| RUB | MKD | reference | 0.6478 |
|
|
90
|
+
| SEK | MKD | buy | 5.4966 |
|
|
91
|
+
| SEK | MKD | reference | 5.5242 |
|
|
92
|
+
| SEK | MKD | sell | 5.5518 |
|
|
93
|
+
| SGD | MKD | reference | 42.9964 |
|
|
94
|
+
| THB | MKD | reference | 1.6419 |
|
|
95
|
+
| TRY | MKD | reference | 1.1196 |
|
|
96
|
+
| USD | MKD | buy | 54.7767 |
|
|
97
|
+
| USD | MKD | reference | 55.052 |
|
|
98
|
+
| USD | MKD | sell | 55.3273 |
|
|
99
|
+
| ZAR | MKD | reference | 3.3298 |
|
|
100
|
+
|
|
101
|
+
Source: [Official rates published by NBRM, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbrm/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
102
|
+
<!-- daily-table:end -->
|
|
103
|
+
|
|
36
104
|
## ๐ Get your API key
|
|
37
105
|
|
|
38
106
|
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 +153,10 @@ const pair = await getRate('EUR', 'MKD', { apiKey: 'art_live_...' });
|
|
|
85
153
|
{
|
|
86
154
|
bank: 'nbrm',
|
|
87
155
|
name: 'National Bank of North Macedonia',
|
|
88
|
-
rate_date: '2026-10-
|
|
156
|
+
rate_date: '2026-10-12', // National Bank of North Macedonia's own publication date
|
|
89
157
|
source: 'EUR',
|
|
90
158
|
target: 'MKD',
|
|
91
|
-
rate: 61.
|
|
159
|
+
rate: 61.6913,
|
|
92
160
|
rate_type: 'reference',
|
|
93
161
|
derived: false,
|
|
94
162
|
method: 'published',
|
|
@@ -113,11 +181,11 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
181
|
{
|
|
114
182
|
bank: 'nbrm',
|
|
115
183
|
name: 'National Bank of North Macedonia',
|
|
116
|
-
rate_date: '2026-10-
|
|
184
|
+
rate_date: '2026-10-12',
|
|
117
185
|
rates: [
|
|
118
|
-
{ "base": "EUR", "quote": "MKD", "type": "reference", "value": 61.
|
|
119
|
-
{ "base": "EUR", "quote": "MKD", "type": "sell", "value": 61.
|
|
120
|
-
{ "base": "EUR", "quote": "MKD", "type": "buy", "value": 61.
|
|
186
|
+
{ "base": "EUR", "quote": "MKD", "type": "reference", "value": 61.6913 },
|
|
187
|
+
{ "base": "EUR", "quote": "MKD", "type": "sell", "value": 61.9998 },
|
|
188
|
+
{ "base": "EUR", "quote": "MKD", "type": "buy", "value": 61.3828 },
|
|
121
189
|
// โฆ the rest of the published table (31 currencies vs MKD)
|
|
122
190
|
],
|
|
123
191
|
disclaimer: 'โฆ'
|
|
@@ -157,7 +225,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
157
225
|
import { getHistory } from '@allratestoday/nbrm-exchange-rate';
|
|
158
226
|
|
|
159
227
|
const series = await getHistory(
|
|
160
|
-
{ source: 'EUR', target: 'MKD', from: '2026-01-01', to: '2026-10-
|
|
228
|
+
{ source: 'EUR', target: 'MKD', from: '2026-01-01', to: '2026-10-12' },
|
|
161
229
|
{ apiKey: 'art_live_...' }
|
|
162
230
|
);
|
|
163
231
|
```
|
|
@@ -170,11 +238,11 @@ const series = await getHistory(
|
|
|
170
238
|
source: 'EUR',
|
|
171
239
|
target: 'MKD',
|
|
172
240
|
from: '2026-01-01',
|
|
173
|
-
to: '2026-10-
|
|
241
|
+
to: '2026-10-12',
|
|
174
242
|
count: 152,
|
|
175
243
|
rates: [
|
|
176
244
|
// one entry per publication date
|
|
177
|
-
{ date: '2026-10-
|
|
245
|
+
{ date: '2026-10-12', rate: 61.6913, rate_type: 'reference', derived: false, method: 'published' },
|
|
178
246
|
// โฆ
|
|
179
247
|
],
|
|
180
248
|
disclaimer: 'โฆ'
|
|
@@ -224,6 +292,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbrm/latest?format=xml&api_k
|
|
|
224
292
|
- 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
|
|
225
293
|
- 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('nbrm')` 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
|
|
226
294
|
- 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 nbrm ...` command
|
|
295
|
+
- 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`
|
|
227
296
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
228
297
|
|
|
229
298
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/nbrm-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Official National Bank of North Macedonia (North Macedonia) daily exchange rates โ 31 currencies vs MKD, history since 1993. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nbrm",
|