@allratestoday/tcmb-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.
Files changed (2) hide show
  1. package/README.md +54 -54
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -42,53 +42,53 @@ 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 Central Bank of Türkiye — 43 rates. Updated 2026-10-12.
45
+ Published **2026-10-14** by Central Bank of Türkiye — 43 rates. Updated 2026-10-14.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | AED | TRY | buy | 13.3334 |
50
- | AED | TRY | sell | 13.5079 |
51
- | AUD | TRY | buy | 34.2625 |
52
- | AUD | TRY | sell | 34.4859 |
53
- | AZN | TRY | buy | 28.8065 |
54
- | AZN | TRY | sell | 29.1834 |
55
- | CAD | TRY | buy | 34.4876 |
56
- | CAD | TRY | sell | 34.6432 |
57
- | CHF | TRY | buy | 59.0307 |
58
- | CHF | TRY | sell | 59.4097 |
59
- | CNY | TRY | buy | 7.317 |
60
- | CNY | TRY | sell | 7.4128 |
61
- | DKK | TRY | buy | 7.3611 |
62
- | DKK | TRY | sell | 7.3972 |
63
- | EUR | TRY | buy | 55.1075 |
64
- | EUR | TRY | sell | 55.2068 |
65
- | GBP | TRY | buy | 65.0881 |
66
- | GBP | TRY | sell | 65.4274 |
67
- | JPY | TRY | buy | 0.30994 |
68
- | JPY | TRY | sell | 0.311992 |
69
- | KRW | TRY | buy | 0.03675 |
70
- | KRW | TRY | sell | 0.03723 |
71
- | KWD | TRY | buy | 158.9195 |
72
- | KWD | TRY | sell | 160.999 |
73
- | KZT | TRY | buy | 0.10839 |
74
- | KZT | TRY | sell | 0.10981 |
75
- | NOK | TRY | buy | 5.1323 |
76
- | NOK | TRY | sell | 5.1668 |
77
- | PKR | TRY | buy | 0.17687 |
78
- | PKR | TRY | sell | 0.17918 |
79
- | QAR | TRY | buy | 13.4344 |
80
- | QAR | TRY | sell | 13.6102 |
81
- | RON | TRY | buy | 10.2681 |
82
- | RON | TRY | sell | 10.4024 |
83
- | RUB | TRY | buy | 0.58243 |
84
- | RUB | TRY | sell | 0.59005 |
85
- | SAR | TRY | buy | 13.1124 |
86
- | SAR | TRY | sell | 13.136 |
87
- | SEK | TRY | buy | 4.8971 |
88
- | SEK | TRY | sell | 4.9478 |
89
- | USD | TRY | buy | 49.2471 |
90
- | USD | TRY | sell | 49.3358 |
91
- | XDR | TRY | buy | 66.6708 |
49
+ | AED | TRY | buy | 13.3485 |
50
+ | AED | TRY | sell | 13.5232 |
51
+ | AUD | TRY | buy | 34.4686 |
52
+ | AUD | TRY | sell | 34.6933 |
53
+ | AZN | TRY | buy | 28.8398 |
54
+ | AZN | TRY | sell | 29.2172 |
55
+ | CAD | TRY | buy | 34.6413 |
56
+ | CAD | TRY | sell | 34.7976 |
57
+ | CHF | TRY | buy | 59.0399 |
58
+ | CHF | TRY | sell | 59.419 |
59
+ | CNY | TRY | buy | 7.3255 |
60
+ | CNY | TRY | sell | 7.4213 |
61
+ | DKK | TRY | buy | 7.3734 |
62
+ | DKK | TRY | sell | 7.4096 |
63
+ | EUR | TRY | buy | 55.2033 |
64
+ | EUR | TRY | sell | 55.3027 |
65
+ | GBP | TRY | buy | 65.291 |
66
+ | GBP | TRY | sell | 65.6314 |
67
+ | JPY | TRY | buy | 0.310528 |
68
+ | JPY | TRY | sell | 0.312585 |
69
+ | KRW | TRY | buy | 0.0367 |
70
+ | KRW | TRY | sell | 0.03718 |
71
+ | KWD | TRY | buy | 159.1034 |
72
+ | KWD | TRY | sell | 161.1853 |
73
+ | KZT | TRY | buy | 0.10884 |
74
+ | KZT | TRY | sell | 0.11026 |
75
+ | NOK | TRY | buy | 5.1814 |
76
+ | NOK | TRY | sell | 5.2162 |
77
+ | PKR | TRY | buy | 0.17708 |
78
+ | PKR | TRY | sell | 0.17939 |
79
+ | QAR | TRY | buy | 13.4509 |
80
+ | QAR | TRY | sell | 13.6269 |
81
+ | RON | TRY | buy | 10.2756 |
82
+ | RON | TRY | sell | 10.4101 |
83
+ | RUB | TRY | buy | 0.58364 |
84
+ | RUB | TRY | sell | 0.59128 |
85
+ | SAR | TRY | buy | 13.1302 |
86
+ | SAR | TRY | sell | 13.1539 |
87
+ | SEK | TRY | buy | 4.9282 |
88
+ | SEK | TRY | sell | 4.9792 |
89
+ | USD | TRY | buy | 49.3041 |
90
+ | USD | TRY | sell | 49.3929 |
91
+ | XDR | TRY | buy | 66.7733 |
92
92
 
93
93
  Source: [Official rates published by TCMB, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/tcmb/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
94
94
  <!-- daily-table:end -->
@@ -145,10 +145,10 @@ const pair = await getRate('USD', 'TRY', { apiKey: 'art_live_...' });
145
145
  {
146
146
  bank: 'tcmb',
147
147
  name: 'Central Bank of Türkiye',
148
- rate_date: '2026-10-12', // Central Bank of Türkiye's own publication date
148
+ rate_date: '2026-10-13', // Central Bank of Türkiye's own publication date
149
149
  source: 'USD',
150
150
  target: 'TRY',
151
- rate: 49.3358,
151
+ rate: 49.3681,
152
152
  rate_type: 'sell',
153
153
  derived: false,
154
154
  method: 'published',
@@ -173,10 +173,10 @@ console.log(table.rate_date, table.rates.length);
173
173
  {
174
174
  bank: 'tcmb',
175
175
  name: 'Central Bank of Türkiye',
176
- rate_date: '2026-10-12',
176
+ rate_date: '2026-10-13',
177
177
  rates: [
178
- { "base": "USD", "quote": "TRY", "type": "sell", "value": 49.3358 },
179
- { "base": "USD", "quote": "TRY", "type": "buy", "value": 49.2471 },
178
+ { "base": "USD", "quote": "TRY", "type": "sell", "value": 49.3681 },
179
+ { "base": "USD", "quote": "TRY", "type": "buy", "value": 49.2794 },
180
180
  // … the rest of the published table (22 currencies vs TRY)
181
181
  ],
182
182
  disclaimer: '…'
@@ -216,7 +216,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
216
216
  import { getHistory } from '@allratestoday/tcmb-exchange-rate';
217
217
 
218
218
  const series = await getHistory(
219
- { source: 'USD', target: 'TRY', from: '2026-01-01', to: '2026-10-12' },
219
+ { source: 'USD', target: 'TRY', from: '2026-01-01', to: '2026-10-13' },
220
220
  { apiKey: 'art_live_...' }
221
221
  );
222
222
  ```
@@ -229,11 +229,11 @@ const series = await getHistory(
229
229
  source: 'USD',
230
230
  target: 'TRY',
231
231
  from: '2026-01-01',
232
- to: '2026-10-12',
232
+ to: '2026-10-13',
233
233
  count: 152,
234
234
  rates: [
235
235
  // one entry per publication date
236
- { date: '2026-10-12', rate: 49.3358, rate_type: 'sell', derived: false, method: 'published' },
236
+ { date: '2026-10-13', rate: 49.3681, rate_type: 'sell', derived: false, method: 'published' },
237
237
  // …
238
238
  ],
239
239
  disclaimer: '…'
@@ -352,9 +352,9 @@ getRate('USD', 'TRY', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
352
352
 
353
353
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
354
354
 
355
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/tcmb.csv`)
355
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/tcmb.csv`)
356
356
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
357
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/tcmb/latest.json`
357
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/tcmb/latest.json`
358
358
 
359
359
  ## 🔗 Links
360
360
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/tcmb-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.13",
4
4
  "description": "Official Central Bank of Türkiye (Türkiye) daily exchange rates — 22 currencies vs TRY, history since 2020. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "tcmb",
7
+ "central-bank-of-turkiye",
7
8
  "central",
8
9
  "bank",
9
- "of",
10
- "türkiye",
10
+ "turkiye",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "try-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "try",
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
- "türkiye",
20
28
  "api",
21
29
  "typescript"
22
30
  ],