@allratestoday/rbi-exchange-rate 1.3.9 → 1.3.14

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.
Files changed (2) hide show
  1. package/README.md +18 -18
  2. 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-12** by Reserve Bank of India — 6 rates. Updated 2026-10-12.
45
+ Published **2026-10-16** by Reserve Bank of India — 6 rates. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | AED | INR | reference | 26.0686 |
50
- | EUR | INR | reference | 107.3022 |
51
- | GBP | INR | reference | 126.9185 |
52
- | IDR | INR | reference | 0.00534623 |
53
- | JPY | INR | reference | 0.6046 |
54
- | USD | INR | reference | 95.7485 |
49
+ | AED | INR | reference | 25.8703 |
50
+ | EUR | INR | reference | 106.6995 |
51
+ | GBP | INR | reference | 126.4081 |
52
+ | IDR | INR | reference | 0.00526777 |
53
+ | JPY | INR | reference | 0.6018 |
54
+ | USD | INR | reference | 95.0194 |
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-12', // Reserve Bank of India's own publication date
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.7485,
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-12',
139
+ rate_date: '2026-10-14',
140
140
  rates: [
141
- { "base": "USD", "quote": "INR", "type": "reference", "value": 95.7485 },
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-12' },
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-12',
194
+ to: '2026-10-14',
195
195
  count: 152,
196
196
  rates: [
197
197
  // one entry per publication date
198
- { date: '2026-10-12', rate: 95.7485, rate_type: 'reference', derived: false, method: 'published' },
198
+ { date: '2026-10-14', rate: 95.0317, rate_type: 'reference', derived: false, method: 'published' },
199
199
  // …
200
200
  ],
201
201
  disclaimer: '…'
@@ -214,7 +214,7 @@ Reserve Bank of India currently publishes rates covering **6 currencies** agains
214
214
 
215
215
  ## 🏛️ Source
216
216
 
217
- The Reserve Bank of India is India's central bank. It publishes daily reference rates for the rupee against major currencies — the standard reference for Indian accounting, customs, and compliance, with an archive reaching back to 2003.
217
+ The Reserve Bank of India (RBI) is India's central bank. Its daily reference rates for the rupee against major currencies are the standard reference for Indian accounting, tax and compliance. Since 10 July 2018 the rates have been computed and announced by Financial Benchmarks India Ltd (FBIL); the RBI continues to publish them in its Reference Rate Archive, which reaches back to 2003 and is the table served here.
218
218
 
219
219
  - Publisher's own page: [Reference rate archive](https://www.rbi.org.in/scripts/referenceratearchive.aspx) · [www.rbi.org.in](https://www.rbi.org.in)
220
220
  - Publication: every business day; the exact schedule, freshness status and any current delay are on the [Reserve Bank of India rates page](https://allratestoday.com/central-bank-rates-api/rbi/)
@@ -245,7 +245,7 @@ curl "https://allratestoday.com/api/v1/central-bank/rbi/latest?format=xml&api_ke
245
245
  - 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
246
246
  - 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('rbi')` 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
247
247
  - 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 rbi ...` command
248
- - 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`
248
+ - 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`
249
249
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
250
250
 
251
251
  ## ⚖️ Published vs derived rates
@@ -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: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/rbi.csv`)
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
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/rbi/latest.json`
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.9",
3
+ "version": "1.3.14",
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
  ],