@allratestoday/cbe-exchange-rate 1.3.9 → 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 +47 -47
- 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-14** by Central Bank of Egypt — 36 rates. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | EGP | buy | 14.
|
|
50
|
-
| AED | EGP | sell | 14.
|
|
51
|
-
| AUD | EGP | buy |
|
|
52
|
-
| AUD | EGP | sell |
|
|
53
|
-
| BHD | EGP | buy |
|
|
54
|
-
| BHD | EGP | sell |
|
|
55
|
-
| CAD | EGP | buy |
|
|
56
|
-
| CAD | EGP | sell |
|
|
57
|
-
| CHF | EGP | buy | 63.
|
|
58
|
-
| CHF | EGP | sell | 63.
|
|
59
|
-
| CNY | EGP | buy | 7.
|
|
60
|
-
| CNY | EGP | sell | 7.
|
|
61
|
-
| DKK | EGP | buy | 7.
|
|
62
|
-
| DKK | EGP | sell | 7.
|
|
63
|
-
| EUR | EGP | buy |
|
|
64
|
-
| EUR | EGP | sell |
|
|
65
|
-
| GBP | EGP | buy |
|
|
66
|
-
| GBP | EGP | sell |
|
|
67
|
-
| JOD | EGP | buy | 74.
|
|
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.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 |
|
|
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: '…'
|
|
@@ -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.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
|
],
|