@allratestoday/beac-exchange-rate 1.3.13 โ†’ 1.3.16

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 +37 -33
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -20,6 +20,10 @@
20
20
 
21
21
  > **Official rate, not mid-market:** every value here is a number Bank of Central African States (BEAC) itself published, fixed once printed and carrying the central bank's own `rate_date` โ€” what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the [mid-market API](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.
22
22
 
23
+ ## ๐Ÿ”‘ Get your API key
24
+
25
+ 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.
26
+
23
27
  ## โšก Try it without a key
24
28
 
25
29
  The latest Bank of Central African States (BEAC) table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
@@ -33,53 +37,52 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/beac').th
33
37
  console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
34
38
  ```
35
39
 
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.
40
+ The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables and history.
37
41
 
38
42
  ## ๐Ÿ“ˆ Latest published table
39
43
 
40
44
  [![Latest Bank of Central African States (BEAC) table](https://allratestoday.com/api/open/central-bank/beac/table.svg)](https://allratestoday.com/central-bank-rates-api/beac/)
41
45
 
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.
46
+ 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 same table as text is folded below 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
47
 
44
48
  <!-- daily-table:start -->
45
- Published **2026-10-14** by Bank of Central African States (BEAC) โ€” 26 rates. Updated 2026-10-14.
49
+ <details>
50
+ <summary>Table as text: published 2026-10-20 by Bank of Central African States (BEAC) โ€” 26 rates. Updated 2026-10-20.</summary>
46
51
 
47
52
  | Base | Quote | Type | Rate |
48
53
  | --- | --- | --- | ---: |
49
- | AED | XAF | buy | 158.6517 |
50
- | AED | XAF | sell | 160.2461 |
51
- | CAD | XAF | buy | 410.0401 |
52
- | CAD | XAF | sell | 414.1897 |
53
- | CHF | XAF | buy | 699.8544 |
54
- | CHF | XAF | sell | 706.9639 |
55
- | CNY | XAF | buy | 87.0329 |
56
- | CNY | XAF | sell | 87.9416 |
57
- | DKK | XAF | buy | 87.3112 |
58
- | DKK | XAF | sell | 88.1922 |
54
+ | AED | XAF | buy | 158.2401 |
55
+ | AED | XAF | sell | 159.8382 |
56
+ | CAD | XAF | buy | 413.0371 |
57
+ | CAD | XAF | sell | 417.2173 |
58
+ | CHF | XAF | buy | 704.3938 |
59
+ | CHF | XAF | sell | 711.5346 |
60
+ | CNY | XAF | buy | 86.9807 |
61
+ | CNY | XAF | sell | 87.9158 |
62
+ | DKK | XAF | buy | 87.3182 |
63
+ | DKK | XAF | sell | 88.1993 |
59
64
  | EUR | XAF | buy | 655.957 |
60
65
  | EUR | XAF | sell | 655.957 |
61
- | GBP | XAF | buy | 772.4905 |
62
- | GBP | XAF | sell | 777.8481 |
63
- | JPY | XAF | buy | 3.6812 |
64
- | JPY | XAF | sell | 3.7184 |
65
- | MAD | XAF | buy | 59.4515 |
66
- | MAD | XAF | sell | 60.0644 |
67
- | SAR | XAF | buy | 155.1555 |
68
- | SAR | XAF | sell | 156.7335 |
69
- | SEK | XAF | buy | 58.5487 |
70
- | SEK | XAF | sell | 59.1467 |
71
- | USD | XAF | buy | 583.2579 |
72
- | USD | XAF | sell | 588.2678 |
73
- | ZAR | XAF | buy | 35.3574 |
74
- | ZAR | XAF | sell | 35.7287 |
66
+ | GBP | XAF | buy | 776.0082 |
67
+ | GBP | XAF | sell | 779.097 |
68
+ | JPY | XAF | buy | 3.6764 |
69
+ | JPY | XAF | sell | 3.7136 |
70
+ | MAD | XAF | buy | 59.4283 |
71
+ | MAD | XAF | sell | 60.0261 |
72
+ | SAR | XAF | buy | 154.9309 |
73
+ | SAR | XAF | sell | 156.5028 |
74
+ | SEK | XAF | buy | 58.7236 |
75
+ | SEK | XAF | sell | 59.3244 |
76
+ | USD | XAF | buy | 581.5964 |
77
+ | USD | XAF | sell | 586.5835 |
78
+ | ZAR | XAF | buy | 35.4618 |
79
+ | ZAR | XAF | sell | 35.8345 |
80
+
81
+ </details>
75
82
 
76
83
  Source: [Official rates published by BEAC, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/beac/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
77
84
  <!-- daily-table:end -->
78
85
 
79
- ## ๐Ÿ”‘ Get your API key
80
-
81
- 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.
82
-
83
86
  ## ๐Ÿ“ฆ Installation
84
87
 
85
88
  ```bash
@@ -266,7 +269,7 @@ curl "https://allratestoday.com/api/v1/central-bank/beac/latest?format=xml&api_k
266
269
  - 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
267
270
  - 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('beac')` 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
268
271
  - 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 beac ...` command
269
- - 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`
272
+ - Evaluating? 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 that covers the free-plan methods (latest table, pairs); dated tables and history need a [paid plan](https://allratestoday.com/pricing/). The MCP servers expose it as `request_trial_key`
270
273
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
271
274
 
272
275
  ## โš–๏ธ Published vs derived rates
@@ -345,7 +348,8 @@ Need the whole archive rather than an API call? The same published tables are mi
345
348
  - [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
346
349
  - [Package docs on the site](https://allratestoday.com/docs/sdk/beac-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
347
350
  - [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
348
- - [Register (free)](https://allratestoday.com/register) ยท [Pricing](https://allratestoday.com/pricing/)
351
+ - [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
352
+ - [Status](https://allratestoday.com/status)
349
353
  - [GitHub](https://github.com/AllRates-Today/beac-exchange-rate)
350
354
 
351
355
  ## ๐Ÿ“œ License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/beac-exchange-rate",
3
- "version": "1.3.13",
3
+ "version": "1.3.16",
4
4
  "description": "Official Bank of Central African States (BEAC) (Central Africa (CEMAC)) daily exchange rates โ€” 13 currencies vs XAF, current table, archive from 2026. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "beac",
@@ -13,6 +13,7 @@
13
13
  "exchange-rates",
14
14
  "exchangerate",
15
15
  "exchange rate",
16
+ "exchange rates",
16
17
  "xaf-exchange-rate",
17
18
  "currency",
18
19
  "forex",