@allratestoday/rbi-exchange-rate 1.3.9 → 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 +16 -16
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -42,16 +42,16 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
42
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.
|
|
43
43
|
|
|
44
44
|
<!-- daily-table:start -->
|
|
45
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-14** by Reserve Bank of India — 6 rates. Updated 2026-10-14.
|
|
46
46
|
|
|
47
47
|
| Base | Quote | Type | Rate |
|
|
48
48
|
| --- | --- | --- | ---: |
|
|
49
|
-
| AED | INR | reference |
|
|
50
|
-
| EUR | INR | reference |
|
|
51
|
-
| GBP | INR | reference | 126.
|
|
52
|
-
| IDR | INR | reference | 0.
|
|
53
|
-
| JPY | INR | reference | 0.
|
|
54
|
-
| USD | INR | reference | 95.
|
|
49
|
+
| AED | INR | reference | 25.8734 |
|
|
50
|
+
| EUR | INR | reference | 106.5264 |
|
|
51
|
+
| GBP | INR | reference | 126.0969 |
|
|
52
|
+
| IDR | INR | reference | 0.00530858 |
|
|
53
|
+
| JPY | INR | reference | 0.6003 |
|
|
54
|
+
| USD | INR | reference | 95.0317 |
|
|
55
55
|
|
|
56
56
|
Source: [Official rates published by RBI, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/rbi/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
57
57
|
<!-- daily-table:end -->
|
|
@@ -108,10 +108,10 @@ const pair = await getRate('USD', 'INR', { apiKey: 'art_live_...' });
|
|
|
108
108
|
{
|
|
109
109
|
bank: 'rbi',
|
|
110
110
|
name: 'Reserve Bank of India',
|
|
111
|
-
rate_date: '2026-10-
|
|
111
|
+
rate_date: '2026-10-14', // Reserve Bank of India's own publication date
|
|
112
112
|
source: 'USD',
|
|
113
113
|
target: 'INR',
|
|
114
|
-
rate: 95.
|
|
114
|
+
rate: 95.0317,
|
|
115
115
|
rate_type: 'reference',
|
|
116
116
|
derived: false,
|
|
117
117
|
method: 'published',
|
|
@@ -136,9 +136,9 @@ console.log(table.rate_date, table.rates.length);
|
|
|
136
136
|
{
|
|
137
137
|
bank: 'rbi',
|
|
138
138
|
name: 'Reserve Bank of India',
|
|
139
|
-
rate_date: '2026-10-
|
|
139
|
+
rate_date: '2026-10-14',
|
|
140
140
|
rates: [
|
|
141
|
-
{ "base": "USD", "quote": "INR", "type": "reference", "value": 95.
|
|
141
|
+
{ "base": "USD", "quote": "INR", "type": "reference", "value": 95.0317 },
|
|
142
142
|
// … the rest of the published table (6 currencies vs INR)
|
|
143
143
|
],
|
|
144
144
|
disclaimer: '…'
|
|
@@ -178,7 +178,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
|
|
|
178
178
|
import { getHistory } from '@allratestoday/rbi-exchange-rate';
|
|
179
179
|
|
|
180
180
|
const series = await getHistory(
|
|
181
|
-
{ source: 'USD', target: 'INR', from: '2026-01-01', to: '2026-10-
|
|
181
|
+
{ source: 'USD', target: 'INR', from: '2026-01-01', to: '2026-10-14' },
|
|
182
182
|
{ apiKey: 'art_live_...' }
|
|
183
183
|
);
|
|
184
184
|
```
|
|
@@ -191,11 +191,11 @@ const series = await getHistory(
|
|
|
191
191
|
source: 'USD',
|
|
192
192
|
target: 'INR',
|
|
193
193
|
from: '2026-01-01',
|
|
194
|
-
to: '2026-10-
|
|
194
|
+
to: '2026-10-14',
|
|
195
195
|
count: 152,
|
|
196
196
|
rates: [
|
|
197
197
|
// one entry per publication date
|
|
198
|
-
{ date: '2026-10-
|
|
198
|
+
{ date: '2026-10-14', rate: 95.0317, rate_type: 'reference', derived: false, method: 'published' },
|
|
199
199
|
// …
|
|
200
200
|
],
|
|
201
201
|
disclaimer: '…'
|
|
@@ -314,9 +314,9 @@ getRate('USD', 'INR', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
314
314
|
|
|
315
315
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
316
316
|
|
|
317
|
-
- Hugging Face: [
|
|
317
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/rbi.csv`)
|
|
318
318
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
319
|
-
-
|
|
319
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/rbi/latest.json`
|
|
320
320
|
|
|
321
321
|
## 🔗 Links
|
|
322
322
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/rbi-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Official Reserve Bank of India (India) daily exchange rates — 6 currencies vs INR, history since 2003. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rbi",
|
|
7
|
+
"reserve-bank-of-india",
|
|
7
8
|
"reserve",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"india",
|
|
11
11
|
"exchange-rate",
|
|
12
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"inr-exchange-rate",
|
|
13
16
|
"currency",
|
|
14
17
|
"forex",
|
|
15
18
|
"fx",
|
|
16
19
|
"inr",
|
|
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
|
-
"india",
|
|
20
28
|
"api",
|
|
21
29
|
"typescript"
|
|
22
30
|
],
|