@allratestoday/hmrc-exchange-rate 1.3.13 โ†’ 1.3.16

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 +10 -74
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -20,6 +20,10 @@
20
20
 
21
21
  > **Official rate, not mid-market:** every value here is a number HM Revenue & Customs itself published, fixed once printed and carrying the tax authority's own `rate_date` โ€” what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the [mid-market API](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.
22
22
 
23
+ ## ๐Ÿ”‘ Get your API key
24
+
25
+ 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.
26
+
23
27
  ## โšก Try it without a key
24
28
 
25
29
  The latest HM Revenue & Customs table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
@@ -33,87 +37,18 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/hmrc').th
33
37
  console.log(r.rate_date, r.rates.length); // the tax authority's latest published table, no key
34
38
  ```
35
39
 
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.
40
+ The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables and history.
37
41
 
38
42
  ## ๐Ÿ“ˆ Latest published table
39
43
 
40
44
  [![Latest HM Revenue & Customs table](https://allratestoday.com/api/open/central-bank/hmrc/table.svg)](https://allratestoday.com/tax-authority-rates-api/hmrc/)
41
45
 
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.
46
+ 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 same table as text is folded below 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
47
 
44
48
  <!-- daily-table:start -->
45
- Published **2026-10-01** by HM Revenue & Customs โ€” 141 rates, first 60 shown. Updated 2026-10-14.
46
-
47
- | Base | Quote | Type | Rate |
48
- | --- | --- | --- | ---: |
49
- | GBP | AED | monthly | 4.9418 |
50
- | GBP | ALL | monthly | 107.0437 |
51
- | GBP | AMD | monthly | 489.0579 |
52
- | GBP | AOA | monthly | 1233.1555 |
53
- | GBP | ARS | monthly | 2027.5756 |
54
- | GBP | AUD | monthly | 1.8868 |
55
- | GBP | AWG | monthly | 2.4086 |
56
- | GBP | AZN | monthly | 2.2875 |
57
- | GBP | BAM | monthly | 2.2815 |
58
- | GBP | BBD | monthly | 2.6912 |
59
- | GBP | BDT | monthly | 165.6588 |
60
- | GBP | BHD | monthly | 0.5059 |
61
- | GBP | BIF | monthly | 4027.0511 |
62
- | GBP | BMD | monthly | 1.3456 |
63
- | GBP | BND | monthly | 1.7135 |
64
- | GBP | BOB | monthly | 16.1986 |
65
- | GBP | BRL | monthly | 6.927 |
66
- | GBP | BSD | monthly | 1.3456 |
67
- | GBP | BTN | monthly | 129.0581 |
68
- | GBP | BWP | monthly | 18.1782 |
69
- | GBP | BYN | monthly | 4.0782 |
70
- | GBP | BZD | monthly | 2.7091 |
71
- | GBP | CAD | monthly | 1.8758 |
72
- | GBP | CDF | monthly | 3102.3658 |
73
- | GBP | CHF | monthly | 1.102 |
74
- | GBP | CLP | monthly | 1284.8396 |
75
- | GBP | CNY | monthly | 9.0274 |
76
- | GBP | COP | monthly | 4198.0295 |
77
- | GBP | CRC | monthly | 602.5178 |
78
- | GBP | CUP | monthly | 32.3035 |
79
- | GBP | CVE | monthly | 128.6341 |
80
- | GBP | CZK | monthly | 28.3582 |
81
- | GBP | DJF | monthly | 239.61 |
82
- | GBP | DKK | monthly | 8.7205 |
83
- | GBP | DOP | monthly | 79.4809 |
84
- | GBP | DZD | monthly | 179.9788 |
85
- | GBP | EGP | monthly | 70.079 |
86
- | GBP | ERN | monthly | 20.1842 |
87
- | GBP | ETB | monthly | 217.507 |
88
- | GBP | EUR | monthly | 1.1665 |
89
- | GBP | FJD | monthly | 2.9777 |
90
- | GBP | GEL | monthly | 3.498 |
91
- | GBP | GHS | monthly | 15.4436 |
92
- | GBP | GMD | monthly | 99.5772 |
93
- | GBP | GNF | monthly | 11842.4924 |
94
- | GBP | GTQ | monthly | 10.2705 |
95
- | GBP | GYD | monthly | 281.4221 |
96
- | GBP | HKD | monthly | 10.5562 |
97
- | GBP | HNL | monthly | 36.152 |
98
- | GBP | HTG | monthly | 175.9225 |
99
- | GBP | HUF | monthly | 425.2162 |
100
- | GBP | IDR | monthly | 23773.0976 |
101
- | GBP | ILS | monthly | 4.0783 |
102
- | GBP | INR | monthly | 129.0581 |
103
- | GBP | IQD | monthly | 1763.3813 |
104
- | GBP | ISK | monthly | 163.0905 |
105
- | GBP | JMD | monthly | 212.3121 |
106
- | GBP | JOD | monthly | 0.954 |
107
- | GBP | JPY | monthly | 208.5932 |
108
- | GBP | KES | monthly | 174.3866 |
109
-
110
- [Full table on the HM Revenue & Customs rates page](https://allratestoday.com/tax-authority-rates-api/hmrc/) ยท Source: [Official rates published by HMRC, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/hmrc/). Rates are as printed by the tax authority; AllRatesToday is not affiliated with it.
49
+ _The table is filled in by the daily workflow._
111
50
  <!-- daily-table:end -->
112
51
 
113
- ## ๐Ÿ”‘ Get your API key
114
-
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.
116
-
117
52
  ## ๐Ÿ“ฆ Installation
118
53
 
119
54
  ```bash
@@ -299,7 +234,7 @@ curl "https://allratestoday.com/api/v1/central-bank/hmrc/latest?format=xml&api_k
299
234
  - 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
300
235
  - 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('hmrc')` 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
301
236
  - 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 hmrc ...` 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`
237
+ - 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`
303
238
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
304
239
 
305
240
  ## โš–๏ธ Published vs derived rates
@@ -378,7 +313,8 @@ Need the whole archive rather than an API call? The same published tables are mi
378
313
  - [All tax authority sources](https://allratestoday.com/tax-authority-rates-api/)
379
314
  - [Package docs on the site](https://allratestoday.com/docs/sdk/hmrc-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
380
315
  - [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
381
- - [Register (free)](https://allratestoday.com/register) ยท [Pricing](https://allratestoday.com/pricing/)
316
+ - [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
317
+ - [Status](https://allratestoday.com/status)
382
318
  - [GitHub](https://github.com/AllRates-Today/hmrc-exchange-rate)
383
319
 
384
320
  ## ๐Ÿ“œ License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/hmrc-exchange-rate",
3
- "version": "1.3.13",
3
+ "version": "1.3.16",
4
4
  "description": "Official HM Revenue & Customs (United Kingdom) monthly exchange rates โ€” 141 currencies vs GBP, history since 2021. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "hmrc",
@@ -11,6 +11,7 @@
11
11
  "exchange-rates",
12
12
  "exchangerate",
13
13
  "exchange rate",
14
+ "exchange rates",
14
15
  "gbp-exchange-rate",
15
16
  "currency",
16
17
  "forex",