@allratestoday/nbk-exchange-rate 1.3.7 โ†’ 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.
Files changed (2) hide show
  1. package/README.md +60 -57
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,61 +37,63 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
37
37
 
38
38
  ## ๐Ÿ“ˆ Latest published table
39
39
 
40
- Today's full National Bank of Kazakhstan 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.
40
+ [![Latest National Bank of Kazakhstan table](https://allratestoday.com/api/open/central-bank/nbk/table.svg)](https://allratestoday.com/central-bank-rates-api/nbk/)
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.
41
43
 
42
44
  <!-- daily-table:start -->
43
- Published **2026-10-09** by National Bank of Kazakhstan โ€” 48 rates. Updated 2026-10-09.
45
+ Published **2026-10-12** by National Bank of Kazakhstan โ€” 48 rates. Updated 2026-10-12.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | AED | KZT | reference | 122.24 |
48
- | AMD | KZT | reference | 1.247 |
49
- | AUD | KZT | reference | 311.7 |
50
- | AZN | KZT | reference | 264.86 |
51
- | BRL | KZT | reference | 89.41 |
52
- | BYN | KZT | reference | 147.02 |
53
- | CAD | KZT | reference | 314.89 |
54
- | CHF | KZT | reference | 538.68 |
55
- | CNY | KZT | reference | 66.98 |
56
- | CZK | KZT | reference | 20.58 |
57
- | DKK | KZT | reference | 67.18 |
58
- | EGP | KZT | reference | 8.58 |
59
- | EUR | KZT | reference | 502.05 |
60
- | GBP | KZT | reference | 592.69 |
61
- | GEL | KZT | reference | 175.03 |
62
- | HKD | KZT | reference | 57.21 |
63
- | HUF | KZT | reference | 1.37 |
64
- | IDR | KZT | reference | 0.02509 |
65
- | ILS | KZT | reference | 145.76 |
66
- | INR | KZT | reference | 4.64 |
67
- | IRR | KZT | reference | 0.000254 |
68
- | JPY | KZT | reference | 2.84 |
69
- | KGS | KZT | reference | 5.13 |
70
- | KRW | KZT | reference | 0.3338 |
71
- | KWD | KZT | reference | 1457.12 |
72
- | MDL | KZT | reference | 25.25 |
73
- | MNT | KZT | reference | 0.1249 |
74
- | MXN | KZT | reference | 24.89 |
75
- | MYR | KZT | reference | 109.82 |
76
- | NOK | KZT | reference | 46.89 |
77
- | OMR | KZT | reference | 1166.17 |
78
- | PKR | KZT | reference | 1.62 |
79
- | PLN | KZT | reference | 114.67 |
80
- | QAR | KZT | reference | 123.17 |
81
- | RON | KZT | reference | 93.98 |
82
- | RUB | KZT | reference | 5.26 |
83
- | SAR | KZT | reference | 119.58 |
84
- | SEK | KZT | reference | 44.8 |
85
- | SGD | KZT | reference | 350.21 |
86
- | THB | KZT | reference | 13.33 |
87
- | TJS | KZT | reference | 48.96 |
88
- | TRY | KZT | reference | 9.12 |
89
- | UAH | KZT | reference | 10 |
90
- | USD | KZT | reference | 448.94 |
91
- | UZS | KZT | reference | 0.038 |
92
- | VND | KZT | reference | 0.01734 |
93
- | XDR | KZT | reference | 607.05 |
94
- | ZAR | KZT | reference | 26.91 |
49
+ | AED | KZT | reference | 123.6 |
50
+ | AMD | KZT | reference | 1.259 |
51
+ | AUD | KZT | reference | 316.57 |
52
+ | AZN | KZT | reference | 267.81 |
53
+ | BRL | KZT | reference | 90.45 |
54
+ | BYN | KZT | reference | 149.57 |
55
+ | CAD | KZT | reference | 318.84 |
56
+ | CHF | KZT | reference | 546.18 |
57
+ | CNY | KZT | reference | 67.83 |
58
+ | CZK | KZT | reference | 20.89 |
59
+ | DKK | KZT | reference | 68.06 |
60
+ | EGP | KZT | reference | 8.68 |
61
+ | EUR | KZT | reference | 508.72 |
62
+ | GBP | KZT | reference | 600.1 |
63
+ | GEL | KZT | reference | 177.11 |
64
+ | HKD | KZT | reference | 57.85 |
65
+ | HUF | KZT | reference | 1.394 |
66
+ | IDR | KZT | reference | 0.02539 |
67
+ | ILS | KZT | reference | 148.61 |
68
+ | INR | KZT | reference | 4.69 |
69
+ | IRR | KZT | reference | 0.000257 |
70
+ | JPY | KZT | reference | 2.87 |
71
+ | KGS | KZT | reference | 5.19 |
72
+ | KRW | KZT | reference | 0.3386 |
73
+ | KWD | KZT | reference | 1473.32 |
74
+ | MDL | KZT | reference | 25.56 |
75
+ | MNT | KZT | reference | 0.1263 |
76
+ | MXN | KZT | reference | 24.94 |
77
+ | MYR | KZT | reference | 111.18 |
78
+ | NOK | KZT | reference | 47.4 |
79
+ | OMR | KZT | reference | 1179.1 |
80
+ | PKR | KZT | reference | 1.64 |
81
+ | PLN | KZT | reference | 116.15 |
82
+ | QAR | KZT | reference | 124.78 |
83
+ | RON | KZT | reference | 95.31 |
84
+ | RUB | KZT | reference | 5.35 |
85
+ | SAR | KZT | reference | 120.91 |
86
+ | SEK | KZT | reference | 45.51 |
87
+ | SGD | KZT | reference | 354.55 |
88
+ | THB | KZT | reference | 13.55 |
89
+ | TJS | KZT | reference | 49.61 |
90
+ | TRY | KZT | reference | 9.24 |
91
+ | UAH | KZT | reference | 10.11 |
92
+ | USD | KZT | reference | 453.93 |
93
+ | UZS | KZT | reference | 0.0382 |
94
+ | VND | KZT | reference | 0.01754 |
95
+ | XDR | KZT | reference | 613.64 |
96
+ | ZAR | KZT | reference | 27.44 |
95
97
 
96
98
  Source: [Official rates published by NBK, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbk/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
97
99
  <!-- daily-table:end -->
@@ -148,10 +150,10 @@ const pair = await getRate('USD', 'KZT', { apiKey: 'art_live_...' });
148
150
  {
149
151
  bank: 'nbk',
150
152
  name: 'National Bank of Kazakhstan',
151
- rate_date: '2026-10-08', // National Bank of Kazakhstan's own publication date
153
+ rate_date: '2026-10-12', // National Bank of Kazakhstan's own publication date
152
154
  source: 'USD',
153
155
  target: 'KZT',
154
- rate: 447.14,
156
+ rate: 453.93,
155
157
  rate_type: 'reference',
156
158
  derived: false,
157
159
  method: 'published',
@@ -176,9 +178,9 @@ console.log(table.rate_date, table.rates.length);
176
178
  {
177
179
  bank: 'nbk',
178
180
  name: 'National Bank of Kazakhstan',
179
- rate_date: '2026-10-08',
181
+ rate_date: '2026-10-12',
180
182
  rates: [
181
- { "base": "USD", "quote": "KZT", "type": "reference", "value": 447.14 },
183
+ { "base": "USD", "quote": "KZT", "type": "reference", "value": 453.93 },
182
184
  // โ€ฆ the rest of the published table (48 currencies vs KZT)
183
185
  ],
184
186
  disclaimer: 'โ€ฆ'
@@ -218,7 +220,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
218
220
  import { getHistory } from '@allratestoday/nbk-exchange-rate';
219
221
 
220
222
  const series = await getHistory(
221
- { source: 'USD', target: 'KZT', from: '2026-01-01', to: '2026-10-08' },
223
+ { source: 'USD', target: 'KZT', from: '2026-01-01', to: '2026-10-12' },
222
224
  { apiKey: 'art_live_...' }
223
225
  );
224
226
  ```
@@ -231,11 +233,11 @@ const series = await getHistory(
231
233
  source: 'USD',
232
234
  target: 'KZT',
233
235
  from: '2026-01-01',
234
- to: '2026-10-08',
236
+ to: '2026-10-12',
235
237
  count: 152,
236
238
  rates: [
237
239
  // one entry per publication date
238
- { date: '2026-10-08', rate: 447.14, rate_type: 'reference', derived: false, method: 'published' },
240
+ { date: '2026-10-12', rate: 453.93, rate_type: 'reference', derived: false, method: 'published' },
239
241
  // โ€ฆ
240
242
  ],
241
243
  disclaimer: 'โ€ฆ'
@@ -285,6 +287,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbk/latest?format=xml&api_ke
285
287
  - 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
286
288
  - 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('nbk')` 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
287
289
  - 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 nbk ...` command
290
+ - 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`
288
291
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
289
292
 
290
293
  ## โš–๏ธ Published vs derived rates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/nbk-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "Official National Bank of Kazakhstan (Kazakhstan) daily exchange rates โ€” 48 currencies vs KZT, history since 2016. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "nbk",