@allratestoday/bou-exchange-rate 1.3.9 → 1.3.13
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 +72 -72
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,70 +42,70 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
42
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 text copy below is there 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
43
|
|
|
44
44
|
<!-- daily-table:start -->
|
|
45
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-14** by Bank of Uganda — 99 rates, first 60 shown. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | UGX | buy |
|
|
50
|
-
| AED | UGX | reference |
|
|
51
|
-
| AED | UGX | sell |
|
|
52
|
-
| AUD | UGX | buy |
|
|
53
|
-
| AUD | UGX | reference |
|
|
54
|
-
| AUD | UGX | sell |
|
|
55
|
-
| BIF | UGX | buy | 1.
|
|
56
|
-
| BIF | UGX | reference | 1.
|
|
57
|
-
| BIF | UGX | sell | 1.
|
|
58
|
-
| CAD | UGX | buy |
|
|
59
|
-
| CAD | UGX | reference |
|
|
60
|
-
| CAD | UGX | sell |
|
|
61
|
-
| CHF | UGX | buy |
|
|
62
|
-
| CHF | UGX | reference |
|
|
63
|
-
| CHF | UGX | sell |
|
|
64
|
-
| CNY | UGX | buy |
|
|
65
|
-
| CNY | UGX | reference |
|
|
66
|
-
| CNY | UGX | sell |
|
|
67
|
-
| DJF | UGX | buy |
|
|
68
|
-
| DJF | UGX | reference |
|
|
69
|
-
| DJF | UGX | sell | 23.
|
|
70
|
-
| DKK | UGX | buy |
|
|
71
|
-
| DKK | UGX | reference |
|
|
72
|
-
| DKK | UGX | sell |
|
|
73
|
-
| ETB | UGX | buy |
|
|
74
|
-
| ETB | UGX | reference | 25.
|
|
75
|
-
| ETB | UGX | sell | 25.
|
|
76
|
-
| EUR | UGX | buy |
|
|
77
|
-
| EUR | UGX | reference |
|
|
78
|
-
| EUR | UGX | sell |
|
|
79
|
-
| GBP | UGX | buy |
|
|
80
|
-
| GBP | UGX | reference |
|
|
81
|
-
| GBP | UGX | sell |
|
|
82
|
-
| INR | UGX | buy |
|
|
83
|
-
| INR | UGX | reference |
|
|
84
|
-
| INR | UGX | sell |
|
|
85
|
-
| JPY | UGX | buy |
|
|
86
|
-
| JPY | UGX | reference |
|
|
87
|
-
| JPY | UGX | sell |
|
|
88
|
-
| KES | UGX | buy | 31.
|
|
89
|
-
| KES | UGX | reference | 31.
|
|
90
|
-
| KES | UGX | sell | 31.
|
|
91
|
-
| KMF | UGX | buy | 9.
|
|
92
|
-
| KMF | UGX | reference | 9.
|
|
93
|
-
| KMF | UGX | sell | 9.
|
|
94
|
-
| KRW | UGX | buy | 3.
|
|
95
|
-
| KRW | UGX | reference | 3.
|
|
96
|
-
| KRW | UGX | sell | 3.
|
|
97
|
-
| KWD | UGX | buy |
|
|
98
|
-
| KWD | UGX | reference |
|
|
99
|
-
| KWD | UGX | sell |
|
|
100
|
-
| LSL | UGX | buy |
|
|
101
|
-
| LSL | UGX | reference |
|
|
102
|
-
| LSL | UGX | sell |
|
|
103
|
-
| MUR | UGX | buy |
|
|
104
|
-
| MUR | UGX | reference |
|
|
105
|
-
| MUR | UGX | sell |
|
|
106
|
-
| MWK | UGX | buy | 2.
|
|
107
|
-
| MWK | UGX | reference | 2.
|
|
108
|
-
| MWK | UGX | sell | 2.
|
|
49
|
+
| AED | UGX | buy | 1123.1867 |
|
|
50
|
+
| AED | UGX | reference | 1124.5787 |
|
|
51
|
+
| AED | UGX | sell | 1125.9707 |
|
|
52
|
+
| AUD | UGX | buy | 2888.0805 |
|
|
53
|
+
| AUD | UGX | reference | 2891.787786 |
|
|
54
|
+
| AUD | UGX | sell | 2895.495048 |
|
|
55
|
+
| BIF | UGX | buy | 1.3702521 |
|
|
56
|
+
| BIF | UGX | reference | 1.377432 |
|
|
57
|
+
| BIF | UGX | sell | 1.3846118 |
|
|
58
|
+
| CAD | UGX | buy | 2904.6895 |
|
|
59
|
+
| CAD | UGX | reference | 2908.3126 |
|
|
60
|
+
| CAD | UGX | sell | 2911.9358 |
|
|
61
|
+
| CHF | UGX | buy | 4957.0296 |
|
|
62
|
+
| CHF | UGX | reference | 4963.3363 |
|
|
63
|
+
| CHF | UGX | sell | 4969.6431 |
|
|
64
|
+
| CNY | UGX | buy | 616.36983 |
|
|
65
|
+
| CNY | UGX | reference | 617.14922 |
|
|
66
|
+
| CNY | UGX | sell | 617.9286 |
|
|
67
|
+
| DJF | UGX | buy | 23.104116 |
|
|
68
|
+
| DJF | UGX | reference | 23.194063 |
|
|
69
|
+
| DJF | UGX | sell | 23.284009 |
|
|
70
|
+
| DKK | UGX | buy | 618.42113 |
|
|
71
|
+
| DKK | UGX | reference | 619.19392 |
|
|
72
|
+
| DKK | UGX | sell | 619.96672 |
|
|
73
|
+
| ETB | UGX | buy | 25.00641 |
|
|
74
|
+
| ETB | UGX | reference | 25.287393 |
|
|
75
|
+
| ETB | UGX | sell | 25.568376 |
|
|
76
|
+
| EUR | UGX | buy | 4622.743944 |
|
|
77
|
+
| EUR | UGX | reference | 4628.760468 |
|
|
78
|
+
| EUR | UGX | sell | 4634.776992 |
|
|
79
|
+
| GBP | UGX | buy | 5472.13086 |
|
|
80
|
+
| GBP | UGX | reference | 5479.383646 |
|
|
81
|
+
| GBP | UGX | sell | 5486.6364 |
|
|
82
|
+
| INR | UGX | buy | 43.438439 |
|
|
83
|
+
| INR | UGX | reference | 43.493382 |
|
|
84
|
+
| INR | UGX | sell | 43.548324 |
|
|
85
|
+
| JPY | UGX | buy | 26.062926 |
|
|
86
|
+
| JPY | UGX | reference | 26.097818 |
|
|
87
|
+
| JPY | UGX | sell | 26.13271 |
|
|
88
|
+
| KES | UGX | buy | 31.757044 |
|
|
89
|
+
| KES | UGX | reference | 31.820079 |
|
|
90
|
+
| KES | UGX | sell | 31.883115 |
|
|
91
|
+
| KMF | UGX | buy | 9.3301669 |
|
|
92
|
+
| KMF | UGX | reference | 9.3627251 |
|
|
93
|
+
| KMF | UGX | sell | 9.3952833 |
|
|
94
|
+
| KRW | UGX | buy | 3.0812967 |
|
|
95
|
+
| KRW | UGX | reference | 3.0856084 |
|
|
96
|
+
| KRW | UGX | sell | 3.08992 |
|
|
97
|
+
| KWD | UGX | buy | 13389.289 |
|
|
98
|
+
| KWD | UGX | reference | 13403.34 |
|
|
99
|
+
| KWD | UGX | sell | 13417.391 |
|
|
100
|
+
| LSL | UGX | buy | 250.53688 |
|
|
101
|
+
| LSL | UGX | reference | 250.86266 |
|
|
102
|
+
| LSL | UGX | sell | 251.18844 |
|
|
103
|
+
| MUR | UGX | buy | 86.374372 |
|
|
104
|
+
| MUR | UGX | reference | 86.752715 |
|
|
105
|
+
| MUR | UGX | sell | 87.131058 |
|
|
106
|
+
| MWK | UGX | buy | 2.356849 |
|
|
107
|
+
| MWK | UGX | reference | 2.3826155 |
|
|
108
|
+
| MWK | UGX | sell | 2.408382 |
|
|
109
109
|
|
|
110
110
|
[Full table on the Bank of Uganda rates page](https://allratestoday.com/central-bank-rates-api/bou/) · 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.
|
|
111
111
|
<!-- daily-table:end -->
|
|
@@ -162,10 +162,10 @@ const pair = await getRate('USD', 'UGX', { apiKey: 'art_live_...' });
|
|
|
162
162
|
{
|
|
163
163
|
bank: 'bou',
|
|
164
164
|
name: 'Bank of Uganda',
|
|
165
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-14', // Bank of Uganda's own publication date
|
|
166
166
|
source: 'USD',
|
|
167
167
|
target: 'UGX',
|
|
168
|
-
rate:
|
|
168
|
+
rate: 4130.24,
|
|
169
169
|
rate_type: 'reference',
|
|
170
170
|
derived: false,
|
|
171
171
|
method: 'published',
|
|
@@ -190,11 +190,11 @@ console.log(table.rate_date, table.rates.length);
|
|
|
190
190
|
{
|
|
191
191
|
bank: 'bou',
|
|
192
192
|
name: 'Bank of Uganda',
|
|
193
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-14',
|
|
194
194
|
rates: [
|
|
195
|
-
{ "base": "USD", "quote": "UGX", "type": "reference", "value":
|
|
196
|
-
{ "base": "USD", "quote": "UGX", "type": "sell", "value":
|
|
197
|
-
{ "base": "USD", "quote": "UGX", "type": "buy", "value":
|
|
195
|
+
{ "base": "USD", "quote": "UGX", "type": "reference", "value": 4130.24 },
|
|
196
|
+
{ "base": "USD", "quote": "UGX", "type": "sell", "value": 4135.24 },
|
|
197
|
+
{ "base": "USD", "quote": "UGX", "type": "buy", "value": 4125.24 },
|
|
198
198
|
// … the rest of the published table (33 currencies vs UGX)
|
|
199
199
|
],
|
|
200
200
|
disclaimer: '…'
|
|
@@ -234,7 +234,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
234
234
|
import { getHistory } from '@allratestoday/bou-exchange-rate';
|
|
235
235
|
|
|
236
236
|
const series = await getHistory(
|
|
237
|
-
{ source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-
|
|
237
|
+
{ source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-14' },
|
|
238
238
|
{ apiKey: 'art_live_...' }
|
|
239
239
|
);
|
|
240
240
|
```
|
|
@@ -247,11 +247,11 @@ const series = await getHistory(
|
|
|
247
247
|
source: 'USD',
|
|
248
248
|
target: 'UGX',
|
|
249
249
|
from: '2026-01-01',
|
|
250
|
-
to: '2026-10-
|
|
250
|
+
to: '2026-10-14',
|
|
251
251
|
count: 152,
|
|
252
252
|
rates: [
|
|
253
253
|
// one entry per publication date
|
|
254
|
-
{ date: '2026-10-
|
|
254
|
+
{ date: '2026-10-14', rate: 4130.24, rate_type: 'reference', derived: false, method: 'published' },
|
|
255
255
|
// …
|
|
256
256
|
],
|
|
257
257
|
disclaimer: '…'
|
|
@@ -371,9 +371,9 @@ getRate('USD', 'UGX', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
371
371
|
|
|
372
372
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
373
373
|
|
|
374
|
-
- Hugging Face: [
|
|
374
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/bou.csv`)
|
|
375
375
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
376
|
-
-
|
|
376
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bou/latest.json`
|
|
377
377
|
|
|
378
378
|
## 🔗 Links
|
|
379
379
|
|
package/package.json
CHANGED
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bou-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
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",
|
|
7
|
+
"bank-of-uganda",
|
|
7
8
|
"bank",
|
|
8
|
-
"of",
|
|
9
9
|
"uganda",
|
|
10
10
|
"exchange-rate",
|
|
11
11
|
"exchange-rates",
|
|
12
|
+
"exchangerate",
|
|
13
|
+
"exchange rate",
|
|
14
|
+
"ugx-exchange-rate",
|
|
12
15
|
"currency",
|
|
13
16
|
"forex",
|
|
14
17
|
"fx",
|
|
15
18
|
"ugx",
|
|
19
|
+
"currency-api",
|
|
20
|
+
"currency-exchange-rates",
|
|
21
|
+
"forex-api",
|
|
22
|
+
"currency-conversion",
|
|
23
|
+
"currency-exchange",
|
|
24
|
+
"currency-rates",
|
|
16
25
|
"central-bank",
|
|
17
26
|
"official-rates",
|
|
18
|
-
"uganda",
|
|
19
27
|
"api",
|
|
20
28
|
"typescript"
|
|
21
29
|
],
|