@allratestoday/bcra-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 +61 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/bcra-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/bcra-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/bcra/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/bcra/)
|
|
7
9
|
|
|
8
10
|
**Official Central Bank of Argentina (Argentina) 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 Argentina itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,57 @@ 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/bcra/)
|
|
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 Argentina โ 36 rates. Updated 2026-10-12.
|
|
46
|
+
|
|
47
|
+
| Base | Quote | Type | Rate |
|
|
48
|
+
| --- | --- | --- | ---: |
|
|
49
|
+
| AUD | ARS | reference | 1059.0177 |
|
|
50
|
+
| AWG | ARS | reference | 847.486034 |
|
|
51
|
+
| BOB | ARS | reference | 128.016878 |
|
|
52
|
+
| BRL | ARS | reference | 304.154303 |
|
|
53
|
+
| CAD | ARS | reference | 1063.069376 |
|
|
54
|
+
| CHF | ARS | reference | 1827.710843 |
|
|
55
|
+
| CLP | ARS | reference | 1.550855 |
|
|
56
|
+
| CNH | ARS | reference | 226.644555 |
|
|
57
|
+
| CNY | ARS | reference | 226.614084 |
|
|
58
|
+
| COP | ARS | reference | 0.475563 |
|
|
59
|
+
| CZK | ARS | reference | 69.660331 |
|
|
60
|
+
| DKK | ARS | reference | 227.259108 |
|
|
61
|
+
| EUR | ARS | reference | 1698.7366 |
|
|
62
|
+
| GBP | ARS | reference | 2007.7495 |
|
|
63
|
+
| HKD | ARS | reference | 193.295192 |
|
|
64
|
+
| ILS | ARS | reference | 495.055967 |
|
|
65
|
+
| INR | ARS | reference | 15.682018 |
|
|
66
|
+
| JPY | ARS | reference | 9.586098 |
|
|
67
|
+
| MXP | ARS | reference | 82.191484 |
|
|
68
|
+
| NIO | ARS | reference | 41.012969 |
|
|
69
|
+
| NOK | ARS | reference | 158.60735 |
|
|
70
|
+
| NZD | ARS | reference | 851.1887 |
|
|
71
|
+
| PEN | ARS | reference | 439.965197 |
|
|
72
|
+
| PYG | ARS | reference | 0.266 |
|
|
73
|
+
| REF | ARS | reference | 1515.8766 |
|
|
74
|
+
| RSD | ARS | reference | 14.466591 |
|
|
75
|
+
| RUB | ARS | reference | 17.814615 |
|
|
76
|
+
| SEK | ARS | reference | 151.713654 |
|
|
77
|
+
| SGD | ARS | reference | 1184.231069 |
|
|
78
|
+
| TRY | ARS | reference | 30.745534 |
|
|
79
|
+
| USD | ARS | reference | 1517 |
|
|
80
|
+
| UYU | ARS | reference | 37.755102 |
|
|
81
|
+
| VEB | ARS | reference | 1.74729023 |
|
|
82
|
+
| VND | ARS | reference | 0.058634818 |
|
|
83
|
+
| XDR | ARS | reference | 2052.89542 |
|
|
84
|
+
| ZAR | ARS | reference | 91.820306 |
|
|
85
|
+
|
|
86
|
+
Source: [Official rates published by BCRA, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bcra/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
87
|
+
<!-- daily-table:end -->
|
|
88
|
+
|
|
36
89
|
## ๐ Get your API key
|
|
37
90
|
|
|
38
91
|
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 +138,10 @@ const pair = await getRate('USD', 'ARS', { apiKey: 'art_live_...' });
|
|
|
85
138
|
{
|
|
86
139
|
bank: 'bcra',
|
|
87
140
|
name: 'Central Bank of Argentina',
|
|
88
|
-
rate_date: '2026-10-
|
|
141
|
+
rate_date: '2026-10-09', // Central Bank of Argentina's own publication date
|
|
89
142
|
source: 'USD',
|
|
90
143
|
target: 'ARS',
|
|
91
|
-
rate:
|
|
144
|
+
rate: 1517,
|
|
92
145
|
rate_type: 'reference',
|
|
93
146
|
derived: false,
|
|
94
147
|
method: 'published',
|
|
@@ -113,9 +166,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
166
|
{
|
|
114
167
|
bank: 'bcra',
|
|
115
168
|
name: 'Central Bank of Argentina',
|
|
116
|
-
rate_date: '2026-10-
|
|
169
|
+
rate_date: '2026-10-09',
|
|
117
170
|
rates: [
|
|
118
|
-
{ "base": "USD", "quote": "ARS", "type": "reference", "value":
|
|
171
|
+
{ "base": "USD", "quote": "ARS", "type": "reference", "value": 1517 },
|
|
119
172
|
// โฆ the rest of the published table (35 currencies vs ARS)
|
|
120
173
|
],
|
|
121
174
|
disclaimer: 'โฆ'
|
|
@@ -155,7 +208,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
155
208
|
import { getHistory } from '@allratestoday/bcra-exchange-rate';
|
|
156
209
|
|
|
157
210
|
const series = await getHistory(
|
|
158
|
-
{ source: 'USD', target: 'ARS', from: '2026-01-01', to: '2026-10-
|
|
211
|
+
{ source: 'USD', target: 'ARS', from: '2026-01-01', to: '2026-10-09' },
|
|
159
212
|
{ apiKey: 'art_live_...' }
|
|
160
213
|
);
|
|
161
214
|
```
|
|
@@ -168,11 +221,11 @@ const series = await getHistory(
|
|
|
168
221
|
source: 'USD',
|
|
169
222
|
target: 'ARS',
|
|
170
223
|
from: '2026-01-01',
|
|
171
|
-
to: '2026-10-
|
|
224
|
+
to: '2026-10-09',
|
|
172
225
|
count: 152,
|
|
173
226
|
rates: [
|
|
174
227
|
// one entry per publication date
|
|
175
|
-
{ date: '2026-10-
|
|
228
|
+
{ date: '2026-10-09', rate: 1517, rate_type: 'reference', derived: false, method: 'published' },
|
|
176
229
|
// โฆ
|
|
177
230
|
],
|
|
178
231
|
disclaimer: 'โฆ'
|
|
@@ -222,6 +275,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcra/latest?format=xml&api_k
|
|
|
222
275
|
- 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
|
|
223
276
|
- 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('bcra')` 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
|
|
224
277
|
- 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 bcra ...` command
|
|
278
|
+
- 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`
|
|
225
279
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
226
280
|
|
|
227
281
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bcra-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Official Central Bank of Argentina (Argentina) daily exchange rates โ 35 currencies vs ARS, history since 2000. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bcra",
|