bna-exchange-rate 1.3.8 โ 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 +59 -57
- package/package.json +11 -3
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-14** by National Bank of Angola โ 210 rates, first 60 shown. Updated 2026-10-14.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
49
|
| AED | AOA | buy | 248.57065 |
|
|
48
50
|
| AED | AOA | reference | 248.57065 |
|
|
49
51
|
| AED | AOA | sell | 248.57065 |
|
|
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.
|
|
52
|
+
| ALL | AOA | buy | 11.248 |
|
|
53
|
+
| ALL | AOA | reference | 11.248 |
|
|
54
|
+
| ALL | AOA | sell | 11.248 |
|
|
55
|
+
| ARS | AOA | buy | 0.60351 |
|
|
56
|
+
| ARS | AOA | reference | 0.60351 |
|
|
57
|
+
| ARS | AOA | sell | 0.60351 |
|
|
58
|
+
| AUD | AOA | buy | 640.11779 |
|
|
59
|
+
| AUD | AOA | reference | 640.11779 |
|
|
60
|
+
| AUD | AOA | sell | 640.11779 |
|
|
61
|
+
| BGN | AOA | buy | 522.67003 |
|
|
62
|
+
| BGN | AOA | reference | 522.67003 |
|
|
63
|
+
| BGN | AOA | sell | 522.67003 |
|
|
62
64
|
| BMD | AOA | buy | 913 |
|
|
63
65
|
| BMD | AOA | reference | 913 |
|
|
64
66
|
| BMD | AOA | sell | 913 |
|
|
65
|
-
| BOB | AOA | buy |
|
|
66
|
-
| BOB | AOA | reference |
|
|
67
|
-
| BOB | AOA | sell |
|
|
68
|
-
| BRL | AOA | buy |
|
|
69
|
-
| BRL | AOA | reference |
|
|
70
|
-
| BRL | AOA | sell |
|
|
67
|
+
| BOB | AOA | buy | 78.03419 |
|
|
68
|
+
| BOB | AOA | reference | 78.03419 |
|
|
69
|
+
| BOB | AOA | sell | 78.03419 |
|
|
70
|
+
| BRL | AOA | buy | 181.64094 |
|
|
71
|
+
| BRL | AOA | reference | 181.64094 |
|
|
72
|
+
| BRL | AOA | sell | 181.64094 |
|
|
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 |
|
|
78
|
-
| CAD | AOA | reference |
|
|
79
|
-
| CAD | AOA | sell |
|
|
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.01409 |
|
|
77
|
+
| BWP | AOA | reference | 67.01409 |
|
|
78
|
+
| BWP | AOA | sell | 67.01409 |
|
|
79
|
+
| CAD | AOA | buy | 642.41486 |
|
|
80
|
+
| CAD | AOA | reference | 642.41486 |
|
|
81
|
+
| CAD | AOA | sell | 642.41486 |
|
|
82
|
+
| CDF | AOA | buy | 0.39569 |
|
|
83
|
+
| CDF | AOA | reference | 0.39569 |
|
|
84
|
+
| CDF | AOA | sell | 0.39569 |
|
|
85
|
+
| CHF | AOA | buy | 1095.64383 |
|
|
86
|
+
| CHF | AOA | reference | 1095.64383 |
|
|
87
|
+
| CHF | AOA | sell | 1095.64383 |
|
|
88
|
+
| CNY | AOA | buy | 136.42544 |
|
|
89
|
+
| CNY | AOA | reference | 136.42544 |
|
|
90
|
+
| CNY | AOA | sell | 136.42544 |
|
|
91
|
+
| CRC | AOA | buy | 2.03182 |
|
|
92
|
+
| CRC | AOA | reference | 2.03182 |
|
|
93
|
+
| CRC | AOA | sell | 2.03182 |
|
|
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.3193 |
|
|
98
|
+
| CVE | AOA | reference | 9.3193 |
|
|
99
|
+
| CVE | AOA | sell | 9.3193 |
|
|
100
|
+
| CZK | AOA | buy | 41.97296 |
|
|
101
|
+
| CZK | AOA | reference | 41.97296 |
|
|
102
|
+
| CZK | AOA | sell | 41.97296 |
|
|
103
|
+
| DKK | AOA | buy | 136.7483 |
|
|
104
|
+
| DKK | AOA | reference | 136.7483 |
|
|
105
|
+
| DKK | AOA | sell | 136.7483 |
|
|
106
|
+
| EEK | AOA | buy | 65.33235 |
|
|
107
|
+
| EEK | AOA | reference | 65.33235 |
|
|
108
|
+
| EEK | AOA | sell | 65.33235 |
|
|
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-13', // 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-13',
|
|
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-13' },
|
|
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-13',
|
|
249
251
|
count: 152,
|
|
250
252
|
rates: [
|
|
251
253
|
// one entry per publication date
|
|
252
|
-
{ date: '2026-10-
|
|
254
|
+
{ date: '2026-10-13', rate: 913, rate_type: 'reference', derived: false, method: 'published' },
|
|
253
255
|
// โฆ
|
|
254
256
|
],
|
|
255
257
|
disclaimer: 'โฆ'
|
|
@@ -369,9 +371,9 @@ getRate('USD', 'AOA', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
369
371
|
|
|
370
372
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
371
373
|
|
|
372
|
-
- Hugging Face: [
|
|
374
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ one CSV per institution (`rates/bna.csv`)
|
|
373
375
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
374
|
-
-
|
|
376
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bna/latest.json`
|
|
375
377
|
|
|
376
378
|
## ๐ Links
|
|
377
379
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bna-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
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",
|
|
7
|
+
"national-bank-of-angola",
|
|
7
8
|
"national",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"angola",
|
|
11
11
|
"exchange-rate",
|
|
12
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"aoa-exchange-rate",
|
|
13
16
|
"currency",
|
|
14
17
|
"forex",
|
|
15
18
|
"fx",
|
|
16
19
|
"aoa",
|
|
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
|
-
"angola",
|
|
20
28
|
"api",
|
|
21
29
|
"typescript"
|
|
22
30
|
],
|