@allratestoday/bcp-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 +38 -35
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -37,39 +37,41 @@ 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 Banco Central del Paraguay 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 Banco Central del Paraguay table](https://allratestoday.com/api/open/central-bank/bcp/table.svg)](https://allratestoday.com/central-bank-rates-api/bcp/)
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 Banco Central del Paraguay โ€” 26 rates. Updated 2026-10-08.
45
+ Published **2026-10-13** by Banco Central del Paraguay โ€” 26 rates. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | AED | PYG | reference | 1553.59 |
49
+ | AED | PYG | reference | 1552.95 |
48
50
  | ARS | PYG | reference | 3.76 |
49
- | AUD | PYG | reference | 3973.21 |
50
- | BOB | PYG | reference | 481.53 |
51
- | BRL | PYG | reference | 1139.32 |
52
- | CAD | PYG | reference | 4011.37 |
53
- | CHF | PYG | reference | 6853.45 |
51
+ | AUD | PYG | reference | 3982.42 |
52
+ | BOB | PYG | reference | 487.51 |
53
+ | BRL | PYG | reference | 1138.99 |
54
+ | CAD | PYG | reference | 4012.83 |
55
+ | CHF | PYG | reference | 6850.64 |
54
56
  | CLP | PYG | reference | 5.82 |
55
- | CNY | PYG | reference | 851.29 |
56
- | COP | PYG | reference | 1.77 |
57
- | DKK | PYG | reference | 855.74 |
58
- | EUR | PYG | reference | 6396.06 |
59
- | GBP | PYG | reference | 7547.56 |
60
- | JPY | PYG | reference | 36.07 |
61
- | MXN | PYG | reference | 317.08 |
62
- | NOK | PYG | reference | 596.81 |
63
- | NZD | PYG | reference | 3197.17 |
64
- | PEN | PYG | reference | 1656.32 |
65
- | SEK | PYG | reference | 571.55 |
66
- | SGD | PYG | reference | 4454.47 |
67
- | TWD | PYG | reference | 179.02 |
68
- | USD | PYG | reference | 5706.18 |
69
- | UYU | PYG | reference | 142.08 |
70
- | XAU | PYG | reference | 23512200.57 |
71
- | XDR | PYG | reference | 7713.61 |
72
- | ZAR | PYG | reference | 343.43 |
57
+ | CNY | PYG | reference | 852.32 |
58
+ | COP | PYG | reference | 1.79 |
59
+ | DKK | PYG | reference | 854.11 |
60
+ | EUR | PYG | reference | 6384.31 |
61
+ | GBP | PYG | reference | 7556.45 |
62
+ | JPY | PYG | reference | 36.01 |
63
+ | MXN | PYG | reference | 311.11 |
64
+ | NOK | PYG | reference | 598.67 |
65
+ | NZD | PYG | reference | 3201.57 |
66
+ | PEN | PYG | reference | 1660.51 |
67
+ | SEK | PYG | reference | 571.76 |
68
+ | SGD | PYG | reference | 4456.13 |
69
+ | TWD | PYG | reference | 177.71 |
70
+ | USD | PYG | reference | 5703.84 |
71
+ | UYU | PYG | reference | 141.96 |
72
+ | XAU | PYG | reference | 23766760.51 |
73
+ | XDR | PYG | reference | 7715.01 |
74
+ | ZAR | PYG | reference | 345.53 |
73
75
 
74
76
  Source: [Official rates published by BCP, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bcp/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
75
77
  <!-- daily-table:end -->
@@ -126,10 +128,10 @@ const pair = await getRate('USD', 'PYG', { apiKey: 'art_live_...' });
126
128
  {
127
129
  bank: 'bcp',
128
130
  name: 'Banco Central del Paraguay',
129
- rate_date: '2026-10-08', // Banco Central del Paraguay's own publication date
131
+ rate_date: '2026-10-13', // Banco Central del Paraguay's own publication date
130
132
  source: 'USD',
131
133
  target: 'PYG',
132
- rate: 5706.18,
134
+ rate: 5703.84,
133
135
  rate_type: 'reference',
134
136
  derived: false,
135
137
  method: 'published',
@@ -154,9 +156,9 @@ console.log(table.rate_date, table.rates.length);
154
156
  {
155
157
  bank: 'bcp',
156
158
  name: 'Banco Central del Paraguay',
157
- rate_date: '2026-10-08',
159
+ rate_date: '2026-10-13',
158
160
  rates: [
159
- { "base": "USD", "quote": "PYG", "type": "reference", "value": 5706.18 },
161
+ { "base": "USD", "quote": "PYG", "type": "reference", "value": 5703.84 },
160
162
  // โ€ฆ the rest of the published table (26 currencies vs PYG)
161
163
  ],
162
164
  disclaimer: 'โ€ฆ'
@@ -196,7 +198,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
196
198
  import { getHistory } from '@allratestoday/bcp-exchange-rate';
197
199
 
198
200
  const series = await getHistory(
199
- { source: 'USD', target: 'PYG', from: '2026-01-01', to: '2026-10-08' },
201
+ { source: 'USD', target: 'PYG', from: '2026-01-01', to: '2026-10-13' },
200
202
  { apiKey: 'art_live_...' }
201
203
  );
202
204
  ```
@@ -209,11 +211,11 @@ const series = await getHistory(
209
211
  source: 'USD',
210
212
  target: 'PYG',
211
213
  from: '2026-01-01',
212
- to: '2026-10-08',
214
+ to: '2026-10-13',
213
215
  count: 152,
214
216
  rates: [
215
217
  // one entry per publication date
216
- { date: '2026-10-08', rate: 5706.18, rate_type: 'reference', derived: false, method: 'published' },
218
+ { date: '2026-10-13', rate: 5703.84, rate_type: 'reference', derived: false, method: 'published' },
217
219
  // โ€ฆ
218
220
  ],
219
221
  disclaimer: 'โ€ฆ'
@@ -264,6 +266,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bcp/latest?format=xml&api_ke
264
266
  - 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
265
267
  - 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('bcp')` 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
266
268
  - 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 bcp ...` command
269
+ - 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`
267
270
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
268
271
 
269
272
  ## โš–๏ธ Published vs derived rates
@@ -332,9 +335,9 @@ getRate('USD', 'PYG', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
332
335
 
333
336
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
334
337
 
335
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bcp.csv`)
338
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bcp.csv`)
336
339
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
337
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bcp/latest.json`
340
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bcp/latest.json`
338
341
 
339
342
  ## ๐Ÿ”— Links
340
343
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/bcp-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.13",
4
4
  "description": "Official Banco Central del Paraguay (Paraguay) daily exchange rates โ€” 26 currencies vs PYG, history since 2016. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "bcp",
7
+ "banco-central-del-paraguay",
7
8
  "banco",
8
9
  "central",
9
- "del",
10
10
  "paraguay",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "pyg-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "pyg",
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
- "paraguay",
20
28
  "api",
21
29
  "typescript"
22
30
  ],