@allratestoday/bou-exchange-rate 1.3.5 โ 1.3.7
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 +85 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/bou-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/bou-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/bou/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/bou/)
|
|
7
9
|
|
|
8
10
|
**Official Bank of Uganda (Uganda) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing โ not market estimates, but the numbers Bank of Uganda itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,79 @@ console.log(r.rate_date, r.rates.length); // the central bank's latest published
|
|
|
33
35
|
|
|
34
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, history, and CSV/XML/Excel output.
|
|
35
37
|
|
|
38
|
+
## ๐ Latest published table
|
|
39
|
+
|
|
40
|
+
Today's full Bank of Uganda table, straight from the central bank's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the central bank publishes a new table; the copy on npm is as of the package's publish date.
|
|
41
|
+
|
|
42
|
+
<!-- daily-table:start -->
|
|
43
|
+
Published **2026-10-08** by Bank of Uganda โ 99 rates, first 60 shown. Updated 2026-10-08.
|
|
44
|
+
|
|
45
|
+
| Base | Quote | Type | Rate |
|
|
46
|
+
| --- | --- | --- | ---: |
|
|
47
|
+
| AED | UGX | buy | 1101.3396 |
|
|
48
|
+
| AED | UGX | reference | 1102.731 |
|
|
49
|
+
| AED | UGX | sell | 1104.1224 |
|
|
50
|
+
| AUD | UGX | buy | 2810.466 |
|
|
51
|
+
| AUD | UGX | reference | 2814.14275 |
|
|
52
|
+
| AUD | UGX | sell | 2817.8195 |
|
|
53
|
+
| BIF | UGX | buy | 1.343952 |
|
|
54
|
+
| BIF | UGX | reference | 1.3510281 |
|
|
55
|
+
| BIF | UGX | sell | 1.3581041 |
|
|
56
|
+
| CAD | UGX | buy | 2834.4195 |
|
|
57
|
+
| CAD | UGX | reference | 2838.3214 |
|
|
58
|
+
| CAD | UGX | sell | 2842.2233 |
|
|
59
|
+
| CHF | UGX | buy | 4851.8652 |
|
|
60
|
+
| CHF | UGX | reference | 4858.738 |
|
|
61
|
+
| CHF | UGX | sell | 4865.6108 |
|
|
62
|
+
| CNY | UGX | buy | 603.47914 |
|
|
63
|
+
| CNY | UGX | reference | 604.22961 |
|
|
64
|
+
| CNY | UGX | sell | 604.98008 |
|
|
65
|
+
| DJF | UGX | buy | 22.654719 |
|
|
66
|
+
| DJF | UGX | reference | 22.743463 |
|
|
67
|
+
| DJF | UGX | sell | 22.832207 |
|
|
68
|
+
| DKK | UGX | buy | 605.70214 |
|
|
69
|
+
| DKK | UGX | reference | 606.45539 |
|
|
70
|
+
| DKK | UGX | sell | 607.20864 |
|
|
71
|
+
| ETB | UGX | buy | 24.652503 |
|
|
72
|
+
| ETB | UGX | reference | 24.930113 |
|
|
73
|
+
| ETB | UGX | sell | 25.207723 |
|
|
74
|
+
| EUR | UGX | buy | 4526.7595 |
|
|
75
|
+
| EUR | UGX | reference | 4532.7605 |
|
|
76
|
+
| EUR | UGX | sell | 4538.7615 |
|
|
77
|
+
| GBP | UGX | buy | 5336.973 |
|
|
78
|
+
| GBP | UGX | reference | 5344.1783 |
|
|
79
|
+
| GBP | UGX | sell | 5351.3835 |
|
|
80
|
+
| INR | UGX | buy | 41.797985 |
|
|
81
|
+
| INR | UGX | reference | 41.851816 |
|
|
82
|
+
| INR | UGX | sell | 41.905648 |
|
|
83
|
+
| JPY | UGX | buy | 25.567284 |
|
|
84
|
+
| JPY | UGX | reference | 25.602939 |
|
|
85
|
+
| JPY | UGX | sell | 25.638594 |
|
|
86
|
+
| KES | UGX | buy | 31.139338 |
|
|
87
|
+
| KES | UGX | reference | 31.22604 |
|
|
88
|
+
| KES | UGX | sell | 31.312741 |
|
|
89
|
+
| KMF | UGX | buy | 9.1536547 |
|
|
90
|
+
| KMF | UGX | reference | 9.1858294 |
|
|
91
|
+
| KMF | UGX | sell | 9.2180041 |
|
|
92
|
+
| KRW | UGX | buy | 3.0220396 |
|
|
93
|
+
| KRW | UGX | reference | 3.0262279 |
|
|
94
|
+
| KRW | UGX | sell | 3.0304163 |
|
|
95
|
+
| KWD | UGX | buy | 13128.854 |
|
|
96
|
+
| KWD | UGX | reference | 13142.948 |
|
|
97
|
+
| KWD | UGX | sell | 13157.041 |
|
|
98
|
+
| LSL | UGX | buy | 242.87147 |
|
|
99
|
+
| LSL | UGX | reference | 243.19288 |
|
|
100
|
+
| LSL | UGX | sell | 243.51429 |
|
|
101
|
+
| MUR | UGX | buy | 84.854206 |
|
|
102
|
+
| MUR | UGX | reference | 85.228454 |
|
|
103
|
+
| MUR | UGX | sell | 85.602702 |
|
|
104
|
+
| MWK | UGX | buy | 2.3101085 |
|
|
105
|
+
| MWK | UGX | reference | 2.3361268 |
|
|
106
|
+
| MWK | UGX | sell | 2.3621451 |
|
|
107
|
+
|
|
108
|
+
[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.
|
|
109
|
+
<!-- daily-table:end -->
|
|
110
|
+
|
|
36
111
|
## ๐ Get your API key
|
|
37
112
|
|
|
38
113
|
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.
|
|
@@ -85,10 +160,10 @@ const pair = await getRate('USD', 'UGX', { apiKey: 'art_live_...' });
|
|
|
85
160
|
{
|
|
86
161
|
bank: 'bou',
|
|
87
162
|
name: 'Bank of Uganda',
|
|
88
|
-
rate_date: '2026-10-
|
|
163
|
+
rate_date: '2026-10-08', // Bank of Uganda's own publication date
|
|
89
164
|
source: 'USD',
|
|
90
165
|
target: 'UGX',
|
|
91
|
-
rate:
|
|
166
|
+
rate: 4050,
|
|
92
167
|
rate_type: 'reference',
|
|
93
168
|
derived: false,
|
|
94
169
|
method: 'published',
|
|
@@ -113,11 +188,11 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
188
|
{
|
|
114
189
|
bank: 'bou',
|
|
115
190
|
name: 'Bank of Uganda',
|
|
116
|
-
rate_date: '2026-10-
|
|
191
|
+
rate_date: '2026-10-08',
|
|
117
192
|
rates: [
|
|
118
|
-
{ "base": "USD", "quote": "UGX", "type": "reference", "value":
|
|
119
|
-
{ "base": "USD", "quote": "UGX", "type": "sell", "value":
|
|
120
|
-
{ "base": "USD", "quote": "UGX", "type": "buy", "value":
|
|
193
|
+
{ "base": "USD", "quote": "UGX", "type": "reference", "value": 4050 },
|
|
194
|
+
{ "base": "USD", "quote": "UGX", "type": "sell", "value": 4055 },
|
|
195
|
+
{ "base": "USD", "quote": "UGX", "type": "buy", "value": 4045 },
|
|
121
196
|
// โฆ the rest of the published table (33 currencies vs UGX)
|
|
122
197
|
],
|
|
123
198
|
disclaimer: 'โฆ'
|
|
@@ -157,7 +232,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
157
232
|
import { getHistory } from '@allratestoday/bou-exchange-rate';
|
|
158
233
|
|
|
159
234
|
const series = await getHistory(
|
|
160
|
-
{ source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-
|
|
235
|
+
{ source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-08' },
|
|
161
236
|
{ apiKey: 'art_live_...' }
|
|
162
237
|
);
|
|
163
238
|
```
|
|
@@ -170,11 +245,11 @@ const series = await getHistory(
|
|
|
170
245
|
source: 'USD',
|
|
171
246
|
target: 'UGX',
|
|
172
247
|
from: '2026-01-01',
|
|
173
|
-
to: '2026-10-
|
|
248
|
+
to: '2026-10-08',
|
|
174
249
|
count: 152,
|
|
175
250
|
rates: [
|
|
176
251
|
// one entry per publication date
|
|
177
|
-
{ date: '2026-10-
|
|
252
|
+
{ date: '2026-10-08', rate: 4050, rate_type: 'reference', derived: false, method: 'published' },
|
|
178
253
|
// โฆ
|
|
179
254
|
],
|
|
180
255
|
disclaimer: 'โฆ'
|
|
@@ -224,6 +299,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bou/latest?format=xml&api_ke
|
|
|
224
299
|
|
|
225
300
|
- 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
|
|
226
301
|
- 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('bou')` 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
|
|
302
|
+
- 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 bou ...` command
|
|
227
303
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
228
304
|
|
|
229
305
|
## โ๏ธ Published vs derived rates
|
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.7",
|
|
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",
|