@allratestoday/bok-exchange-rate 1.3.19 → 1.3.24

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 +45 -59
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,76 +24,61 @@
24
24
 
25
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
26
 
27
- ## ⚡ Try it without a key
28
-
29
- The latest Bank of Korea table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
30
-
31
- ```bash
32
- curl "https://allratestoday.com/api/open/central-bank/bok?source=USD&target=KRW"
33
- ```
34
-
35
- ```js
36
- const r = await fetch('https://allratestoday.com/api/open/central-bank/bok').then((x) => x.json());
37
- console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
38
- ```
39
-
40
- The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
41
-
42
27
  ## 📈 Latest published table
43
28
 
44
29
  [![Latest Bank of Korea table](https://allratestoday.com/api/open/central-bank/bok/table.svg)](https://allratestoday.com/central-bank-rates-api/bok/)
45
30
 
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.
31
+ The image is rendered live from the keyless endpoint, 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.
47
32
 
48
33
  <!-- daily-table:start -->
49
34
  <details>
50
- <summary>Table as text: published 2026-10-27 by Bank of Korea — 43 rates. Updated 2026-10-27.</summary>
35
+ <summary>Table as text: published 2026-10-30 by Bank of Korea — 43 rates. Updated 2026-10-30.</summary>
51
36
 
52
37
  | Base | Quote | Type | Rate |
53
38
  | --- | --- | --- | ---: |
54
- | AED | KRW | reference | 360.1 |
55
- | ARS | KRW | reference | 0.86 |
56
- | AUD | KRW | reference | 927.34 |
57
- | BDT | KRW | reference | 10.67 |
58
- | BHD | KRW | reference | 3506.36 |
59
- | BND | KRW | reference | 1032.51 |
60
- | BRL | KRW | reference | 246.2 |
61
- | CAD | KRW | reference | 943.74 |
62
- | CHF | KRW | reference | 1598.4 |
63
- | CNY | KRW | reference | 198.43 |
64
- | CZK | KRW | reference | 60.7 |
65
- | DKK | KRW | reference | 197.72 |
66
- | EGP | KRW | reference | 23.5 |
67
- | EUR | KRW | reference | 1477.87 |
68
- | GBP | KRW | reference | 1764.55 |
69
- | HKD | KRW | reference | 168.58 |
70
- | HUF | KRW | reference | 4.02 |
71
- | IDR | KRW | reference | 0.073 |
72
- | ILS | KRW | reference | 430.13 |
73
- | INR | KRW | reference | 13.89 |
74
- | JOD | KRW | reference | 1865.44 |
75
- | JPY | KRW | reference | 8.3983 |
76
- | KWD | KRW | reference | 4294.16 |
77
- | KZT | KRW | reference | 2.93 |
39
+ | AED | KRW | reference | 363.55 |
40
+ | ARS | KRW | reference | 0.87 |
41
+ | AUD | KRW | reference | 937.45 |
42
+ | BDT | KRW | reference | 10.76 |
43
+ | BHD | KRW | reference | 3538.16 |
44
+ | BND | KRW | reference | 1043.41 |
45
+ | BRL | KRW | reference | 247.96 |
46
+ | CAD | KRW | reference | 954.84 |
47
+ | CHF | KRW | reference | 1621.89 |
48
+ | CNY | KRW | reference | 200.39 |
49
+ | CZK | KRW | reference | 61.36 |
50
+ | DKK | KRW | reference | 199.9 |
51
+ | EGP | KRW | reference | 23.84 |
52
+ | EUR | KRW | reference | 1494 |
53
+ | GBP | KRW | reference | 1787.23 |
54
+ | HKD | KRW | reference | 170.2 |
55
+ | HUF | KRW | reference | 4.09 |
56
+ | IDR | KRW | reference | 0.0737 |
57
+ | ILS | KRW | reference | 428.7 |
58
+ | INR | KRW | reference | 14.03 |
59
+ | JOD | KRW | reference | 1883.36 |
60
+ | JPY | KRW | reference | 8.4641 |
61
+ | KWD | KRW | reference | 4331.87 |
62
+ | KZT | KRW | reference | 2.95 |
78
63
  | MNT | KRW | reference | 0.37 |
79
- | MXN | KRW | reference | 71.24 |
80
- | MYR | KRW | reference | 323.57 |
81
- | NOK | KRW | reference | 141.97 |
82
- | NZD | KRW | reference | 751.3 |
83
- | PHP | KRW | reference | 20.69 |
84
- | PKR | KRW | reference | 4.77 |
85
- | PLN | KRW | reference | 335.62 |
86
- | QAR | KRW | reference | 362.85 |
87
- | RUB | KRW | reference | 16.37 |
88
- | SAR | KRW | reference | 352.42 |
89
- | SEK | KRW | reference | 132.84 |
90
- | SGD | KRW | reference | 1032.51 |
91
- | THB | KRW | reference | 39.16 |
92
- | TRY | KRW | reference | 26.57 |
93
- | TWD | KRW | reference | 40.63 |
94
- | USD | KRW | reference | 1322.6 |
95
- | VND | KRW | reference | 0.0512 |
96
- | ZAR | KRW | reference | 79.49 |
64
+ | MXN | KRW | reference | 70.72 |
65
+ | MYR | KRW | reference | 328.93 |
66
+ | NOK | KRW | reference | 144.47 |
67
+ | NZD | KRW | reference | 751.31 |
68
+ | PHP | KRW | reference | 20.96 |
69
+ | PKR | KRW | reference | 4.83 |
70
+ | PLN | KRW | reference | 340.38 |
71
+ | QAR | KRW | reference | 366.32 |
72
+ | RUB | KRW | reference | 16.43 |
73
+ | SAR | KRW | reference | 355.81 |
74
+ | SEK | KRW | reference | 135.67 |
75
+ | SGD | KRW | reference | 1043.41 |
76
+ | THB | KRW | reference | 39.57 |
77
+ | TRY | KRW | reference | 26.76 |
78
+ | TWD | KRW | reference | 41.05 |
79
+ | USD | KRW | reference | 1335.3 |
80
+ | VND | KRW | reference | 0.0517 |
81
+ | ZAR | KRW | reference | 80.35 |
97
82
 
98
83
  </details>
99
84
 
@@ -258,6 +243,7 @@ The Bank of Korea publishes the won's daily basic exchange rates (매매기준
258
243
 
259
244
  - Publisher's own page: [ECOS — Economic Statistics System (3.1.1.1)](https://ecos.bok.or.kr/#/SearchStat) · [www.bok.or.kr/eng/main/main.do](https://www.bok.or.kr/eng/main/main.do)
260
245
  - Publication: every business day; the exact schedule, freshness status and any current delay are on the [Bank of Korea rates page](https://allratestoday.com/central-bank-rates-api/bok/)
246
+ - In the API: usually by **02:15 UTC** (measured over the last 11 publications). Schedule a sync at or after that time and retry hourly until `rate_date` moves; every response carries the same figure as `available_by_utc` — see [when to poll](https://allratestoday.com/docs/#when-to-poll)
261
247
  - Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)
262
248
 
263
249
  ## 🧭 Reading the numbers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/bok-exchange-rate",
3
- "version": "1.3.19",
3
+ "version": "1.3.24",
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",