@allratestoday/nbrm-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.
Files changed (2) hide show
  1. package/README.md +76 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![license](https://img.shields.io/npm/l/@allratestoday%2Fnbrm-exchange-rate.svg)](https://github.com/AllRates-Today/nbrm-exchange-rate/blob/main/LICENSE)
5
5
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/nbrm-exchange-rate)
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)
7
+ [![EUR/MKD today](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fnbrm%3Fsource%3DEUR%26target%3DMKD&query=%24.rate&label=EUR%2FMKD%20published%20by%20National%20Bank%20of%20North%20Macedonia&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/nbrm/)
8
+ [![rate date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fnbrm%3Fsource%3DEUR%26target%3DMKD&query=%24.rate_date&label=rate%20date&color=555&cacheSeconds=3600)](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,70 @@ 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 North Macedonia 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 North Macedonia โ€” 51 rates. Updated 2026-10-09.
44
+
45
+ | Base | Quote | Type | Rate |
46
+ | --- | --- | --- | ---: |
47
+ | AUD | MKD | buy | 38.0994 |
48
+ | AUD | MKD | reference | 38.2909 |
49
+ | AUD | MKD | sell | 38.4824 |
50
+ | BRL | MKD | reference | 10.9923 |
51
+ | CAD | MKD | buy | 38.4744 |
52
+ | CAD | MKD | reference | 38.6677 |
53
+ | CAD | MKD | sell | 38.861 |
54
+ | CHF | MKD | buy | 65.8141 |
55
+ | CHF | MKD | reference | 66.1448 |
56
+ | CHF | MKD | sell | 66.4755 |
57
+ | CNY | MKD | reference | 8.228 |
58
+ | CZK | MKD | reference | 2.5278 |
59
+ | DKK | MKD | buy | 8.2123 |
60
+ | DKK | MKD | reference | 8.2536 |
61
+ | DKK | MKD | sell | 8.2949 |
62
+ | EUR | MKD | buy | 61.3782 |
63
+ | EUR | MKD | reference | 61.6866 |
64
+ | EUR | MKD | sell | 61.995 |
65
+ | GBP | MKD | buy | 72.467 |
66
+ | GBP | MKD | reference | 72.8312 |
67
+ | GBP | MKD | sell | 73.1954 |
68
+ | HKD | MKD | reference | 7.0272 |
69
+ | HUF | MKD | reference | 0.1684 |
70
+ | IDR | MKD | reference | 0.0031 |
71
+ | ILS | MKD | reference | 17.9202 |
72
+ | INR | MKD | reference | 0.5698 |
73
+ | JPY | MKD | buy | 0.3467 |
74
+ | JPY | MKD | reference | 0.3484 |
75
+ | JPY | MKD | sell | 0.3501 |
76
+ | KRW | MKD | reference | 0.041 |
77
+ | MXN | MKD | reference | 3.0616 |
78
+ | MYR | MKD | reference | 13.4781 |
79
+ | NOK | MKD | buy | 5.7272 |
80
+ | NOK | MKD | reference | 5.756 |
81
+ | NOK | MKD | sell | 5.7848 |
82
+ | NZD | MKD | reference | 30.8217 |
83
+ | PHP | MKD | reference | 0.8753 |
84
+ | PLN | MKD | reference | 14.0988 |
85
+ | RON | MKD | reference | 11.5444 |
86
+ | RSD | MKD | reference | 0.5253 |
87
+ | RUB | MKD | reference | 0.6467 |
88
+ | SEK | MKD | buy | 5.4831 |
89
+ | SEK | MKD | reference | 5.5107 |
90
+ | SEK | MKD | sell | 5.5383 |
91
+ | SGD | MKD | reference | 43.0172 |
92
+ | THB | MKD | reference | 1.6371 |
93
+ | TRY | MKD | reference | 1.1205 |
94
+ | USD | MKD | buy | 54.8706 |
95
+ | USD | MKD | reference | 55.1463 |
96
+ | USD | MKD | sell | 55.422 |
97
+ | ZAR | MKD | reference | 3.312 |
98
+
99
+ 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.
100
+ <!-- daily-table:end -->
101
+
36
102
  ## ๐Ÿ”‘ Get your API key
37
103
 
38
104
  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 +151,10 @@ const pair = await getRate('EUR', 'MKD', { apiKey: 'art_live_...' });
85
151
  {
86
152
  bank: 'nbrm',
87
153
  name: 'National Bank of North Macedonia',
88
- rate_date: '2026-10-06', // National Bank of North Macedonia's own publication date
154
+ rate_date: '2026-10-08', // National Bank of North Macedonia's own publication date
89
155
  source: 'EUR',
90
156
  target: 'MKD',
91
- rate: 61.6333,
157
+ rate: 61.6702,
92
158
  rate_type: 'reference',
93
159
  derived: false,
94
160
  method: 'published',
@@ -113,11 +179,11 @@ console.log(table.rate_date, table.rates.length);
113
179
  {
114
180
  bank: 'nbrm',
115
181
  name: 'National Bank of North Macedonia',
116
- rate_date: '2026-10-06',
182
+ rate_date: '2026-10-08',
117
183
  rates: [
118
- { "base": "EUR", "quote": "MKD", "type": "reference", "value": 61.6333 },
119
- { "base": "EUR", "quote": "MKD", "type": "sell", "value": 61.9415 },
120
- { "base": "EUR", "quote": "MKD", "type": "buy", "value": 61.3251 },
184
+ { "base": "EUR", "quote": "MKD", "type": "reference", "value": 61.6702 },
185
+ { "base": "EUR", "quote": "MKD", "type": "sell", "value": 61.9786 },
186
+ { "base": "EUR", "quote": "MKD", "type": "buy", "value": 61.3618 },
121
187
  // โ€ฆ the rest of the published table (31 currencies vs MKD)
122
188
  ],
123
189
  disclaimer: 'โ€ฆ'
@@ -157,7 +223,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
157
223
  import { getHistory } from '@allratestoday/nbrm-exchange-rate';
158
224
 
159
225
  const series = await getHistory(
160
- { source: 'EUR', target: 'MKD', from: '2026-01-01', to: '2026-10-06' },
226
+ { source: 'EUR', target: 'MKD', from: '2026-01-01', to: '2026-10-08' },
161
227
  { apiKey: 'art_live_...' }
162
228
  );
163
229
  ```
@@ -170,11 +236,11 @@ const series = await getHistory(
170
236
  source: 'EUR',
171
237
  target: 'MKD',
172
238
  from: '2026-01-01',
173
- to: '2026-10-06',
239
+ to: '2026-10-08',
174
240
  count: 152,
175
241
  rates: [
176
242
  // one entry per publication date
177
- { date: '2026-10-06', rate: 61.6333, rate_type: 'reference', derived: false, method: 'published' },
243
+ { date: '2026-10-08', rate: 61.6702, rate_type: 'reference', derived: false, method: 'published' },
178
244
  // โ€ฆ
179
245
  ],
180
246
  disclaimer: 'โ€ฆ'
@@ -223,6 +289,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbrm/latest?format=xml&api_k
223
289
 
224
290
  - 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
291
  - 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
292
+ - 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
226
293
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
227
294
 
228
295
  ## โš–๏ธ 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.5",
3
+ "version": "1.3.7",
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",