@allratestoday/bcra-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.
- package/README.md +47 -47
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,46 +42,46 @@ 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-
|
|
45
|
+
Published **2026-10-16** by Central Bank of Argentina — 36 rates. Updated 2026-10-17.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AUD | ARS | reference |
|
|
50
|
-
| AWG | ARS | reference |
|
|
51
|
-
| BOB | ARS | reference |
|
|
52
|
-
| BRL | ARS | reference |
|
|
53
|
-
| CAD | ARS | reference |
|
|
54
|
-
| CHF | ARS | reference |
|
|
55
|
-
| CLP | ARS | reference | 1.
|
|
56
|
-
| CNH | ARS | reference |
|
|
57
|
-
| CNY | ARS | reference |
|
|
58
|
-
| COP | ARS | reference | 0.
|
|
59
|
-
| CZK | ARS | reference |
|
|
60
|
-
| DKK | ARS | reference | 227.
|
|
61
|
-
| EUR | ARS | reference |
|
|
62
|
-
| GBP | ARS | reference |
|
|
63
|
-
| HKD | ARS | reference | 193.
|
|
64
|
-
| ILS | ARS | reference |
|
|
65
|
-
| INR | ARS | reference | 15.
|
|
66
|
-
| JPY | ARS | reference | 9.
|
|
67
|
-
| MXP | ARS | reference | 82.
|
|
68
|
-
| NIO | ARS | reference | 41.
|
|
69
|
-
| NOK | ARS | reference |
|
|
70
|
-
| NZD | ARS | reference |
|
|
71
|
-
| PEN | ARS | reference |
|
|
72
|
-
| PYG | ARS | reference | 0.
|
|
73
|
-
| REF | ARS | reference |
|
|
74
|
-
| RSD | ARS | reference | 14.
|
|
75
|
-
| RUB | ARS | reference |
|
|
76
|
-
| SEK | ARS | reference |
|
|
77
|
-
| SGD | ARS | reference |
|
|
78
|
-
| TRY | ARS | reference | 30.
|
|
79
|
-
| USD | ARS | reference |
|
|
80
|
-
| UYU | ARS | reference | 37.
|
|
81
|
-
| VEB | ARS | reference | 1.
|
|
82
|
-
| VND | ARS | reference | 0.
|
|
83
|
-
| XDR | ARS | reference |
|
|
84
|
-
| ZAR | ARS | reference |
|
|
49
|
+
| AUD | ARS | reference | 1053.1884 |
|
|
50
|
+
| AWG | ARS | reference | 848.044693 |
|
|
51
|
+
| BOB | ARS | reference | 129.965753 |
|
|
52
|
+
| BRL | ARS | reference | 299.042591 |
|
|
53
|
+
| CAD | ARS | reference | 1071.882502 |
|
|
54
|
+
| CHF | ARS | reference | 1841.115828 |
|
|
55
|
+
| CLP | ARS | reference | 1.542291 |
|
|
56
|
+
| CNH | ARS | reference | 227.031393 |
|
|
57
|
+
| CNY | ARS | reference | 227.024602 |
|
|
58
|
+
| COP | ARS | reference | 0.478151 |
|
|
59
|
+
| CZK | ARS | reference | 70.052378 |
|
|
60
|
+
| DKK | ARS | reference | 227.986123 |
|
|
61
|
+
| EUR | ARS | reference | 1704.2586 |
|
|
62
|
+
| GBP | ARS | reference | 2020.9134 |
|
|
63
|
+
| HKD | ARS | reference | 193.425076 |
|
|
64
|
+
| ILS | ARS | reference | 487.538541 |
|
|
65
|
+
| INR | ARS | reference | 15.986099 |
|
|
66
|
+
| JPY | ARS | reference | 9.602733 |
|
|
67
|
+
| MXP | ARS | reference | 82.085557 |
|
|
68
|
+
| NIO | ARS | reference | 41.198614 |
|
|
69
|
+
| NOK | ARS | reference | 160.801678 |
|
|
70
|
+
| NZD | ARS | reference | 856.911 |
|
|
71
|
+
| PEN | ARS | reference | 442.165972 |
|
|
72
|
+
| PYG | ARS | reference | 0.263693 |
|
|
73
|
+
| REF | ARS | reference | 1514.5655 |
|
|
74
|
+
| RSD | ARS | reference | 14.515495 |
|
|
75
|
+
| RUB | ARS | reference | 18.203905 |
|
|
76
|
+
| SEK | ARS | reference | 152.945562 |
|
|
77
|
+
| SGD | ARS | reference | 1185.56701 |
|
|
78
|
+
| TRY | ARS | reference | 30.651743 |
|
|
79
|
+
| USD | ARS | reference | 1518 |
|
|
80
|
+
| UYU | ARS | reference | 37.874251 |
|
|
81
|
+
| VEB | ARS | reference | 1.73077923 |
|
|
82
|
+
| VND | ARS | reference | 0.058657599 |
|
|
83
|
+
| XDR | ARS | reference | 2059.10628 |
|
|
84
|
+
| ZAR | ARS | reference | 92.092651 |
|
|
85
85
|
|
|
86
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
87
|
<!-- daily-table:end -->
|
|
@@ -138,10 +138,10 @@ const pair = await getRate('USD', 'ARS', { apiKey: 'art_live_...' });
|
|
|
138
138
|
{
|
|
139
139
|
bank: 'bcra',
|
|
140
140
|
name: 'Central Bank of Argentina',
|
|
141
|
-
rate_date: '2026-10-
|
|
141
|
+
rate_date: '2026-10-13', // Central Bank of Argentina's own publication date
|
|
142
142
|
source: 'USD',
|
|
143
143
|
target: 'ARS',
|
|
144
|
-
rate:
|
|
144
|
+
rate: 1512.5,
|
|
145
145
|
rate_type: 'reference',
|
|
146
146
|
derived: false,
|
|
147
147
|
method: 'published',
|
|
@@ -166,9 +166,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
166
166
|
{
|
|
167
167
|
bank: 'bcra',
|
|
168
168
|
name: 'Central Bank of Argentina',
|
|
169
|
-
rate_date: '2026-10-
|
|
169
|
+
rate_date: '2026-10-13',
|
|
170
170
|
rates: [
|
|
171
|
-
{ "base": "USD", "quote": "ARS", "type": "reference", "value":
|
|
171
|
+
{ "base": "USD", "quote": "ARS", "type": "reference", "value": 1512.5 },
|
|
172
172
|
// … the rest of the published table (35 currencies vs ARS)
|
|
173
173
|
],
|
|
174
174
|
disclaimer: '…'
|
|
@@ -208,7 +208,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
208
208
|
import { getHistory } from '@allratestoday/bcra-exchange-rate';
|
|
209
209
|
|
|
210
210
|
const series = await getHistory(
|
|
211
|
-
{ source: 'USD', target: 'ARS', from: '2026-01-01', to: '2026-10-
|
|
211
|
+
{ source: 'USD', target: 'ARS', from: '2026-01-01', to: '2026-10-13' },
|
|
212
212
|
{ apiKey: 'art_live_...' }
|
|
213
213
|
);
|
|
214
214
|
```
|
|
@@ -221,11 +221,11 @@ const series = await getHistory(
|
|
|
221
221
|
source: 'USD',
|
|
222
222
|
target: 'ARS',
|
|
223
223
|
from: '2026-01-01',
|
|
224
|
-
to: '2026-10-
|
|
224
|
+
to: '2026-10-13',
|
|
225
225
|
count: 152,
|
|
226
226
|
rates: [
|
|
227
227
|
// one entry per publication date
|
|
228
|
-
{ date: '2026-10-
|
|
228
|
+
{ date: '2026-10-13', rate: 1512.5, rate_type: 'reference', derived: false, method: 'published' },
|
|
229
229
|
// …
|
|
230
230
|
],
|
|
231
231
|
disclaimer: '…'
|
|
@@ -275,7 +275,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcra/latest?format=xml&api_k
|
|
|
275
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
|
|
276
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
|
|
277
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
|
-
-
|
|
278
|
+
- 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`
|
|
279
279
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
280
280
|
|
|
281
281
|
## ⚖️ Published vs derived rates
|
|
@@ -344,9 +344,9 @@ getRate('USD', 'ARS', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
344
344
|
|
|
345
345
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
346
346
|
|
|
347
|
-
- Hugging Face: [
|
|
347
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/bcra.csv`)
|
|
348
348
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
349
|
-
-
|
|
349
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bcra/latest.json`
|
|
350
350
|
|
|
351
351
|
## 🔗 Links
|
|
352
352
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bcra-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
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",
|
|
7
|
+
"central-bank-of-argentina",
|
|
7
8
|
"central",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"argentina",
|
|
11
11
|
"exchange-rate",
|
|
12
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"ars-exchange-rate",
|
|
13
16
|
"currency",
|
|
14
17
|
"forex",
|
|
15
18
|
"fx",
|
|
16
19
|
"ars",
|
|
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
|
-
"argentina",
|
|
20
28
|
"api",
|
|
21
29
|
"typescript"
|
|
22
30
|
],
|