@allratestoday/bcp-exchange-rate 1.3.9 → 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.
- package/README.md +34 -34
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,36 +42,36 @@ 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-13** by Banco Central del Paraguay — 26 rates. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | PYG | reference |
|
|
49
|
+
| AED | PYG | reference | 1552.95 |
|
|
50
50
|
| ARS | PYG | reference | 3.76 |
|
|
51
|
-
| AUD | PYG | reference |
|
|
52
|
-
| BOB | PYG | reference |
|
|
53
|
-
| BRL | PYG | reference |
|
|
54
|
-
| CAD | PYG | reference |
|
|
55
|
-
| CHF | PYG | reference |
|
|
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 |
|
|
56
56
|
| CLP | PYG | reference | 5.82 |
|
|
57
|
-
| CNY | PYG | reference |
|
|
58
|
-
| COP | PYG | reference | 1.
|
|
59
|
-
| DKK | PYG | reference |
|
|
60
|
-
| EUR | PYG | reference |
|
|
61
|
-
| GBP | PYG | reference |
|
|
62
|
-
| JPY | PYG | reference |
|
|
63
|
-
| MXN | PYG | reference |
|
|
64
|
-
| NOK | PYG | reference |
|
|
65
|
-
| NZD | PYG | reference |
|
|
66
|
-
| PEN | PYG | reference |
|
|
67
|
-
| SEK | PYG | reference |
|
|
68
|
-
| SGD | PYG | reference |
|
|
69
|
-
| TWD | PYG | reference |
|
|
70
|
-
| USD | PYG | reference |
|
|
71
|
-
| UYU | PYG | reference | 141.
|
|
72
|
-
| XAU | PYG | reference |
|
|
73
|
-
| XDR | PYG | reference |
|
|
74
|
-
| ZAR | PYG | reference |
|
|
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 |
|
|
75
75
|
|
|
76
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.
|
|
77
77
|
<!-- daily-table:end -->
|
|
@@ -128,10 +128,10 @@ const pair = await getRate('USD', 'PYG', { apiKey: 'art_live_...' });
|
|
|
128
128
|
{
|
|
129
129
|
bank: 'bcp',
|
|
130
130
|
name: 'Banco Central del Paraguay',
|
|
131
|
-
rate_date: '2026-10-
|
|
131
|
+
rate_date: '2026-10-13', // Banco Central del Paraguay's own publication date
|
|
132
132
|
source: 'USD',
|
|
133
133
|
target: 'PYG',
|
|
134
|
-
rate:
|
|
134
|
+
rate: 5703.84,
|
|
135
135
|
rate_type: 'reference',
|
|
136
136
|
derived: false,
|
|
137
137
|
method: 'published',
|
|
@@ -156,9 +156,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
156
156
|
{
|
|
157
157
|
bank: 'bcp',
|
|
158
158
|
name: 'Banco Central del Paraguay',
|
|
159
|
-
rate_date: '2026-10-
|
|
159
|
+
rate_date: '2026-10-13',
|
|
160
160
|
rates: [
|
|
161
|
-
{ "base": "USD", "quote": "PYG", "type": "reference", "value":
|
|
161
|
+
{ "base": "USD", "quote": "PYG", "type": "reference", "value": 5703.84 },
|
|
162
162
|
// … the rest of the published table (26 currencies vs PYG)
|
|
163
163
|
],
|
|
164
164
|
disclaimer: '…'
|
|
@@ -198,7 +198,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
198
198
|
import { getHistory } from '@allratestoday/bcp-exchange-rate';
|
|
199
199
|
|
|
200
200
|
const series = await getHistory(
|
|
201
|
-
{ source: 'USD', target: 'PYG', from: '2026-01-01', to: '2026-10-
|
|
201
|
+
{ source: 'USD', target: 'PYG', from: '2026-01-01', to: '2026-10-13' },
|
|
202
202
|
{ apiKey: 'art_live_...' }
|
|
203
203
|
);
|
|
204
204
|
```
|
|
@@ -211,11 +211,11 @@ const series = await getHistory(
|
|
|
211
211
|
source: 'USD',
|
|
212
212
|
target: 'PYG',
|
|
213
213
|
from: '2026-01-01',
|
|
214
|
-
to: '2026-10-
|
|
214
|
+
to: '2026-10-13',
|
|
215
215
|
count: 152,
|
|
216
216
|
rates: [
|
|
217
217
|
// one entry per publication date
|
|
218
|
-
{ date: '2026-10-
|
|
218
|
+
{ date: '2026-10-13', rate: 5703.84, rate_type: 'reference', derived: false, method: 'published' },
|
|
219
219
|
// …
|
|
220
220
|
],
|
|
221
221
|
disclaimer: '…'
|
|
@@ -335,9 +335,9 @@ getRate('USD', 'PYG', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
335
335
|
|
|
336
336
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
337
337
|
|
|
338
|
-
- Hugging Face: [
|
|
338
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/bcp.csv`)
|
|
339
339
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
340
|
-
-
|
|
340
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bcp/latest.json`
|
|
341
341
|
|
|
342
342
|
## 🔗 Links
|
|
343
343
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bcp-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
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
|
],
|