@allratestoday/bcu-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 +72 -72
  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-09** by Central Bank of Uruguay — 60 rates. Updated 2026-10-12.
45
+ Published **2026-10-16** by Central Bank of Uruguay — 60 rates. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | ARS | UYU | buy | 0.026506 |
50
- | ARS | UYU | sell | 0.026506 |
51
- | AUD | UYU | buy | 28.064506 |
52
- | AUD | UYU | sell | 28.064506 |
53
- | BRL | UYU | buy | 8.062924 |
54
- | BRL | UYU | sell | 8.062924 |
55
- | CAD | UYU | buy | 28.169646 |
56
- | CAD | UYU | sell | 28.169646 |
57
- | CHF | UYU | buy | 48.426127 |
58
- | CHF | UYU | sell | 48.426127 |
59
- | CLP | UYU | buy | 0.041116 |
60
- | CLP | UYU | sell | 0.041116 |
61
- | CNY | UYU | buy | 6.004333 |
62
- | CNY | UYU | sell | 6.004333 |
63
- | COP | UYU | buy | 0.012604 |
64
- | COP | UYU | sell | 0.012604 |
65
- | DKK | UYU | buy | 6.022511 |
66
- | DKK | UYU | sell | 6.022511 |
67
- | EUR | UYU | buy | 45.014117 |
68
- | EUR | UYU | sell | 45.014117 |
69
- | GBP | UYU | buy | 53.203616 |
70
- | GBP | UYU | sell | 53.203616 |
71
- | HKD | UYU | buy | 5.120285 |
72
- | HKD | UYU | sell | 5.120285 |
73
- | HUF | UYU | buy | 0.123411 |
74
- | HUF | UYU | sell | 0.123411 |
75
- | INR | UYU | buy | 0.415424 |
76
- | INR | UYU | sell | 0.415424 |
77
- | ISK | UYU | buy | 0.329026 |
78
- | ISK | UYU | sell | 0.329026 |
79
- | JPY | UYU | buy | 0.253992 |
80
- | JPY | UYU | sell | 0.253992 |
81
- | KRW | UYU | buy | 0.029968 |
82
- | KRW | UYU | sell | 0.029968 |
83
- | MXN | UYU | buy | 2.17998 |
84
- | MXN | UYU | sell | 2.17998 |
85
- | MYR | UYU | buy | 9.842988 |
86
- | MYR | UYU | sell | 9.842988 |
87
- | NOK | UYU | buy | 4.203479 |
88
- | NOK | UYU | sell | 4.203479 |
89
- | NZD | UYU | buy | 22.559298 |
90
- | NZD | UYU | sell | 22.559298 |
91
- | PEN | UYU | buy | 11.671217 |
92
- | PEN | UYU | sell | 11.671217 |
93
- | PYG | UYU | buy | 0.007076 |
94
- | PYG | UYU | sell | 0.007076 |
95
- | RUB | UYU | buy | 0.470153 |
96
- | RUB | UYU | sell | 0.470153 |
97
- | SEK | UYU | buy | 4.022543 |
98
- | SEK | UYU | sell | 4.022543 |
99
- | TRY | UYU | buy | 0.814459 |
100
- | TRY | UYU | sell | 0.814459 |
101
- | USD | UYU | buy | 40.184 |
102
- | USD | UYU | sell | 40.184 |
103
- | VES | UYU | buy | 0.046025 |
104
- | VES | UYU | sell | 0.046025 |
105
- | XDR | UYU | buy | 54.3794 |
106
- | XDR | UYU | sell | 54.3794 |
107
- | ZAR | UYU | buy | 2.434538 |
108
- | ZAR | UYU | sell | 2.434538 |
49
+ | ARS | UYU | buy | 0.026426 |
50
+ | ARS | UYU | sell | 0.026426 |
51
+ | AUD | UYU | buy | 27.827318 |
52
+ | AUD | UYU | sell | 27.827318 |
53
+ | BRL | UYU | buy | 7.900575 |
54
+ | BRL | UYU | sell | 7.900575 |
55
+ | CAD | UYU | buy | 28.333098 |
56
+ | CAD | UYU | sell | 28.333098 |
57
+ | CHF | UYU | buy | 48.655503 |
58
+ | CHF | UYU | sell | 48.655503 |
59
+ | CLP | UYU | buy | 0.040741 |
60
+ | CLP | UYU | sell | 0.040741 |
61
+ | CNY | UYU | buy | 5.997158 |
62
+ | CNY | UYU | sell | 5.997158 |
63
+ | COP | UYU | buy | 0.012637 |
64
+ | COP | UYU | sell | 0.012637 |
65
+ | DKK | UYU | buy | 6.025728 |
66
+ | DKK | UYU | sell | 6.025728 |
67
+ | EUR | UYU | buy | 45.04096 |
68
+ | EUR | UYU | sell | 45.04096 |
69
+ | GBP | UYU | buy | 53.409204 |
70
+ | GBP | UYU | sell | 53.409204 |
71
+ | HKD | UYU | buy | 5.10933 |
72
+ | HKD | UYU | sell | 5.10933 |
73
+ | HUF | UYU | buy | 0.123959 |
74
+ | HUF | UYU | sell | 0.123959 |
75
+ | INR | UYU | buy | 0.422296 |
76
+ | INR | UYU | sell | 0.422296 |
77
+ | ISK | UYU | buy | 0.330861 |
78
+ | ISK | UYU | sell | 0.330861 |
79
+ | JPY | UYU | buy | 0.253714 |
80
+ | JPY | UYU | sell | 0.253714 |
81
+ | KRW | UYU | buy | 0.030042 |
82
+ | KRW | UYU | sell | 0.030042 |
83
+ | MXN | UYU | buy | 2.16893 |
84
+ | MXN | UYU | sell | 2.16893 |
85
+ | MYR | UYU | buy | 9.830105 |
86
+ | MYR | UYU | sell | 9.830105 |
87
+ | NOK | UYU | buy | 4.250851 |
88
+ | NOK | UYU | sell | 4.250851 |
89
+ | NZD | UYU | buy | 22.646786 |
90
+ | NZD | UYU | sell | 22.646786 |
91
+ | PEN | UYU | buy | 11.666958 |
92
+ | PEN | UYU | sell | 11.666958 |
93
+ | PYG | UYU | buy | 0.006982 |
94
+ | PYG | UYU | sell | 0.006982 |
95
+ | RUB | UYU | buy | 0.476753 |
96
+ | RUB | UYU | sell | 0.476753 |
97
+ | SEK | UYU | buy | 4.042933 |
98
+ | SEK | UYU | sell | 4.042933 |
99
+ | TRY | UYU | buy | 0.80972 |
100
+ | TRY | UYU | sell | 0.80972 |
101
+ | USD | UYU | buy | 40.097 |
102
+ | USD | UYU | sell | 40.097 |
103
+ | VES | UYU | buy | 0.045683 |
104
+ | VES | UYU | sell | 0.045683 |
105
+ | XDR | UYU | buy | 54.389977 |
106
+ | XDR | UYU | sell | 54.389977 |
107
+ | ZAR | UYU | buy | 2.432746 |
108
+ | ZAR | UYU | sell | 2.432746 |
109
109
 
110
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.
111
111
  <!-- daily-table:end -->
@@ -162,10 +162,10 @@ const pair = await getRate('USD', 'UYU', { apiKey: 'art_live_...' });
162
162
  {
163
163
  bank: 'bcu',
164
164
  name: 'Central Bank of Uruguay',
165
- rate_date: '2026-10-09', // Central Bank of Uruguay's own publication date
165
+ rate_date: '2026-10-13', // Central Bank of Uruguay's own publication date
166
166
  source: 'USD',
167
167
  target: 'UYU',
168
- rate: 40.184,
168
+ rate: 40.2,
169
169
  rate_type: 'sell',
170
170
  derived: false,
171
171
  method: 'published',
@@ -190,10 +190,10 @@ console.log(table.rate_date, table.rates.length);
190
190
  {
191
191
  bank: 'bcu',
192
192
  name: 'Central Bank of Uruguay',
193
- rate_date: '2026-10-09',
193
+ rate_date: '2026-10-13',
194
194
  rates: [
195
- { "base": "USD", "quote": "UYU", "type": "sell", "value": 40.184 },
196
- { "base": "USD", "quote": "UYU", "type": "buy", "value": 40.184 },
195
+ { "base": "USD", "quote": "UYU", "type": "sell", "value": 40.2 },
196
+ { "base": "USD", "quote": "UYU", "type": "buy", "value": 40.2 },
197
197
  // … the rest of the published table (30 currencies vs UYU)
198
198
  ],
199
199
  disclaimer: '…'
@@ -233,7 +233,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
233
233
  import { getHistory } from '@allratestoday/bcu-exchange-rate';
234
234
 
235
235
  const series = await getHistory(
236
- { source: 'USD', target: 'UYU', from: '2026-01-01', to: '2026-10-09' },
236
+ { source: 'USD', target: 'UYU', from: '2026-01-01', to: '2026-10-13' },
237
237
  { apiKey: 'art_live_...' }
238
238
  );
239
239
  ```
@@ -246,11 +246,11 @@ const series = await getHistory(
246
246
  source: 'USD',
247
247
  target: 'UYU',
248
248
  from: '2026-01-01',
249
- to: '2026-10-09',
249
+ to: '2026-10-13',
250
250
  count: 152,
251
251
  rates: [
252
252
  // one entry per publication date
253
- { date: '2026-10-09', rate: 40.184, rate_type: 'sell', derived: false, method: 'published' },
253
+ { date: '2026-10-13', rate: 40.2, rate_type: 'sell', derived: false, method: 'published' },
254
254
  // …
255
255
  ],
256
256
  disclaimer: '…'
@@ -300,7 +300,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcu/latest?format=xml&api_ke
300
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
301
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
302
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`
303
+ - 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`
304
304
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
305
305
 
306
306
  ## ⚖️ Published vs derived rates
@@ -369,9 +369,9 @@ getRate('USD', 'UYU', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
369
369
 
370
370
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
371
371
 
372
- - 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`)
373
373
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
374
- - 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`
375
375
 
376
376
  ## 🔗 Links
377
377
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/bcu-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.14",
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
  ],