@allratestoday/bcu-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 +75 -72
  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 Central Bank of Uruguay 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 Central Bank of Uruguay table](https://allratestoday.com/api/open/central-bank/bcu/table.svg)](https://allratestoday.com/central-bank-rates-api/bcu/)
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 Central Bank of Uruguay โ€” 60 rates. Updated 2026-10-08.
45
+ Published **2026-10-13** by Central Bank of Uruguay โ€” 60 rates. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | ARS | UYU | buy | 0.026517 |
48
- | ARS | UYU | sell | 0.026517 |
49
- | AUD | UYU | buy | 27.970076 |
50
- | AUD | UYU | sell | 27.970076 |
51
- | BRL | UYU | buy | 8.010439 |
52
- | BRL | UYU | sell | 8.010439 |
53
- | CAD | UYU | buy | 28.269123 |
54
- | CAD | UYU | sell | 28.269123 |
55
- | CHF | UYU | buy | 48.364205 |
56
- | CHF | UYU | sell | 48.364205 |
57
- | CLP | UYU | buy | 0.041089 |
58
- | CLP | UYU | sell | 0.041089 |
59
- | CNY | UYU | buy | 5.998717 |
60
- | CNY | UYU | sell | 5.998717 |
61
- | COP | UYU | buy | 0.012495 |
62
- | COP | UYU | sell | 0.012495 |
63
- | DKK | UYU | buy | 6.030204 |
64
- | DKK | UYU | sell | 6.030204 |
65
- | EUR | UYU | buy | 45.071389 |
66
- | EUR | UYU | sell | 45.071389 |
67
- | GBP | UYU | buy | 53.177725 |
68
- | GBP | UYU | sell | 53.177725 |
69
- | HKD | UYU | buy | 5.123664 |
70
- | HKD | UYU | sell | 5.123664 |
71
- | HUF | UYU | buy | 0.123374 |
72
- | HUF | UYU | sell | 0.123374 |
73
- | INR | UYU | buy | 0.415468 |
74
- | INR | UYU | sell | 0.415468 |
75
- | ISK | UYU | buy | 0.329185 |
76
- | ISK | UYU | sell | 0.329185 |
77
- | JPY | UYU | buy | 0.254752 |
78
- | JPY | UYU | sell | 0.254752 |
79
- | KRW | UYU | buy | 0.029965 |
80
- | KRW | UYU | sell | 0.029965 |
81
- | MXN | UYU | buy | 2.207897 |
82
- | MXN | UYU | sell | 2.207897 |
83
- | MYR | UYU | buy | 9.8337 |
84
- | MYR | UYU | sell | 9.8337 |
85
- | NOK | UYU | buy | 4.204044 |
86
- | NOK | UYU | sell | 4.204044 |
87
- | NZD | UYU | buy | 22.529663 |
88
- | NZD | UYU | sell | 22.529663 |
89
- | PEN | UYU | buy | 11.67165 |
90
- | PEN | UYU | sell | 11.67165 |
91
- | PYG | UYU | buy | 0.007063 |
92
- | PYG | UYU | sell | 0.007063 |
93
- | RUB | UYU | buy | 0.470859 |
94
- | RUB | UYU | sell | 0.470859 |
95
- | SEK | UYU | buy | 4.031603 |
96
- | SEK | UYU | sell | 4.031603 |
97
- | TRY | UYU | buy | 0.81712 |
98
- | TRY | UYU | sell | 0.81712 |
99
- | USD | UYU | buy | 40.21 |
100
- | USD | UYU | sell | 40.21 |
101
- | VES | UYU | buy | 0.046101 |
102
- | VES | UYU | sell | 0.046101 |
103
- | XDR | UYU | buy | 54.357486 |
104
- | XDR | UYU | sell | 54.357486 |
105
- | ZAR | UYU | buy | 2.421166 |
106
- | ZAR | UYU | sell | 2.421166 |
49
+ | ARS | UYU | buy | 0.026573 |
50
+ | ARS | UYU | sell | 0.026573 |
51
+ | AUD | UYU | buy | 28.0797 |
52
+ | AUD | UYU | sell | 28.0797 |
53
+ | BRL | UYU | buy | 8.006054 |
54
+ | BRL | UYU | sell | 8.006054 |
55
+ | CAD | UYU | buy | 28.279986 |
56
+ | CAD | UYU | sell | 28.279986 |
57
+ | CHF | UYU | buy | 48.294089 |
58
+ | CHF | UYU | sell | 48.294089 |
59
+ | CLP | UYU | buy | 0.040933 |
60
+ | CLP | UYU | sell | 0.040933 |
61
+ | CNY | UYU | buy | 6.007173 |
62
+ | CNY | UYU | sell | 6.007173 |
63
+ | COP | UYU | buy | 0.012629 |
64
+ | COP | UYU | sell | 0.012629 |
65
+ | DKK | UYU | buy | 6.024187 |
66
+ | DKK | UYU | sell | 6.024187 |
67
+ | EUR | UYU | buy | 45.02802 |
68
+ | EUR | UYU | sell | 45.02802 |
69
+ | GBP | UYU | buy | 53.29314 |
70
+ | GBP | UYU | sell | 53.29314 |
71
+ | HKD | UYU | buy | 5.122259 |
72
+ | HKD | UYU | sell | 5.122259 |
73
+ | HUF | UYU | buy | 0.123856 |
74
+ | HUF | UYU | sell | 0.123856 |
75
+ | INR | UYU | buy | 0.421925 |
76
+ | INR | UYU | sell | 0.421925 |
77
+ | ISK | UYU | buy | 0.330674 |
78
+ | ISK | UYU | sell | 0.330674 |
79
+ | JPY | UYU | buy | 0.253948 |
80
+ | JPY | UYU | sell | 0.253948 |
81
+ | KRW | UYU | buy | 0.02998 |
82
+ | KRW | UYU | sell | 0.02998 |
83
+ | MXN | UYU | buy | 2.19033 |
84
+ | MXN | UYU | sell | 2.19033 |
85
+ | MYR | UYU | buy | 9.844496 |
86
+ | MYR | UYU | sell | 9.844496 |
87
+ | NOK | UYU | buy | 4.224597 |
88
+ | NOK | UYU | sell | 4.224597 |
89
+ | NZD | UYU | buy | 22.56828 |
90
+ | NZD | UYU | sell | 22.56828 |
91
+ | PEN | UYU | buy | 11.706465 |
92
+ | PEN | UYU | sell | 11.706465 |
93
+ | PYG | UYU | buy | 0.007059 |
94
+ | PYG | UYU | sell | 0.007059 |
95
+ | RUB | UYU | buy | 0.475968 |
96
+ | RUB | UYU | sell | 0.475968 |
97
+ | SEK | UYU | buy | 4.036388 |
98
+ | SEK | UYU | sell | 4.036388 |
99
+ | TRY | UYU | buy | 0.814403 |
100
+ | TRY | UYU | sell | 0.814403 |
101
+ | USD | UYU | buy | 40.2 |
102
+ | USD | UYU | sell | 40.2 |
103
+ | VES | UYU | buy | 0.046303 |
104
+ | VES | UYU | sell | 0.046303 |
105
+ | XDR | UYU | buy | 54.375324 |
106
+ | XDR | UYU | sell | 54.375324 |
107
+ | ZAR | UYU | buy | 2.439024 |
108
+ | ZAR | UYU | sell | 2.439024 |
107
109
 
108
110
  Source: [Official rates published by BCU, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bcu/). 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', 'UYU', { apiKey: 'art_live_...' });
160
162
  {
161
163
  bank: 'bcu',
162
164
  name: 'Central Bank of Uruguay',
163
- rate_date: '2026-10-08', // Central Bank of Uruguay's own publication date
165
+ rate_date: '2026-10-13', // Central Bank of Uruguay's own publication date
164
166
  source: 'USD',
165
167
  target: 'UYU',
166
- rate: 40.21,
168
+ rate: 40.2,
167
169
  rate_type: 'sell',
168
170
  derived: false,
169
171
  method: 'published',
@@ -188,10 +190,10 @@ console.log(table.rate_date, table.rates.length);
188
190
  {
189
191
  bank: 'bcu',
190
192
  name: 'Central Bank of Uruguay',
191
- rate_date: '2026-10-08',
193
+ rate_date: '2026-10-13',
192
194
  rates: [
193
- { "base": "USD", "quote": "UYU", "type": "sell", "value": 40.21 },
194
- { "base": "USD", "quote": "UYU", "type": "buy", "value": 40.21 },
195
+ { "base": "USD", "quote": "UYU", "type": "sell", "value": 40.2 },
196
+ { "base": "USD", "quote": "UYU", "type": "buy", "value": 40.2 },
195
197
  // โ€ฆ the rest of the published table (30 currencies vs UYU)
196
198
  ],
197
199
  disclaimer: 'โ€ฆ'
@@ -231,7 +233,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
231
233
  import { getHistory } from '@allratestoday/bcu-exchange-rate';
232
234
 
233
235
  const series = await getHistory(
234
- { source: 'USD', target: 'UYU', from: '2026-01-01', to: '2026-10-08' },
236
+ { source: 'USD', target: 'UYU', from: '2026-01-01', to: '2026-10-13' },
235
237
  { apiKey: 'art_live_...' }
236
238
  );
237
239
  ```
@@ -244,11 +246,11 @@ const series = await getHistory(
244
246
  source: 'USD',
245
247
  target: 'UYU',
246
248
  from: '2026-01-01',
247
- to: '2026-10-08',
249
+ to: '2026-10-13',
248
250
  count: 152,
249
251
  rates: [
250
252
  // one entry per publication date
251
- { date: '2026-10-08', rate: 40.21, rate_type: 'sell', derived: false, method: 'published' },
253
+ { date: '2026-10-13', rate: 40.2, rate_type: 'sell', derived: false, method: 'published' },
252
254
  // โ€ฆ
253
255
  ],
254
256
  disclaimer: 'โ€ฆ'
@@ -298,6 +300,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcu/latest?format=xml&api_ke
298
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
299
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('bcu')` 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
300
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 bcu ...` command
303
+ - 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`
301
304
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
302
305
 
303
306
  ## โš–๏ธ Published vs derived rates
@@ -366,9 +369,9 @@ getRate('USD', 'UYU', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
366
369
 
367
370
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
368
371
 
369
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bcu.csv`)
372
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bcu.csv`)
370
373
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
371
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bcu/latest.json`
374
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bcu/latest.json`
372
375
 
373
376
  ## ๐Ÿ”— Links
374
377
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/bcu-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.13",
4
4
  "description": "Official Central Bank of Uruguay (Uruguay) daily exchange rates โ€” 30 currencies vs UYU, history since 2000. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "bcu",
7
+ "central-bank-of-uruguay",
7
8
  "central",
8
9
  "bank",
9
- "of",
10
10
  "uruguay",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "uyu-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "uyu",
20
+ "currency-api",
21
+ "currency-exchange-rates",
22
+ "forex-api",
23
+ "currency-conversion",
24
+ "currency-exchange",
25
+ "currency-rates",
17
26
  "central-bank",
18
27
  "official-rates",
19
- "uruguay",
20
28
  "api",
21
29
  "typescript"
22
30
  ],