@allratestoday/hmrc-exchange-rate 1.3.9 → 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 +5 -5
- package/package.json +12 -4
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ 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-01** by HM Revenue & Customs — 141 rates, first 60 shown. Updated 2026-10-
|
|
45
|
+
Published **2026-10-01** by HM Revenue & Customs — 141 rates, first 60 shown. Updated 2026-10-16.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
@@ -107,7 +107,7 @@ Published **2026-10-01** by HM Revenue & Customs — 141 rates, first 60 shown.
|
|
|
107
107
|
| GBP | JPY | monthly | 208.5932 |
|
|
108
108
|
| GBP | KES | monthly | 174.3866 |
|
|
109
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/
|
|
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/tax-authority-rates-api/hmrc/). 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
|
|
@@ -299,7 +299,7 @@ curl "https://allratestoday.com/api/v1/central-bank/hmrc/latest?format=xml&api_k
|
|
|
299
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
|
|
300
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('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
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 hmrc ...` command
|
|
302
|
-
-
|
|
302
|
+
- 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
303
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
304
304
|
|
|
305
305
|
## ⚖️ Published vs derived rates
|
|
@@ -368,9 +368,9 @@ getRate('GBP', 'USD', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
368
368
|
|
|
369
369
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
370
370
|
|
|
371
|
-
- Hugging Face: [
|
|
371
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/hmrc.csv`)
|
|
372
372
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
373
|
-
-
|
|
373
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/hmrc/latest.json`
|
|
374
374
|
|
|
375
375
|
## 🔗 Links
|
|
376
376
|
|
package/package.json
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/hmrc-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
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",
|
|
7
|
-
"hm",
|
|
7
|
+
"hm-revenue-customs",
|
|
8
8
|
"revenue",
|
|
9
|
-
"&",
|
|
10
9
|
"customs",
|
|
11
10
|
"exchange-rate",
|
|
12
11
|
"exchange-rates",
|
|
12
|
+
"exchangerate",
|
|
13
|
+
"exchange rate",
|
|
14
|
+
"gbp-exchange-rate",
|
|
13
15
|
"currency",
|
|
14
16
|
"forex",
|
|
15
17
|
"fx",
|
|
16
18
|
"gbp",
|
|
17
|
-
"
|
|
19
|
+
"currency-api",
|
|
20
|
+
"currency-exchange-rates",
|
|
21
|
+
"forex-api",
|
|
22
|
+
"currency-conversion",
|
|
23
|
+
"currency-exchange",
|
|
24
|
+
"currency-rates",
|
|
25
|
+
"tax-authority",
|
|
18
26
|
"official-rates",
|
|
19
27
|
"united-kingdom",
|
|
20
28
|
"api",
|