@allratestoday/bok-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 +54 -50
- 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 Bank of Korea 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 Bank of Korea table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
@@ -33,70 +37,69 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/bok').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/bok/)
|
|
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 Bank of Korea โ 43 rates. Updated 2026-10-20.</summary>
|
|
46
51
|
|
|
47
52
|
| Base | Quote | Type | Rate |
|
|
48
53
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | KRW | reference |
|
|
50
|
-
| ARS | KRW | reference | 0.
|
|
51
|
-
| AUD | KRW | reference |
|
|
52
|
-
| BDT | KRW | reference | 10.
|
|
53
|
-
| BHD | KRW | reference |
|
|
54
|
-
| BND | KRW | reference |
|
|
55
|
-
| BRL | KRW | reference |
|
|
56
|
-
| CAD | KRW | reference |
|
|
57
|
-
| CHF | KRW | reference |
|
|
58
|
-
| CNY | KRW | reference |
|
|
59
|
-
| CZK | KRW | reference | 61.
|
|
60
|
-
| DKK | KRW | reference |
|
|
61
|
-
| EGP | KRW | reference |
|
|
62
|
-
| EUR | KRW | reference |
|
|
63
|
-
| GBP | KRW | reference |
|
|
64
|
-
| HKD | KRW | reference |
|
|
54
|
+
| AED | KRW | reference | 362.67 |
|
|
55
|
+
| ARS | KRW | reference | 0.87 |
|
|
56
|
+
| AUD | KRW | reference | 929.94 |
|
|
57
|
+
| BDT | KRW | reference | 10.77 |
|
|
58
|
+
| BHD | KRW | reference | 3528.74 |
|
|
59
|
+
| BND | KRW | reference | 1040.7 |
|
|
60
|
+
| BRL | KRW | reference | 264.28 |
|
|
61
|
+
| CAD | KRW | reference | 944.32 |
|
|
62
|
+
| CHF | KRW | reference | 1610.86 |
|
|
63
|
+
| CNY | KRW | reference | 199.41 |
|
|
64
|
+
| CZK | KRW | reference | 61.37 |
|
|
65
|
+
| DKK | KRW | reference | 199.81 |
|
|
66
|
+
| EGP | KRW | reference | 24.71 |
|
|
67
|
+
| EUR | KRW | reference | 1493.48 |
|
|
68
|
+
| GBP | KRW | reference | 1772.49 |
|
|
69
|
+
| HKD | KRW | reference | 169.74 |
|
|
65
70
|
| HUF | KRW | reference | 4.12 |
|
|
66
|
-
| IDR | KRW | reference | 0.
|
|
67
|
-
| ILS | KRW | reference |
|
|
68
|
-
| INR | KRW | reference | 14.
|
|
69
|
-
| JOD | KRW | reference |
|
|
70
|
-
| JPY | KRW | reference | 8.
|
|
71
|
-
| KWD | KRW | reference |
|
|
72
|
-
| KZT | KRW | reference | 2.
|
|
71
|
+
| IDR | KRW | reference | 0.0739 |
|
|
72
|
+
| ILS | KRW | reference | 429.38 |
|
|
73
|
+
| INR | KRW | reference | 14.03 |
|
|
74
|
+
| JOD | KRW | reference | 1878.84 |
|
|
75
|
+
| JPY | KRW | reference | 8.4018 |
|
|
76
|
+
| KWD | KRW | reference | 4325 |
|
|
77
|
+
| KZT | KRW | reference | 2.95 |
|
|
73
78
|
| MNT | KRW | reference | 0.37 |
|
|
74
|
-
| MXN | KRW | reference | 72.
|
|
75
|
-
| MYR | KRW | reference |
|
|
76
|
-
| NOK | KRW | reference |
|
|
77
|
-
| NZD | KRW | reference |
|
|
78
|
-
| PHP | KRW | reference | 21.
|
|
79
|
-
| PKR | KRW | reference | 4.
|
|
80
|
-
| PLN | KRW | reference |
|
|
81
|
-
| QAR | KRW | reference |
|
|
82
|
-
| RUB | KRW | reference | 16.
|
|
83
|
-
| SAR | KRW | reference |
|
|
84
|
-
| SEK | KRW | reference | 134.
|
|
85
|
-
| SGD | KRW | reference |
|
|
86
|
-
| THB | KRW | reference | 39.
|
|
87
|
-
| TRY | KRW | reference |
|
|
88
|
-
| TWD | KRW | reference |
|
|
89
|
-
| USD | KRW | reference |
|
|
90
|
-
| VND | KRW | reference | 0.
|
|
91
|
-
| ZAR | KRW | reference | 81.
|
|
79
|
+
| MXN | KRW | reference | 72.29 |
|
|
80
|
+
| MYR | KRW | reference | 326.3 |
|
|
81
|
+
| NOK | KRW | reference | 141.36 |
|
|
82
|
+
| NZD | KRW | reference | 754.37 |
|
|
83
|
+
| PHP | KRW | reference | 21.15 |
|
|
84
|
+
| PKR | KRW | reference | 4.81 |
|
|
85
|
+
| PLN | KRW | reference | 341.83 |
|
|
86
|
+
| QAR | KRW | reference | 365.76 |
|
|
87
|
+
| RUB | KRW | reference | 16.1 |
|
|
88
|
+
| SAR | KRW | reference | 355 |
|
|
89
|
+
| SEK | KRW | reference | 134.36 |
|
|
90
|
+
| SGD | KRW | reference | 1040.7 |
|
|
91
|
+
| THB | KRW | reference | 39.66 |
|
|
92
|
+
| TRY | KRW | reference | 26.87 |
|
|
93
|
+
| TWD | KRW | reference | 40.98 |
|
|
94
|
+
| USD | KRW | reference | 1332.1 |
|
|
95
|
+
| VND | KRW | reference | 0.0514 |
|
|
96
|
+
| ZAR | KRW | reference | 81.11 |
|
|
97
|
+
|
|
98
|
+
</details>
|
|
92
99
|
|
|
93
100
|
Source: [Official rates published by BOK, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bok/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
94
101
|
<!-- daily-table:end -->
|
|
95
102
|
|
|
96
|
-
## ๐ Get your API key
|
|
97
|
-
|
|
98
|
-
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.
|
|
99
|
-
|
|
100
103
|
## ๐ฆ Installation
|
|
101
104
|
|
|
102
105
|
```bash
|
|
@@ -282,7 +285,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bok/latest?format=xml&api_ke
|
|
|
282
285
|
- 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
|
|
283
286
|
- 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('bok')` 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
|
|
284
287
|
- 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 bok ...` command
|
|
285
|
-
-
|
|
288
|
+
- 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`
|
|
286
289
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
287
290
|
|
|
288
291
|
## โ๏ธ Published vs derived rates
|
|
@@ -361,7 +364,8 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
361
364
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
362
365
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/bok-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
|
363
366
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
364
|
-
- [Register (
|
|
367
|
+
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
368
|
+
- [Status](https://allratestoday.com/status)
|
|
365
369
|
- [GitHub](https://github.com/AllRates-Today/bok-exchange-rate)
|
|
366
370
|
|
|
367
371
|
## ๐ License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bok-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "Official Bank of Korea (South Korea) daily exchange rates โ 43 currencies vs KRW, history since 1964. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bok",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"exchange-rates",
|
|
12
12
|
"exchangerate",
|
|
13
13
|
"exchange rate",
|
|
14
|
+
"exchange rates",
|
|
14
15
|
"krw-exchange-rate",
|
|
15
16
|
"currency",
|
|
16
17
|
"forex",
|