@allratestoday/bou-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 +40 -78
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,97 +24,58 @@
|
|
|
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 Uganda 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/bou?source=USD&target=UGX"
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
```js
|
|
36
|
-
const r = await fetch('https://allratestoday.com/api/open/central-bank/bou').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/bou/)
|
|
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 Uganda — 36 rates. Updated 2026-10-30.</summary>
|
|
51
36
|
|
|
52
37
|
| Base | Quote | Type | Rate |
|
|
53
38
|
| --- | --- | --- | ---: |
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
72
|
-
|
|
|
73
|
-
|
|
|
74
|
-
|
|
|
75
|
-
|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
|
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
| JPY | UGX | buy | 26.752943 |
|
|
91
|
-
| JPY | UGX | reference | 26.786462 |
|
|
92
|
-
| JPY | UGX | sell | 26.81998091 |
|
|
93
|
-
| KES | UGX | buy | 32.369207 |
|
|
94
|
-
| KES | UGX | reference | 32.457808 |
|
|
95
|
-
| KES | UGX | sell | 32.546409 |
|
|
96
|
-
| KMF | UGX | buy | 9.5554041 |
|
|
97
|
-
| KMF | UGX | reference | 9.5886325 |
|
|
98
|
-
| KMF | UGX | sell | 9.621861 |
|
|
99
|
-
| KRW | UGX | buy | 3.1761364 |
|
|
100
|
-
| KRW | UGX | reference | 3.1800816 |
|
|
101
|
-
| KRW | UGX | sell | 3.1840268 |
|
|
102
|
-
| KWD | UGX | buy | 13654.035 |
|
|
103
|
-
| KWD | UGX | reference | 13668.05 |
|
|
104
|
-
| KWD | UGX | sell | 13682.065 |
|
|
105
|
-
| LSL | UGX | buy | 256.02406 |
|
|
106
|
-
| LSL | UGX | reference | 256.35195 |
|
|
107
|
-
| LSL | UGX | sell | 256.67984 |
|
|
108
|
-
| MUR | UGX | buy | 89.178367 |
|
|
109
|
-
| MUR | UGX | reference | 89.570614 |
|
|
110
|
-
| MUR | UGX | sell | 89.96286 |
|
|
111
|
-
| MWK | UGX | buy | 2.4022807 |
|
|
112
|
-
| MWK | UGX | reference | 2.4284877 |
|
|
113
|
-
| MWK | UGX | sell | 2.4546948 |
|
|
39
|
+
| EUR | UGX | buy | 4859.179584 |
|
|
40
|
+
| EUR | UGX | midday | 4744.7122235 |
|
|
41
|
+
| EUR | UGX | midday_buy | 4738.903533 |
|
|
42
|
+
| EUR | UGX | midday_sell | 4750.520914 |
|
|
43
|
+
| EUR | UGX | reference | 4865.20706 |
|
|
44
|
+
| EUR | UGX | sell | 4871.234536 |
|
|
45
|
+
| GBP | UGX | buy | 5818.068116 |
|
|
46
|
+
| GBP | UGX | midday | 5688.2718295 |
|
|
47
|
+
| GBP | UGX | midday_buy | 5680.926258 |
|
|
48
|
+
| GBP | UGX | midday_sell | 5695.617401 |
|
|
49
|
+
| GBP | UGX | reference | 5825.852306 |
|
|
50
|
+
| GBP | UGX | sell | 5833.636496 |
|
|
51
|
+
| KES | UGX | buy | 33.395542 |
|
|
52
|
+
| KES | UGX | midday | 32.60628 |
|
|
53
|
+
| KES | UGX | midday_buy | 32.542736 |
|
|
54
|
+
| KES | UGX | midday_sell | 32.669823 |
|
|
55
|
+
| KES | UGX | reference | 33.459742 |
|
|
56
|
+
| KES | UGX | sell | 33.523941 |
|
|
57
|
+
| TZS | UGX | buy | 1.6303039 |
|
|
58
|
+
| TZS | UGX | midday | 1.5996129 |
|
|
59
|
+
| TZS | UGX | midday_buy | 1.5886717 |
|
|
60
|
+
| TZS | UGX | midday_sell | 1.6105540797 |
|
|
61
|
+
| TZS | UGX | reference | 1.6414821 |
|
|
62
|
+
| TZS | UGX | sell | 1.6526603 |
|
|
63
|
+
| USD | UGX | buy | 4344.76 |
|
|
64
|
+
| USD | UGX | midday | 4238.81 |
|
|
65
|
+
| USD | UGX | midday_buy | 4233.81 |
|
|
66
|
+
| USD | UGX | midday_sell | 4243.81 |
|
|
67
|
+
| USD | UGX | reference | 4349.76 |
|
|
68
|
+
| USD | UGX | sell | 4354.76 |
|
|
69
|
+
| ZAR | UGX | buy | 261.22267 |
|
|
70
|
+
| ZAR | UGX | midday | 254.87949836 |
|
|
71
|
+
| ZAR | UGX | midday_buy | 254.50758 |
|
|
72
|
+
| ZAR | UGX | midday_sell | 255.25141 |
|
|
73
|
+
| ZAR | UGX | reference | 261.57526 |
|
|
74
|
+
| ZAR | UGX | sell | 261.92785 |
|
|
114
75
|
|
|
115
76
|
</details>
|
|
116
77
|
|
|
117
|
-
|
|
78
|
+
Source: [Official rates published by BOU, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bou/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
118
79
|
<!-- daily-table:end -->
|
|
119
80
|
|
|
120
81
|
## 📦 Installation
|
|
@@ -277,6 +238,7 @@ The Bank of Uganda publishes a daily opening rate card each morning — middle,
|
|
|
277
238
|
|
|
278
239
|
- Publisher's own page: [Exchange rates](https://bou.or.ug/) · [bou.or.ug](https://bou.or.ug)
|
|
279
240
|
- Publication: every business day; the exact schedule, freshness status and any current delay are on the [Bank of Uganda rates page](https://allratestoday.com/central-bank-rates-api/bou/)
|
|
241
|
+
- In the API: usually by **10:15 UTC** (measured over the last 9 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)
|
|
280
242
|
- Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)
|
|
281
243
|
|
|
282
244
|
## 🧭 Reading the numbers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bou-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.24",
|
|
4
4
|
"description": "Official Bank of Uganda (Uganda) daily exchange rates — 33 currencies vs UGX, current table, archive from 2026. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bou",
|