@allratestoday/nbk-exchange-rate 1.3.13 โ 1.3.16
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 +10 -62
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
> **Official rate, not mid-market:** every value here is a number National Bank of Kazakhstan itself published, fixed once printed and carrying the central bank's own `rate_date` โ what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the [mid-market API](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.
|
|
22
22
|
|
|
23
|
+
## ๐ Get your API key
|
|
24
|
+
|
|
25
|
+
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.
|
|
26
|
+
|
|
23
27
|
## โก Try it without a key
|
|
24
28
|
|
|
25
29
|
The latest National Bank of Kazakhstan table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
@@ -33,75 +37,18 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/nbk').the
|
|
|
33
37
|
console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
|
|
34
38
|
```
|
|
35
39
|
|
|
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
|
|
40
|
+
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables and history.
|
|
37
41
|
|
|
38
42
|
## ๐ Latest published table
|
|
39
43
|
|
|
40
44
|
[](https://allratestoday.com/central-bank-rates-api/nbk/)
|
|
41
45
|
|
|
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
|
|
46
|
+
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 same table as text is folded below 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
47
|
|
|
44
48
|
<!-- daily-table:start -->
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
| Base | Quote | Type | Rate |
|
|
48
|
-
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | KZT | reference | 122.11 |
|
|
50
|
-
| AMD | KZT | reference | 1.247 |
|
|
51
|
-
| AUD | KZT | reference | 312.61 |
|
|
52
|
-
| AZN | KZT | reference | 264.57 |
|
|
53
|
-
| BRL | KZT | reference | 89.93 |
|
|
54
|
-
| BYN | KZT | reference | 149.2 |
|
|
55
|
-
| CAD | KZT | reference | 314.61 |
|
|
56
|
-
| CHF | KZT | reference | 538.61 |
|
|
57
|
-
| CNY | KZT | reference | 67 |
|
|
58
|
-
| CZK | KZT | reference | 20.6 |
|
|
59
|
-
| DKK | KZT | reference | 67.11 |
|
|
60
|
-
| EGP | KZT | reference | 8.49 |
|
|
61
|
-
| EUR | KZT | reference | 501.59 |
|
|
62
|
-
| GBP | KZT | reference | 593.84 |
|
|
63
|
-
| GEL | KZT | reference | 175.04 |
|
|
64
|
-
| HKD | KZT | reference | 57.14 |
|
|
65
|
-
| HUF | KZT | reference | 1.378 |
|
|
66
|
-
| IDR | KZT | reference | 0.02507 |
|
|
67
|
-
| ILS | KZT | reference | 145.86 |
|
|
68
|
-
| INR | KZT | reference | 4.71 |
|
|
69
|
-
| IRR | KZT | reference | 0.000252 |
|
|
70
|
-
| JPY | KZT | reference | 2.84 |
|
|
71
|
-
| KGS | KZT | reference | 5.13 |
|
|
72
|
-
| KRW | KZT | reference | 0.3347 |
|
|
73
|
-
| KWD | KZT | reference | 1454.83 |
|
|
74
|
-
| MDL | KZT | reference | 25.11 |
|
|
75
|
-
| MNT | KZT | reference | 0.1247 |
|
|
76
|
-
| MXN | KZT | reference | 24.55 |
|
|
77
|
-
| MYR | KZT | reference | 109.81 |
|
|
78
|
-
| NOK | KZT | reference | 46.98 |
|
|
79
|
-
| OMR | KZT | reference | 1164.87 |
|
|
80
|
-
| PKR | KZT | reference | 1.62 |
|
|
81
|
-
| PLN | KZT | reference | 114.61 |
|
|
82
|
-
| QAR | KZT | reference | 123.03 |
|
|
83
|
-
| RON | KZT | reference | 94.02 |
|
|
84
|
-
| RUB | KZT | reference | 5.36 |
|
|
85
|
-
| SAR | KZT | reference | 119.41 |
|
|
86
|
-
| SEK | KZT | reference | 44.88 |
|
|
87
|
-
| SGD | KZT | reference | 350.38 |
|
|
88
|
-
| THB | KZT | reference | 13.37 |
|
|
89
|
-
| TJS | KZT | reference | 48.74 |
|
|
90
|
-
| TRY | KZT | reference | 9.09 |
|
|
91
|
-
| UAH | KZT | reference | 9.94 |
|
|
92
|
-
| USD | KZT | reference | 448.45 |
|
|
93
|
-
| UZS | KZT | reference | 0.0377 |
|
|
94
|
-
| VND | KZT | reference | 0.01731 |
|
|
95
|
-
| XDR | KZT | reference | 606.87 |
|
|
96
|
-
| ZAR | KZT | reference | 27.19 |
|
|
97
|
-
|
|
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.
|
|
49
|
+
_The table is filled in by the daily workflow._
|
|
99
50
|
<!-- daily-table:end -->
|
|
100
51
|
|
|
101
|
-
## ๐ Get your API key
|
|
102
|
-
|
|
103
|
-
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.
|
|
104
|
-
|
|
105
52
|
## ๐ฆ Installation
|
|
106
53
|
|
|
107
54
|
```bash
|
|
@@ -287,7 +234,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbk/latest?format=xml&api_ke
|
|
|
287
234
|
- 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
235
|
- 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
236
|
- 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
|
-
-
|
|
237
|
+
- 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
238
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
292
239
|
|
|
293
240
|
## โ๏ธ Published vs derived rates
|
|
@@ -366,7 +313,8 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
366
313
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
367
314
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/nbk-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
|
368
315
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
369
|
-
- [Register (
|
|
316
|
+
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
317
|
+
- [Status](https://allratestoday.com/status)
|
|
370
318
|
- [GitHub](https://github.com/AllRates-Today/nbk-exchange-rate)
|
|
371
319
|
|
|
372
320
|
## ๐ License
|
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.16",
|
|
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",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"exchange-rates",
|
|
13
13
|
"exchangerate",
|
|
14
14
|
"exchange rate",
|
|
15
|
+
"exchange rates",
|
|
15
16
|
"kzt-exchange-rate",
|
|
16
17
|
"currency",
|
|
17
18
|
"forex",
|