cbe-exchange-rate 1.3.8 → 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 +50 -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 | 63.
|
|
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 | 74.
|
|
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 | 14.
|
|
78
|
-
| SAR | EGP | sell | 14.
|
|
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 '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: '…'
|
|
@@ -343,9 +345,9 @@ getRate('USD', 'EGP', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
343
345
|
|
|
344
346
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
345
347
|
|
|
346
|
-
- 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`)
|
|
347
349
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
348
|
-
-
|
|
350
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/cbe/latest.json`
|
|
349
351
|
|
|
350
352
|
## 🔗 Links
|
|
351
353
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "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
|
],
|