@allratestoday/boz-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.
- package/README.md +9 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,39 +24,24 @@
|
|
|
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 Zambia 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/boz?source=USD&target=ZMW"
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
```js
|
|
36
|
-
const r = await fetch('https://allratestoday.com/api/open/central-bank/boz').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
|
[](https://allratestoday.com/central-bank-rates-api/boz/)
|
|
45
30
|
|
|
46
|
-
The image is rendered live from the keyless endpoint
|
|
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-
|
|
35
|
+
<summary>Table as text: published 2026-10-30 by Bank of Zambia — 6 rates. Updated 2026-10-30.</summary>
|
|
51
36
|
|
|
52
37
|
| Base | Quote | Type | Rate |
|
|
53
38
|
| --- | --- | --- | ---: |
|
|
54
|
-
| CNY | ZMW | buy | 3.
|
|
55
|
-
| CNY | ZMW | middle | 3.
|
|
56
|
-
| CNY | ZMW | sell | 3.
|
|
57
|
-
| USD | ZMW | buy | 20.
|
|
58
|
-
| USD | ZMW | middle | 20.
|
|
59
|
-
| USD | ZMW | sell | 20.
|
|
39
|
+
| CNY | ZMW | buy | 3.0352 |
|
|
40
|
+
| CNY | ZMW | middle | 3.0391 |
|
|
41
|
+
| CNY | ZMW | sell | 3.043 |
|
|
42
|
+
| USD | ZMW | buy | 20.2006 |
|
|
43
|
+
| USD | ZMW | middle | 20.2256 |
|
|
44
|
+
| USD | ZMW | sell | 20.2506 |
|
|
60
45
|
|
|
61
46
|
</details>
|
|
62
47
|
|
|
@@ -223,6 +208,7 @@ The Bank of Zambia publishes buying, middle and selling rates for the kwacha aga
|
|
|
223
208
|
|
|
224
209
|
- Publisher's own page: [Daily FX rates](https://www.boz.zm) · [www.boz.zm](https://www.boz.zm)
|
|
225
210
|
- Publication: every business day; the exact schedule, freshness status and any current delay are on the [Bank of Zambia rates page](https://allratestoday.com/central-bank-rates-api/boz/)
|
|
211
|
+
- In the API: usually by **08:20 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)
|
|
226
212
|
- Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)
|
|
227
213
|
|
|
228
214
|
## 🧭 Reading the numbers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/boz-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.24",
|
|
4
4
|
"description": "Official Bank of Zambia (Zambia) daily exchange rates — 2 currencies vs ZMW, history since 2026. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"boz",
|