@allratestoday/cbr-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 +66 -62
- 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 Russia 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 Russia table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
@@ -33,80 +37,79 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/cbr').the
|
|
|
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/cbr/)
|
|
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
|
-
|
|
49
|
+
<details>
|
|
50
|
+
<summary>Table as text: published 2026-10-20 by Bank of Russia โ 53 rates. Updated 2026-10-20.</summary>
|
|
46
51
|
|
|
47
52
|
| Base | Quote | Type | Rate |
|
|
48
53
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | RUB | reference | 22.
|
|
50
|
-
| AMD | RUB | reference | 0.
|
|
51
|
-
| AUD | RUB | reference |
|
|
52
|
-
| AZN | RUB | reference |
|
|
53
|
-
| BDT | RUB | reference | 0.
|
|
54
|
-
| BHD | RUB | reference |
|
|
55
|
-
| BOB | RUB | reference | 7.
|
|
56
|
-
| BRL | RUB | reference | 16.
|
|
57
|
-
| BYN | RUB | reference | 27.
|
|
58
|
-
| CAD | RUB | reference | 58.
|
|
59
|
-
| CHF | RUB | reference | 100.
|
|
60
|
-
| CNY | RUB | reference | 12.
|
|
61
|
-
| CUP | RUB | reference | 3.
|
|
62
|
-
| CZK | RUB | reference | 3.
|
|
63
|
-
| DKK | RUB | reference | 12.
|
|
64
|
-
| DZD | RUB | reference | 0.
|
|
65
|
-
| EGP | RUB | reference | 1.
|
|
66
|
-
| ETB | RUB | reference | 0.
|
|
67
|
-
| EUR | RUB | reference | 93.
|
|
68
|
-
| GBP | RUB | reference | 110.
|
|
69
|
-
| GEL | RUB | reference |
|
|
70
|
-
| HKD | RUB | reference | 10.
|
|
71
|
-
| HUF | RUB | reference | 0.
|
|
72
|
-
| IDR | RUB | reference | 0.
|
|
73
|
-
| INR | RUB | reference | 0.
|
|
74
|
-
| JPY | RUB | reference | 0.
|
|
75
|
-
| KGS | RUB | reference | 0.
|
|
76
|
-
| KRW | RUB | reference | 0.
|
|
77
|
-
| KZT | RUB | reference | 0.
|
|
78
|
-
| MDL | RUB | reference | 4.
|
|
79
|
-
| MMK | RUB | reference | 0.
|
|
80
|
-
| MNT | RUB | reference | 0.
|
|
81
|
-
| NGN | RUB | reference | 0.
|
|
82
|
-
| NOK | RUB | reference | 8.
|
|
83
|
-
| NZD | RUB | reference | 46.
|
|
84
|
-
| OMR | RUB | reference |
|
|
85
|
-
| PLN | RUB | reference | 21.
|
|
86
|
-
| QAR | RUB | reference |
|
|
87
|
-
| RON | RUB | reference | 17.
|
|
88
|
-
| RSD | RUB | reference | 0.
|
|
89
|
-
| SAR | RUB | reference | 22.
|
|
90
|
-
| SEK | RUB | reference | 8.
|
|
91
|
-
| SGD | RUB | reference |
|
|
92
|
-
| THB | RUB | reference | 2.
|
|
93
|
-
| TJS | RUB | reference |
|
|
94
|
-
| TMT | RUB | reference | 23.
|
|
95
|
-
| TRY | RUB | reference | 1.
|
|
96
|
-
| UAH | RUB | reference | 1.
|
|
97
|
-
| USD | RUB | reference |
|
|
98
|
-
| UZS | RUB | reference | 0.
|
|
99
|
-
| VND | RUB | reference | 0.
|
|
100
|
-
| XDR | RUB | reference |
|
|
101
|
-
| ZAR | RUB | reference | 5.
|
|
54
|
+
| AED | RUB | reference | 22.5597 |
|
|
55
|
+
| AMD | RUB | reference | 0.229274 |
|
|
56
|
+
| AUD | RUB | reference | 57.7882 |
|
|
57
|
+
| AZN | RUB | reference | 48.7355 |
|
|
58
|
+
| BDT | RUB | reference | 0.66974 |
|
|
59
|
+
| BHD | RUB | reference | 220.2992 |
|
|
60
|
+
| BOB | RUB | reference | 7.08729 |
|
|
61
|
+
| BRL | RUB | reference | 16.3018 |
|
|
62
|
+
| BYN | RUB | reference | 27.6629 |
|
|
63
|
+
| CAD | RUB | reference | 58.535 |
|
|
64
|
+
| CHF | RUB | reference | 100.4856 |
|
|
65
|
+
| CNY | RUB | reference | 12.3869 |
|
|
66
|
+
| CUP | RUB | reference | 3.4521 |
|
|
67
|
+
| CZK | RUB | reference | 3.81975 |
|
|
68
|
+
| DKK | RUB | reference | 12.4728 |
|
|
69
|
+
| DZD | RUB | reference | 0.616335 |
|
|
70
|
+
| EGP | RUB | reference | 1.53569 |
|
|
71
|
+
| ETB | RUB | reference | 0.515168 |
|
|
72
|
+
| EUR | RUB | reference | 93.2316 |
|
|
73
|
+
| GBP | RUB | reference | 110.6301 |
|
|
74
|
+
| GEL | RUB | reference | 31.8876 |
|
|
75
|
+
| HKD | RUB | reference | 10.5555 |
|
|
76
|
+
| HUF | RUB | reference | 0.255853 |
|
|
77
|
+
| IDR | RUB | reference | 0.00458954 |
|
|
78
|
+
| INR | RUB | reference | 0.874234 |
|
|
79
|
+
| JPY | RUB | reference | 0.524668 |
|
|
80
|
+
| KGS | RUB | reference | 0.947403 |
|
|
81
|
+
| KRW | RUB | reference | 0.0617181 |
|
|
82
|
+
| KZT | RUB | reference | 0.183249 |
|
|
83
|
+
| MDL | RUB | reference | 4.64088 |
|
|
84
|
+
| MMK | RUB | reference | 0.0394526 |
|
|
85
|
+
| MNT | RUB | reference | 0.023037 |
|
|
86
|
+
| NGN | RUB | reference | 0.0621879 |
|
|
87
|
+
| NOK | RUB | reference | 8.7756 |
|
|
88
|
+
| NZD | RUB | reference | 46.8643 |
|
|
89
|
+
| OMR | RUB | reference | 215.4757 |
|
|
90
|
+
| PLN | RUB | reference | 21.2579 |
|
|
91
|
+
| QAR | RUB | reference | 22.7611 |
|
|
92
|
+
| RON | RUB | reference | 17.4348 |
|
|
93
|
+
| RSD | RUB | reference | 0.79251 |
|
|
94
|
+
| SAR | RUB | reference | 22.0934 |
|
|
95
|
+
| SEK | RUB | reference | 8.36532 |
|
|
96
|
+
| SGD | RUB | reference | 64.7572 |
|
|
97
|
+
| THB | RUB | reference | 2.47079 |
|
|
98
|
+
| TJS | RUB | reference | 8.97125 |
|
|
99
|
+
| TMT | RUB | reference | 23.6715 |
|
|
100
|
+
| TRY | RUB | reference | 1.67707 |
|
|
101
|
+
| UAH | RUB | reference | 1.84107 |
|
|
102
|
+
| USD | RUB | reference | 82.8504 |
|
|
103
|
+
| UZS | RUB | reference | 0.00687219 |
|
|
104
|
+
| VND | RUB | reference | 0.00323218 |
|
|
105
|
+
| XDR | RUB | reference | 112.3833 |
|
|
106
|
+
| ZAR | RUB | reference | 5.03264 |
|
|
107
|
+
|
|
108
|
+
</details>
|
|
102
109
|
|
|
103
110
|
Source: [Official rates published by CBR, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbr/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
104
111
|
<!-- daily-table:end -->
|
|
105
112
|
|
|
106
|
-
## ๐ Get your API key
|
|
107
|
-
|
|
108
|
-
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.
|
|
109
|
-
|
|
110
113
|
## ๐ฆ Installation
|
|
111
114
|
|
|
112
115
|
```bash
|
|
@@ -292,7 +295,7 @@ curl "https://allratestoday.com/api/v1/central-bank/cbr/latest?format=xml&api_ke
|
|
|
292
295
|
- 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
|
|
293
296
|
- 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('cbr')` 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
|
|
294
297
|
- 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 cbr ...` command
|
|
295
|
-
-
|
|
298
|
+
- 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`
|
|
296
299
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
297
300
|
|
|
298
301
|
## โ๏ธ Published vs derived rates
|
|
@@ -371,7 +374,8 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
371
374
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
372
375
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/cbr-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
|
373
376
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
374
|
-
- [Register (
|
|
377
|
+
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
378
|
+
- [Status](https://allratestoday.com/status)
|
|
375
379
|
- [GitHub](https://github.com/AllRates-Today/cbr-exchange-rate)
|
|
376
380
|
|
|
377
381
|
## ๐ License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/cbr-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "Official Bank of Russia (Russia) daily exchange rates โ 54 currencies vs RUB, history since 2016. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbr",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"exchange-rates",
|
|
12
12
|
"exchangerate",
|
|
13
13
|
"exchange rate",
|
|
14
|
+
"exchange rates",
|
|
14
15
|
"rub-exchange-rate",
|
|
15
16
|
"currency",
|
|
16
17
|
"forex",
|