bna-exchange-rate 1.3.7 โ 1.3.9
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 +61 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,73 +37,75 @@ 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/bna/)
|
|
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-12** by National Bank of Angola โ 209 rates, first 60 shown. Updated 2026-10-12.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
|
-
| AED | AOA | buy | 248.
|
|
48
|
-
| AED | AOA | reference | 248.
|
|
49
|
-
| AED | AOA | sell | 248.
|
|
50
|
-
| ALL | AOA | buy | 11.
|
|
51
|
-
| ALL | AOA | reference | 11.
|
|
52
|
-
| ALL | AOA | sell | 11.
|
|
53
|
-
| ARS | AOA | buy | 0.
|
|
54
|
-
| ARS | AOA | reference | 0.
|
|
55
|
-
| ARS | AOA | sell | 0.
|
|
56
|
-
| AUD | AOA | buy |
|
|
57
|
-
| AUD | AOA | reference |
|
|
58
|
-
| AUD | AOA | sell |
|
|
59
|
-
| BGN | AOA | buy | 522.
|
|
60
|
-
| BGN | AOA | reference | 522.
|
|
61
|
-
| BGN | AOA | sell | 522.
|
|
49
|
+
| AED | AOA | buy | 248.57065 |
|
|
50
|
+
| AED | AOA | reference | 248.57065 |
|
|
51
|
+
| AED | AOA | sell | 248.57065 |
|
|
52
|
+
| ALL | AOA | buy | 11.2052 |
|
|
53
|
+
| ALL | AOA | reference | 11.2052 |
|
|
54
|
+
| ALL | AOA | sell | 11.2052 |
|
|
55
|
+
| ARS | AOA | buy | 0.60223 |
|
|
56
|
+
| ARS | AOA | reference | 0.60223 |
|
|
57
|
+
| ARS | AOA | sell | 0.60223 |
|
|
58
|
+
| AUD | AOA | buy | 636.72502 |
|
|
59
|
+
| AUD | AOA | reference | 636.72502 |
|
|
60
|
+
| AUD | AOA | sell | 636.72502 |
|
|
61
|
+
| BGN | AOA | buy | 522.04243 |
|
|
62
|
+
| BGN | AOA | reference | 522.04243 |
|
|
63
|
+
| BGN | AOA | sell | 522.04243 |
|
|
62
64
|
| BMD | AOA | buy | 913 |
|
|
63
65
|
| BMD | AOA | reference | 913 |
|
|
64
66
|
| BMD | AOA | sell | 913 |
|
|
65
|
-
| BOB | AOA | buy | 77.
|
|
66
|
-
| BOB | AOA | reference | 77.
|
|
67
|
-
| BOB | AOA | sell | 77.
|
|
68
|
-
| BRL | AOA | buy |
|
|
69
|
-
| BRL | AOA | reference |
|
|
70
|
-
| BRL | AOA | sell |
|
|
67
|
+
| BOB | AOA | buy | 77.83461 |
|
|
68
|
+
| BOB | AOA | reference | 77.83461 |
|
|
69
|
+
| BOB | AOA | sell | 77.83461 |
|
|
70
|
+
| BRL | AOA | buy | 183.09803 |
|
|
71
|
+
| BRL | AOA | reference | 183.09803 |
|
|
72
|
+
| BRL | AOA | sell | 183.09803 |
|
|
71
73
|
| BSD | AOA | buy | 913 |
|
|
72
74
|
| BSD | AOA | reference | 913 |
|
|
73
75
|
| BSD | AOA | sell | 913 |
|
|
74
|
-
| BWP | AOA | buy | 67.
|
|
75
|
-
| BWP | AOA | reference | 67.
|
|
76
|
-
| BWP | AOA | sell | 67.
|
|
77
|
-
| CAD | AOA | buy | 640.
|
|
78
|
-
| CAD | AOA | reference | 640.
|
|
79
|
-
| CAD | AOA | sell | 640.
|
|
80
|
-
| CDF | AOA | buy | 0.
|
|
81
|
-
| CDF | AOA | reference | 0.
|
|
82
|
-
| CDF | AOA | sell | 0.
|
|
83
|
-
| CHF | AOA | buy |
|
|
84
|
-
| CHF | AOA | reference |
|
|
85
|
-
| CHF | AOA | sell |
|
|
86
|
-
| CNY | AOA | buy | 136.
|
|
87
|
-
| CNY | AOA | reference | 136.
|
|
88
|
-
| CNY | AOA | sell | 136.
|
|
89
|
-
| CRC | AOA | buy | 2.
|
|
90
|
-
| CRC | AOA | reference | 2.
|
|
91
|
-
| CRC | AOA | sell | 2.
|
|
76
|
+
| BWP | AOA | buy | 67.927 |
|
|
77
|
+
| BWP | AOA | reference | 67.927 |
|
|
78
|
+
| BWP | AOA | sell | 67.927 |
|
|
79
|
+
| CAD | AOA | buy | 640.25245 |
|
|
80
|
+
| CAD | AOA | reference | 640.25245 |
|
|
81
|
+
| CAD | AOA | sell | 640.25245 |
|
|
82
|
+
| CDF | AOA | buy | 0.39541 |
|
|
83
|
+
| CDF | AOA | reference | 0.39541 |
|
|
84
|
+
| CDF | AOA | sell | 0.39541 |
|
|
85
|
+
| CHF | AOA | buy | 1096.43329 |
|
|
86
|
+
| CHF | AOA | reference | 1096.43329 |
|
|
87
|
+
| CHF | AOA | sell | 1096.43329 |
|
|
88
|
+
| CNY | AOA | buy | 136.4071 |
|
|
89
|
+
| CNY | AOA | reference | 136.4071 |
|
|
90
|
+
| CNY | AOA | sell | 136.4071 |
|
|
91
|
+
| CRC | AOA | buy | 2.02327 |
|
|
92
|
+
| CRC | AOA | reference | 2.02327 |
|
|
93
|
+
| CRC | AOA | sell | 2.02327 |
|
|
92
94
|
| CUP | AOA | buy | 38.04167 |
|
|
93
95
|
| CUP | AOA | reference | 38.04167 |
|
|
94
96
|
| CUP | AOA | sell | 38.04167 |
|
|
95
|
-
| CVE | AOA | buy | 9.
|
|
96
|
-
| CVE | AOA | reference | 9.
|
|
97
|
-
| CVE | AOA | sell | 9.
|
|
98
|
-
| CZK | AOA | buy | 41.
|
|
99
|
-
| CZK | AOA | reference | 41.
|
|
100
|
-
| CZK | AOA | sell | 41.
|
|
101
|
-
| DKK | AOA | buy | 136.
|
|
102
|
-
| DKK | AOA | reference | 136.
|
|
103
|
-
| DKK | AOA | sell | 136.
|
|
104
|
-
| EEK | AOA | buy | 65.
|
|
105
|
-
| EEK | AOA | reference | 65.
|
|
106
|
-
| EEK | AOA | sell | 65.
|
|
97
|
+
| CVE | AOA | buy | 9.31217 |
|
|
98
|
+
| CVE | AOA | reference | 9.31217 |
|
|
99
|
+
| CVE | AOA | sell | 9.31217 |
|
|
100
|
+
| CZK | AOA | buy | 41.86441 |
|
|
101
|
+
| CZK | AOA | reference | 41.86441 |
|
|
102
|
+
| CZK | AOA | sell | 41.86441 |
|
|
103
|
+
| DKK | AOA | buy | 136.59281 |
|
|
104
|
+
| DKK | AOA | reference | 136.59281 |
|
|
105
|
+
| DKK | AOA | sell | 136.59281 |
|
|
106
|
+
| EEK | AOA | buy | 65.25437 |
|
|
107
|
+
| EEK | AOA | reference | 65.25437 |
|
|
108
|
+
| EEK | AOA | sell | 65.25437 |
|
|
107
109
|
|
|
108
110
|
[Full table on the National Bank of Angola rates page](https://allratestoday.com/central-bank-rates-api/bna/) ยท Source: [Official rates published by BNA, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bna/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
109
111
|
<!-- daily-table:end -->
|
|
@@ -160,7 +162,7 @@ const pair = await getRate('USD', 'AOA', { apiKey: 'art_live_...' });
|
|
|
160
162
|
{
|
|
161
163
|
bank: 'bna',
|
|
162
164
|
name: 'National Bank of Angola',
|
|
163
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-12', // National Bank of Angola's own publication date
|
|
164
166
|
source: 'USD',
|
|
165
167
|
target: 'AOA',
|
|
166
168
|
rate: 913,
|
|
@@ -188,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
|
|
|
188
190
|
{
|
|
189
191
|
bank: 'bna',
|
|
190
192
|
name: 'National Bank of Angola',
|
|
191
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-12',
|
|
192
194
|
rates: [
|
|
193
195
|
{ "base": "USD", "quote": "AOA", "type": "reference", "value": 913 },
|
|
194
196
|
{ "base": "USD", "quote": "AOA", "type": "sell", "value": 913 },
|
|
@@ -232,7 +234,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
232
234
|
import { getHistory } from 'bna-exchange-rate';
|
|
233
235
|
|
|
234
236
|
const series = await getHistory(
|
|
235
|
-
{ source: 'USD', target: 'AOA', from: '2026-01-01', to: '2026-10-
|
|
237
|
+
{ source: 'USD', target: 'AOA', from: '2026-01-01', to: '2026-10-12' },
|
|
236
238
|
{ apiKey: 'art_live_...' }
|
|
237
239
|
);
|
|
238
240
|
```
|
|
@@ -245,11 +247,11 @@ const series = await getHistory(
|
|
|
245
247
|
source: 'USD',
|
|
246
248
|
target: 'AOA',
|
|
247
249
|
from: '2026-01-01',
|
|
248
|
-
to: '2026-10-
|
|
250
|
+
to: '2026-10-12',
|
|
249
251
|
count: 152,
|
|
250
252
|
rates: [
|
|
251
253
|
// one entry per publication date
|
|
252
|
-
{ date: '2026-10-
|
|
254
|
+
{ date: '2026-10-12', rate: 913, rate_type: 'reference', derived: false, method: 'published' },
|
|
253
255
|
// โฆ
|
|
254
256
|
],
|
|
255
257
|
disclaimer: 'โฆ'
|
|
@@ -300,6 +302,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bna/latest?format=xml&api_ke
|
|
|
300
302
|
- 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
|
|
301
303
|
- 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('bna')` 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
|
|
302
304
|
- 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 bna ...` command
|
|
305
|
+
- 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`
|
|
303
306
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
304
307
|
|
|
305
308
|
## โ๏ธ Published vs derived rates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bna-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Official National Bank of Angola (Angola) daily exchange rates โ 70 currencies vs AOA, history since 1999. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bna",
|