@allratestoday/bou-exchange-rate 1.3.7 โ 1.3.9
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 +74 -71
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,73 +37,75 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
37
37
|
|
|
38
38
|
## ๐ Latest published table
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
[](https://allratestoday.com/central-bank-rates-api/bou/)
|
|
41
|
+
|
|
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.
|
|
41
43
|
|
|
42
44
|
<!-- daily-table:start -->
|
|
43
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-12** by Bank of Uganda โ 99 rates, first 60 shown. Updated 2026-10-12.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
|
-
| AED | UGX | buy |
|
|
48
|
-
| AED | UGX | reference |
|
|
49
|
-
| AED | UGX | sell |
|
|
50
|
-
| AUD | UGX | buy |
|
|
51
|
-
| AUD | UGX | reference |
|
|
52
|
-
| AUD | UGX | sell |
|
|
53
|
-
| BIF | UGX | buy | 1.
|
|
54
|
-
| BIF | UGX | reference | 1.
|
|
55
|
-
| BIF | UGX | sell | 1.
|
|
56
|
-
| CAD | UGX | buy |
|
|
57
|
-
| CAD | UGX | reference |
|
|
58
|
-
| CAD | UGX | sell |
|
|
59
|
-
| CHF | UGX | buy |
|
|
60
|
-
| CHF | UGX | reference |
|
|
61
|
-
| CHF | UGX | sell |
|
|
62
|
-
| CNY | UGX | buy |
|
|
63
|
-
| CNY | UGX | reference |
|
|
64
|
-
| CNY | UGX | sell |
|
|
65
|
-
| DJF | UGX | buy | 22.
|
|
66
|
-
| DJF | UGX | reference | 22.
|
|
67
|
-
| DJF | UGX | sell |
|
|
68
|
-
| DKK | UGX | buy |
|
|
69
|
-
| DKK | UGX | reference |
|
|
70
|
-
| DKK | UGX | sell |
|
|
71
|
-
| ETB | UGX | buy | 24.
|
|
72
|
-
| ETB | UGX | reference |
|
|
73
|
-
| ETB | UGX | sell | 25.
|
|
74
|
-
| EUR | UGX | buy |
|
|
75
|
-
| EUR | UGX | reference |
|
|
76
|
-
| EUR | UGX | sell |
|
|
77
|
-
| GBP | UGX | buy |
|
|
78
|
-
| GBP | UGX | reference |
|
|
79
|
-
| GBP | UGX | sell |
|
|
80
|
-
| INR | UGX | buy |
|
|
81
|
-
| INR | UGX | reference |
|
|
82
|
-
| INR | UGX | sell |
|
|
83
|
-
| JPY | UGX | buy | 25.
|
|
84
|
-
| JPY | UGX | reference | 25.
|
|
85
|
-
| JPY | UGX | sell | 25.
|
|
86
|
-
| KES | UGX | buy | 31.
|
|
87
|
-
| KES | UGX | reference | 31.
|
|
88
|
-
| KES | UGX | sell | 31.
|
|
89
|
-
| KMF | UGX | buy | 9.
|
|
90
|
-
| KMF | UGX | reference | 9.
|
|
91
|
-
| KMF | UGX | sell | 9.
|
|
92
|
-
| KRW | UGX | buy | 3.
|
|
93
|
-
| KRW | UGX | reference | 3.
|
|
94
|
-
| KRW | UGX | sell | 3.
|
|
95
|
-
| KWD | UGX | buy |
|
|
96
|
-
| KWD | UGX | reference |
|
|
97
|
-
| KWD | UGX | sell |
|
|
98
|
-
| LSL | UGX | buy |
|
|
99
|
-
| LSL | UGX | reference |
|
|
100
|
-
| LSL | UGX | sell |
|
|
101
|
-
| MUR | UGX | buy |
|
|
102
|
-
| MUR | UGX | reference | 85.
|
|
103
|
-
| MUR | UGX | sell |
|
|
104
|
-
| MWK | UGX | buy | 2.
|
|
105
|
-
| MWK | UGX | reference | 2.
|
|
106
|
-
| MWK | UGX | sell | 2.
|
|
49
|
+
| AED | UGX | buy | 1111.0721 |
|
|
50
|
+
| AED | UGX | reference | 1112.4788 |
|
|
51
|
+
| AED | UGX | sell | 1113.8855 |
|
|
52
|
+
| AUD | UGX | buy | 2849.486858 |
|
|
53
|
+
| AUD | UGX | reference | 2853.386977 |
|
|
54
|
+
| AUD | UGX | sell | 2857.287096 |
|
|
55
|
+
| BIF | UGX | buy | 1.3575684 |
|
|
56
|
+
| BIF | UGX | reference | 1.3657442 |
|
|
57
|
+
| BIF | UGX | sell | 1.3739199 |
|
|
58
|
+
| CAD | UGX | buy | 2865.1994 |
|
|
59
|
+
| CAD | UGX | reference | 2869.0122 |
|
|
60
|
+
| CAD | UGX | sell | 2872.8249 |
|
|
61
|
+
| CHF | UGX | buy | 4913.5444 |
|
|
62
|
+
| CHF | UGX | reference | 4921.0476 |
|
|
63
|
+
| CHF | UGX | sell | 4928.5508 |
|
|
64
|
+
| CNY | UGX | buy | 609.83369 |
|
|
65
|
+
| CNY | UGX | reference | 610.59452 |
|
|
66
|
+
| CNY | UGX | sell | 611.35535 |
|
|
67
|
+
| DJF | UGX | buy | 22.857407 |
|
|
68
|
+
| DJF | UGX | reference | 22.946693 |
|
|
69
|
+
| DJF | UGX | sell | 23.03598 |
|
|
70
|
+
| DKK | UGX | buy | 611.86339 |
|
|
71
|
+
| DKK | UGX | reference | 612.69119 |
|
|
72
|
+
| DKK | UGX | sell | 613.51899 |
|
|
73
|
+
| ETB | UGX | buy | 24.865382 |
|
|
74
|
+
| ETB | UGX | reference | 25.145112 |
|
|
75
|
+
| ETB | UGX | sell | 25.424841 |
|
|
76
|
+
| EUR | UGX | buy | 4573.789633 |
|
|
77
|
+
| EUR | UGX | reference | 4579.802252 |
|
|
78
|
+
| EUR | UGX | sell | 4585.8149 |
|
|
79
|
+
| GBP | UGX | buy | 5409.209226 |
|
|
80
|
+
| GBP | UGX | reference | 5416.4499045 |
|
|
81
|
+
| GBP | UGX | sell | 5423.6906 |
|
|
82
|
+
| INR | UGX | buy | 42.622281 |
|
|
83
|
+
| INR | UGX | reference | 42.676731 |
|
|
84
|
+
| INR | UGX | sell | 42.73118 |
|
|
85
|
+
| JPY | UGX | buy | 25.768342 |
|
|
86
|
+
| JPY | UGX | reference | 25.800727 |
|
|
87
|
+
| JPY | UGX | sell | 25.833112 |
|
|
88
|
+
| KES | UGX | buy | 31.417937 |
|
|
89
|
+
| KES | UGX | reference | 31.480711 |
|
|
90
|
+
| KES | UGX | sell | 31.543485 |
|
|
91
|
+
| KMF | UGX | buy | 9.2451749 |
|
|
92
|
+
| KMF | UGX | reference | 9.2775915 |
|
|
93
|
+
| KMF | UGX | sell | 9.3100082 |
|
|
94
|
+
| KRW | UGX | buy | 3.062462 |
|
|
95
|
+
| KRW | UGX | reference | 3.0663291 |
|
|
96
|
+
| KRW | UGX | sell | 3.0701962 |
|
|
97
|
+
| KWD | UGX | buy | 13246.316 |
|
|
98
|
+
| KWD | UGX | reference | 13260.39 |
|
|
99
|
+
| KWD | UGX | sell | 13274.465 |
|
|
100
|
+
| LSL | UGX | buy | 247.33136 |
|
|
101
|
+
| LSL | UGX | reference | 247.82625 |
|
|
102
|
+
| LSL | UGX | sell | 248.32113 |
|
|
103
|
+
| MUR | UGX | buy | 85.595428 |
|
|
104
|
+
| MUR | UGX | reference | 85.971944 |
|
|
105
|
+
| MUR | UGX | sell | 86.348459 |
|
|
106
|
+
| MWK | UGX | buy | 2.3307767 |
|
|
107
|
+
| MWK | UGX | reference | 2.3567658 |
|
|
108
|
+
| MWK | UGX | sell | 2.3827548 |
|
|
107
109
|
|
|
108
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.
|
|
109
111
|
<!-- daily-table:end -->
|
|
@@ -160,10 +162,10 @@ const pair = await getRate('USD', 'UGX', { apiKey: 'art_live_...' });
|
|
|
160
162
|
{
|
|
161
163
|
bank: 'bou',
|
|
162
164
|
name: 'Bank of Uganda',
|
|
163
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-12', // Bank of Uganda's own publication date
|
|
164
166
|
source: 'USD',
|
|
165
167
|
target: 'UGX',
|
|
166
|
-
rate:
|
|
168
|
+
rate: 4086.19,
|
|
167
169
|
rate_type: 'reference',
|
|
168
170
|
derived: false,
|
|
169
171
|
method: 'published',
|
|
@@ -188,11 +190,11 @@ console.log(table.rate_date, table.rates.length);
|
|
|
188
190
|
{
|
|
189
191
|
bank: 'bou',
|
|
190
192
|
name: 'Bank of Uganda',
|
|
191
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-12',
|
|
192
194
|
rates: [
|
|
193
|
-
{ "base": "USD", "quote": "UGX", "type": "reference", "value":
|
|
194
|
-
{ "base": "USD", "quote": "UGX", "type": "sell", "value":
|
|
195
|
-
{ "base": "USD", "quote": "UGX", "type": "buy", "value":
|
|
195
|
+
{ "base": "USD", "quote": "UGX", "type": "reference", "value": 4086.19 },
|
|
196
|
+
{ "base": "USD", "quote": "UGX", "type": "sell", "value": 4091.19 },
|
|
197
|
+
{ "base": "USD", "quote": "UGX", "type": "buy", "value": 4081.19 },
|
|
196
198
|
// โฆ the rest of the published table (33 currencies vs UGX)
|
|
197
199
|
],
|
|
198
200
|
disclaimer: 'โฆ'
|
|
@@ -232,7 +234,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
232
234
|
import { getHistory } from '@allratestoday/bou-exchange-rate';
|
|
233
235
|
|
|
234
236
|
const series = await getHistory(
|
|
235
|
-
{ source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-
|
|
237
|
+
{ source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-12' },
|
|
236
238
|
{ apiKey: 'art_live_...' }
|
|
237
239
|
);
|
|
238
240
|
```
|
|
@@ -245,11 +247,11 @@ const series = await getHistory(
|
|
|
245
247
|
source: 'USD',
|
|
246
248
|
target: 'UGX',
|
|
247
249
|
from: '2026-01-01',
|
|
248
|
-
to: '2026-10-
|
|
250
|
+
to: '2026-10-12',
|
|
249
251
|
count: 152,
|
|
250
252
|
rates: [
|
|
251
253
|
// one entry per publication date
|
|
252
|
-
{ date: '2026-10-
|
|
254
|
+
{ date: '2026-10-12', rate: 4086.19, rate_type: 'reference', derived: false, method: 'published' },
|
|
253
255
|
// โฆ
|
|
254
256
|
],
|
|
255
257
|
disclaimer: 'โฆ'
|
|
@@ -300,6 +302,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bou/latest?format=xml&api_ke
|
|
|
300
302
|
- 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
|
|
301
303
|
- 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
304
|
- 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
|
|
305
|
+
- Need dated tables or history for an evaluation? Agents can self-issue a trial key with no signup: `POST https://allratestoday.com/api/agent/keys` (send `Content-Type: application/json`) returns a 100-call key valid 7 days; the MCP servers expose it as `request_trial_key`
|
|
303
306
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
304
307
|
|
|
305
308
|
## โ๏ธ 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.9",
|
|
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",
|