@allratestoday/bcra-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 +50 -47
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -37,49 +37,51 @@ 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 Argentina 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 Argentina table](https://allratestoday.com/api/open/central-bank/bcra/table.svg)](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.
41
43
 
42
44
  <!-- daily-table:start -->
43
- Published **2026-10-08** by Central Bank of Argentina โ€” 36 rates. Updated 2026-10-08.
45
+ Published **2026-10-13** by Central Bank of Argentina โ€” 36 rates. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | AUD | ARS | reference | 1054.33335 |
48
- | AWG | ARS | reference | 846.648045 |
49
- | BOB | ARS | reference | 127.890295 |
50
- | BRL | ARS | reference | 302.664164 |
51
- | CAD | ARS | reference | 1065.377856 |
52
- | CHF | ARS | reference | 1822.609741 |
53
- | CLP | ARS | reference | 1.547566 |
54
- | CNH | ARS | reference | 226.072558 |
55
- | CNY | ARS | reference | 226.062441 |
56
- | COP | ARS | reference | 0.470703 |
57
- | CZK | ARS | reference | 69.726248 |
58
- | DKK | ARS | reference | 227.313634 |
59
- | EUR | ARS | reference | 1699.02705 |
60
- | GBP | ARS | reference | 2004.55185 |
61
- | HKD | ARS | reference | 193.106524 |
62
- | ILS | ARS | reference | 494.582599 |
63
- | INR | ARS | reference | 15.658014 |
64
- | JPY | ARS | reference | 9.608191 |
65
- | MXP | ARS | reference | 83.400747 |
66
- | NIO | ARS | reference | 41.150643 |
67
- | NOK | ARS | reference | 158.452177 |
68
- | NZD | ARS | reference | 849.13465 |
69
- | PEN | ARS | reference | 440.398698 |
70
- | PYG | ARS | reference | 0.265342 |
71
- | REF | ARS | reference | 1518.4363 |
72
- | RSD | ARS | reference | 14.467822 |
73
- | RUB | ARS | reference | 17.81893 |
74
- | SEK | ARS | reference | 151.993822 |
75
- | SGD | ARS | reference | 1183.522062 |
76
- | TRY | ARS | reference | 30.794333 |
77
- | USD | ARS | reference | 1515.5 |
78
- | UYU | ARS | reference | 37.708385 |
79
- | VEB | ARS | reference | 1.74622344 |
80
- | VND | ARS | reference | 0.058439054 |
81
- | XDR | ARS | reference | 2048.71352 |
82
- | ZAR | ARS | reference | 91.290231 |
49
+ | AUD | ARS | reference | 1055.725 |
50
+ | AWG | ARS | reference | 844.972067 |
51
+ | BOB | ARS | reference | 129.273504 |
52
+ | BRL | ARS | reference | 301.565148 |
53
+ | CAD | ARS | reference | 1063.942037 |
54
+ | CHF | ARS | reference | 1815.726291 |
55
+ | CLP | ARS | reference | 1.539393 |
56
+ | CNH | ARS | reference | 225.968865 |
57
+ | CNY | ARS | reference | 225.985746 |
58
+ | COP | ARS | reference | 0.474926 |
59
+ | CZK | ARS | reference | 69.532877 |
60
+ | DKK | ARS | reference | 226.506926 |
61
+ | EUR | ARS | reference | 1693.24375 |
62
+ | GBP | ARS | reference | 2004.0625 |
63
+ | HKD | ARS | reference | 192.714439 |
64
+ | ILS | ARS | reference | 492.190042 |
65
+ | INR | ARS | reference | 15.873849 |
66
+ | JPY | ARS | reference | 9.551023 |
67
+ | MXP | ARS | reference | 82.295011 |
68
+ | NIO | ARS | reference | 40.881141 |
69
+ | NOK | ARS | reference | 158.802654 |
70
+ | NZD | ARS | reference | 848.96625 |
71
+ | PEN | ARS | reference | 440.320233 |
72
+ | PYG | ARS | reference | 0.264733 |
73
+ | REF | ARS | reference | 1515.8543 |
74
+ | RSD | ARS | reference | 14.418934 |
75
+ | RUB | ARS | reference | 17.98512 |
76
+ | SEK | ARS | reference | 151.680773 |
77
+ | SGD | ARS | reference | 1181.640625 |
78
+ | TRY | ARS | reference | 30.638869 |
79
+ | USD | ARS | reference | 1512.5 |
80
+ | UYU | ARS | reference | 37.63374 |
81
+ | VEB | ARS | reference | 1.74212657 |
82
+ | VND | ARS | reference | 0.05836163 |
83
+ | XDR | ARS | reference | 2045.83775 |
84
+ | ZAR | ARS | reference | 91.646116 |
83
85
 
84
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.
85
87
  <!-- daily-table:end -->
@@ -136,10 +138,10 @@ const pair = await getRate('USD', 'ARS', { apiKey: 'art_live_...' });
136
138
  {
137
139
  bank: 'bcra',
138
140
  name: 'Central Bank of Argentina',
139
- rate_date: '2026-10-08', // Central Bank of Argentina's own publication date
141
+ rate_date: '2026-10-13', // Central Bank of Argentina's own publication date
140
142
  source: 'USD',
141
143
  target: 'ARS',
142
- rate: 1515.5,
144
+ rate: 1512.5,
143
145
  rate_type: 'reference',
144
146
  derived: false,
145
147
  method: 'published',
@@ -164,9 +166,9 @@ console.log(table.rate_date, table.rates.length);
164
166
  {
165
167
  bank: 'bcra',
166
168
  name: 'Central Bank of Argentina',
167
- rate_date: '2026-10-08',
169
+ rate_date: '2026-10-13',
168
170
  rates: [
169
- { "base": "USD", "quote": "ARS", "type": "reference", "value": 1515.5 },
171
+ { "base": "USD", "quote": "ARS", "type": "reference", "value": 1512.5 },
170
172
  // โ€ฆ the rest of the published table (35 currencies vs ARS)
171
173
  ],
172
174
  disclaimer: 'โ€ฆ'
@@ -206,7 +208,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
206
208
  import { getHistory } from '@allratestoday/bcra-exchange-rate';
207
209
 
208
210
  const series = await getHistory(
209
- { source: 'USD', target: 'ARS', from: '2026-01-01', to: '2026-10-08' },
211
+ { source: 'USD', target: 'ARS', from: '2026-01-01', to: '2026-10-13' },
210
212
  { apiKey: 'art_live_...' }
211
213
  );
212
214
  ```
@@ -219,11 +221,11 @@ const series = await getHistory(
219
221
  source: 'USD',
220
222
  target: 'ARS',
221
223
  from: '2026-01-01',
222
- to: '2026-10-08',
224
+ to: '2026-10-13',
223
225
  count: 152,
224
226
  rates: [
225
227
  // one entry per publication date
226
- { date: '2026-10-08', rate: 1515.5, rate_type: 'reference', derived: false, method: 'published' },
228
+ { date: '2026-10-13', rate: 1512.5, rate_type: 'reference', derived: false, method: 'published' },
227
229
  // โ€ฆ
228
230
  ],
229
231
  disclaimer: 'โ€ฆ'
@@ -273,6 +275,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcra/latest?format=xml&api_k
273
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
274
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
275
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`
276
279
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
277
280
 
278
281
  ## โš–๏ธ Published vs derived rates
@@ -341,9 +344,9 @@ getRate('USD', 'ARS', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
341
344
 
342
345
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
343
346
 
344
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bcra.csv`)
347
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bcra.csv`)
345
348
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
346
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bcra/latest.json`
349
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bcra/latest.json`
347
350
 
348
351
  ## ๐Ÿ”— Links
349
352
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/bcra-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.13",
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
  ],