@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.
Files changed (2) hide show
  1. package/README.md +83 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![license](https://img.shields.io/npm/l/@allratestoday%2Fbdi-exchange-rate.svg)](https://github.com/AllRates-Today/bdi-exchange-rate/blob/main/LICENSE)
5
5
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/bdi-exchange-rate)
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)
7
+ [![EUR/USD today](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fbdi%3Fsource%3DEUR%26target%3DUSD&query=%24.rate&label=EUR%2FUSD%20published%20by%20Banca%20d'Italia&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/bdi/)
8
+ [![rate date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fbdi%3Fsource%3DEUR%26target%3DUSD&query=%24.rate_date&label=rate%20date&color=555&cacheSeconds=3600)](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-06', // Banca d'Italia's own publication date
163
+ rate_date: '2026-10-08', // Banca d'Italia's own publication date
89
164
  source: 'USD',
90
165
  target: 'EUR',
91
- rate: 0.88739,
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-06',
191
+ rate_date: '2026-10-08',
117
192
  rates: [
118
- { "base": "EUR", "quote": "USD", "type": "reference", "value": 1.1269 },
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-06' },
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-06',
246
+ to: '2026-10-08',
172
247
  count: 152,
173
248
  rates: [
174
249
  // one entry per publication date
175
- { date: '2026-10-06', rate: 0.88739, rate_type: 'reference', derived: true, method: 'inverse' },
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.5",
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",