@allratestoday/cbe-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 +51 -48
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -37,49 +37,51 @@ 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/cbe/)
|
|
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-14** by Central Bank of Egypt โ 36 rates. Updated 2026-10-14.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
|
-
| AED | EGP | buy | 14.
|
|
48
|
-
| AED | EGP | sell | 14.
|
|
49
|
-
| AUD | EGP | buy |
|
|
50
|
-
| AUD | EGP | sell |
|
|
51
|
-
| BHD | EGP | buy |
|
|
52
|
-
| BHD | EGP | sell |
|
|
53
|
-
| CAD | EGP | buy |
|
|
54
|
-
| CAD | EGP | sell |
|
|
55
|
-
| CHF | EGP | buy |
|
|
56
|
-
| CHF | EGP | sell | 63.
|
|
57
|
-
| CNY | EGP | buy | 7.
|
|
58
|
-
| CNY | EGP | sell | 7.
|
|
59
|
-
| DKK | EGP | buy | 7.
|
|
60
|
-
| DKK | EGP | sell | 7.
|
|
61
|
-
| EUR | EGP | buy |
|
|
62
|
-
| EUR | EGP | sell |
|
|
63
|
-
| GBP | EGP | buy |
|
|
64
|
-
| GBP | EGP | sell |
|
|
65
|
-
| JOD | EGP | buy |
|
|
66
|
-
| JOD | EGP | sell |
|
|
67
|
-
| JPY | EGP | buy | 0.
|
|
68
|
-
| JPY | EGP | sell | 0.
|
|
69
|
-
| KWD | EGP | buy |
|
|
70
|
-
| KWD | EGP | sell |
|
|
71
|
-
| NOK | EGP | buy | 5.
|
|
72
|
-
| NOK | EGP | sell | 5.
|
|
73
|
-
| OMR | EGP | buy |
|
|
74
|
-
| OMR | EGP | sell |
|
|
75
|
-
| QAR | EGP | buy | 14.
|
|
76
|
-
| QAR | EGP | sell | 14.
|
|
77
|
-
| SAR | EGP | buy |
|
|
78
|
-
| SAR | EGP | sell |
|
|
79
|
-
| SEK | EGP | buy | 5.
|
|
80
|
-
| SEK | EGP | sell | 5.
|
|
81
|
-
| USD | EGP | buy |
|
|
82
|
-
| USD | EGP | sell |
|
|
49
|
+
| AED | EGP | buy | 14.4418 |
|
|
50
|
+
| AED | EGP | sell | 14.4807 |
|
|
51
|
+
| AUD | EGP | buy | 37.161 |
|
|
52
|
+
| AUD | EGP | sell | 37.2644 |
|
|
53
|
+
| BHD | EGP | buy | 140.3963 |
|
|
54
|
+
| BHD | EGP | sell | 140.8787 |
|
|
55
|
+
| CAD | EGP | buy | 37.3165 |
|
|
56
|
+
| CAD | EGP | sell | 37.4177 |
|
|
57
|
+
| CHF | EGP | buy | 63.6068 |
|
|
58
|
+
| CHF | EGP | sell | 63.813 |
|
|
59
|
+
| CNY | EGP | buy | 7.9251 |
|
|
60
|
+
| CNY | EGP | sell | 7.9463 |
|
|
61
|
+
| DKK | EGP | buy | 7.9393 |
|
|
62
|
+
| DKK | EGP | sell | 7.9609 |
|
|
63
|
+
| EUR | EGP | buy | 59.3484 |
|
|
64
|
+
| EUR | EGP | sell | 59.5103 |
|
|
65
|
+
| GBP | EGP | buy | 70.3439 |
|
|
66
|
+
| GBP | EGP | sell | 70.5455 |
|
|
67
|
+
| JOD | EGP | buy | 74.7066 |
|
|
68
|
+
| JOD | EGP | sell | 75.1154 |
|
|
69
|
+
| JPY | EGP | buy | 0.334733 |
|
|
70
|
+
| JPY | EGP | sell | 0.335701 |
|
|
71
|
+
| KWD | EGP | buy | 172.1016 |
|
|
72
|
+
| KWD | EGP | sell | 172.6119 |
|
|
73
|
+
| NOK | EGP | buy | 5.5828 |
|
|
74
|
+
| NOK | EGP | sell | 5.6023 |
|
|
75
|
+
| OMR | EGP | buy | 137.76 |
|
|
76
|
+
| OMR | EGP | sell | 138.1415 |
|
|
77
|
+
| QAR | EGP | buy | 14.5503 |
|
|
78
|
+
| QAR | EGP | sell | 14.5903 |
|
|
79
|
+
| SAR | EGP | buy | 14.1264 |
|
|
80
|
+
| SAR | EGP | sell | 14.1652 |
|
|
81
|
+
| SEK | EGP | buy | 5.3179 |
|
|
82
|
+
| SEK | EGP | sell | 5.3363 |
|
|
83
|
+
| USD | EGP | buy | 53.0417 |
|
|
84
|
+
| USD | EGP | sell | 53.1817 |
|
|
83
85
|
|
|
84
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.
|
|
85
87
|
<!-- daily-table:end -->
|
|
@@ -136,10 +138,10 @@ const pair = await getRate('USD', 'EGP', { apiKey: 'art_live_...' });
|
|
|
136
138
|
{
|
|
137
139
|
bank: 'cbe',
|
|
138
140
|
name: 'Central Bank of Egypt',
|
|
139
|
-
rate_date: '2026-10-
|
|
141
|
+
rate_date: '2026-10-14', // Central Bank of Egypt's own publication date
|
|
140
142
|
source: 'USD',
|
|
141
143
|
target: 'EGP',
|
|
142
|
-
rate:
|
|
144
|
+
rate: 53.1817,
|
|
143
145
|
rate_type: 'sell',
|
|
144
146
|
derived: false,
|
|
145
147
|
method: 'published',
|
|
@@ -164,10 +166,10 @@ console.log(table.rate_date, table.rates.length);
|
|
|
164
166
|
{
|
|
165
167
|
bank: 'cbe',
|
|
166
168
|
name: 'Central Bank of Egypt',
|
|
167
|
-
rate_date: '2026-10-
|
|
169
|
+
rate_date: '2026-10-14',
|
|
168
170
|
rates: [
|
|
169
|
-
{ "base": "USD", "quote": "EGP", "type": "sell", "value":
|
|
170
|
-
{ "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 },
|
|
171
173
|
// โฆ the rest of the published table (18 currencies vs EGP)
|
|
172
174
|
],
|
|
173
175
|
disclaimer: 'โฆ'
|
|
@@ -207,7 +209,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
207
209
|
import { getHistory } from '@allratestoday/cbe-exchange-rate';
|
|
208
210
|
|
|
209
211
|
const series = await getHistory(
|
|
210
|
-
{ source: 'USD', target: 'EGP', from: '2026-01-01', to: '2026-10-
|
|
212
|
+
{ source: 'USD', target: 'EGP', from: '2026-01-01', to: '2026-10-14' },
|
|
211
213
|
{ apiKey: 'art_live_...' }
|
|
212
214
|
);
|
|
213
215
|
```
|
|
@@ -220,11 +222,11 @@ const series = await getHistory(
|
|
|
220
222
|
source: 'USD',
|
|
221
223
|
target: 'EGP',
|
|
222
224
|
from: '2026-01-01',
|
|
223
|
-
to: '2026-10-
|
|
225
|
+
to: '2026-10-14',
|
|
224
226
|
count: 152,
|
|
225
227
|
rates: [
|
|
226
228
|
// one entry per publication date
|
|
227
|
-
{ date: '2026-10-
|
|
229
|
+
{ date: '2026-10-14', rate: 53.1817, rate_type: 'sell', derived: false, method: 'published' },
|
|
228
230
|
// โฆ
|
|
229
231
|
],
|
|
230
232
|
disclaimer: 'โฆ'
|
|
@@ -274,6 +276,7 @@ curl "https://allratestoday.com/api/v1/central-bank/cbe/latest?format=xml&api_ke
|
|
|
274
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
|
|
275
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
|
|
276
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
|
+
- 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`
|
|
277
280
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
278
281
|
|
|
279
282
|
## โ๏ธ Published vs derived rates
|
|
@@ -342,9 +345,9 @@ getRate('USD', 'EGP', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
342
345
|
|
|
343
346
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
344
347
|
|
|
345
|
-
- 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`)
|
|
346
349
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
347
|
-
-
|
|
350
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/cbe/latest.json`
|
|
348
351
|
|
|
349
352
|
## ๐ Links
|
|
350
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.13",
|
|
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
|
],
|