@allratestoday/bcu-exchange-rate 1.3.6 โ 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 +86 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/bcu-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/bcu-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/bcu/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/bcu/)
|
|
7
9
|
|
|
8
10
|
**Official Central Bank of Uruguay (Uruguay) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing โ not market estimates, but the numbers Central Bank of Uruguay itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,81 @@ console.log(r.rate_date, r.rates.length); // the central bank's latest published
|
|
|
33
35
|
|
|
34
36
|
The open endpoint serves the *latest* table only and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables, history, and CSV/XML/Excel output.
|
|
35
37
|
|
|
38
|
+
## ๐ Latest published table
|
|
39
|
+
|
|
40
|
+
[](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.
|
|
43
|
+
|
|
44
|
+
<!-- daily-table:start -->
|
|
45
|
+
Published **2026-10-09** by Central Bank of Uruguay โ 60 rates. Updated 2026-10-12.
|
|
46
|
+
|
|
47
|
+
| Base | Quote | Type | Rate |
|
|
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 |
|
|
109
|
+
|
|
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
|
+
<!-- daily-table:end -->
|
|
112
|
+
|
|
36
113
|
## ๐ Get your API key
|
|
37
114
|
|
|
38
115
|
Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) โ no credit card required. Latest rates are on every plan, including free.
|
|
@@ -85,10 +162,10 @@ const pair = await getRate('USD', 'UYU', { apiKey: 'art_live_...' });
|
|
|
85
162
|
{
|
|
86
163
|
bank: 'bcu',
|
|
87
164
|
name: 'Central Bank of Uruguay',
|
|
88
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-09', // Central Bank of Uruguay's own publication date
|
|
89
166
|
source: 'USD',
|
|
90
167
|
target: 'UYU',
|
|
91
|
-
rate: 40.
|
|
168
|
+
rate: 40.184,
|
|
92
169
|
rate_type: 'sell',
|
|
93
170
|
derived: false,
|
|
94
171
|
method: 'published',
|
|
@@ -113,10 +190,10 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
190
|
{
|
|
114
191
|
bank: 'bcu',
|
|
115
192
|
name: 'Central Bank of Uruguay',
|
|
116
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-09',
|
|
117
194
|
rates: [
|
|
118
|
-
{ "base": "USD", "quote": "UYU", "type": "sell", "value": 40.
|
|
119
|
-
{ "base": "USD", "quote": "UYU", "type": "buy", "value": 40.
|
|
195
|
+
{ "base": "USD", "quote": "UYU", "type": "sell", "value": 40.184 },
|
|
196
|
+
{ "base": "USD", "quote": "UYU", "type": "buy", "value": 40.184 },
|
|
120
197
|
// โฆ the rest of the published table (30 currencies vs UYU)
|
|
121
198
|
],
|
|
122
199
|
disclaimer: 'โฆ'
|
|
@@ -156,7 +233,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
156
233
|
import { getHistory } from '@allratestoday/bcu-exchange-rate';
|
|
157
234
|
|
|
158
235
|
const series = await getHistory(
|
|
159
|
-
{ source: 'USD', target: 'UYU', from: '2026-01-01', to: '2026-10-
|
|
236
|
+
{ source: 'USD', target: 'UYU', from: '2026-01-01', to: '2026-10-09' },
|
|
160
237
|
{ apiKey: 'art_live_...' }
|
|
161
238
|
);
|
|
162
239
|
```
|
|
@@ -169,11 +246,11 @@ const series = await getHistory(
|
|
|
169
246
|
source: 'USD',
|
|
170
247
|
target: 'UYU',
|
|
171
248
|
from: '2026-01-01',
|
|
172
|
-
to: '2026-10-
|
|
249
|
+
to: '2026-10-09',
|
|
173
250
|
count: 152,
|
|
174
251
|
rates: [
|
|
175
252
|
// one entry per publication date
|
|
176
|
-
{ date: '2026-10-
|
|
253
|
+
{ date: '2026-10-09', rate: 40.184, rate_type: 'sell', derived: false, method: 'published' },
|
|
177
254
|
// โฆ
|
|
178
255
|
],
|
|
179
256
|
disclaimer: 'โฆ'
|
|
@@ -223,6 +300,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcu/latest?format=xml&api_ke
|
|
|
223
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
|
|
224
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
|
|
225
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`
|
|
226
304
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
227
305
|
|
|
228
306
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bcu-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
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",
|