@allratestoday/bceao-exchange-rate 1.3.5 โ 1.3.7
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 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[](https://github.com/AllRates-Today/bceao-exchange-rate/blob/main/LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/@allratestoday/bceao-exchange-rate)
|
|
6
6
|
[](https://www.typescriptlang.org/)
|
|
7
|
+
[&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/central-bank-rates-api/bceao/)
|
|
8
|
+
[](https://allratestoday.com/central-bank-rates-api/bceao/)
|
|
7
9
|
|
|
8
10
|
**Official Central Bank of West African States (BCEAO) (the eight WAEMU countries) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing โ not market estimates, but the numbers Central Bank of West African States (BCEAO) itself prints, every business day.**
|
|
9
11
|
|
|
@@ -33,6 +35,46 @@ console.log(r.rate_date, r.rates.length); // the central bank's latest published
|
|
|
33
35
|
|
|
34
36
|
The open endpoint serves the *latest* table only and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables, history, and CSV/XML/Excel output.
|
|
35
37
|
|
|
38
|
+
## ๐ Latest published table
|
|
39
|
+
|
|
40
|
+
Today's full Central Bank of West African States (BCEAO) 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.
|
|
41
|
+
|
|
42
|
+
<!-- daily-table:start -->
|
|
43
|
+
Published **2026-10-08** by Central Bank of West African States (BCEAO) โ 27 rates. Updated 2026-10-08.
|
|
44
|
+
|
|
45
|
+
| Base | Quote | Type | Rate |
|
|
46
|
+
| --- | --- | --- | ---: |
|
|
47
|
+
| AED | XOF | reference | 159.676 |
|
|
48
|
+
| AUD | XOF | reference | 407.17 |
|
|
49
|
+
| BRL | XOF | reference | 116.89 |
|
|
50
|
+
| CAD | XOF | reference | 411.18 |
|
|
51
|
+
| CHF | XOF | reference | 703.36 |
|
|
52
|
+
| CNY | XOF | reference | 87.49 |
|
|
53
|
+
| CZK | XOF | reference | 26.88 |
|
|
54
|
+
| DKK | XOF | reference | 87.77 |
|
|
55
|
+
| EUR | XOF | reference | 655.957 |
|
|
56
|
+
| GBP | XOF | reference | 774.47 |
|
|
57
|
+
| HKD | XOF | reference | 74.72 |
|
|
58
|
+
| HUF | XOF | reference | 1.79 |
|
|
59
|
+
| ILS | XOF | reference | 190.56 |
|
|
60
|
+
| INR | XOF | reference | 6.06 |
|
|
61
|
+
| JPY | XOF | reference | 3.7049 |
|
|
62
|
+
| KRW | XOF | reference | 0.44 |
|
|
63
|
+
| KWD | XOF | reference | 1902.998 |
|
|
64
|
+
| NOK | XOF | reference | 61.21 |
|
|
65
|
+
| NZD | XOF | reference | 327.75 |
|
|
66
|
+
| PLN | XOF | reference | 149.92 |
|
|
67
|
+
| SAR | XOF | reference | 156.375 |
|
|
68
|
+
| SEK | XOF | reference | 58.6 |
|
|
69
|
+
| SGD | XOF | reference | 457.43 |
|
|
70
|
+
| THB | XOF | reference | 17.41 |
|
|
71
|
+
| TRY | XOF | reference | 11.92 |
|
|
72
|
+
| USD | XOF | reference | 586.41 |
|
|
73
|
+
| ZAR | XOF | reference | 35.219 |
|
|
74
|
+
|
|
75
|
+
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.
|
|
76
|
+
<!-- daily-table:end -->
|
|
77
|
+
|
|
36
78
|
## ๐ Get your API key
|
|
37
79
|
|
|
38
80
|
Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) โ no credit card required. Latest rates are on every plan, including free.
|
|
@@ -85,10 +127,10 @@ const pair = await getRate('USD', 'XOF', { apiKey: 'art_live_...' });
|
|
|
85
127
|
{
|
|
86
128
|
bank: 'bceao',
|
|
87
129
|
name: 'Central Bank of West African States (BCEAO)',
|
|
88
|
-
rate_date: '2026-10-
|
|
130
|
+
rate_date: '2026-10-08', // Central Bank of West African States (BCEAO)'s own publication date
|
|
89
131
|
source: 'USD',
|
|
90
132
|
target: 'XOF',
|
|
91
|
-
rate:
|
|
133
|
+
rate: 586.41,
|
|
92
134
|
rate_type: 'reference',
|
|
93
135
|
derived: false,
|
|
94
136
|
method: 'published',
|
|
@@ -113,9 +155,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
113
155
|
{
|
|
114
156
|
bank: 'bceao',
|
|
115
157
|
name: 'Central Bank of West African States (BCEAO)',
|
|
116
|
-
rate_date: '2026-10-
|
|
158
|
+
rate_date: '2026-10-08',
|
|
117
159
|
rates: [
|
|
118
|
-
{ "base": "USD", "quote": "XOF", "type": "reference", "value":
|
|
160
|
+
{ "base": "USD", "quote": "XOF", "type": "reference", "value": 586.41 },
|
|
119
161
|
// โฆ the rest of the published table (27 currencies vs XOF)
|
|
120
162
|
],
|
|
121
163
|
disclaimer: 'โฆ'
|
|
@@ -155,7 +197,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
155
197
|
import { getHistory } from '@allratestoday/bceao-exchange-rate';
|
|
156
198
|
|
|
157
199
|
const series = await getHistory(
|
|
158
|
-
{ source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-
|
|
200
|
+
{ source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-08' },
|
|
159
201
|
{ apiKey: 'art_live_...' }
|
|
160
202
|
);
|
|
161
203
|
```
|
|
@@ -168,11 +210,11 @@ const series = await getHistory(
|
|
|
168
210
|
source: 'USD',
|
|
169
211
|
target: 'XOF',
|
|
170
212
|
from: '2026-01-01',
|
|
171
|
-
to: '2026-10-
|
|
213
|
+
to: '2026-10-08',
|
|
172
214
|
count: 152,
|
|
173
215
|
rates: [
|
|
174
216
|
// one entry per publication date
|
|
175
|
-
{ date: '2026-10-
|
|
217
|
+
{ date: '2026-10-08', rate: 586.41, rate_type: 'reference', derived: false, method: 'published' },
|
|
176
218
|
// โฆ
|
|
177
219
|
],
|
|
178
220
|
disclaimer: 'โฆ'
|
|
@@ -221,6 +263,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bceao/latest?format=xml&api_
|
|
|
221
263
|
|
|
222
264
|
- 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
|
|
223
265
|
- 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('bceao')` 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
|
|
266
|
+
- 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 bceao ...` command
|
|
224
267
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
225
268
|
|
|
226
269
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bceao-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
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",
|