@allratestoday/bdi-exchange-rate 1.3.5 โ 1.3.7
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 +83 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/bdi-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/bdi-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](https://allratestoday.com/central-bank-rates-api/bdi/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/bdi/)
|
|
7
9
|
|
|
8
10
|
**Official Banca d'Italia (Italy) 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 Banca d'Italia itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,79 @@ 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
|
+
Today's full Banca d'Italia 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.
|
|
41
|
+
|
|
42
|
+
<!-- daily-table:start -->
|
|
43
|
+
Published **2026-10-08** by Banca d'Italia โ 150 rates, first 60 shown. Updated 2026-10-08.
|
|
44
|
+
|
|
45
|
+
| Base | Quote | Type | Rate |
|
|
46
|
+
| --- | --- | --- | ---: |
|
|
47
|
+
| EUR | AED | reference | 4.1081 |
|
|
48
|
+
| EUR | AFN | reference | 72.5569 |
|
|
49
|
+
| EUR | ALL | reference | 91.68 |
|
|
50
|
+
| EUR | AMD | reference | 405.45 |
|
|
51
|
+
| EUR | AOA | reference | 1030.028 |
|
|
52
|
+
| EUR | ARS | reference | 1697.889 |
|
|
53
|
+
| EUR | AUD | reference | 1.611 |
|
|
54
|
+
| EUR | AWG | reference | 2.0023 |
|
|
55
|
+
| EUR | AZN | reference | 1.9016 |
|
|
56
|
+
| EUR | BAM | reference | 1.95583 |
|
|
57
|
+
| EUR | BBD | reference | 2.2372 |
|
|
58
|
+
| EUR | BDT | reference | 137.6717 |
|
|
59
|
+
| EUR | BHD | reference | 0.421 |
|
|
60
|
+
| EUR | BIF | reference | 3367.277 |
|
|
61
|
+
| EUR | BMD | reference | 1.1186 |
|
|
62
|
+
| EUR | BND | reference | 1.434 |
|
|
63
|
+
| EUR | BOB | reference | 13.2554 |
|
|
64
|
+
| EUR | BRL | reference | 5.6118 |
|
|
65
|
+
| EUR | BSD | reference | 1.1186 |
|
|
66
|
+
| EUR | BTN | reference | 108.2635 |
|
|
67
|
+
| EUR | BWP | reference | 15.5577 |
|
|
68
|
+
| EUR | BZD | reference | 2.2372 |
|
|
69
|
+
| EUR | CAD | reference | 1.5953 |
|
|
70
|
+
| EUR | CDF | reference | 2533.629 |
|
|
71
|
+
| EUR | CHF | reference | 0.9326 |
|
|
72
|
+
| EUR | CLP | reference | 1095.02 |
|
|
73
|
+
| EUR | CNY | reference | 7.4972 |
|
|
74
|
+
| EUR | COP | reference | 3621.58 |
|
|
75
|
+
| EUR | CRC | reference | 509.9026 |
|
|
76
|
+
| EUR | CUP | reference | 26.8464 |
|
|
77
|
+
| EUR | CVE | reference | 110.265 |
|
|
78
|
+
| EUR | CZK | reference | 24.403 |
|
|
79
|
+
| EUR | DJF | reference | 198.799 |
|
|
80
|
+
| EUR | DKK | reference | 7.4739 |
|
|
81
|
+
| EUR | DOP | reference | 68.6084 |
|
|
82
|
+
| EUR | DZD | reference | 150.4867 |
|
|
83
|
+
| EUR | EGP | reference | 58.5945 |
|
|
84
|
+
| EUR | ERN | reference | 17.2041 |
|
|
85
|
+
| EUR | ETB | reference | 181.699 |
|
|
86
|
+
| EUR | FJD | reference | 2.5331 |
|
|
87
|
+
| EUR | FKP | reference | 0.84698 |
|
|
88
|
+
| EUR | GBP | reference | 0.84698 |
|
|
89
|
+
| EUR | GEL | reference | 2.905 |
|
|
90
|
+
| EUR | GHS | reference | 13.1946 |
|
|
91
|
+
| EUR | GIP | reference | 0.84698 |
|
|
92
|
+
| EUR | GMD | reference | 80.79 |
|
|
93
|
+
| EUR | GNF | reference | 9839.557 |
|
|
94
|
+
| EUR | GTQ | reference | 8.5491 |
|
|
95
|
+
| EUR | GYD | reference | 234.0335 |
|
|
96
|
+
| EUR | HKD | reference | 8.7783 |
|
|
97
|
+
| EUR | HNL | reference | 30.068 |
|
|
98
|
+
| EUR | HTG | reference | 145.9887 |
|
|
99
|
+
| EUR | HUF | reference | 366.25 |
|
|
100
|
+
| EUR | IDR | reference | 20045.31 |
|
|
101
|
+
| EUR | ILS | reference | 3.4423 |
|
|
102
|
+
| EUR | INR | reference | 108.2635 |
|
|
103
|
+
| EUR | IQD | reference | 1599.598 |
|
|
104
|
+
| EUR | ISK | reference | 137 |
|
|
105
|
+
| EUR | JMD | reference | 177.6175 |
|
|
106
|
+
| EUR | JOD | reference | 0.7931 |
|
|
107
|
+
|
|
108
|
+
[Full table on the Banca d'Italia rates page](https://allratestoday.com/central-bank-rates-api/bdi/) ยท Source: [Official rates published by BDI, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bdi/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
109
|
+
<!-- daily-table:end -->
|
|
110
|
+
|
|
36
111
|
## ๐ Get your API key
|
|
37
112
|
|
|
38
113
|
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 +160,10 @@ const pair = await getRate('USD', 'EUR', { apiKey: 'art_live_...' });
|
|
|
85
160
|
{
|
|
86
161
|
bank: 'bdi',
|
|
87
162
|
name: 'Banca d\'Italia',
|
|
88
|
-
rate_date: '2026-10-
|
|
163
|
+
rate_date: '2026-10-08', // Banca d'Italia's own publication date
|
|
89
164
|
source: 'USD',
|
|
90
165
|
target: 'EUR',
|
|
91
|
-
rate: 0.
|
|
166
|
+
rate: 0.893975,
|
|
92
167
|
rate_type: 'reference',
|
|
93
168
|
derived: true,
|
|
94
169
|
method: 'inverse', // computed from the published EUR/USD print
|
|
@@ -113,9 +188,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
188
|
{
|
|
114
189
|
bank: 'bdi',
|
|
115
190
|
name: 'Banca d\'Italia',
|
|
116
|
-
rate_date: '2026-10-
|
|
191
|
+
rate_date: '2026-10-08',
|
|
117
192
|
rates: [
|
|
118
|
-
{ "base": "EUR", "quote": "USD", "type": "reference", "value": 1.
|
|
193
|
+
{ "base": "EUR", "quote": "USD", "type": "reference", "value": 1.1186 },
|
|
119
194
|
// โฆ the rest of the published table (150 currencies vs EUR)
|
|
120
195
|
],
|
|
121
196
|
disclaimer: 'โฆ'
|
|
@@ -155,7 +230,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
155
230
|
import { getHistory } from '@allratestoday/bdi-exchange-rate';
|
|
156
231
|
|
|
157
232
|
const series = await getHistory(
|
|
158
|
-
{ source: 'USD', target: 'EUR', from: '2026-01-01', to: '2026-10-
|
|
233
|
+
{ source: 'USD', target: 'EUR', from: '2026-01-01', to: '2026-10-08' },
|
|
159
234
|
{ apiKey: 'art_live_...' }
|
|
160
235
|
);
|
|
161
236
|
```
|
|
@@ -168,11 +243,11 @@ const series = await getHistory(
|
|
|
168
243
|
source: 'USD',
|
|
169
244
|
target: 'EUR',
|
|
170
245
|
from: '2026-01-01',
|
|
171
|
-
to: '2026-10-
|
|
246
|
+
to: '2026-10-08',
|
|
172
247
|
count: 152,
|
|
173
248
|
rates: [
|
|
174
249
|
// one entry per publication date
|
|
175
|
-
{ date: '2026-10-
|
|
250
|
+
{ date: '2026-10-08', rate: 0.893975, rate_type: 'reference', derived: true, method: 'inverse' },
|
|
176
251
|
// โฆ
|
|
177
252
|
],
|
|
178
253
|
disclaimer: 'โฆ'
|
|
@@ -221,6 +296,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bdi/latest?format=xml&api_ke
|
|
|
221
296
|
|
|
222
297
|
- 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
298
|
- 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('bdi')` 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
|
|
299
|
+
- 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 bdi ...` command
|
|
224
300
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
225
301
|
|
|
226
302
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bdi-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"description": "Official Banca d'Italia (Italy) daily exchange rates โ 150 currencies vs EUR, history since 2016. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bdi",
|