@allratestoday/bou-exchange-rate 1.3.7 โ†’ 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.
Files changed (2) hide show
  1. package/README.md +76 -73
  2. package/package.json +11 -3
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
- 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.
40
+ [![Latest Bank of Uganda table](https://allratestoday.com/api/open/central-bank/bou/table.svg)](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-08** by Bank of Uganda โ€” 99 rates, first 60 shown. Updated 2026-10-08.
45
+ Published **2026-10-14** by Bank of Uganda โ€” 99 rates, first 60 shown. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
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 |
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 |
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-08', // Bank of Uganda's own publication date
165
+ rate_date: '2026-10-14', // Bank of Uganda's own publication date
164
166
  source: 'USD',
165
167
  target: 'UGX',
166
- rate: 4050,
168
+ rate: 4130.24,
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-08',
193
+ rate_date: '2026-10-14',
192
194
  rates: [
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 },
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 },
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-08' },
237
+ { source: 'USD', target: 'UGX', from: '2026-01-01', to: '2026-10-14' },
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-08',
250
+ to: '2026-10-14',
249
251
  count: 152,
250
252
  rates: [
251
253
  // one entry per publication date
252
- { date: '2026-10-08', rate: 4050, rate_type: 'reference', derived: false, method: 'published' },
254
+ { date: '2026-10-14', rate: 4130.24, 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
@@ -368,9 +371,9 @@ getRate('USD', 'UGX', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
368
371
 
369
372
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
370
373
 
371
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bou.csv`)
374
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bou.csv`)
372
375
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
373
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bou/latest.json`
376
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bou/latest.json`
374
377
 
375
378
  ## ๐Ÿ”— Links
376
379
 
package/package.json CHANGED
@@ -1,21 +1,29 @@
1
1
  {
2
2
  "name": "@allratestoday/bou-exchange-rate",
3
- "version": "1.3.7",
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
  ],