@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.
- package/README.md +60 -57
- 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
|
-
|
|
40
|
+
[](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-
|
|
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 |
|
|
48
|
-
| AMD | KZT | reference | 1.
|
|
49
|
-
| AUD | KZT | reference |
|
|
50
|
-
| AZN | KZT | reference |
|
|
51
|
-
| BRL | KZT | reference |
|
|
52
|
-
| BYN | KZT | reference |
|
|
53
|
-
| CAD | KZT | reference |
|
|
54
|
-
| CHF | KZT | reference |
|
|
55
|
-
| CNY | KZT | reference |
|
|
56
|
-
| CZK | KZT | reference | 20.
|
|
57
|
-
| DKK | KZT | reference |
|
|
58
|
-
| EGP | KZT | reference | 8.
|
|
59
|
-
| EUR | KZT | reference |
|
|
60
|
-
| GBP | KZT | reference |
|
|
61
|
-
| GEL | KZT | reference |
|
|
62
|
-
| HKD | KZT | reference | 57.
|
|
63
|
-
| HUF | KZT | reference | 1.
|
|
64
|
-
| IDR | KZT | reference | 0.
|
|
65
|
-
| ILS | KZT | reference |
|
|
66
|
-
| INR | KZT | reference | 4.
|
|
67
|
-
| IRR | KZT | reference | 0.
|
|
68
|
-
| JPY | KZT | reference | 2.
|
|
69
|
-
| KGS | KZT | reference | 5.
|
|
70
|
-
| KRW | KZT | reference | 0.
|
|
71
|
-
| KWD | KZT | reference |
|
|
72
|
-
| MDL | KZT | reference | 25.
|
|
73
|
-
| MNT | KZT | reference | 0.
|
|
74
|
-
| MXN | KZT | reference | 24.
|
|
75
|
-
| MYR | KZT | reference |
|
|
76
|
-
| NOK | KZT | reference |
|
|
77
|
-
| OMR | KZT | reference |
|
|
78
|
-
| PKR | KZT | reference | 1.
|
|
79
|
-
| PLN | KZT | reference |
|
|
80
|
-
| QAR | KZT | reference |
|
|
81
|
-
| RON | KZT | reference |
|
|
82
|
-
| RUB | KZT | reference | 5.
|
|
83
|
-
| SAR | KZT | reference |
|
|
84
|
-
| SEK | KZT | reference |
|
|
85
|
-
| SGD | KZT | reference |
|
|
86
|
-
| THB | KZT | reference | 13.
|
|
87
|
-
| TJS | KZT | reference |
|
|
88
|
-
| TRY | KZT | reference | 9.
|
|
89
|
-
| UAH | KZT | reference | 10 |
|
|
90
|
-
| USD | KZT | reference |
|
|
91
|
-
| UZS | KZT | reference | 0.
|
|
92
|
-
| VND | KZT | reference | 0.
|
|
93
|
-
| XDR | KZT | reference |
|
|
94
|
-
| ZAR | KZT | reference |
|
|
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-
|
|
153
|
+
rate_date: '2026-10-12', // National Bank of Kazakhstan's own publication date
|
|
152
154
|
source: 'USD',
|
|
153
155
|
target: 'KZT',
|
|
154
|
-
rate:
|
|
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-
|
|
181
|
+
rate_date: '2026-10-12',
|
|
180
182
|
rates: [
|
|
181
|
-
{ "base": "USD", "quote": "KZT", "type": "reference", "value":
|
|
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-
|
|
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-
|
|
236
|
+
to: '2026-10-12',
|
|
235
237
|
count: 152,
|
|
236
238
|
rates: [
|
|
237
239
|
// one entry per publication date
|
|
238
|
-
{ date: '2026-10-
|
|
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.
|
|
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",
|