@allratestoday/bou-exchange-rate 1.3.9 → 1.3.14

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 +73 -73
  2. 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-12** by Bank of Uganda — 99 rates, first 60 shown. Updated 2026-10-12.
45
+ Published **2026-10-16** by Bank of Uganda — 99 rates, first 60 shown. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
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 |
49
+ | AED | UGX | buy | 1101.8569 |
50
+ | AED | UGX | reference | 1103.2483 |
51
+ | AED | UGX | sell | 1104.6398 |
52
+ | AUD | UGX | buy | 2808.5486 |
53
+ | AUD | UGX | reference | 2812.221445 |
54
+ | AUD | UGX | sell | 2815.89429 |
55
+ | BIF | UGX | buy | 1.3449319 |
56
+ | BIF | UGX | reference | 1.3526973 |
57
+ | BIF | UGX | sell | 1.3604628 |
58
+ | CAD | UGX | buy | 2852.7421 |
59
+ | CAD | UGX | reference | 2856.6700406 |
60
+ | CAD | UGX | sell | 2860.5979 |
61
+ | CHF | UGX | buy | 4892.2872 |
62
+ | CHF | UGX | reference | 4899.5181 |
63
+ | CHF | UGX | sell | 4906.7489 |
64
+ | CNY | UGX | buy | 604.963 |
65
+ | CNY | UGX | reference | 605.74671 |
66
+ | CNY | UGX | sell | 606.53042 |
67
+ | DJF | UGX | buy | 22.66536 |
68
+ | DJF | UGX | reference | 22.754133 |
69
+ | DJF | UGX | sell | 22.842905 |
70
+ | DKK | UGX | buy | 607.7065157 |
71
+ | DKK | UGX | reference | 608.50309 |
72
+ | DKK | UGX | sell | 609.29967 |
73
+ | ETB | UGX | buy | 24.582073 |
74
+ | ETB | UGX | reference | 24.858873 |
75
+ | ETB | UGX | sell | 25.135672 |
76
+ | EUR | UGX | buy | 4542.64525 |
77
+ | EUR | UGX | reference | 4548.460595 |
78
+ | EUR | UGX | sell | 4554.27594 |
79
+ | GBP | UGX | buy | 5381.16293 |
80
+ | GBP | UGX | reference | 5388.419965 |
81
+ | GBP | UGX | sell | 5395.677 |
82
+ | INR | UGX | buy | 42.593343 |
83
+ | INR | UGX | reference | 42.648214871 |
84
+ | INR | UGX | sell | 42.703087 |
85
+ | JPY | UGX | buy | 25.623021 |
86
+ | JPY | UGX | reference | 25.657932 |
87
+ | JPY | UGX | sell | 25.692844 |
88
+ | KES | UGX | buy | 31.13 |
89
+ | KES | UGX | reference | 31.21662 |
90
+ | KES | UGX | sell | 31.303241 |
91
+ | KMF | UGX | buy | 9.1724841 |
92
+ | KMF | UGX | reference | 9.204753 |
93
+ | KMF | UGX | sell | 9.2370219 |
94
+ | KRW | UGX | buy | 3.0285954 |
95
+ | KRW | UGX | reference | 3.0326213 |
96
+ | KRW | UGX | sell | 3.0366472552 |
97
+ | KWD | UGX | buy | 13135.021097 |
98
+ | KWD | UGX | reference | 13149.113 |
99
+ | KWD | UGX | sell | 13163.206 |
100
+ | LSL | UGX | buy | 245.57922204 |
101
+ | LSL | UGX | reference | 245.90505 |
102
+ | LSL | UGX | sell | 246.23088 |
103
+ | MUR | UGX | buy | 85.413677 |
104
+ | MUR | UGX | reference | 85.7920125 |
105
+ | MUR | UGX | sell | 86.170348 |
106
+ | MWK | UGX | buy | 2.3120915 |
107
+ | MWK | UGX | reference | 2.3374239534 |
108
+ | MWK | UGX | sell | 2.3627564 |
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-12', // Bank of Uganda's own publication date
165
+ rate_date: '2026-10-14', // Bank of Uganda's own publication date
166
166
  source: 'USD',
167
167
  target: 'UGX',
168
- rate: 4086.19,
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-12',
193
+ rate_date: '2026-10-14',
194
194
  rates: [
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 },
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-12' },
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-12',
250
+ to: '2026-10-14',
251
251
  count: 152,
252
252
  rates: [
253
253
  // one entry per publication date
254
- { date: '2026-10-12', rate: 4086.19, rate_type: 'reference', derived: false, method: 'published' },
254
+ { date: '2026-10-14', rate: 4130.24, rate_type: 'reference', derived: false, method: 'published' },
255
255
  // …
256
256
  ],
257
257
  disclaimer: '…'
@@ -302,7 +302,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bou/latest?format=xml&api_ke
302
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
303
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
304
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`
305
+ - Evaluating? 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 that covers the free-plan methods (latest table, pairs); dated tables and history need a [paid plan](https://allratestoday.com/pricing/). The MCP servers expose it as `request_trial_key`
306
306
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
307
307
 
308
308
  ## ⚖️ Published vs derived rates
@@ -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: [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`)
375
375
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
376
- - 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`
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.9",
3
+ "version": "1.3.14",
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
  ],