@allratestoday/nbg-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 +53 -53
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -42,52 +42,52 @@ 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-10** by National Bank of Georgia — 42 rates. Updated 2026-10-12.
45
+ Published **2026-10-16** by National Bank of Georgia — 42 rates. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | AED | GEL | reference | 0.708 |
50
- | AMD | GEL | reference | 0.007172 |
51
- | AUD | GEL | reference | 1.8144 |
52
- | AZN | GEL | reference | 1.5298 |
53
- | BRL | GEL | reference | 0.5177 |
54
- | BYN | GEL | reference | 0.8575 |
55
- | CAD | GEL | reference | 1.8266 |
56
- | CHF | GEL | reference | 3.129 |
57
- | CNY | GEL | reference | 0.38855 |
58
- | CZK | GEL | reference | 0.1197 |
59
- | DKK | GEL | reference | 0.38998 |
60
- | EGP | GEL | reference | 0.04966 |
61
- | EUR | GEL | reference | 2.9154 |
62
- | GBP | GEL | reference | 3.4415 |
63
- | HKD | GEL | reference | 0.33138 |
64
- | HUF | GEL | reference | 0.007988 |
65
- | ILS | GEL | reference | 0.85064 |
66
- | INR | GEL | reference | 0.026883 |
67
- | IRR | GEL | reference | 0.00000147 |
68
- | ISK | GEL | reference | 0.02131 |
69
- | JPY | GEL | reference | 0.016424 |
70
- | KGS | GEL | reference | 0.02973 |
71
- | KRW | GEL | reference | 0.0019391 |
72
- | KWD | GEL | reference | 8.359 |
73
- | KZT | GEL | reference | 0.00573 |
74
- | MDL | GEL | reference | 0.14541 |
75
- | NOK | GEL | reference | 0.27147 |
76
- | NZD | GEL | reference | 1.4589 |
77
- | PLN | GEL | reference | 0.66575 |
78
- | QAR | GEL | reference | 0.7134 |
79
- | RON | GEL | reference | 0.54593 |
80
- | RSD | GEL | reference | 0.024829 |
81
- | RUB | GEL | reference | 0.030545 |
82
- | SEK | GEL | reference | 0.26086 |
83
- | SGD | GEL | reference | 2.0313 |
84
- | TJS | GEL | reference | 0.28193 |
85
- | TMT | GEL | reference | 0.743 |
86
- | TRY | GEL | reference | 0.0527 |
87
- | UAH | GEL | reference | 0.0579 |
88
- | USD | GEL | reference | 2.6005 |
89
- | UZS | GEL | reference | 0.0002188 |
90
- | ZAR | GEL | reference | 0.15727 |
49
+ | AED | GEL | reference | 0.70751 |
50
+ | AMD | GEL | reference | 0.0071738 |
51
+ | AUD | GEL | reference | 1.7983 |
52
+ | AZN | GEL | reference | 1.5288 |
53
+ | BRL | GEL | reference | 0.5168 |
54
+ | BYN | GEL | reference | 0.8629 |
55
+ | CAD | GEL | reference | 1.8294 |
56
+ | CHF | GEL | reference | 3.1295 |
57
+ | CNY | GEL | reference | 0.38832 |
58
+ | CZK | GEL | reference | 0.11961 |
59
+ | DKK | GEL | reference | 0.38967 |
60
+ | EGP | GEL | reference | 0.04851 |
61
+ | EUR | GEL | reference | 2.9129 |
62
+ | GBP | GEL | reference | 3.4435 |
63
+ | HKD | GEL | reference | 0.33116 |
64
+ | HUF | GEL | reference | 0.008011 |
65
+ | ILS | GEL | reference | 0.83753 |
66
+ | INR | GEL | reference | 0.027339 |
67
+ | IRR | GEL | reference | 0.00000146 |
68
+ | ISK | GEL | reference | 0.021355 |
69
+ | JPY | GEL | reference | 0.016467 |
70
+ | KGS | GEL | reference | 0.029707 |
71
+ | KRW | GEL | reference | 0.0019324 |
72
+ | KWD | GEL | reference | 8.3533 |
73
+ | KZT | GEL | reference | 0.005727 |
74
+ | MDL | GEL | reference | 0.14491 |
75
+ | NOK | GEL | reference | 0.27294 |
76
+ | NZD | GEL | reference | 1.4571 |
77
+ | PLN | GEL | reference | 0.66678 |
78
+ | QAR | GEL | reference | 0.71279 |
79
+ | RON | GEL | reference | 0.54585 |
80
+ | RSD | GEL | reference | 0.0248 |
81
+ | RUB | GEL | reference | 0.03102 |
82
+ | SEK | GEL | reference | 0.26041 |
83
+ | SGD | GEL | reference | 2.0261 |
84
+ | TJS | GEL | reference | 0.28194 |
85
+ | TMT | GEL | reference | 0.74249 |
86
+ | TRY | GEL | reference | 0.0526 |
87
+ | UAH | GEL | reference | 0.05788 |
88
+ | USD | GEL | reference | 2.5987 |
89
+ | UZS | GEL | reference | 0.0002164 |
90
+ | ZAR | GEL | reference | 0.15733 |
91
91
 
92
92
  Source: [Official rates published by NBG, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbg/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
93
93
  <!-- daily-table:end -->
@@ -144,10 +144,10 @@ const pair = await getRate('USD', 'GEL', { apiKey: 'art_live_...' });
144
144
  {
145
145
  bank: 'nbg',
146
146
  name: 'National Bank of Georgia',
147
- rate_date: '2026-10-10', // National Bank of Georgia's own publication date
147
+ rate_date: '2026-10-13', // National Bank of Georgia's own publication date
148
148
  source: 'USD',
149
149
  target: 'GEL',
150
- rate: 2.6005,
150
+ rate: 2.5994,
151
151
  rate_type: 'reference',
152
152
  derived: false,
153
153
  method: 'published',
@@ -172,9 +172,9 @@ console.log(table.rate_date, table.rates.length);
172
172
  {
173
173
  bank: 'nbg',
174
174
  name: 'National Bank of Georgia',
175
- rate_date: '2026-10-10',
175
+ rate_date: '2026-10-13',
176
176
  rates: [
177
- { "base": "USD", "quote": "GEL", "type": "reference", "value": 2.6005 },
177
+ { "base": "USD", "quote": "GEL", "type": "reference", "value": 2.5994 },
178
178
  // … the rest of the published table (42 currencies vs GEL)
179
179
  ],
180
180
  disclaimer: '…'
@@ -214,7 +214,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
214
214
  import { getHistory } from '@allratestoday/nbg-exchange-rate';
215
215
 
216
216
  const series = await getHistory(
217
- { source: 'USD', target: 'GEL', from: '2026-01-01', to: '2026-10-10' },
217
+ { source: 'USD', target: 'GEL', from: '2026-01-01', to: '2026-10-13' },
218
218
  { apiKey: 'art_live_...' }
219
219
  );
220
220
  ```
@@ -227,11 +227,11 @@ const series = await getHistory(
227
227
  source: 'USD',
228
228
  target: 'GEL',
229
229
  from: '2026-01-01',
230
- to: '2026-10-10',
230
+ to: '2026-10-13',
231
231
  count: 152,
232
232
  rates: [
233
233
  // one entry per publication date
234
- { date: '2026-10-10', rate: 2.6005, rate_type: 'reference', derived: false, method: 'published' },
234
+ { date: '2026-10-13', rate: 2.5994, rate_type: 'reference', derived: false, method: 'published' },
235
235
  // …
236
236
  ],
237
237
  disclaimer: '…'
@@ -281,7 +281,7 @@ curl "https://allratestoday.com/api/v1/central-bank/nbg/latest?format=xml&api_ke
281
281
  - 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
282
282
  - 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('nbg')` 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
283
283
  - 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 nbg ...` command
284
- - 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`
284
+ - 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`
285
285
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
286
286
 
287
287
  ## ⚖️ Published vs derived rates
@@ -350,9 +350,9 @@ getRate('USD', 'GEL', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
350
350
 
351
351
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
352
352
 
353
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/nbg.csv`)
353
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/nbg.csv`)
354
354
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
355
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/nbg/latest.json`
355
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/nbg/latest.json`
356
356
 
357
357
  ## 🔗 Links
358
358
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/nbg-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.14",
4
4
  "description": "Official National Bank of Georgia (Georgia) daily exchange rates — 42 currencies vs GEL, history since 2016. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "nbg",
7
+ "national-bank-of-georgia",
7
8
  "national",
8
9
  "bank",
9
- "of",
10
10
  "georgia",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "gel-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "gel",
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
- "georgia",
20
28
  "api",
21
29
  "typescript"
22
30
  ],