@allratestoday/nbrb-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.
- package/README.md +10 -44
- 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 National Bank of the Republic of Belarus 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 National Bank of the Republic of Belarus table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
@@ -33,57 +37,18 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/nbrb').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
|
|
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
|
[](https://allratestoday.com/central-bank-rates-api/nbrb/)
|
|
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
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
| Base | Quote | Type | Rate |
|
|
48
|
-
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | BYN | reference | 0.81955 |
|
|
50
|
-
| AMD | BYN | reference | 0.00831 |
|
|
51
|
-
| AUD | BYN | reference | 2.0987 |
|
|
52
|
-
| BRL | BYN | reference | 0.60352 |
|
|
53
|
-
| CAD | BYN | reference | 2.1111 |
|
|
54
|
-
| CHF | BYN | reference | 3.6136 |
|
|
55
|
-
| CNY | BYN | reference | 0.45057 |
|
|
56
|
-
| CZK | BYN | reference | 0.138149 |
|
|
57
|
-
| DKK | BYN | reference | 0.45019 |
|
|
58
|
-
| EUR | BYN | reference | 3.3652 |
|
|
59
|
-
| GBP | BYN | reference | 3.9846 |
|
|
60
|
-
| INR | BYN | reference | 0.031535 |
|
|
61
|
-
| IRR | BYN | reference | 0.000001691 |
|
|
62
|
-
| ISK | BYN | reference | 0.024708 |
|
|
63
|
-
| JPY | BYN | reference | 0.019043 |
|
|
64
|
-
| KGS | BYN | reference | 0.034417 |
|
|
65
|
-
| KWD | BYN | reference | 9.653 |
|
|
66
|
-
| KZT | BYN | reference | 0.0066937 |
|
|
67
|
-
| MDL | BYN | reference | 0.16749 |
|
|
68
|
-
| NOK | BYN | reference | 0.31512 |
|
|
69
|
-
| NZD | BYN | reference | 1.688 |
|
|
70
|
-
| PLN | BYN | reference | 0.76845 |
|
|
71
|
-
| RUB | BYN | reference | 0.036006 |
|
|
72
|
-
| SEK | BYN | reference | 0.3011 |
|
|
73
|
-
| SGD | BYN | reference | 2.3514 |
|
|
74
|
-
| TRY | BYN | reference | 0.06097 |
|
|
75
|
-
| UAH | BYN | reference | 0.066737 |
|
|
76
|
-
| USD | BYN | reference | 3.0098 |
|
|
77
|
-
| VND | BYN | reference | 0.000116143 |
|
|
78
|
-
| XDR | BYN | reference | 4.073 |
|
|
79
|
-
|
|
80
|
-
Source: [Official rates published by NBRB, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbrb/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
49
|
+
_The table is filled in by the daily workflow._
|
|
81
50
|
<!-- daily-table:end -->
|
|
82
51
|
|
|
83
|
-
## ๐ Get your API key
|
|
84
|
-
|
|
85
|
-
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.
|
|
86
|
-
|
|
87
52
|
## ๐ฆ Installation
|
|
88
53
|
|
|
89
54
|
```bash
|
|
@@ -269,7 +234,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbrb/latest?format=xml&api_k
|
|
|
269
234
|
- 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
|
|
270
235
|
- 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('nbrb')` 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
|
|
271
236
|
- 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 nbrb ...` command
|
|
272
|
-
-
|
|
237
|
+
- 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`
|
|
273
238
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
274
239
|
|
|
275
240
|
## โ๏ธ Published vs derived rates
|
|
@@ -348,7 +313,8 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
348
313
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
349
314
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/nbrb-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
|
350
315
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
351
|
-
- [Register (
|
|
316
|
+
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
317
|
+
- [Status](https://allratestoday.com/status)
|
|
352
318
|
- [GitHub](https://github.com/AllRates-Today/nbrb-exchange-rate)
|
|
353
319
|
|
|
354
320
|
## ๐ License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/nbrb-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "Official National Bank of the Republic of Belarus (Belarus) daily exchange rates โ 31 currencies vs BYN, history since 2016. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nbrb",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"exchange-rates",
|
|
14
14
|
"exchangerate",
|
|
15
15
|
"exchange rate",
|
|
16
|
+
"exchange rates",
|
|
16
17
|
"byn-exchange-rate",
|
|
17
18
|
"currency",
|
|
18
19
|
"forex",
|