@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.
Files changed (2) hide show
  1. package/README.md +51 -48
  2. 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
- Today's full Central Bank of Egypt table, straight from the central bank's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the central bank publishes a new table; the copy on npm is as of the package's publish date.
40
+ [![Latest Central Bank of Egypt table](https://allratestoday.com/api/open/central-bank/cbe/table.svg)](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-07** by Central Bank of Egypt โ€” 36 rates. Updated 2026-10-08.
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.2438 |
48
- | AED | EGP | sell | 14.283 |
49
- | AUD | EGP | buy | 36.3993 |
50
- | AUD | EGP | sell | 36.5017 |
51
- | BHD | EGP | buy | 138.7624 |
52
- | BHD | EGP | sell | 139.1512 |
53
- | CAD | EGP | buy | 36.7728 |
54
- | CAD | EGP | sell | 36.8736 |
55
- | CHF | EGP | buy | 62.8397 |
56
- | CHF | EGP | sell | 63.0302 |
57
- | CNY | EGP | buy | 7.8037 |
58
- | CNY | EGP | sell | 7.8246 |
59
- | DKK | EGP | buy | 7.8332 |
60
- | DKK | EGP | sell | 7.8544 |
61
- | EUR | EGP | buy | 58.5465 |
62
- | EUR | EGP | sell | 58.7132 |
63
- | GBP | EGP | buy | 69.1414 |
64
- | GBP | EGP | sell | 69.3469 |
65
- | JOD | EGP | buy | 73.6906 |
66
- | JOD | EGP | sell | 74.096 |
67
- | JPY | EGP | buy | 0.33043 |
68
- | JPY | EGP | sell | 0.331396 |
69
- | KWD | EGP | buy | 169.7611 |
70
- | KWD | EGP | sell | 170.2694 |
71
- | NOK | EGP | buy | 5.4642 |
72
- | NOK | EGP | sell | 5.4833 |
73
- | OMR | EGP | buy | 135.89 |
74
- | OMR | EGP | sell | 136.2704 |
75
- | QAR | EGP | buy | 14.3524 |
76
- | QAR | EGP | sell | 14.3923 |
77
- | SAR | EGP | buy | 13.9365 |
78
- | SAR | EGP | sell | 13.9752 |
79
- | SEK | EGP | buy | 5.2127 |
80
- | SEK | EGP | sell | 5.227 |
81
- | USD | EGP | buy | 52.3204 |
82
- | USD | EGP | sell | 52.46 |
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-07', // Central Bank of Egypt's own publication date
141
+ rate_date: '2026-10-14', // Central Bank of Egypt's own publication date
140
142
  source: 'USD',
141
143
  target: 'EGP',
142
- rate: 52.46,
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-07',
169
+ rate_date: '2026-10-14',
168
170
  rates: [
169
- { "base": "USD", "quote": "EGP", "type": "sell", "value": 52.46 },
170
- { "base": "USD", "quote": "EGP", "type": "buy", "value": 52.3204 },
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-07' },
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-07',
225
+ to: '2026-10-14',
224
226
  count: 152,
225
227
  rates: [
226
228
  // one entry per publication date
227
- { date: '2026-10-07', rate: 52.46, rate_type: 'sell', derived: false, method: 'published' },
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: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/cbe.csv`)
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
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/cbe/latest.json`
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.7",
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
  ],