{"_id":"@allratestoday/tcmb-exchange-rate","_rev":"11-75a181e27a7d3ff2062a44df7c8343b6","name":"@allratestoday/tcmb-exchange-rate","dist-tags":{"latest":"1.3.4"},"versions":{"1.0.2":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.0.2","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.0.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"21cb9c4a700de844619d40a05e60ff282f03ec1f","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.0.2.tgz","fileCount":6,"integrity":"sha512-bXuluIw/5nnoZw6tFny8NnrbU/wKdlKY+026KOpTlEci4OedbscYEY3Jut+jFhuASgnKMRr8vmF8q6nK5UU45w==","signatures":[{"sig":"MEQCIDGwKlI1EvLCSlxbMMnrm6DgaBuGctada2xR0y00TnbBAiBmTfEWnSwJNm/4ajuCAS57xP0+kMxtv9tDYyhkvzJCIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10310},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"b2c3c9e96ca8da4ad1a1351ee5e2300c2d81ff7d","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Türkiye (Türkiye) daily exchange rates — ~20 currencies vs TRY, history since 2020. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.0.2_1786034543483_0.08531699198636944","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.1.0","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.1.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"48a6429d38d82536842c632d3da07945f8565bea","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.1.0.tgz","fileCount":6,"integrity":"sha512-5OWNdDzqDWY+WfeNAn4uy9JPMn2l63JIAyMUPcBQND68LgGwLTk439mR+srj+zmymAKIBz2Qz1Xyhew4Zet1+A==","signatures":[{"sig":"MEYCIQCCPlc0qie/Pc/UihvsO47mzj4hR1VZHFkdKd57dGCZDgIhAKBsXLfMNs1d5rPZApb6FE+ntGI/FAx1ZJd5C5dQhh9T","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10705},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"065d61564d60cc45fa34b5c13460904bc5c2a2f8","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.1.0_1786461162217_0.8656098681882591","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.1.2","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.1.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"de119f9cf55502c55a1e2120d574ceffcce84e9c","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.1.2.tgz","fileCount":6,"integrity":"sha512-0ahjjk4ntgP5x0ARt2sVrEeLYVYBziqN2nV7uRpfetE8lmU5T+wIMRZZWYyxBddcPsCJ94Th4BovsZVSQVC4yw==","signatures":[{"sig":"MEUCIA/MQrCmg/CpfqZmYzvTeg88WdA+wqEQzJUza7XUDPXtAiEA74b/FQozL8zuRJ+7cma/SOUNRaLsGWL3eq0Pybndsmk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10705},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"cdfbc0e1508ee9990148b815c26e0a144e5d3b57","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.1.2_1786463410485_0.2608281397739449","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.2.0","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.2.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"a95a7572f8c251bb7698bc93b7b8c2e3b3211457","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.2.0.tgz","fileCount":6,"integrity":"sha512-GlRUntZl+qk62hlAdCvenMFS4oXON6VZWnoHs/rWLXNhfCRP6Lt9p1sO1lxoDG91AQO0bFwdf/3St7YqomFmtQ==","signatures":[{"sig":"MEQCIH5697gMU7jG2cpL40+hos8xh/5Rzp6IAs1Y8B1Byq5qAiAtkbEAQnpq5EUMreK6Ot+GuE+qhDTOue8yb0FiFzPHNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16694},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"0ef6cd5111bb9e524bf9f257652afa77e17a9109","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.2.0_1786467370805_0.2678929713900029","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.2.2","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.2.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"211a68c3a92b5b8095a4db21b332a3f281288369","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.2.2.tgz","fileCount":6,"integrity":"sha512-LbBjwu6U1PHGstD9AssDC8gZ5FUB4EKf22W9Z6iL9F4USQYGqVU3zNOJYg7kyHxLAsWkFTG3YwaAQyFHoib6UQ==","signatures":[{"sig":"MEUCIEXuyodIgcqCJVryVctQfnLaZ+pPkzCmpS8NuBGCl7T8AiEA4ngfFkxDmXEzPqsItPRq0Vb48irLFJmOR85JkWSjY3o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17148},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"e5a956fd87b9d6f36bfb70e8b4a1840285704192","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.2.2_1786470385517_0.6578100670229365","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.2.3","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.2.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"9fb92e0b85fb93ebcd536d72cf4dfae9d028f03e","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.2.3.tgz","fileCount":6,"integrity":"sha512-+LabFhrckOrx2kWoctdNayw41TVfigNN8g/Mf98nWrTMn7L0xQz0eaxaOVryoRtADXd5iPBQzvt7tI0J3+D4XQ==","signatures":[{"sig":"MEUCIQD6rwjtDNWnARdCF4K/Lz8CyozukNmhmbAX3w6SwZ6pjwIgVDhQdLLHPeh0XBOCzH8r4V+tvUawzYOXw5YpwDb8Gq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17344},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"5fa70bd36c9b9b7293480f42c465b9c422aefad2","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.2.3_1786648635528_0.2499971832841985","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.2.7","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.2.7","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"b06be57d9e3c75c23c34be32c52d7000d20750d6","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.2.7.tgz","fileCount":6,"integrity":"sha512-hufH9oP5wpukMiFcJhYqtokEmMqDWex106FFuCH/1Z+f3PUSNfDgGmSgTYubHkAjfmLrnKoFCNNkvxZh9lagZA==","signatures":[{"sig":"MEUCIQD/93q/W+4MqXbepGciU+gWFCdQoeX7OYItrYWI7DNjPAIgSLRC9lfs4jOGyDwQlOAI1h7xegyD82xhtlQD5W10ePg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17344},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"0bdc92d850f026c2ce3ab23033ab006807b0ecfc","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.2.7_1787567152535_0.9385555526267855","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.3.0","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.3.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"987b85ad8277cf0aec0e96485a4a78d2578551e5","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.3.0.tgz","fileCount":6,"integrity":"sha512-ndDVm7FLmnTXTkjVuJEhjCYHYd66WNVAcxJbN7p7O67pRqFFBpsTytAfr0VZ6CKQiLT0v1C6Qp22lcDQlmNKxQ==","signatures":[{"sig":"MEQCIAca2WW0G+Hs45Ul+qpCnjc1djPgYK7yKW2ZhgYsajA0AiAMqPzOJla4IBdBBkkPl0e+kaL3jyJKODUw0jgGptHa0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17894},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"ec4d6bcf08cf485c7ab237f12d27e3d5a0f97e14","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.3.0_1788977260260_0.5077527099427284","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.3.1","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.3.1","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"6ac478a18926f47b63bed5aee2621d78df37f1f3","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.3.1.tgz","fileCount":6,"integrity":"sha512-IP+Hd9gjnNPsNWoO/qNVE25mhX5I4023v32ejUuvCJFeE3GxER4OuDrHwr5oT5SQ69gMqxFWNLHPaQwXLZirBw==","signatures":[{"sig":"MEQCIDJywIbLQcXs0+40eqYO6DcB8A6ZaaGDrqTsz/HJyepwAiBEsllFvdnILJgq8gUfuJxu99ESIoE9WWBRAUwtk1h+gg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICy2NkFMj/dHUTGgbEXQcBSFONgdNqVcpufvllG6Qex7AiEAiwxzFvAGCvyBwTJ12KPIdqdMvWI1iZOkXX4piLlmzlo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21688},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"fc26fa33ba7dd14ed15e95764a0cdb2b1355358f","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.3.1_1789650384168_0.029902925297293326","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@allratestoday/tcmb-exchange-rate","version":"1.3.3","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/tcmb-exchange-rate@1.3.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"7ae1d98183e1c63f94cc88950ba125318fc166d4","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.3.3.tgz","fileCount":6,"integrity":"sha512-qyPTCD6jbpMtv+wr0+afzMSQe2eyv1nQJTaUx/maMUP2is64L/kRRp+zvLUXAsbjuwdn0505WSX20F7q/2g5Qg==","signatures":[{"sig":"MEYCIQCwC8smvpYmrWBN6MV/oVhELj2pASgaQAKtsUO4k8StRQIhAJXsx5+ijkWNbNgMZ7czpKV4sV3VjFgvNiBykkiywidC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCptkboU8KiSviu1scDpreQLcIIj8QhLw/PdTGGOpHCmQIgKw6a1Iw0uxCELRtX4ILJoGHTorvRZyKINFsrs032ijY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21682},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"ca0b6b268a0b3c562dedb06b2ec12ac8815a6a05","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tcmb-exchange-rate_1.3.3_1790770580282_0.8153064891993995","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"_id":"@allratestoday/tcmb-exchange-rate@1.3.4","bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"dist":{"shasum":"12d15012abe882a80f1adc22458f5ed6aefb3053","tarball":"https://registry.npmjs.org/@allratestoday/tcmb-exchange-rate/-/tcmb-exchange-rate-1.3.4.tgz","fileCount":6,"integrity":"sha512-gUGgr6Jamf/V1Vi/A7JiJ/V4tXEhqOmLNaRBQEUcdm7j2OVYGD5ctgWJmBIr59+XGP6PmZD24RrJWoJ4vt3/bQ==","signatures":[{"sig":"MEUCIQDhGnQ1+oWzMjwz6yakzOf+u5ZVoTxzbOxmKT/E0GZ5JAIgGr0bZ/+JtAi9WlacVMAP7KXB146DLJwEpb199bvU9IQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF89un7HatIxHuhKP9gXfuQgJ1W7Ju9AjtLuncEsZispAiEAqkD8EwDMg1uBwr6OuIN4k6hOD68SyJuaZI2gVCivbio="}],"unpackedSize":22082},"main":"./index.cjs","name":"@allratestoday/tcmb-exchange-rate","type":"module","types":"./index.d.ts","author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"module":"./index.mjs","engines":{"node":">=18"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.cjs"}},"gitHead":"79b405ca4251d0e8c85b00c9f6c63206e5e3dab3","license":"MIT","version":"1.3.4","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","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.","directories":{},"maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tcmb-exchange-rate_1.3.4_1790851618432_0.6102258159667258"}}},"time":{"created":"2026-08-06T16:42:23.267Z","modified":"2026-10-01T10:46:58.681Z","1.0.2":"2026-08-06T16:42:23.639Z","1.1.0":"2026-08-11T15:12:42.379Z","1.1.2":"2026-08-11T15:50:10.621Z","1.2.0":"2026-08-11T16:56:10.936Z","1.2.2":"2026-08-11T17:46:25.646Z","1.2.3":"2026-08-13T19:17:15.686Z","1.2.7":"2026-08-24T10:25:52.668Z","1.3.0":"2026-09-09T18:07:40.423Z","1.3.1":"2026-09-17T13:06:24.261Z","1.3.3":"2026-09-30T12:16:20.366Z","1.3.4":"2026-10-01T10:46:58.513Z"},"bugs":{"url":"https://github.com/AllRates-Today/tcmb-exchange-rate/issues"},"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","homepage":"https://allratestoday.com/central-bank-rates-api/tcmb/","keywords":["tcmb","central","bank","of","türkiye","exchange-rate","exchange-rates","currency","forex","fx","try","central-bank","official-rates","türkiye","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/tcmb-exchange-rate.git","type":"git"},"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.","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"readme":"# Central Bank of Türkiye Exchange Rates API — tcmb-exchange-rate\n\n[![npm version](https://img.shields.io/npm/v/@allratestoday%2Ftcmb-exchange-rate.svg)](https://www.npmjs.com/package/@allratestoday/tcmb-exchange-rate)\n[![license](https://img.shields.io/npm/l/@allratestoday%2Ftcmb-exchange-rate.svg)](https://github.com/AllRates-Today/tcmb-exchange-rate/blob/main/LICENSE)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/tcmb-exchange-rate)\n[![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)\n\n**Official Central Bank of Türkiye (Türkiye) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing — not market estimates, but the numbers Central Bank of Türkiye itself prints, every business day.**\n\n## 🚀 Why this client?\n\n- 🏛️ **Official published rates** — Central Bank of Türkiye's own table, with the publisher's own `rate_date` on every response\n- 📅 **History back to 2020** — point-in-time tables and daily series for any past date\n- 🔀 **Published vs derived, always flagged** — computed inverse/cross pairs carry `derived: true`, never mixed with official prints\n- ⚡ **Zero dependencies** — pure ESM + CJS over global `fetch`; Node 18+, Bun, Deno, and edge runtimes\n- 🔷 **Type-safe** — full TypeScript definitions shipped with the package\n- 🧾 **Compliance-grade metadata** — `rate_type`, publication date, and source disclaimer on every response\n\n> **Official rate, not mid-market:** every value here is a number Central Bank of Türkiye 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.\n\n## ⚡ Try it without a key\n\nThe latest Central Bank of Türkiye table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:\n\n```bash\ncurl \"https://allratestoday.com/api/open/central-bank/tcmb?source=USD&target=TRY\"\n```\n\n```js\nconst r = await fetch('https://allratestoday.com/api/open/central-bank/tcmb').then((x) => x.json());\nconsole.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key\n```\n\nThe 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, history, and CSV/XML/Excel output.\n\n## 🔑 Get your API key\n\nGet a free API key at [allratestoday.com/register](https://allratestoday.com/register) — no credit card required. Latest rates are on every plan, including free.\n\n## 📦 Installation\n\n```bash\nnpm install @allratestoday/tcmb-exchange-rate\n```\n\n```bash\nyarn add @allratestoday/tcmb-exchange-rate\n```\n\n```bash\npnpm add @allratestoday/tcmb-exchange-rate\n```\n\nRequires Node 18+ (global `fetch`); also runs on Bun, Deno and edge runtimes. Scoped mirror of [`tcmb-exchange-rate`](https://www.npmjs.com/package/tcmb-exchange-rate) — same code, same versions.\n\n## 🏁 Quick start\n\n```js\nimport { getRate } from '@allratestoday/tcmb-exchange-rate';\n\nconst pair = await getRate('USD', 'TRY', { apiKey: 'art_live_...' });\nconsole.log(pair.rate, pair.rate_date); // the official Central Bank of Türkiye rate, on the central bank's own date\n```\n\n## 📚 API reference\n\n- [Latest pair rate](#latest-pair-rate) — one pair from the latest published table\n- [Full published table](#full-published-table) — everything the central bank printed, in one call\n- [Table for a date](#table-for-a-date) — the official table for an invoice or filing date\n- [Daily time series](#daily-time-series) — one pair across a date range\n\n---\n\n### Latest pair rate\n\nFree plan and up. Pairs the central bank does not print directly are resolved from its table and flagged (see *Published vs derived rates* below).\n\n```js\nconst pair = await getRate('USD', 'TRY', { apiKey: 'art_live_...' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'tcmb',\n  name: 'Central Bank of Türkiye',\n  rate_date: '2026-09-25',   // Central Bank of Türkiye's own publication date\n  source: 'USD',\n  target: 'TRY',\n  rate: 48.878,\n  rate_type: 'sell',\n  derived: false,\n  method: 'published',\n  disclaimer: 'Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned.'\n}\n```\n\n### Full published table\n\nFree plan and up. The complete table for the latest publication date.\n\n```js\nimport { getLatestRates } from '@allratestoday/tcmb-exchange-rate';\n\nconst table = await getLatestRates({ apiKey: 'art_live_...' });\nconsole.log(table.rate_date, table.rates.length);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'tcmb',\n  name: 'Central Bank of Türkiye',\n  rate_date: '2026-09-25',\n  rates: [\n    { \"base\": \"USD\", \"quote\": \"TRY\", \"type\": \"sell\", \"value\": 48.878 },\n    { \"base\": \"USD\", \"quote\": \"TRY\", \"type\": \"buy\", \"value\": 48.7901 },\n    // … the rest of the published table (22 currencies vs TRY)\n  ],\n  disclaimer: '…'\n}\n```\n\n### Table for a date\n\nPaid plans. The official table for any date since 2020 — weekends and holidays return the most recent published date, flagged via `published_on_requested_date`, which is exactly the in-force rate a filing needs.\n\n```js\nimport { getRatesForDate } from '@allratestoday/tcmb-exchange-rate';\n\nconst day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });\n// Optionally narrow to one pair:\nconst one = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...', source: 'USD', target: 'TRY' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'tcmb',\n  requested_date: '2026-06-30',\n  rate_date: '2026-06-30',                // the date actually published\n  published_on_requested_date: true,      // false when a weekend/holiday fell back\n  rates: [ /* the full table for that date */ ],\n  disclaimer: '…'\n}\n```\n\n### Daily time series\n\nPaid plans. One resolved rate per publication date — ready for charting, revaluation runs, or audit workpapers.\n\n```js\nimport { getHistory } from '@allratestoday/tcmb-exchange-rate';\n\nconst series = await getHistory(\n  { source: 'USD', target: 'TRY', from: '2026-01-01', to: '2026-09-25' },\n  { apiKey: 'art_live_...' }\n);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'tcmb',\n  source: 'USD',\n  target: 'TRY',\n  from: '2026-01-01',\n  to: '2026-09-25',\n  count: 152,\n  rates: [\n    // one entry per publication date\n    { date: '2026-09-25', rate: 48.878, rate_type: 'sell', derived: false, method: 'published' },\n    // …\n  ],\n  disclaimer: '…'\n}\n```\n\nPass `{ symbol: 'USD' }` instead of `source`/`target` to get the raw published rows for one currency (all rate types, no pair resolution).\n\n---\n\n## 🗺️ Currencies covered\n\nCentral Bank of Türkiye currently publishes rates covering **22 currencies** against the TRY (as of the latest table):\n\n🇦🇪 `AED` · 🇦🇺 `AUD` · 🇦🇿 `AZN` · 🇨🇦 `CAD` · 🇨🇭 `CHF` · 🇨🇳 `CNY` · 🇩🇰 `DKK` · 🇪🇺 `EUR` · 🇬🇧 `GBP` · 🇯🇵 `JPY` · 🇰🇷 `KRW` · 🇰🇼 `KWD` · 🇰🇿 `KZT` · 🇳🇴 `NOK` · 🇵🇰 `PKR` · 🇶🇦 `QAR` · 🇷🇴 `RON` · 🇷🇺 `RUB` · 🇸🇦 `SAR` · 🇸🇪 `SEK` · 🇺🇸 `USD` · `XDR`\n\n## 🏛️ Source\n\nThe Central Bank of the Republic of Türkiye publishes an indicative exchange rates bulletin for the lira each business day at 15:30 local time, including the forex buying and selling rates used across Turkish banking and accounting.\n\n- Publisher's own page: [Indicative exchange rates bulletin](https://www.tcmb.gov.tr/kurlar/kurlar_en.html) · [www.tcmb.gov.tr](https://www.tcmb.gov.tr)\n- Publication: every business day; the exact schedule, freshness status and any current delay are on the [Central Bank of Türkiye rates page](https://allratestoday.com/central-bank-rates-api/tcmb/)\n- Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)\n\n## 🧭 Reading the numbers\n\n- `value` is always **quote currency per 1 unit of base currency** (`base: \"EUR\", quote: \"USD\", value: 1.15` means 1 EUR = 1.15 USD).\n- Central Bank of Türkiye quotes **TRY per 1 unit of foreign currency** (e.g. `base: \"USD\", quote: \"TRY\"` means TRY per one US dollar).\n- Need the other way round? Ask `getRate(target, source)` and the API inverts or crosses for you, flagged `derived: true` — never divide a published rate yourself in a compliance workflow.\n- `rate_type` tells you which of the central bank's series a row belongs to (`sell` here); some publishers print buy/sell or several fixings for the same pair.\n\n## 🧩 ERP & accounting systems\n\nLoading the official Central Bank of Türkiye rate into an accounting system is a supported workflow, not a hack. Step-by-step guides with the direction each system expects:\n\n- [Dynamics 365 Business Central](https://allratestoday.com/docs/integrations/business-central/) — built-in Currency Exchange Rate Service, no code\n- [Xero](https://allratestoday.com/docs/integrations/xero/) · [QuickBooks Online](https://allratestoday.com/docs/integrations/quickbooks/) · [SAP S/4HANA and ECC](https://allratestoday.com/docs/integrations/sap/) · [Odoo](https://allratestoday.com/docs/integrations/odoo/)\n\nThe same keyed endpoints return `?format=csv`, `?format=xml` and `?format=xlsx`, and accept the key as `?api_key=` on the URL for importers that cannot send headers:\n\n```bash\ncurl \"https://allratestoday.com/api/v1/central-bank/tcmb/latest?format=xml&api_key=art_live_...\"\n```\n\n## 🤖 AI agents\n\n- 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\n- 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('tcmb')` 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\n- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)\n\n## ⚖️ Published vs derived rates\n\nIf Central Bank of Türkiye does not print a pair directly, the API resolves it from the central bank's own table and says so — official and computed values are never confused:\n\n| `method` | `derived` | Meaning |\n| --- | --- | --- |\n| `published` | `false` | The central bank printed this pair directly |\n| `inverse` | `true` | Computed as 1 ÷ the published opposite direction |\n| `cross` | `true` | Computed via TRY from two published rates |\n\n## 🛡️ Error handling\n\nErrors are thrown as `Error` with `status` (HTTP code) and `body` (the API's JSON error) attached:\n\n```js\ntry {\n  const pair = await getRate('USD', 'XXX', { apiKey: 'art_live_...' });\n} catch (err) {\n  console.log(err.message); // human-readable reason\n  console.log(err.status);  // e.g. 404\n}\n```\n\n| Status | Meaning |\n| ------ | ------- |\n| — | Missing `apiKey` (thrown before any request) |\n| `400` | Malformed date or parameters |\n| `401` | Invalid API key |\n| `403` | Endpoint needs a [paid plan](https://allratestoday.com/pricing/) (historical dates & series) |\n| `404` | Pair or date range not covered by Central Bank of Türkiye |\n| `429` | Monthly quota exceeded |\n\n## 🔷 TypeScript\n\nFull definitions ship with the package — no `@types` install:\n\n```ts\nimport type { LatestRates, PairRate, DatedRates, RateEntry, HistoryQuery, RequestOptions } from '@allratestoday/tcmb-exchange-rate';\n```\n\n## 📦 CommonJS\n\n```javascript\nconst { getRate } = require('@allratestoday/tcmb-exchange-rate');\n\ngetRate('USD', 'TRY', { apiKey: 'art_live_...' }).then((pair) => console.log(pair.rate));\n```\n\n## 💡 Quota tips\n\n- Rates change once per business day — cache the published table locally and a small monthly quota goes a long way.\n- Every request counts toward your AllRatesToday quota, shared across all AllRatesToday endpoints on your key.\n\n## 📖 Methods reference\n\n| Method | Plan | Description |\n| ------ | ---- | ----------- |\n| `getRate(source, target, { apiKey })` | Free | Latest rate for one pair, resolved from the published table |\n| `getLatestRates({ apiKey })` | Free | The central bank's full latest published table |\n| `getRatesForDate(date, { apiKey, source?, target? })` | Paid | The official table (or one pair) for a YYYY-MM-DD date |\n| `getHistory({ symbol \\| source+target, from?, to? }, { apiKey })` | Paid | Daily series since 2020 |\n\n## 📥 Bulk data (no key)\n\nNeed the whole archive rather than an API call? The same published tables are mirrored daily as open data:\n\n- Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/tcmb.csv`)\n- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)\n- CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/tcmb/latest.json`\n\n## 🔗 Links\n\n- [Central Bank of Türkiye rates page](https://allratestoday.com/central-bank-rates-api/tcmb/) — live table, publication cadence, FAQ\n- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)\n- [Package docs on the site](https://allratestoday.com/docs/sdk/tcmb-exchange-rate/) · [ERP integration guides](https://allratestoday.com/docs/integrations/)\n- [API documentation](https://allratestoday.com/docs/#central-bank) · [Interactive reference](https://allratestoday.com/api-reference/) · [Methodology](https://allratestoday.com/official-rates-methodology/)\n- [Register (free)](https://allratestoday.com/register) · [Pricing](https://allratestoday.com/pricing/)\n- [GitHub](https://github.com/AllRates-Today/tcmb-exchange-rate)\n\n## 📜 License\n\nMIT\n","readmeFilename":"README.md"}