@allratestoday/nbk-exchange-rate 1.3.9 → 1.3.14

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 +56 -56
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -42,58 +42,58 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
42
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
43
 
44
44
  <!-- daily-table:start -->
45
- Published **2026-10-12** by National Bank of Kazakhstan — 48 rates. Updated 2026-10-12.
45
+ Published **2026-10-16** by National Bank of Kazakhstan — 48 rates. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
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 |
49
+ | AED | KZT | reference | 123.66 |
50
+ | AMD | KZT | reference | 1.265 |
51
+ | AUD | KZT | reference | 314.26 |
52
+ | AZN | KZT | reference | 267.93 |
53
+ | BRL | KZT | reference | 89.96 |
54
+ | BYN | KZT | reference | 150.77 |
55
+ | CAD | KZT | reference | 319.79 |
56
+ | CHF | KZT | reference | 547.35 |
57
+ | CNY | KZT | reference | 67.87 |
58
+ | CZK | KZT | reference | 20.91 |
59
+ | DKK | KZT | reference | 68.13 |
60
+ | EGP | KZT | reference | 8.5 |
61
+ | EUR | KZT | reference | 509.23 |
62
+ | GBP | KZT | reference | 601.55 |
63
+ | GEL | KZT | reference | 177.33 |
64
+ | HKD | KZT | reference | 57.88 |
65
+ | HUF | KZT | reference | 1.402 |
66
+ | IDR | KZT | reference | 0.02534 |
67
+ | ILS | KZT | reference | 146.43 |
68
+ | INR | KZT | reference | 4.78 |
69
+ | IRR | KZT | reference | 0.000255 |
70
+ | JPY | KZT | reference | 2.88 |
71
71
  | KGS | KZT | reference | 5.19 |
72
- | KRW | KZT | reference | 0.3386 |
73
- | KWD | KZT | reference | 1473.32 |
74
- | MDL | KZT | reference | 25.56 |
72
+ | KRW | KZT | reference | 0.3378 |
73
+ | KWD | KZT | reference | 1474 |
74
+ | MDL | KZT | reference | 25.51 |
75
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 |
76
+ | MXN | KZT | reference | 24.57 |
77
+ | MYR | KZT | reference | 111.31 |
78
+ | NOK | KZT | reference | 47.76 |
79
+ | OMR | KZT | reference | 1179.95 |
80
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 |
81
+ | PLN | KZT | reference | 116.58 |
82
+ | QAR | KZT | reference | 124.59 |
83
+ | RON | KZT | reference | 95.49 |
84
+ | RUB | KZT | reference | 5.41 |
85
+ | SAR | KZT | reference | 121.02 |
86
+ | SEK | KZT | reference | 45.56 |
87
+ | SGD | KZT | reference | 354.11 |
88
+ | THB | KZT | reference | 13.56 |
89
+ | TJS | KZT | reference | 49.52 |
90
+ | TRY | KZT | reference | 9.19 |
91
+ | UAH | KZT | reference | 10.13 |
92
+ | USD | KZT | reference | 454.14 |
93
+ | UZS | KZT | reference | 0.038 |
94
+ | VND | KZT | reference | 0.01755 |
95
+ | XDR | KZT | reference | 614.38 |
96
+ | ZAR | KZT | reference | 27.5 |
97
97
 
98
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.
99
99
  <!-- daily-table:end -->
@@ -150,10 +150,10 @@ const pair = await getRate('USD', 'KZT', { apiKey: 'art_live_...' });
150
150
  {
151
151
  bank: 'nbk',
152
152
  name: 'National Bank of Kazakhstan',
153
- rate_date: '2026-10-12', // National Bank of Kazakhstan's own publication date
153
+ rate_date: '2026-10-14', // National Bank of Kazakhstan's own publication date
154
154
  source: 'USD',
155
155
  target: 'KZT',
156
- rate: 453.93,
156
+ rate: 448.45,
157
157
  rate_type: 'reference',
158
158
  derived: false,
159
159
  method: 'published',
@@ -178,9 +178,9 @@ console.log(table.rate_date, table.rates.length);
178
178
  {
179
179
  bank: 'nbk',
180
180
  name: 'National Bank of Kazakhstan',
181
- rate_date: '2026-10-12',
181
+ rate_date: '2026-10-14',
182
182
  rates: [
183
- { "base": "USD", "quote": "KZT", "type": "reference", "value": 453.93 },
183
+ { "base": "USD", "quote": "KZT", "type": "reference", "value": 448.45 },
184
184
  // … the rest of the published table (48 currencies vs KZT)
185
185
  ],
186
186
  disclaimer: '…'
@@ -220,7 +220,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
220
220
  import { getHistory } from '@allratestoday/nbk-exchange-rate';
221
221
 
222
222
  const series = await getHistory(
223
- { source: 'USD', target: 'KZT', from: '2026-01-01', to: '2026-10-12' },
223
+ { source: 'USD', target: 'KZT', from: '2026-01-01', to: '2026-10-14' },
224
224
  { apiKey: 'art_live_...' }
225
225
  );
226
226
  ```
@@ -233,11 +233,11 @@ const series = await getHistory(
233
233
  source: 'USD',
234
234
  target: 'KZT',
235
235
  from: '2026-01-01',
236
- to: '2026-10-12',
236
+ to: '2026-10-14',
237
237
  count: 152,
238
238
  rates: [
239
239
  // one entry per publication date
240
- { date: '2026-10-12', rate: 453.93, rate_type: 'reference', derived: false, method: 'published' },
240
+ { date: '2026-10-14', rate: 448.45, rate_type: 'reference', derived: false, method: 'published' },
241
241
  // …
242
242
  ],
243
243
  disclaimer: '…'
@@ -287,7 +287,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbk/latest?format=xml&api_ke
287
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
288
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
289
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`
290
+ - Evaluating? 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 that covers the free-plan methods (latest table, pairs); dated tables and history need a [paid plan](https://allratestoday.com/pricing/). The MCP servers expose it as `request_trial_key`
291
291
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
292
292
 
293
293
  ## ⚖️ Published vs derived rates
@@ -356,9 +356,9 @@ getRate('USD', 'KZT', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
356
356
 
357
357
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
358
358
 
359
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/nbk.csv`)
359
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/nbk.csv`)
360
360
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
361
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/nbk/latest.json`
361
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/nbk/latest.json`
362
362
 
363
363
  ## 🔗 Links
364
364
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/nbk-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.14",
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",
7
+ "national-bank-of-kazakhstan",
7
8
  "national",
8
9
  "bank",
9
- "of",
10
10
  "kazakhstan",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "kzt-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "kzt",
20
+ "currency-api",
21
+ "currency-exchange-rates",
22
+ "forex-api",
23
+ "currency-conversion",
24
+ "currency-exchange",
25
+ "currency-rates",
17
26
  "central-bank",
18
27
  "official-rates",
19
- "kazakhstan",
20
28
  "api",
21
29
  "typescript"
22
30
  ],