@allratestoday/bazg-exchange-rate 1.3.13 → 1.3.14
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 +32 -32
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,72 +42,72 @@ 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 tax authority'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 tax authority 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-19** by Swiss Federal Office for Customs and Border Security — 144 rates, first 60 shown. Updated 2026-10-16.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
49
|
| AED | CHF | monthly_average | 0.223808 |
|
|
50
|
-
| AED | CHF | reference | 0.
|
|
50
|
+
| AED | CHF | reference | 0.2277114 |
|
|
51
51
|
| ALL | CHF | monthly_average | 0.010393 |
|
|
52
|
-
| ALL | CHF | reference | 0.
|
|
52
|
+
| ALL | CHF | reference | 0.0103207 |
|
|
53
53
|
| ARS | CHF | monthly_average | 0.0005 |
|
|
54
54
|
| ARS | CHF | reference | 0.00056 |
|
|
55
55
|
| AUD | CHF | monthly_average | 0.5882 |
|
|
56
|
-
| AUD | CHF | reference | 0.
|
|
56
|
+
| AUD | CHF | reference | 0.57907 |
|
|
57
57
|
| AZN | CHF | monthly_average | 0.4833 |
|
|
58
|
-
| AZN | CHF | reference | 0.
|
|
58
|
+
| AZN | CHF | reference | 0.4919 |
|
|
59
59
|
| BAM | CHF | monthly_average | 0.486391 |
|
|
60
|
-
| BAM | CHF | reference | 0.
|
|
60
|
+
| BAM | CHF | reference | 0.4795704 |
|
|
61
61
|
| BDT | CHF | monthly_average | 0.006724 |
|
|
62
|
-
| BDT | CHF | reference | 0.
|
|
62
|
+
| BDT | CHF | reference | 0.0068393 |
|
|
63
63
|
| BHD | CHF | monthly_average | 2.1912 |
|
|
64
|
-
| BHD | CHF | reference | 2.
|
|
64
|
+
| BHD | CHF | reference | 2.22547 |
|
|
65
65
|
| BRL | CHF | monthly_average | 0.160109 |
|
|
66
|
-
| BRL | CHF | reference | 0.
|
|
66
|
+
| BRL | CHF | reference | 0.1640564 |
|
|
67
67
|
| CAD | CHF | monthly_average | 0.5914 |
|
|
68
|
-
| CAD | CHF | reference | 0.
|
|
68
|
+
| CAD | CHF | reference | 0.58919 |
|
|
69
69
|
| CLP | CHF | monthly_average | 0.0008762 |
|
|
70
|
-
| CLP | CHF | reference | 0.
|
|
70
|
+
| CLP | CHF | reference | 0.0008523 |
|
|
71
71
|
| CNY | CHF | monthly_average | 0.122449 |
|
|
72
|
-
| CNY | CHF | reference | 0.
|
|
72
|
+
| CNY | CHF | reference | 0.1249745 |
|
|
73
73
|
| COP | CHF | monthly_average | 0.00026105 |
|
|
74
|
-
| COP | CHF | reference | 0.
|
|
74
|
+
| COP | CHF | reference | 0.000263317 |
|
|
75
75
|
| CRC | CHF | monthly_average | 0.0018244 |
|
|
76
|
-
| CRC | CHF | reference | 0.
|
|
76
|
+
| CRC | CHF | reference | 0.00184221 |
|
|
77
77
|
| CZK | CHF | monthly_average | 0.039265 |
|
|
78
|
-
| CZK | CHF | reference | 0.
|
|
78
|
+
| CZK | CHF | reference | 0.0385566 |
|
|
79
79
|
| DKK | CHF | monthly_average | 0.127183 |
|
|
80
|
-
| DKK | CHF | reference | 0.
|
|
80
|
+
| DKK | CHF | reference | 0.1254329 |
|
|
81
81
|
| DOP | CHF | monthly_average | 0.014178 |
|
|
82
|
-
| DOP | CHF | reference | 0.
|
|
82
|
+
| DOP | CHF | reference | 0.0137101 |
|
|
83
83
|
| DZD | CHF | monthly_average | 0.00623 |
|
|
84
|
-
| DZD | CHF | reference | 0.
|
|
84
|
+
| DZD | CHF | reference | 0.0062883 |
|
|
85
85
|
| EGP | CHF | monthly_average | 0.016083 |
|
|
86
|
-
| EGP | CHF | reference | 0.
|
|
86
|
+
| EGP | CHF | reference | 0.0156589 |
|
|
87
87
|
| ETB | CHF | monthly_average | 0.005063 |
|
|
88
|
-
| ETB | CHF | reference | 0.
|
|
88
|
+
| ETB | CHF | reference | 0.0051655 |
|
|
89
89
|
| EUR | CHF | monthly_average | 0.9507 |
|
|
90
|
-
| EUR | CHF | reference | 0.
|
|
90
|
+
| EUR | CHF | reference | 0.93759 |
|
|
91
91
|
| GBP | CHF | monthly_average | 1.1085 |
|
|
92
|
-
| GBP | CHF | reference | 1.
|
|
92
|
+
| GBP | CHF | reference | 1.1099 |
|
|
93
93
|
| GEL | CHF | monthly_average | 0.319302 |
|
|
94
|
-
| GEL | CHF | reference | 0.
|
|
94
|
+
| GEL | CHF | reference | 0.326301 |
|
|
95
95
|
| GTQ | CHF | monthly_average | 0.110533 |
|
|
96
|
-
| GTQ | CHF | reference | 0.
|
|
96
|
+
| GTQ | CHF | reference | 0.1129799 |
|
|
97
97
|
| HKD | CHF | monthly_average | 0.104786 |
|
|
98
|
-
| HKD | CHF | reference | 0.
|
|
98
|
+
| HKD | CHF | reference | 0.1065348 |
|
|
99
99
|
| HNL | CHF | monthly_average | 0.031114 |
|
|
100
|
-
| HNL | CHF | reference | 0.
|
|
100
|
+
| HNL | CHF | reference | 0.0312358 |
|
|
101
101
|
| HUF | CHF | monthly_average | 0.0026132 |
|
|
102
|
-
| HUF | CHF | reference | 0.
|
|
102
|
+
| HUF | CHF | reference | 0.00257627 |
|
|
103
103
|
| IDR | CHF | monthly_average | 0.00004646 |
|
|
104
|
-
| IDR | CHF | reference | 0.
|
|
104
|
+
| IDR | CHF | reference | 0.000046465 |
|
|
105
105
|
| ILS | CHF | monthly_average | 0.2735 |
|
|
106
|
-
| ILS | CHF | reference | 0.
|
|
106
|
+
| ILS | CHF | reference | 0.27076 |
|
|
107
107
|
| INR | CHF | monthly_average | 0.008621 |
|
|
108
|
-
| INR | CHF | reference | 0.
|
|
108
|
+
| INR | CHF | reference | 0.0088244 |
|
|
109
109
|
|
|
110
|
-
[Full table on the Swiss Federal Office for Customs and Border Security rates page](https://allratestoday.com/tax-authority-rates-api/bazg/) · Source: [Official rates published by BAZG, served by AllRatesToday](https://allratestoday.com/
|
|
110
|
+
[Full table on the Swiss Federal Office for Customs and Border Security rates page](https://allratestoday.com/tax-authority-rates-api/bazg/) · Source: [Official rates published by BAZG, served by AllRatesToday](https://allratestoday.com/tax-authority-rates-api/bazg/). Rates are as printed by the tax authority; AllRatesToday is not affiliated with it.
|
|
111
111
|
<!-- daily-table:end -->
|
|
112
112
|
|
|
113
113
|
## 🔑 Get your API key
|
|
@@ -300,7 +300,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bazg/latest?format=xml&api_k
|
|
|
300
300
|
- 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
|
|
301
301
|
- 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('bazg')` 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
|
|
302
302
|
- 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 bazg ...` command
|
|
303
|
-
-
|
|
303
|
+
- Evaluating? 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 that covers the free-plan methods (latest table, pairs); dated tables and history need a [paid plan](https://allratestoday.com/pricing/). The MCP servers expose it as `request_trial_key`
|
|
304
304
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
305
305
|
|
|
306
306
|
## ⚖️ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bazg-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"description": "Official Swiss Federal Office for Customs and Border Security (Switzerland) daily exchange rates — 73 currencies vs CHF, history since 2000. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bazg",
|