@allratestoday/bceao-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 +32 -29
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,34 +42,37 @@ 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-13** by Central Bank of West African States (BCEAO) — 27 rates. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
49
|
+
| AED | XOF | reference | 159.647 |
|
|
50
|
+
| AUD | XOF | reference | 409.13 |
|
|
51
|
+
| BRL | XOF | reference | 116.87 |
|
|
52
|
+
| CAD | XOF | reference | 411.7 |
|
|
53
|
+
| CHF | XOF | reference | 704.42 |
|
|
54
|
+
| CNY | XOF | reference | 87.59 |
|
|
54
55
|
| CZK | XOF | reference | 26.92 |
|
|
55
56
|
| DKK | XOF | reference | 87.75 |
|
|
56
57
|
| EUR | XOF | reference | 655.957 |
|
|
57
|
-
| GBP | XOF | reference |
|
|
58
|
-
| HKD | XOF | reference | 74.
|
|
58
|
+
| GBP | XOF | reference | 776.65 |
|
|
59
|
+
| HKD | XOF | reference | 74.71 |
|
|
59
60
|
| HUF | XOF | reference | 1.8 |
|
|
60
|
-
| ILS | XOF | reference |
|
|
61
|
-
| INR | XOF | reference | 6.
|
|
62
|
-
| JPY | XOF | reference | 3.
|
|
61
|
+
| ILS | XOF | reference | 190.66 |
|
|
62
|
+
| INR | XOF | reference | 6.15 |
|
|
63
|
+
| JPY | XOF | reference | 3.7079 |
|
|
63
64
|
| KRW | XOF | reference | 0.44 |
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
72
|
-
|
|
|
65
|
+
| KWD | XOF | reference | 1901.735 |
|
|
66
|
+
| NOK | XOF | reference | 61.49 |
|
|
67
|
+
| NZD | XOF | reference | 329.11 |
|
|
68
|
+
| PLN | XOF | reference | 149.87 |
|
|
69
|
+
| SAR | XOF | reference | 156.348 |
|
|
70
|
+
| SEK | XOF | reference | 58.73 |
|
|
71
|
+
| SGD | XOF | reference | 458.1 |
|
|
72
|
+
| THB | XOF | reference | 17.45 |
|
|
73
|
+
| TRY | XOF | reference | 11.88 |
|
|
74
|
+
| USD | XOF | reference | 586.3 |
|
|
75
|
+
| ZAR | XOF | reference | 35.541 |
|
|
73
76
|
|
|
74
77
|
Source: [Official rates published by BCEAO, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bceao/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
75
78
|
<!-- daily-table:end -->
|
|
@@ -126,10 +129,10 @@ const pair = await getRate('USD', 'XOF', { apiKey: 'art_live_...' });
|
|
|
126
129
|
{
|
|
127
130
|
bank: 'bceao',
|
|
128
131
|
name: 'Central Bank of West African States (BCEAO)',
|
|
129
|
-
rate_date: '2026-10-
|
|
132
|
+
rate_date: '2026-10-13', // Central Bank of West African States (BCEAO)'s own publication date
|
|
130
133
|
source: 'USD',
|
|
131
134
|
target: 'XOF',
|
|
132
|
-
rate:
|
|
135
|
+
rate: 586.3,
|
|
133
136
|
rate_type: 'reference',
|
|
134
137
|
derived: false,
|
|
135
138
|
method: 'published',
|
|
@@ -154,9 +157,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
154
157
|
{
|
|
155
158
|
bank: 'bceao',
|
|
156
159
|
name: 'Central Bank of West African States (BCEAO)',
|
|
157
|
-
rate_date: '2026-10-
|
|
160
|
+
rate_date: '2026-10-13',
|
|
158
161
|
rates: [
|
|
159
|
-
{ "base": "USD", "quote": "XOF", "type": "reference", "value":
|
|
162
|
+
{ "base": "USD", "quote": "XOF", "type": "reference", "value": 586.3 },
|
|
160
163
|
// … the rest of the published table (27 currencies vs XOF)
|
|
161
164
|
],
|
|
162
165
|
disclaimer: '…'
|
|
@@ -196,7 +199,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
196
199
|
import { getHistory } from '@allratestoday/bceao-exchange-rate';
|
|
197
200
|
|
|
198
201
|
const series = await getHistory(
|
|
199
|
-
{ source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-
|
|
202
|
+
{ source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-13' },
|
|
200
203
|
{ apiKey: 'art_live_...' }
|
|
201
204
|
);
|
|
202
205
|
```
|
|
@@ -209,11 +212,11 @@ const series = await getHistory(
|
|
|
209
212
|
source: 'USD',
|
|
210
213
|
target: 'XOF',
|
|
211
214
|
from: '2026-01-01',
|
|
212
|
-
to: '2026-10-
|
|
215
|
+
to: '2026-10-13',
|
|
213
216
|
count: 152,
|
|
214
217
|
rates: [
|
|
215
218
|
// one entry per publication date
|
|
216
|
-
{ date: '2026-10-
|
|
219
|
+
{ date: '2026-10-13', rate: 586.3, rate_type: 'reference', derived: false, method: 'published' },
|
|
217
220
|
// …
|
|
218
221
|
],
|
|
219
222
|
disclaimer: '…'
|
|
@@ -332,9 +335,9 @@ getRate('USD', 'XOF', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
332
335
|
|
|
333
336
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
334
337
|
|
|
335
|
-
- Hugging Face: [
|
|
338
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/bceao.csv`)
|
|
336
339
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
337
|
-
-
|
|
340
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bceao/latest.json`
|
|
338
341
|
|
|
339
342
|
## 🔗 Links
|
|
340
343
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bceao-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Official Central Bank of West African States (BCEAO) (eight WAEMU countries) daily exchange rates — 27 currencies vs XOF, history since 2014. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bceao",
|
|
7
|
+
"central-bank-of-west-african-states-bceao",
|
|
7
8
|
"central",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"west",
|
|
11
11
|
"african",
|
|
12
12
|
"states",
|
|
13
|
-
"(bceao)",
|
|
14
13
|
"exchange-rate",
|
|
15
14
|
"exchange-rates",
|
|
15
|
+
"exchangerate",
|
|
16
|
+
"exchange rate",
|
|
17
|
+
"xof-exchange-rate",
|
|
16
18
|
"currency",
|
|
17
19
|
"forex",
|
|
18
20
|
"fx",
|
|
19
21
|
"xof",
|
|
22
|
+
"currency-api",
|
|
23
|
+
"currency-exchange-rates",
|
|
24
|
+
"forex-api",
|
|
25
|
+
"currency-conversion",
|
|
26
|
+
"currency-exchange",
|
|
27
|
+
"currency-rates",
|
|
20
28
|
"central-bank",
|
|
21
29
|
"official-rates",
|
|
22
30
|
"eight-waemu-countries",
|