@allratestoday/boe-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 +34 -34
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -42,33 +42,33 @@ 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 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
43
|
|
|
44
44
|
<!-- daily-table:start -->
|
|
45
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-15** by Bank of England — 23 rates. Updated 2026-10-16.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| GBP | AUD | reference | 1.
|
|
50
|
-
| GBP | CAD | reference | 1.
|
|
51
|
-
| GBP | CHF | reference | 1.
|
|
52
|
-
| GBP | CNY | reference | 8.
|
|
53
|
-
| GBP | DKK | reference | 8.
|
|
54
|
-
| GBP | EUR | reference | 1.
|
|
55
|
-
| GBP | HKD | reference | 10.
|
|
56
|
-
| GBP | ILS | reference | 4.
|
|
57
|
-
| GBP | INR | reference |
|
|
58
|
-
| GBP | JPY | reference | 209.
|
|
59
|
-
| GBP | KRW | reference |
|
|
60
|
-
| GBP | MYR | reference | 5.
|
|
61
|
-
| GBP | NOK | reference | 12.
|
|
62
|
-
| GBP | NZD | reference | 2.
|
|
63
|
-
| GBP | PLN | reference | 5.
|
|
64
|
-
| GBP | SAR | reference | 4.
|
|
65
|
-
| GBP | SEK | reference | 13.
|
|
66
|
-
| GBP | SGD | reference | 1.
|
|
67
|
-
| GBP | THB | reference | 44.
|
|
68
|
-
| GBP | TRY | reference | 65.
|
|
69
|
-
| GBP | TWD | reference | 42.
|
|
70
|
-
| GBP | USD | reference | 1.
|
|
71
|
-
| GBP | ZAR | reference | 21.
|
|
49
|
+
| GBP | AUD | reference | 1.9147 |
|
|
50
|
+
| GBP | CAD | reference | 1.8813 |
|
|
51
|
+
| GBP | CHF | reference | 1.099 |
|
|
52
|
+
| GBP | CNY | reference | 8.8661 |
|
|
53
|
+
| GBP | DKK | reference | 8.8435 |
|
|
54
|
+
| GBP | EUR | reference | 1.183 |
|
|
55
|
+
| GBP | HKD | reference | 10.3992 |
|
|
56
|
+
| GBP | ILS | reference | 4.1135 |
|
|
57
|
+
| GBP | INR | reference | 125.9783 |
|
|
58
|
+
| GBP | JPY | reference | 209.4823 |
|
|
59
|
+
| GBP | KRW | reference | 1780.3607 |
|
|
60
|
+
| GBP | MYR | reference | 5.4096 |
|
|
61
|
+
| GBP | NOK | reference | 12.5728 |
|
|
62
|
+
| GBP | NZD | reference | 2.3602 |
|
|
63
|
+
| GBP | PLN | reference | 5.1683 |
|
|
64
|
+
| GBP | SAR | reference | 4.9734 |
|
|
65
|
+
| GBP | SEK | reference | 13.1997 |
|
|
66
|
+
| GBP | SGD | reference | 1.6997 |
|
|
67
|
+
| GBP | THB | reference | 44.4158 |
|
|
68
|
+
| GBP | TRY | reference | 65.4904 |
|
|
69
|
+
| GBP | TWD | reference | 42.9315 |
|
|
70
|
+
| GBP | USD | reference | 1.3253 |
|
|
71
|
+
| GBP | ZAR | reference | 21.8884 |
|
|
72
72
|
|
|
73
73
|
Source: [Official rates published by BOE, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/boe/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
74
74
|
<!-- daily-table:end -->
|
|
@@ -125,10 +125,10 @@ const pair = await getRate('GBP', 'USD', { apiKey: 'art_live_...' });
|
|
|
125
125
|
{
|
|
126
126
|
bank: 'boe',
|
|
127
127
|
name: 'Bank of England',
|
|
128
|
-
rate_date: '2026-10-
|
|
128
|
+
rate_date: '2026-10-12', // Bank of England's own publication date
|
|
129
129
|
source: 'GBP',
|
|
130
130
|
target: 'USD',
|
|
131
|
-
rate: 1.
|
|
131
|
+
rate: 1.322,
|
|
132
132
|
rate_type: 'reference',
|
|
133
133
|
derived: false,
|
|
134
134
|
method: 'published',
|
|
@@ -153,9 +153,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
153
153
|
{
|
|
154
154
|
bank: 'boe',
|
|
155
155
|
name: 'Bank of England',
|
|
156
|
-
rate_date: '2026-10-
|
|
156
|
+
rate_date: '2026-10-12',
|
|
157
157
|
rates: [
|
|
158
|
-
{ "base": "GBP", "quote": "USD", "type": "reference", "value": 1.
|
|
158
|
+
{ "base": "GBP", "quote": "USD", "type": "reference", "value": 1.322 },
|
|
159
159
|
// … the rest of the published table (23 currencies vs GBP)
|
|
160
160
|
],
|
|
161
161
|
disclaimer: '…'
|
|
@@ -195,7 +195,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
195
195
|
import { getHistory } from '@allratestoday/boe-exchange-rate';
|
|
196
196
|
|
|
197
197
|
const series = await getHistory(
|
|
198
|
-
{ source: 'GBP', target: 'USD', from: '2026-01-01', to: '2026-10-
|
|
198
|
+
{ source: 'GBP', target: 'USD', from: '2026-01-01', to: '2026-10-12' },
|
|
199
199
|
{ apiKey: 'art_live_...' }
|
|
200
200
|
);
|
|
201
201
|
```
|
|
@@ -208,11 +208,11 @@ const series = await getHistory(
|
|
|
208
208
|
source: 'GBP',
|
|
209
209
|
target: 'USD',
|
|
210
210
|
from: '2026-01-01',
|
|
211
|
-
to: '2026-10-
|
|
211
|
+
to: '2026-10-12',
|
|
212
212
|
count: 152,
|
|
213
213
|
rates: [
|
|
214
214
|
// one entry per publication date
|
|
215
|
-
{ date: '2026-10-
|
|
215
|
+
{ date: '2026-10-12', rate: 1.322, rate_type: 'reference', derived: false, method: 'published' },
|
|
216
216
|
// …
|
|
217
217
|
],
|
|
218
218
|
disclaimer: '…'
|
|
@@ -262,7 +262,7 @@ curl "https://allratestoday.com/api/v1/central-bank/boe/latest?format=xml&api_ke
|
|
|
262
262
|
- 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
|
|
263
263
|
- 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('boe')` 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
|
|
264
264
|
- 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 boe ...` command
|
|
265
|
-
-
|
|
265
|
+
- 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`
|
|
266
266
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
267
267
|
|
|
268
268
|
## ⚖️ Published vs derived rates
|
|
@@ -331,9 +331,9 @@ getRate('GBP', 'USD', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
331
331
|
|
|
332
332
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
333
333
|
|
|
334
|
-
- Hugging Face: [
|
|
334
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/boe.csv`)
|
|
335
335
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
336
|
-
-
|
|
336
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/boe/latest.json`
|
|
337
337
|
|
|
338
338
|
## 🔗 Links
|
|
339
339
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/boe-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"description": "Official Bank of England (United Kingdom) daily exchange rates — 23 currencies vs GBP, history since 2016. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"boe",
|
|
7
|
+
"bank-of-england",
|
|
7
8
|
"bank",
|
|
8
|
-
"of",
|
|
9
9
|
"england",
|
|
10
10
|
"exchange-rate",
|
|
11
11
|
"exchange-rates",
|
|
12
|
+
"exchangerate",
|
|
13
|
+
"exchange rate",
|
|
14
|
+
"gbp-exchange-rate",
|
|
12
15
|
"currency",
|
|
13
16
|
"forex",
|
|
14
17
|
"fx",
|
|
15
18
|
"gbp",
|
|
19
|
+
"currency-api",
|
|
20
|
+
"currency-exchange-rates",
|
|
21
|
+
"forex-api",
|
|
22
|
+
"currency-conversion",
|
|
23
|
+
"currency-exchange",
|
|
24
|
+
"currency-rates",
|
|
16
25
|
"central-bank",
|
|
17
26
|
"official-rates",
|
|
18
27
|
"united-kingdom",
|