@allratestoday/cbe-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 +48 -48
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,46 +42,46 @@ 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 Central Bank of Egypt — 36 rates. Updated 2026-10-16.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | EGP | buy | 14.
|
|
50
|
-
| AED | EGP | sell | 14.
|
|
51
|
-
| AUD | EGP | buy | 36.
|
|
52
|
-
| AUD | EGP | sell |
|
|
53
|
-
| BHD | EGP | buy |
|
|
54
|
-
| BHD | EGP | sell |
|
|
55
|
-
| CAD | EGP | buy |
|
|
56
|
-
| CAD | EGP | sell |
|
|
57
|
-
| CHF | EGP | buy |
|
|
58
|
-
| CHF | EGP | sell |
|
|
59
|
-
| CNY | EGP | buy | 7.
|
|
60
|
-
| CNY | EGP | sell |
|
|
61
|
-
| DKK | EGP | buy |
|
|
62
|
-
| DKK | EGP | sell |
|
|
63
|
-
| EUR | EGP | buy |
|
|
64
|
-
| EUR | EGP | sell |
|
|
65
|
-
| GBP | EGP | buy |
|
|
66
|
-
| GBP | EGP | sell |
|
|
67
|
-
| JOD | EGP | buy |
|
|
68
|
-
| JOD | EGP | sell |
|
|
69
|
-
| JPY | EGP | buy | 0.
|
|
70
|
-
| JPY | EGP | sell | 0.
|
|
71
|
-
| KWD | EGP | buy |
|
|
72
|
-
| KWD | EGP | sell |
|
|
73
|
-
| NOK | EGP | buy | 5.
|
|
74
|
-
| NOK | EGP | sell | 5.
|
|
75
|
-
| OMR | EGP | buy |
|
|
76
|
-
| OMR | EGP | sell |
|
|
77
|
-
| QAR | EGP | buy | 14.
|
|
78
|
-
| QAR | EGP | sell | 14.
|
|
79
|
-
| SAR | EGP | buy | 14.
|
|
80
|
-
| SAR | EGP | sell | 14.
|
|
81
|
-
| SEK | EGP | buy | 5.
|
|
82
|
-
| SEK | EGP | sell | 5.
|
|
83
|
-
| USD | EGP | buy |
|
|
84
|
-
| USD | EGP | sell |
|
|
49
|
+
| AED | EGP | buy | 14.5374 |
|
|
50
|
+
| AED | EGP | sell | 14.5763 |
|
|
51
|
+
| AUD | EGP | buy | 36.9469 |
|
|
52
|
+
| AUD | EGP | sell | 37.0491 |
|
|
53
|
+
| BHD | EGP | buy | 141.3032 |
|
|
54
|
+
| BHD | EGP | sell | 141.8239 |
|
|
55
|
+
| CAD | EGP | buy | 37.5943 |
|
|
56
|
+
| CAD | EGP | sell | 37.6955 |
|
|
57
|
+
| CHF | EGP | buy | 64.3425 |
|
|
58
|
+
| CHF | EGP | sell | 64.5268 |
|
|
59
|
+
| CNY | EGP | buy | 7.9794 |
|
|
60
|
+
| CNY | EGP | sell | 8.0006 |
|
|
61
|
+
| DKK | EGP | buy | 8.0098 |
|
|
62
|
+
| DKK | EGP | sell | 8.0314 |
|
|
63
|
+
| EUR | EGP | buy | 59.8731 |
|
|
64
|
+
| EUR | EGP | sell | 60.0355 |
|
|
65
|
+
| GBP | EGP | buy | 70.749 |
|
|
66
|
+
| GBP | EGP | sell | 70.972 |
|
|
67
|
+
| JOD | EGP | buy | 75.1992 |
|
|
68
|
+
| JOD | EGP | sell | 75.6094 |
|
|
69
|
+
| JPY | EGP | buy | 0.338477 |
|
|
70
|
+
| JPY | EGP | sell | 0.339408 |
|
|
71
|
+
| KWD | EGP | buy | 173.2363 |
|
|
72
|
+
| KWD | EGP | sell | 173.7469 |
|
|
73
|
+
| NOK | EGP | buy | 5.6081 |
|
|
74
|
+
| NOK | EGP | sell | 5.6299 |
|
|
75
|
+
| OMR | EGP | buy | 138.6322 |
|
|
76
|
+
| OMR | EGP | sell | 139.086 |
|
|
77
|
+
| QAR | EGP | buy | 14.6462 |
|
|
78
|
+
| QAR | EGP | sell | 14.6863 |
|
|
79
|
+
| SAR | EGP | buy | 14.2271 |
|
|
80
|
+
| SAR | EGP | sell | 14.2652 |
|
|
81
|
+
| SEK | EGP | buy | 5.3564 |
|
|
82
|
+
| SEK | EGP | sell | 5.371 |
|
|
83
|
+
| USD | EGP | buy | 53.3914 |
|
|
84
|
+
| USD | EGP | sell | 53.5314 |
|
|
85
85
|
|
|
86
86
|
Source: [Official rates published by CBE, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbe/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
87
87
|
<!-- daily-table:end -->
|
|
@@ -138,10 +138,10 @@ const pair = await getRate('USD', 'EGP', { apiKey: 'art_live_...' });
|
|
|
138
138
|
{
|
|
139
139
|
bank: 'cbe',
|
|
140
140
|
name: 'Central Bank of Egypt',
|
|
141
|
-
rate_date: '2026-10-
|
|
141
|
+
rate_date: '2026-10-14', // Central Bank of Egypt's own publication date
|
|
142
142
|
source: 'USD',
|
|
143
143
|
target: 'EGP',
|
|
144
|
-
rate:
|
|
144
|
+
rate: 53.1817,
|
|
145
145
|
rate_type: 'sell',
|
|
146
146
|
derived: false,
|
|
147
147
|
method: 'published',
|
|
@@ -166,10 +166,10 @@ console.log(table.rate_date, table.rates.length);
|
|
|
166
166
|
{
|
|
167
167
|
bank: 'cbe',
|
|
168
168
|
name: 'Central Bank of Egypt',
|
|
169
|
-
rate_date: '2026-10-
|
|
169
|
+
rate_date: '2026-10-14',
|
|
170
170
|
rates: [
|
|
171
|
-
{ "base": "USD", "quote": "EGP", "type": "sell", "value":
|
|
172
|
-
{ "base": "USD", "quote": "EGP", "type": "buy", "value":
|
|
171
|
+
{ "base": "USD", "quote": "EGP", "type": "sell", "value": 53.1817 },
|
|
172
|
+
{ "base": "USD", "quote": "EGP", "type": "buy", "value": 53.0417 },
|
|
173
173
|
// … the rest of the published table (18 currencies vs EGP)
|
|
174
174
|
],
|
|
175
175
|
disclaimer: '…'
|
|
@@ -209,7 +209,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
209
209
|
import { getHistory } from '@allratestoday/cbe-exchange-rate';
|
|
210
210
|
|
|
211
211
|
const series = await getHistory(
|
|
212
|
-
{ source: 'USD', target: 'EGP', from: '2026-01-01', to: '2026-10-
|
|
212
|
+
{ source: 'USD', target: 'EGP', from: '2026-01-01', to: '2026-10-14' },
|
|
213
213
|
{ apiKey: 'art_live_...' }
|
|
214
214
|
);
|
|
215
215
|
```
|
|
@@ -222,11 +222,11 @@ const series = await getHistory(
|
|
|
222
222
|
source: 'USD',
|
|
223
223
|
target: 'EGP',
|
|
224
224
|
from: '2026-01-01',
|
|
225
|
-
to: '2026-10-
|
|
225
|
+
to: '2026-10-14',
|
|
226
226
|
count: 152,
|
|
227
227
|
rates: [
|
|
228
228
|
// one entry per publication date
|
|
229
|
-
{ date: '2026-10-
|
|
229
|
+
{ date: '2026-10-14', rate: 53.1817, rate_type: 'sell', derived: false, method: 'published' },
|
|
230
230
|
// …
|
|
231
231
|
],
|
|
232
232
|
disclaimer: '…'
|
|
@@ -276,7 +276,7 @@ curl "https://allratestoday.com/api/v1/central-bank/cbe/latest?format=xml&api_ke
|
|
|
276
276
|
- 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
|
|
277
277
|
- 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('cbe')` 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
|
|
278
278
|
- 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 cbe ...` command
|
|
279
|
-
-
|
|
279
|
+
- 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`
|
|
280
280
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
281
281
|
|
|
282
282
|
## ⚖️ Published vs derived rates
|
|
@@ -345,9 +345,9 @@ getRate('USD', 'EGP', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
345
345
|
|
|
346
346
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
347
347
|
|
|
348
|
-
- Hugging Face: [
|
|
348
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/cbe.csv`)
|
|
349
349
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
350
|
-
-
|
|
350
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/cbe/latest.json`
|
|
351
351
|
|
|
352
352
|
## 🔗 Links
|
|
353
353
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/cbe-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.14",
|
|
4
4
|
"description": "Official Central Bank of Egypt (Egypt) daily exchange rates — 18 currencies vs EGP, history since 2026. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbe",
|
|
7
|
+
"central-bank-of-egypt",
|
|
7
8
|
"central",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"egypt",
|
|
11
11
|
"exchange-rate",
|
|
12
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"egp-exchange-rate",
|
|
13
16
|
"currency",
|
|
14
17
|
"forex",
|
|
15
18
|
"fx",
|
|
16
19
|
"egp",
|
|
20
|
+
"currency-api",
|
|
21
|
+
"currency-exchange-rates",
|
|
22
|
+
"forex-api",
|
|
23
|
+
"currency-conversion",
|
|
24
|
+
"currency-exchange",
|
|
25
|
+
"currency-rates",
|
|
17
26
|
"central-bank",
|
|
18
27
|
"official-rates",
|
|
19
|
-
"egypt",
|
|
20
28
|
"api",
|
|
21
29
|
"typescript"
|
|
22
30
|
],
|