@allratestoday/bdi-exchange-rate 1.3.6 โ 1.3.9
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 +85 -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,81 @@ 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
|
+
[](https://allratestoday.com/central-bank-rates-api/bdi/)
|
|
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.
|
|
43
|
+
|
|
44
|
+
<!-- daily-table:start -->
|
|
45
|
+
Published **2026-10-12** by Banca d'Italia โ 149 rates, first 60 shown. Updated 2026-10-12.
|
|
46
|
+
|
|
47
|
+
| Base | Quote | Type | Rate |
|
|
48
|
+
| --- | --- | --- | ---: |
|
|
49
|
+
| EUR | AED | reference | 4.1062 |
|
|
50
|
+
| EUR | AFN | reference | 72.6776 |
|
|
51
|
+
| EUR | ALL | reference | 91.56 |
|
|
52
|
+
| EUR | AMD | reference | 405 |
|
|
53
|
+
| EUR | AOA | reference | 1027.604 |
|
|
54
|
+
| EUR | ARS | reference | 1694.3876 |
|
|
55
|
+
| EUR | AUD | reference | 1.6032 |
|
|
56
|
+
| EUR | AWG | reference | 2.0014 |
|
|
57
|
+
| EUR | AZN | reference | 1.9008 |
|
|
58
|
+
| EUR | BAM | reference | 1.95583 |
|
|
59
|
+
| EUR | BBD | reference | 2.2362 |
|
|
60
|
+
| EUR | BDT | reference | 137.8338 |
|
|
61
|
+
| EUR | BHD | reference | 0.42 |
|
|
62
|
+
| EUR | BIF | reference | 3366.219 |
|
|
63
|
+
| EUR | BMD | reference | 1.1181 |
|
|
64
|
+
| EUR | BND | reference | 1.4314 |
|
|
65
|
+
| EUR | BOB | reference | 13.1153 |
|
|
66
|
+
| EUR | BRL | reference | 5.5819 |
|
|
67
|
+
| EUR | BSD | reference | 1.1181 |
|
|
68
|
+
| EUR | BTN | reference | 107.086 |
|
|
69
|
+
| EUR | BWP | reference | 15.4861 |
|
|
70
|
+
| EUR | BZD | reference | 2.2362 |
|
|
71
|
+
| EUR | CAD | reference | 1.5946 |
|
|
72
|
+
| EUR | CDF | reference | 2532.4965 |
|
|
73
|
+
| EUR | CHF | reference | 0.9312 |
|
|
74
|
+
| EUR | CLP | reference | 1093.18 |
|
|
75
|
+
| EUR | CNY | reference | 7.4832 |
|
|
76
|
+
| EUR | COP | reference | 3568.99 |
|
|
77
|
+
| EUR | CRC | reference | 508.2771 |
|
|
78
|
+
| EUR | CUP | reference | 26.8344 |
|
|
79
|
+
| EUR | CVE | reference | 110.265 |
|
|
80
|
+
| EUR | CZK | reference | 24.391 |
|
|
81
|
+
| EUR | DJF | reference | 198.71 |
|
|
82
|
+
| EUR | DKK | reference | 7.4748 |
|
|
83
|
+
| EUR | DOP | reference | 68.7305 |
|
|
84
|
+
| EUR | DZD | reference | 150.4752 |
|
|
85
|
+
| EUR | EGP | reference | 58.71 |
|
|
86
|
+
| EUR | ERN | reference | 17.1964 |
|
|
87
|
+
| EUR | ETB | reference | 181.4793 |
|
|
88
|
+
| EUR | FJD | reference | 2.5319 |
|
|
89
|
+
| EUR | FKP | reference | 0.84478 |
|
|
90
|
+
| EUR | GBP | reference | 0.84478 |
|
|
91
|
+
| EUR | GEL | reference | 2.9005 |
|
|
92
|
+
| EUR | GHS | reference | 13.1631 |
|
|
93
|
+
| EUR | GIP | reference | 0.84478 |
|
|
94
|
+
| EUR | GMD | reference | 80.47 |
|
|
95
|
+
| EUR | GNF | reference | 9839.4431 |
|
|
96
|
+
| EUR | GTQ | reference | 8.5461 |
|
|
97
|
+
| EUR | GYD | reference | 233.9289 |
|
|
98
|
+
| EUR | HKD | reference | 8.7743 |
|
|
99
|
+
| EUR | HNL | reference | 30.0503 |
|
|
100
|
+
| EUR | HTG | reference | 145.9666 |
|
|
101
|
+
| EUR | HUF | reference | 365.13 |
|
|
102
|
+
| EUR | IDR | reference | 20036.18 |
|
|
103
|
+
| EUR | ILS | reference | 3.432 |
|
|
104
|
+
| EUR | INR | reference | 107.086 |
|
|
105
|
+
| EUR | IQD | reference | 1695.04 |
|
|
106
|
+
| EUR | ISK | reference | 136.4 |
|
|
107
|
+
| EUR | JMD | reference | 177.6926 |
|
|
108
|
+
| EUR | JOD | reference | 0.7927 |
|
|
109
|
+
|
|
110
|
+
[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.
|
|
111
|
+
<!-- daily-table:end -->
|
|
112
|
+
|
|
36
113
|
## ๐ Get your API key
|
|
37
114
|
|
|
38
115
|
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 +162,10 @@ const pair = await getRate('USD', 'EUR', { apiKey: 'art_live_...' });
|
|
|
85
162
|
{
|
|
86
163
|
bank: 'bdi',
|
|
87
164
|
name: 'Banca d\'Italia',
|
|
88
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-12', // Banca d'Italia's own publication date
|
|
89
166
|
source: 'USD',
|
|
90
167
|
target: 'EUR',
|
|
91
|
-
rate: 0.
|
|
168
|
+
rate: 0.894374,
|
|
92
169
|
rate_type: 'reference',
|
|
93
170
|
derived: true,
|
|
94
171
|
method: 'inverse', // computed from the published EUR/USD print
|
|
@@ -113,9 +190,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
190
|
{
|
|
114
191
|
bank: 'bdi',
|
|
115
192
|
name: 'Banca d\'Italia',
|
|
116
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-12',
|
|
117
194
|
rates: [
|
|
118
|
-
{ "base": "EUR", "quote": "USD", "type": "reference", "value": 1.
|
|
195
|
+
{ "base": "EUR", "quote": "USD", "type": "reference", "value": 1.1181 },
|
|
119
196
|
// โฆ the rest of the published table (150 currencies vs EUR)
|
|
120
197
|
],
|
|
121
198
|
disclaimer: 'โฆ'
|
|
@@ -155,7 +232,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
155
232
|
import { getHistory } from '@allratestoday/bdi-exchange-rate';
|
|
156
233
|
|
|
157
234
|
const series = await getHistory(
|
|
158
|
-
{ source: 'USD', target: 'EUR', from: '2026-01-01', to: '2026-10-
|
|
235
|
+
{ source: 'USD', target: 'EUR', from: '2026-01-01', to: '2026-10-12' },
|
|
159
236
|
{ apiKey: 'art_live_...' }
|
|
160
237
|
);
|
|
161
238
|
```
|
|
@@ -168,11 +245,11 @@ const series = await getHistory(
|
|
|
168
245
|
source: 'USD',
|
|
169
246
|
target: 'EUR',
|
|
170
247
|
from: '2026-01-01',
|
|
171
|
-
to: '2026-10-
|
|
248
|
+
to: '2026-10-12',
|
|
172
249
|
count: 152,
|
|
173
250
|
rates: [
|
|
174
251
|
// one entry per publication date
|
|
175
|
-
{ date: '2026-10-
|
|
252
|
+
{ date: '2026-10-12', rate: 0.894374, rate_type: 'reference', derived: true, method: 'inverse' },
|
|
176
253
|
// โฆ
|
|
177
254
|
],
|
|
178
255
|
disclaimer: 'โฆ'
|
|
@@ -222,6 +299,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bdi/latest?format=xml&api_ke
|
|
|
222
299
|
- 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
300
|
- 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
|
|
224
301
|
- 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
|
|
302
|
+
- 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`
|
|
225
303
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
226
304
|
|
|
227
305
|
## โ๏ธ 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.9",
|
|
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",
|