{"_id":"@allratestoday/central-bank-of-chile-exchange-rate","_rev":"8-04f7862fdd5446c359ee3cbb5b1b7c45","name":"@allratestoday/central-bank-of-chile-exchange-rate","dist-tags":{"latest":"1.3.6"},"versions":{"1.2.6":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.2.6","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.2.6","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"8efe40dfb24b47e3228a1e638b4182765cc76695","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.2.6.tgz","fileCount":6,"integrity":"sha512-Bcuc3CJkJAaEabkpdRHRsZHEBFlmKQEUChVEr3xWMI/d5eVZN0kepzgQgEQiq0sNPEmYUIxqUYaFhcszKaoYBw==","signatures":[{"sig":"MEUCIC6cpdSLKPEj297C7PM2hpbJzzHzFpIiaIR8L8nuScV0AiEA//XH4kPNjoqxli4VDa28GkGdOf8Ya9NmftfsqeUjAcc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18256},"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":"a7edc245aa5fbb1de7a3d82286d55445cbebf7c6","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 2000. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.2.6_1787263698665_0.9649264903408978","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.2.7","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.2.7","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"52b98767d06868cdda1d69910f2e8aa3541b6d58","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.2.7.tgz","fileCount":6,"integrity":"sha512-WeGlh9pjP5RZrlg75a3A2zlrbyOy+l0LEPhLOeLzcL9OvFq+YD5BmkaJSFh/ZJQSM4yljzRZFUB5MOj1NeU0uA==","signatures":[{"sig":"MEQCIFHmr34Dmbu43aXsbeazKNgP/udcgLDCkHRTeSX3wzvuAiAUjgIXt/SDN05AIAm6TValRGqFgvX65YaiGOPy9nExdg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18256},"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":"55ca1f5875f43a68461e32218aa49235429402d7","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.2.7_1787308567905_0.6047550239199841","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.3.0","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.3.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"2284ad769ec3d1badfe0192e4b692a573ee75d43","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.3.0.tgz","fileCount":6,"integrity":"sha512-kesncLSn7ixa9mcDDi99dut7ZCohMtH5GmgXOYZX9lScf17ajd5hFOzku2IT10Gq3DwPkT6Gv0Y9kOzq/JhfQg==","signatures":[{"sig":"MEUCIF3aYciOyh8FiDEO6+wxprxnxZ/v6Pt4QqXVVYMTf/g8AiEAh8nivdRgs+WTQltqhi2AR1ijUxOQ6sXoFnT/1dA61Ck=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18806},"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/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.3.0_1788977050113_0.8578456862903712","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.3.1","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.3.1","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"41ef099f9160d42680861d7695157c8b78454bc6","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.3.1.tgz","fileCount":6,"integrity":"sha512-kLKev+qr6zRPeYvZyUeLCvw6tKXKVoR2WaydDVAgubotuxtoibYQW0HY3kp1LPDpF97gWD+FFoeR2DX9rpk3Gw==","signatures":[{"sig":"MEUCIC8IybCW6CKjMgftwN+EfbF59LXRqROi1tnv6nHwmgkAAiEAv67rimDo5fHg+GdJnE3zYNy2xvfgg6Th5LnzDC7InhU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICPYFoUovxavKNi3Nl9tUT3VdmIeHR0g6yldzSEpVXoDAiEAh8ULOZHDlgeMV/I4mQ9TGoqRPzh5Vz0wt2eosst0VDQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22782},"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/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.3.1_1789650271197_0.8403998231742569","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.3.3","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.3.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"27699ccf8559bfc5135dc4e49fcdef5a3e7e331b","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.3.3.tgz","fileCount":6,"integrity":"sha512-tngO8Ab4NRpgDj02hxHnf9wTzLOkiEWeiXBZDytYbSnY0AcAzd3CevAvJYltahCgrZkOZCG4bAb1IwKLFv7VsQ==","signatures":[{"sig":"MEQCIEiV4Qz0TMSgAZa8Jm9kl4ODSo/e7JC08afYk1UdwqGtAiAe+yPzbDILn85N3QxbCme+b7acEhy9xp/pfqrTu1dIHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCTjhFV9FsPb2oaUQvbWkQIJZGMXfCGbB5HeSKyfKkWfgIhAIKUBgWTtELls5JWc3NEpFTgg5Ul0s2Ao44ufFew4Y7c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22779},"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/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.3.3_1790770359281_0.29136761948357703","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.3.4","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.3.4","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"d0ec1a5e7c5b7d1ab35188c570bee673b8cc7a70","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.3.4.tgz","fileCount":6,"integrity":"sha512-kp+ItR+T4rFPpQoND/j9TzaEpzu3DT9/PkdbLtjP/8hk8Jag1BxT2gqBV7PgNj2/xQwe0UQfFmHFQ4PAAibJDg==","signatures":[{"sig":"MEQCIGzFYGWba6s1hoPrAo3YfS2yDRyLI3EaX3BPqgjabFftAiAkFogfVO5zggMvAelHtYFRoxJyrFADKV1VSBIjn84LfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDUbnqsvS7m3KqsAwbMLccuWt26bpaTC2FjTHyileYyPAiEA4suesb56PqR43Wmj3KA70gz4JsCtSOTCTwvPrTa/q5U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23179},"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":"79b405ca4251d0e8c85b00c9f6c63206e5e3dab3","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.3.4_1790851377558_0.9445958369827907","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@allratestoday/central-bank-of-chile-exchange-rate","version":"1.3.5","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.3.5","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"46cacb4b4b4cc6793c510fd12693840cd7986a78","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.3.5.tgz","fileCount":6,"integrity":"sha512-3t7HQtNJC0gAZH9tZ5wHAgFInJE9OS8qFa2Cb94npU6rGc+eTT5v0JN5ofkZXkrmK8ECnqClCmQozp+5q2QAmQ==","signatures":[{"sig":"MEUCIQDcY9ZKHlCyuYdFBHgKgzqqhcPTyAMdVIUSS+/WVvNVswIgZ42IzSxsGR2NhI66NEi0A4cv+rlpJe1tQrH6DysqDvE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEwlsZRME+Sj+HC5tGqieriCMIZ3UUxJo0ey/SQJZ2vtAiEA4gn0JKSiIVTllLy4KRuuoiCa1Gl6j1BK7Odymivhhpg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23179},"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":"96538305fe3410109ec8f078656cb344ea3a301a","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/central-bank-of-chile-exchange-rate_1.3.5_1791322342969_0.9236068539771984","host":"s3://npm-registry-packages-npm-production"}},"1.3.6":{"_id":"@allratestoday/central-bank-of-chile-exchange-rate@1.3.6","bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"dist":{"shasum":"53078daa2b297062b74ef9ea8c6e3c3249f72540","tarball":"https://registry.npmjs.org/@allratestoday/central-bank-of-chile-exchange-rate/-/central-bank-of-chile-exchange-rate-1.3.6.tgz","fileCount":6,"integrity":"sha512-Wh6ugkqzyh+qB4DE/cbVWquSObP0ulGWM2of1s/Ajiu8NS+VdEPIpxoq/YAbLGyU6eQACCJqsRQxwRwUQfwjPA==","signatures":[{"sig":"MEYCIQDQAaVQOnS5nPNQ936YbJFC2nSlRNitJCtHOFTR9EPI2AIhANTojGEasoSzPWO5W+sSBSiLbRC91h1I+kwfxjtjRYwo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFO6gfDoD189GsSEzU1D6uL2Cf0j1AR4ulDpu8KBlOXLAiEA0TX2nZ143MJ3oqgGqjsC8iM9LKF3kzft3SlcwQQUbPU="}],"unpackedSize":23392},"main":"./index.cjs","name":"@allratestoday/central-bank-of-chile-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":"96538305fe3410109ec8f078656cb344ea3a301a","license":"MIT","version":"1.3.6","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. 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/central-bank-of-chile-exchange-rate_1.3.6_1791502531816_0.35685441742577995"}}},"time":{"created":"2026-08-20T22:08:18.525Z","modified":"2026-10-08T23:35:32.118Z","1.2.6":"2026-08-20T22:08:18.825Z","1.2.7":"2026-08-21T10:36:08.047Z","1.3.0":"2026-09-09T18:04:10.242Z","1.3.1":"2026-09-17T13:04:31.278Z","1.3.3":"2026-09-30T12:12:39.382Z","1.3.4":"2026-10-01T10:42:57.664Z","1.3.5":"2026-10-06T21:32:23.067Z","1.3.6":"2026-10-08T23:35:31.945Z"},"bugs":{"url":"https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/issues"},"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","homepage":"https://allratestoday.com/central-bank-rates-api/bcch/","keywords":["bcch","central","bank","of","chile","exchange-rate","exchange-rates","currency","forex","fx","clp","central-bank","official-rates","chile","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate.git","type":"git"},"description":"Official Central Bank of Chile (Chile) daily exchange rates — 60 currencies vs CLP, history since 1982. Zero-dependency Node.js/TypeScript client.","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"readme":"# Central Bank of Chile Exchange Rates API — central-bank-of-chile-exchange-rate\n\n[![npm version](https://img.shields.io/npm/v/@allratestoday%2Fcentral-bank-of-chile-exchange-rate.svg)](https://www.npmjs.com/package/@allratestoday/central-bank-of-chile-exchange-rate)\n[![license](https://img.shields.io/npm/l/@allratestoday%2Fcentral-bank-of-chile-exchange-rate.svg)](https://github.com/AllRates-Today/central-bank-of-chile-exchange-rate/blob/main/LICENSE)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/central-bank-of-chile-exchange-rate)\n[![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)\n\n**Official Central Bank of Chile (Chile) 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 Chile itself prints, every business day.**\n\n## 🚀 Why this client?\n\n- 🏛️ **Official published rates** — Central Bank of Chile's own table, with the publisher's own `rate_date` on every response\n- 📅 **History back to 1982** — 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 Chile 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 Chile 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/bcch?source=USD&target=CLP\"\n```\n\n```js\nconst r = await fetch('https://allratestoday.com/api/open/central-bank/bcch').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/central-bank-of-chile-exchange-rate\n```\n\n```bash\nyarn add @allratestoday/central-bank-of-chile-exchange-rate\n```\n\n```bash\npnpm add @allratestoday/central-bank-of-chile-exchange-rate\n```\n\nRequires Node 18+ (global `fetch`); also runs on Bun, Deno and edge runtimes. Scoped mirror of [`central-bank-of-chile-exchange-rate`](https://www.npmjs.com/package/central-bank-of-chile-exchange-rate) — same code, same versions.\n\n## 🏁 Quick start\n\n```js\nimport { getRate } from '@allratestoday/central-bank-of-chile-exchange-rate';\n\nconst pair = await getRate('USD', 'CLP', { apiKey: 'art_live_...' });\nconsole.log(pair.rate, pair.rate_date); // the official Central Bank of Chile 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', 'CLP', { apiKey: 'art_live_...' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bcch',\n  name: 'Central Bank of Chile',\n  rate_date: '2026-10-08',   // Central Bank of Chile's own publication date\n  source: 'USD',\n  target: 'CLP',\n  rate: 979.85,\n  rate_type: 'reference',\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/central-bank-of-chile-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: 'bcch',\n  name: 'Central Bank of Chile',\n  rate_date: '2026-10-08',\n  rates: [\n    { \"base\": \"USD\", \"quote\": \"CLP\", \"type\": \"reference\", \"value\": 979.85 },\n    // … the rest of the published table (60 currencies vs CLP)\n  ],\n  disclaimer: '…'\n}\n```\n\n### Table for a date\n\nPaid plans. The official table for any date since 1982 — 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/central-bank-of-chile-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: 'CLP' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bcch',\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/central-bank-of-chile-exchange-rate';\n\nconst series = await getHistory(\n  { source: 'USD', target: 'CLP', from: '2026-01-01', to: '2026-10-08' },\n  { apiKey: 'art_live_...' }\n);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'bcch',\n  source: 'USD',\n  target: 'CLP',\n  from: '2026-01-01',\n  to: '2026-10-08',\n  count: 152,\n  rates: [\n    // one entry per publication date\n    { date: '2026-10-08', rate: 979.85, rate_type: 'reference', 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 Chile currently publishes rates covering **60 currencies** against the CLP (as of the latest table):\n\n🇦🇪 `AED` · 🇦🇷 `ARS` · 🇦🇺 `AUD` · 🇧🇲 `BMD` · 🇧🇴 `BOB` · 🇧🇷 `BRL` · 🇧🇸 `BSD` · 🇨🇦 `CAD` · 🇨🇭 `CHF` · 🇨🇳 `CNY` · 🇨🇴 `COP` · 🇨🇷 `CRC` · 🇨🇺 `CUP` · 🇨🇿 `CZK` · 🇩🇰 `DKK` · 🇩🇴 `DOP` · 🇪🇬 `EGP` · 🇪🇺 `EUR` · 🇫🇯 `FJD` · 🇬🇧 `GBP` · 🇬🇹 `GTQ` · 🇭🇰 `HKD` · 🇭🇺 `HUF` · 🇮🇩 `IDR` · 🇮🇱 `ILS` · 🇮🇳 `INR` · 🇮🇷 `IRR` · 🇮🇸 `ISK` · 🇯🇵 `JPY` · 🇰🇷 `KRW` · 🇰🇾 `KYD` · 🇰🇿 `KZT` · 🇲🇦 `MAD` · 🇲🇽 `MXN` · 🇲🇾 `MYR` · 🇳🇴 `NOK` · 🇳🇿 `NZD` · 🇵🇦 `PAB` · 🇵🇪 `PEN` · 🇵🇭 `PHP` · 🇵🇰 `PKR` · 🇵🇱 `PLN` · 🇵🇾 `PYG` · 🇶🇦 `QAR` · 🇷🇴 `RON` · 🇷🇺 `RUB` · 🇸🇦 `SAR` · 🇸🇪 `SEK` · 🇸🇬 `SGD` · 🇹🇭 `THB` · 🇹🇷 `TRY` · 🇹🇼 `TWD` · 🇺🇦 `UAH` · 🇺🇸 `USD` · 🇺🇾 `UYU` · 🇻🇪 `VES` · 🇻🇳 `VND` · `XDR` · `XPF` · 🇿🇦 `ZAR`\n\n## 🏛️ Source\n\nThe Central Bank of Chile publishes the dólar observado — the official USD/CLP rate Chilean law, tax and contracts reference, computed from the previous day's interbank trading and published one business day ahead — alongside a parities table of roughly 60 currencies against the dollar. The observado series reaches back to 1982.\n\n- Publisher's own page: [Dólar observado](https://si3.bcentral.cl/Siete/ES/Siete/Cuadro/CAP_TIPO_CAMBIO/MN_TIPO_CAMBIO4/DOLAR_OBS_ADO) · [www.bcentral.cl/en/web/banco-central](https://www.bcentral.cl/en/web/banco-central)\n- Publication: every business day; the exact schedule, freshness status and any current delay are on the [Central Bank of Chile rates page](https://allratestoday.com/central-bank-rates-api/bcch/)\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 Chile quotes **CLP per 1 unit of foreign currency** (e.g. `base: \"USD\", quote: \"CLP\"` means CLP 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 (`reference` 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 Chile 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/bcch/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('bcch')` 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- 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 bcch ...` command\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 Chile 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 CLP 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 Chile |\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/central-bank-of-chile-exchange-rate';\n```\n\n## 📦 CommonJS\n\n```javascript\nconst { getRate } = require('@allratestoday/central-bank-of-chile-exchange-rate');\n\ngetRate('USD', 'CLP', { 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 1982 |\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/bcch.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/bcch/latest.json`\n\n## 🔗 Links\n\n- [Central Bank of Chile rates page](https://allratestoday.com/central-bank-rates-api/bcch/) — 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/central-bank-of-chile-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/central-bank-of-chile-exchange-rate)\n\n## 📜 License\n\nMIT\n","readmeFilename":"README.md"}