cbk-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 +60 -56
- 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 Central Bank of Kuwait 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 Central Bank of Kuwait table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
@@ -33,87 +37,86 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/cbk').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/cbk/)
|
|
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
|
-
|
|
49
|
+
<details>
|
|
50
|
+
<summary>Table as text: published 2026-10-20 by Central Bank of Kuwait โ 134 rates, first 60 shown. Updated 2026-10-20.</summary>
|
|
46
51
|
|
|
47
52
|
| Base | Quote | Type | Rate |
|
|
48
53
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | KWD | reference | 0.
|
|
50
|
-
| AFN | KWD | reference | 0.
|
|
51
|
-
| ALL | KWD | reference | 0.
|
|
54
|
+
| AED | KWD | reference | 0.083855 |
|
|
55
|
+
| AFN | KWD | reference | 0.004746 |
|
|
56
|
+
| ALL | KWD | reference | 0.003799 |
|
|
52
57
|
| AMD | KWD | reference | 0.000852 |
|
|
53
58
|
| AOA | KWD | reference | 0.000335 |
|
|
54
|
-
| ARS | KWD | reference | 0.
|
|
55
|
-
| AUD | KWD | reference | 0.
|
|
56
|
-
| AZN | KWD | reference | 0.
|
|
57
|
-
| BAM | KWD | reference | 0.
|
|
58
|
-
| BBD | KWD | reference | 0.
|
|
59
|
-
| BDT | KWD | reference | 0.
|
|
59
|
+
| ARS | KWD | reference | 0.000202 |
|
|
60
|
+
| AUD | KWD | reference | 0.21506 |
|
|
61
|
+
| AZN | KWD | reference | 0.181177 |
|
|
62
|
+
| BAM | KWD | reference | 0.176697 |
|
|
63
|
+
| BBD | KWD | reference | 0.152922 |
|
|
64
|
+
| BDT | KWD | reference | 0.00249 |
|
|
60
65
|
| BGN | KWD | reference | 0.183033 |
|
|
61
|
-
| BHD | KWD | reference | 0.
|
|
66
|
+
| BHD | KWD | reference | 0.818972 |
|
|
62
67
|
| BIF | KWD | reference | 0.000103 |
|
|
63
|
-
| BMD | KWD | reference | 0.
|
|
64
|
-
| BND | KWD | reference | 0.
|
|
65
|
-
| BOB | KWD | reference | 0.
|
|
66
|
-
| BRL | KWD | reference | 0.
|
|
67
|
-
| BSD | KWD | reference | 0.
|
|
68
|
-
| BTN | KWD | reference | 0.
|
|
69
|
-
| BWP | KWD | reference | 0.
|
|
70
|
-
| BZD | KWD | reference | 0.
|
|
71
|
-
| CAD | KWD | reference | 0.
|
|
68
|
+
| BMD | KWD | reference | 0.308 |
|
|
69
|
+
| BND | KWD | reference | 0.240879 |
|
|
70
|
+
| BOB | KWD | reference | 0.026336 |
|
|
71
|
+
| BRL | KWD | reference | 0.061106 |
|
|
72
|
+
| BSD | KWD | reference | 0.308 |
|
|
73
|
+
| BTN | KWD | reference | 0.003244 |
|
|
74
|
+
| BWP | KWD | reference | 0.021729 |
|
|
75
|
+
| BZD | KWD | reference | 0.153142 |
|
|
76
|
+
| CAD | KWD | reference | 0.218734 |
|
|
72
77
|
| CDF | KWD | reference | 0.000133 |
|
|
73
|
-
| CHF | KWD | reference | 0.
|
|
78
|
+
| CHF | KWD | reference | 0.373401 |
|
|
74
79
|
| CLP | KWD | reference | 0.000314 |
|
|
75
|
-
| CNY | KWD | reference | 0.
|
|
76
|
-
| COP | KWD | reference | 0.
|
|
77
|
-
| CRC | KWD | reference | 0.
|
|
78
|
-
| CUP | KWD | reference | 0.
|
|
79
|
-
| CVE | KWD | reference | 0.
|
|
80
|
-
| CZK | KWD | reference | 0.
|
|
80
|
+
| CNY | KWD | reference | 0.046114 |
|
|
81
|
+
| COP | KWD | reference | 0.000098 |
|
|
82
|
+
| CRC | KWD | reference | 0.000678 |
|
|
83
|
+
| CUP | KWD | reference | 0.012833 |
|
|
84
|
+
| CVE | KWD | reference | 0.003129 |
|
|
85
|
+
| CZK | KWD | reference | 0.014219 |
|
|
81
86
|
| DJF | KWD | reference | 0.00173 |
|
|
82
|
-
| DKK | KWD | reference | 0.
|
|
83
|
-
| DOP | KWD | reference | 0.
|
|
84
|
-
| DZD | KWD | reference | 0.
|
|
87
|
+
| DKK | KWD | reference | 0.046282 |
|
|
88
|
+
| DOP | KWD | reference | 0.005006 |
|
|
89
|
+
| DZD | KWD | reference | 0.002288 |
|
|
85
90
|
| ECS | KWD | reference | 0.000012 |
|
|
86
|
-
| EGP | KWD | reference | 0.
|
|
87
|
-
| ERN | KWD | reference | 0.
|
|
88
|
-
| ETB | KWD | reference | 0.
|
|
89
|
-
| EUR | KWD | reference | 0.
|
|
90
|
-
| FJD | KWD | reference | 0.
|
|
91
|
-
| GBP | KWD | reference | 0.
|
|
92
|
-
| GEL | KWD | reference | 0.
|
|
93
|
-
| GHS | KWD | reference | 0.
|
|
94
|
-
| GMD | KWD | reference | 0.
|
|
91
|
+
| EGP | KWD | reference | 0.005709 |
|
|
92
|
+
| ERN | KWD | reference | 0.020431 |
|
|
93
|
+
| ETB | KWD | reference | 0.001909 |
|
|
94
|
+
| EUR | KWD | reference | 0.345946 |
|
|
95
|
+
| FJD | KWD | reference | 0.136413 |
|
|
96
|
+
| GBP | KWD | reference | 0.410672 |
|
|
97
|
+
| GEL | KWD | reference | 0.118633 |
|
|
98
|
+
| GHS | KWD | reference | 0.026381 |
|
|
99
|
+
| GMD | KWD | reference | 0.004129 |
|
|
95
100
|
| GNF | KWD | reference | 0.000035 |
|
|
96
|
-
| GTQ | KWD | reference | 0.
|
|
97
|
-
| GYD | KWD | reference | 0.
|
|
98
|
-
| HKD | KWD | reference | 0.
|
|
99
|
-
| HNL | KWD | reference | 0.
|
|
100
|
-
| HTG | KWD | reference | 0.
|
|
101
|
-
| HUF | KWD | reference | 0.
|
|
101
|
+
| GTQ | KWD | reference | 0.040301 |
|
|
102
|
+
| GYD | KWD | reference | 0.001473 |
|
|
103
|
+
| HKD | KWD | reference | 0.039245 |
|
|
104
|
+
| HNL | KWD | reference | 0.011475 |
|
|
105
|
+
| HTG | KWD | reference | 0.002352 |
|
|
106
|
+
| HUF | KWD | reference | 0.000954 |
|
|
102
107
|
| IDR | KWD | reference | 0.000017 |
|
|
103
108
|
| INR | KWD | reference | 0.003244 |
|
|
104
109
|
| IQD | KWD | reference | 0.000203 |
|
|
105
110
|
| IRR | KWD | reference | 0.000007 |
|
|
106
|
-
| ISK | KWD | reference | 0.
|
|
107
|
-
| JMD | KWD | reference | 0.
|
|
108
|
-
| JOD | KWD | reference | 0.
|
|
111
|
+
| ISK | KWD | reference | 0.00254 |
|
|
112
|
+
| JMD | KWD | reference | 0.001941 |
|
|
113
|
+
| JOD | KWD | reference | 0.434415 |
|
|
114
|
+
|
|
115
|
+
</details>
|
|
109
116
|
|
|
110
117
|
[Full table on the Central Bank of Kuwait rates page](https://allratestoday.com/central-bank-rates-api/cbk/) ยท Source: [Official rates published by CBK, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbk/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
111
118
|
<!-- daily-table:end -->
|
|
112
119
|
|
|
113
|
-
## ๐ Get your API key
|
|
114
|
-
|
|
115
|
-
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.
|
|
116
|
-
|
|
117
120
|
## ๐ฆ Installation
|
|
118
121
|
|
|
119
122
|
```bash
|
|
@@ -299,7 +302,7 @@ curl "https://allratestoday.com/api/v1/central-bank/cbk/latest?format=xml&api_ke
|
|
|
299
302
|
- 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
|
|
300
303
|
- 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('cbk')` 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
|
|
301
304
|
- 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 cbk ...` command
|
|
302
|
-
-
|
|
305
|
+
- 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`
|
|
303
306
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
304
307
|
|
|
305
308
|
## โ๏ธ Published vs derived rates
|
|
@@ -378,7 +381,8 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
378
381
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
379
382
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/cbk-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
|
380
383
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
381
|
-
- [Register (
|
|
384
|
+
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
385
|
+
- [Status](https://allratestoday.com/status)
|
|
382
386
|
- [GitHub](https://github.com/AllRates-Today/cbk-exchange-rate)
|
|
383
387
|
|
|
384
388
|
## ๐ License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cbk-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "Official Central Bank of Kuwait (Kuwait) daily exchange rates โ 134 currencies vs KWD, history since 2008. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbk",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"exchange-rates",
|
|
13
13
|
"exchangerate",
|
|
14
14
|
"exchange rate",
|
|
15
|
+
"exchange rates",
|
|
15
16
|
"kwd-exchange-rate",
|
|
16
17
|
"currency",
|
|
17
18
|
"forex",
|