@allratestoday/fed-exchange-rate 1.3.7 โ 1.3.13
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 +36 -33
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -37,35 +37,37 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
37
37
|
|
|
38
38
|
## ๐ Latest published table
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
[](https://allratestoday.com/central-bank-rates-api/fed/)
|
|
41
|
+
|
|
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.
|
|
41
43
|
|
|
42
44
|
<!-- daily-table:start -->
|
|
43
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-09** by US Federal Reserve โ 22 rates. Updated 2026-10-14.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
|
-
| AUD | USD | reference | 0.
|
|
48
|
-
| EUR | USD | reference | 1.
|
|
49
|
-
| GBP | USD | reference | 1.
|
|
50
|
-
| NZD | USD | reference | 0.
|
|
51
|
-
| USD | BRL | reference |
|
|
52
|
-
| USD | CAD | reference | 1.
|
|
53
|
-
| USD | CHF | reference | 0.
|
|
54
|
-
| USD | CNY | reference | 6.
|
|
55
|
-
| USD | DKK | reference | 6.
|
|
56
|
-
| USD | HKD | reference | 7.
|
|
57
|
-
| USD | INR | reference | 96.
|
|
58
|
-
| USD | JPY | reference |
|
|
59
|
-
| USD | KRW | reference |
|
|
60
|
-
| USD | LKR | reference | 330.
|
|
61
|
-
| USD | MXN | reference | 18.
|
|
62
|
-
| USD | MYR | reference | 4.
|
|
63
|
-
| USD | NOK | reference | 9.
|
|
64
|
-
| USD | SEK | reference | 10.
|
|
65
|
-
| USD | SGD | reference | 1.
|
|
66
|
-
| USD | THB | reference | 33.
|
|
67
|
-
| USD | TWD | reference |
|
|
68
|
-
| USD | ZAR | reference | 16.
|
|
49
|
+
| AUD | USD | reference | 0.6979 |
|
|
50
|
+
| EUR | USD | reference | 1.1193 |
|
|
51
|
+
| GBP | USD | reference | 1.3229 |
|
|
52
|
+
| NZD | USD | reference | 0.5611 |
|
|
53
|
+
| USD | BRL | reference | 4.979 |
|
|
54
|
+
| USD | CAD | reference | 1.4269 |
|
|
55
|
+
| USD | CHF | reference | 0.8308 |
|
|
56
|
+
| USD | CNY | reference | 6.692 |
|
|
57
|
+
| USD | DKK | reference | 6.678 |
|
|
58
|
+
| USD | HKD | reference | 7.8476 |
|
|
59
|
+
| USD | INR | reference | 96.73 |
|
|
60
|
+
| USD | JPY | reference | 158.34 |
|
|
61
|
+
| USD | KRW | reference | 1342.13 |
|
|
62
|
+
| USD | LKR | reference | 330.8 |
|
|
63
|
+
| USD | MXN | reference | 18.399 |
|
|
64
|
+
| USD | MYR | reference | 4.083 |
|
|
65
|
+
| USD | NOK | reference | 9.5665 |
|
|
66
|
+
| USD | SEK | reference | 10.0039 |
|
|
67
|
+
| USD | SGD | reference | 1.2811 |
|
|
68
|
+
| USD | THB | reference | 33.55 |
|
|
69
|
+
| USD | TWD | reference | 31.94 |
|
|
70
|
+
| USD | ZAR | reference | 16.532 |
|
|
69
71
|
|
|
70
72
|
Source: [Official rates published by FED, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/fed/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
71
73
|
<!-- daily-table:end -->
|
|
@@ -122,10 +124,10 @@ const pair = await getRate('USD', 'JPY', { apiKey: 'art_live_...' });
|
|
|
122
124
|
{
|
|
123
125
|
bank: 'fed',
|
|
124
126
|
name: 'US Federal Reserve',
|
|
125
|
-
rate_date: '2026-10-
|
|
127
|
+
rate_date: '2026-10-09', // US Federal Reserve's own publication date
|
|
126
128
|
source: 'USD',
|
|
127
129
|
target: 'JPY',
|
|
128
|
-
rate:
|
|
130
|
+
rate: 158.34,
|
|
129
131
|
rate_type: 'reference',
|
|
130
132
|
derived: false,
|
|
131
133
|
method: 'published',
|
|
@@ -150,9 +152,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
150
152
|
{
|
|
151
153
|
bank: 'fed',
|
|
152
154
|
name: 'US Federal Reserve',
|
|
153
|
-
rate_date: '2026-10-
|
|
155
|
+
rate_date: '2026-10-09',
|
|
154
156
|
rates: [
|
|
155
|
-
{ "base": "USD", "quote": "JPY", "type": "reference", "value":
|
|
157
|
+
{ "base": "USD", "quote": "JPY", "type": "reference", "value": 158.34 },
|
|
156
158
|
// โฆ the rest of the published table (22 currencies vs USD)
|
|
157
159
|
],
|
|
158
160
|
disclaimer: 'โฆ'
|
|
@@ -192,7 +194,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
192
194
|
import { getHistory } from '@allratestoday/fed-exchange-rate';
|
|
193
195
|
|
|
194
196
|
const series = await getHistory(
|
|
195
|
-
{ source: 'USD', target: 'JPY', from: '2026-01-01', to: '2026-10-
|
|
197
|
+
{ source: 'USD', target: 'JPY', from: '2026-01-01', to: '2026-10-09' },
|
|
196
198
|
{ apiKey: 'art_live_...' }
|
|
197
199
|
);
|
|
198
200
|
```
|
|
@@ -205,11 +207,11 @@ const series = await getHistory(
|
|
|
205
207
|
source: 'USD',
|
|
206
208
|
target: 'JPY',
|
|
207
209
|
from: '2026-01-01',
|
|
208
|
-
to: '2026-10-
|
|
210
|
+
to: '2026-10-09',
|
|
209
211
|
count: 152,
|
|
210
212
|
rates: [
|
|
211
213
|
// one entry per publication date
|
|
212
|
-
{ date: '2026-10-
|
|
214
|
+
{ date: '2026-10-09', rate: 158.34, rate_type: 'reference', derived: false, method: 'published' },
|
|
213
215
|
// โฆ
|
|
214
216
|
],
|
|
215
217
|
disclaimer: 'โฆ'
|
|
@@ -259,6 +261,7 @@ curl "https://allratestoday.com/api/v1/central-bank/fed/latest?format=xml&api_ke
|
|
|
259
261
|
- 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
|
|
260
262
|
- 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('fed')` 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
|
|
261
263
|
- 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 fed ...` command
|
|
264
|
+
- 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`
|
|
262
265
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
263
266
|
|
|
264
267
|
## โ๏ธ Published vs derived rates
|
|
@@ -327,9 +330,9 @@ getRate('USD', 'JPY', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
327
330
|
|
|
328
331
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
329
332
|
|
|
330
|
-
- Hugging Face: [
|
|
333
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ one CSV per institution (`rates/fed.csv`)
|
|
331
334
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
332
|
-
-
|
|
335
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/fed/latest.json`
|
|
333
336
|
|
|
334
337
|
## ๐ Links
|
|
335
338
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/fed-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Official US Federal Reserve (United States) weekly exchange rates โ 22 currencies vs USD, history since 2016. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fed",
|
|
7
|
-
"us",
|
|
7
|
+
"us-federal-reserve",
|
|
8
8
|
"federal",
|
|
9
9
|
"reserve",
|
|
10
10
|
"exchange-rate",
|
|
11
11
|
"exchange-rates",
|
|
12
|
+
"exchangerate",
|
|
13
|
+
"exchange rate",
|
|
14
|
+
"usd-exchange-rate",
|
|
12
15
|
"currency",
|
|
13
16
|
"forex",
|
|
14
17
|
"fx",
|
|
15
18
|
"usd",
|
|
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-states",
|