{"_id":"@allratestoday/ustreasury-exchange-rate","_rev":"11-29d3e2232895d54f847ed0c282e2f139","name":"@allratestoday/ustreasury-exchange-rate","dist-tags":{"latest":"1.3.4"},"versions":{"1.0.2":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.0.2","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.0.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/central-bank-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"92c88f5d7c7cf01f03fbc5a82a2ec6d9b20039f7","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.0.2.tgz","fileCount":6,"integrity":"sha512-8t13GHHMKIJZ3CYplKxuILAMPR0ymoz2mW8es9DT5JCvo+1ZgB5GQ3MtCiLi0UrhWQ2LkKTs+KiXGjQMgR2sGg==","signatures":[{"sig":"MEUCIF38SiiJLm4xyAPn1kGJl1Lc/BP9ZZpeOs/ztVQyW2zeAiEA+AHQscx73uZRIpk50jypc1nEP5MclvG8Yl3BEughkP8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10486},"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":"9a8f3116b9fb57c36b8e3f3c97dc462f4666d4a8","_npmUser":{"name":"chathurangac8","email":"basnayakac8@gmail.com"},"repository":{"url":"git+https://github.com/AllRates-Today/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — ~145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.0.2_1786192364688_0.5642432355850675","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.1.0","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.1.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"f93b60e399b86e333cabe38739d722a4fc1e897a","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.1.0.tgz","fileCount":6,"integrity":"sha512-crmqR885igEpMCbKRG5J+pkp9FcfdnE8nGgnXMH0szYQDshKOcTQbP0dmPPwiDGdby8TLJ7gCnBrn8MiXkkDiQ==","signatures":[{"sig":"MEQCICMXudyP9lpQbjJ9FrXn4Tq12RkEnzBzo0L8GCNuNQ3TAiBpX07NTT+bCkYk3ZTYSLeEBR/G+lR9Wov0YGoiIls2NQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12005},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 146 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.1.0_1786461167257_0.6349723120208026","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.1.2","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.1.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"d320b0a9c65bf0fa11e97be5fbc2ee0714bc8a8f","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.1.2.tgz","fileCount":6,"integrity":"sha512-Yfi5BcINLDgQeWvNlhVkSJF/F311EJdg61TkVNCH1Fh3ulfN5lrYqfT24bp28LblrCEScFbSMB8tGgxviOzirw==","signatures":[{"sig":"MEYCIQDWt43xfHOGG8UqBgxBObNUC5zQgQ4Ic/mc/Bl/63Kt2QIhAO7v8iJTm3LGhCN8I1GHyUvMrAFni99+PILIKu5J4aoT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11996},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.1.2_1786463414505_0.13425271211229628","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.2.0","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.2.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"b236396ecae0b4164179b59d84e23cc531267770","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.2.0.tgz","fileCount":6,"integrity":"sha512-TGkZjC3w0YT4JmyLhnc6jjHJZonQrtGaDNr8Eoz1B6FRj57tYAhGKZB/RUkD+IoDVSCn/uCMMkewwGCSObUcsA==","signatures":[{"sig":"MEUCIQCQizXbsWOIKCY4+7aWyCDCrfru4aY9aO/H9vPkl3AUOwIgAolKhJb64oUItDLEWclZooM4Y0BcSgu5Umpu7q0Oj2g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18078},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.2.0_1786467374917_0.7559060973015099","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.2.2","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.2.2","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"68ecc44db2f1051143419e49f04b4f8dbbfac7d3","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.2.2.tgz","fileCount":6,"integrity":"sha512-PjJyS0fBCQdmgHa2hwEceXF7x7BkmRHM6jxEkuR8XKu9LoN3yzhcOI9Z/HfkhIuB+QaDiAAlkgwC63lbgMhaTA==","signatures":[{"sig":"MEUCIQCq25VIbOAtU1TCKumBOwGjAiaTchz9M9ZXxYkez17tOgIgdRbpP+XwFamt3O/eJHYDZoT7bQ9MMXbt98lyGYbDnrw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18540},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.2.2_1786470389742_0.3862541345120496","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.2.3","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.2.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"8af0ce5dbd56d0fc9cc94139c9357b9642bc5fcb","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.2.3.tgz","fileCount":6,"integrity":"sha512-7qUTv5WF5HUP45Yf1bXVPzq+7B2LLwx+/UTX0WWXl+dixEZ+MrxDfqR9/AOMWcQPRXlZUimjh7mPOWjCaFY3vQ==","signatures":[{"sig":"MEYCIQDTZ8meCcVcBW0/YL2/oywrT29G/8PS+sDZ1HXCc2BTnwIhAIDCgFt++ycSZUimGng7tkvevvGt06Cio9JjebgNQqap","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19816},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.2.3_1786648639609_0.05333634449403957","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.2.7","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.2.7","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"1d29a8cee96d47d77e039234878b30c686996f3b","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.2.7.tgz","fileCount":6,"integrity":"sha512-jTNl62XETnGMFl4POWPQdo79TD5NY/7Ayc8GBFIIAMazT2QUrZstoJbcp39O+Et7eMF6/Zm2JPZmhykGPB3Wgg==","signatures":[{"sig":"MEUCIFYO8Q0ndk9hfdJK0GNCkLnomW1lBtiGHyXpJX2tU+8/AiEAuuk7yuhtUdCS8h2GeojoH0I7WGAszLImKQ5fRxBZ558=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19816},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.2.7_1787567156334_0.49818740876560086","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.3.0","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.3.0","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"6c673af459aa62a2a2dbf0d9cb3ed3f61d2d8f05","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.3.0.tgz","fileCount":6,"integrity":"sha512-bMLPOTPMK22lcDxl5EYOY22xW6HvNRl08vzrKh1PNX8Ua9ABR9JHbi1sjX9BIrP4r8wRvlkG0YifmCSG9klhFA==","signatures":[{"sig":"MEUCIEaMrYj7UKePzPV7mk7hOvXNF+u0cohQVazD8a0s0DKHAiEAwJ2nL35fgGg7hDqA+ii0p9EyTURfMQuLw7ekLWneSHI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20378},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.3.0_1788977264579_0.4338630395722265","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.3.1","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.3.1","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"eba9bf0640eca9eed170c32c337d43c5f96bee97","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.3.1.tgz","fileCount":6,"integrity":"sha512-U/TE5gl5PBubLVUqLAMD51vU5TWcQvqSXuySGDz/IR3Ih5GhwjEtQi0u4mn2viA6VGcWmKBcqZjbmCNlu42xmg==","signatures":[{"sig":"MEQCIBXVGJzbLoI8b7WUrVQsGNvl/LCn5FC+cOE4jLrjgsCzAiANPCPAgumaOcL3A00G58qLuEi6zmWqRXmEYr2WvQLdOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24417},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.3.1_1789650331594_0.4540907467080555","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@allratestoday/ustreasury-exchange-rate","version":"1.3.3","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","_id":"@allratestoday/ustreasury-exchange-rate@1.3.3","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"a3c09a2b4b27bdea5c09eaf0c2d9293b25cbc3cf","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.3.3.tgz","fileCount":6,"integrity":"sha512-4jnukZ43PrUTTBCHCntb9vbhfPNgBiJNHaxg95SVp8wMjUDvZ4LMhtKo1JDMl/iEpyeUUuVPmDfmUQJFGutXMQ==","signatures":[{"sig":"MEUCIFLh4taO5Pv8QJxNEAxAIvOPhyM5q921FpZ48h6ZyXMWAiEAvBkC9m+kJxGleHWu+1hP4ptOayopdq6vEBa494jzPII=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCFd9iXGhrmcjBGEypummfui6H/isqV3mJqopcPjLA+tAIgDxbkf3mxqCLY15dstWMT6iGlY4CJQooVlr+inoXmju0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24414},"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/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ustreasury-exchange-rate_1.3.3_1790770589691_0.5545225246729977","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"_id":"@allratestoday/ustreasury-exchange-rate@1.3.4","bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"dist":{"shasum":"21eb895a0d55bce31dc7c56f85557c701697c68b","tarball":"https://registry.npmjs.org/@allratestoday/ustreasury-exchange-rate/-/ustreasury-exchange-rate-1.3.4.tgz","fileCount":6,"integrity":"sha512-OTn9fRQxEQnFe64OJ+wUlsHwPj5RsgyGth5XriqWw1cjOHCZrkU5k9n6yNnZWhCY/1dT2wwRleX6D+5DkA8eeg==","signatures":[{"sig":"MEUCIHWpcaMC8Hsaf5CHQj/Ga5oWMj+U73u5r0oNlGdW0J2NAiEA+qS5EkO9xjUhucOzPaq/BB7H3HmS4/+qtTboCEvIAnk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEV4MOPr2rn85YF1hNn3sJI3VhCg2hgQtCVX5sutin0dAiBYTVjDhabl2ibejpp6zBsdT7ErwEZpesB4AjkM/LHYdw=="}],"unpackedSize":24820},"main":"./index.cjs","name":"@allratestoday/ustreasury-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/tax-authority-rates-api/ustreasury/","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/ustreasury-exchange-rate.git","type":"git"},"_npmVersion":"9.2.0","description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. 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/ustreasury-exchange-rate_1.3.4_1790851562662_0.45140190679064296"}}},"time":{"created":"2026-08-08T12:32:44.513Z","modified":"2026-10-01T10:46:02.944Z","1.0.2":"2026-08-08T12:32:44.829Z","1.1.0":"2026-08-11T15:12:47.415Z","1.1.2":"2026-08-11T15:50:14.641Z","1.2.0":"2026-08-11T16:56:15.064Z","1.2.2":"2026-08-11T17:46:29.881Z","1.2.3":"2026-08-13T19:17:19.766Z","1.2.7":"2026-08-24T10:25:56.465Z","1.3.0":"2026-09-09T18:07:44.723Z","1.3.1":"2026-09-17T13:05:31.733Z","1.3.3":"2026-09-30T12:16:29.788Z","1.3.4":"2026-10-01T10:46:02.744Z"},"bugs":{"url":"https://github.com/AllRates-Today/ustreasury-exchange-rate/issues"},"author":{"url":"https://allratestoday.com","name":"AllRatesToday","email":"hello@allratestoday.com"},"license":"MIT","homepage":"https://allratestoday.com/tax-authority-rates-api/ustreasury/","keywords":["ustreasury","u.s.","department","of","the","treasury","exchange-rate","exchange-rates","currency","forex","fx","usd","central-bank","official-rates","united-states","api","typescript"],"repository":{"url":"git+https://github.com/AllRates-Today/ustreasury-exchange-rate.git","type":"git"},"description":"Official U.S. Department of the Treasury (United States) quarterly exchange rates — 145 currencies vs USD, history since 2001. Zero-dependency Node.js/TypeScript client.","maintainers":[{"name":"chathurangac8","email":"basnayakac8@gmail.com"}],"readme":"# U.S. Department of the Treasury Exchange Rates API — ustreasury-exchange-rate\n\n[![npm version](https://img.shields.io/npm/v/@allratestoday%2Fustreasury-exchange-rate.svg)](https://www.npmjs.com/package/@allratestoday/ustreasury-exchange-rate)\n[![license](https://img.shields.io/npm/l/@allratestoday%2Fustreasury-exchange-rate.svg)](https://github.com/AllRates-Today/ustreasury-exchange-rate/blob/main/LICENSE)\n[![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/ustreasury-exchange-rate)\n[![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)\n\n**Official U.S. Department of the Treasury (the United States) quarterly exchange rates for Node.js and TypeScript. The published tax authority rates behind tax filings, customs valuations, audits, and compliant invoicing — not market estimates, but the numbers U.S. Department of the Treasury itself prints, every quarter.**\n\n## 🚀 Why this client?\n\n- 🏛️ **Official published rates** — U.S. Department of the Treasury's own table, with the publisher's own `rate_date` on every response\n- 📅 **History back to 2001** — 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 U.S. Department of the Treasury itself published, fixed once printed and carrying the tax authority'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 U.S. Department of the Treasury 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/ustreasury?source=USD&target=EUR\"\n```\n\n```js\nconst r = await fetch('https://allratestoday.com/api/open/central-bank/ustreasury').then((x) => x.json());\nconsole.log(r.rate_date, r.rates.length); // the tax authority'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/ustreasury-exchange-rate\n```\n\n```bash\nyarn add @allratestoday/ustreasury-exchange-rate\n```\n\n```bash\npnpm add @allratestoday/ustreasury-exchange-rate\n```\n\nRequires Node 18+ (global `fetch`); also runs on Bun, Deno and edge runtimes. Scoped mirror of [`ustreasury-exchange-rate`](https://www.npmjs.com/package/ustreasury-exchange-rate) — same code, same versions.\n\n## 🏁 Quick start\n\n```js\nimport { getRate } from '@allratestoday/ustreasury-exchange-rate';\n\nconst pair = await getRate('USD', 'EUR', { apiKey: 'art_live_...' });\nconsole.log(pair.rate, pair.rate_date); // the official U.S. Department of the Treasury rate, on the tax authority'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 tax authority 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 tax authority 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', 'EUR', { apiKey: 'art_live_...' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'ustreasury',\n  name: 'U.S. Department of the Treasury',\n  rate_date: '2026-06-30',   // U.S. Department of the Treasury's own publication date\n  source: 'USD',\n  target: 'EUR',\n  rate: 0.877,\n  rate_type: 'quarterly',\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/ustreasury-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: 'ustreasury',\n  name: 'U.S. Department of the Treasury',\n  rate_date: '2026-06-30',\n  rates: [\n    { \"base\": \"USD\", \"quote\": \"EUR\", \"type\": \"quarterly\", \"value\": 0.877 },\n    // … the rest of the published table (145 currencies vs USD)\n  ],\n  disclaimer: '…'\n}\n```\n\n### Table for a date\n\nPaid plans. The official table for any date since 2001 — 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/ustreasury-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: 'EUR' });\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'ustreasury',\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/ustreasury-exchange-rate';\n\nconst series = await getHistory(\n  { source: 'USD', target: 'EUR', from: '2026-01-01', to: '2026-06-30' },\n  { apiKey: 'art_live_...' }\n);\n```\n\n**Response:**\n\n```javascript\n{\n  bank: 'ustreasury',\n  source: 'USD',\n  target: 'EUR',\n  from: '2026-01-01',\n  to: '2026-06-30',\n  count: 152,\n  rates: [\n    // one entry per publication date\n    { date: '2026-06-30', rate: 0.877, rate_type: 'quarterly', derived: false, method: 'published' },\n    // …\n  ],\n  disclaimer: '…'\n}\n```\n\nPass `{ symbol: 'EUR' }` 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\nU.S. Department of the Treasury currently publishes rates covering **145 currencies** against the USD (as of the latest table):\n\n🇦🇪 `AED` · 🇦🇫 `AFN` · 🇦🇱 `ALL` · 🇦🇲 `AMD` · 🇦🇴 `AOA` · 🇦🇷 `ARS` · 🇦🇺 `AUD` · 🇦🇿 `AZN` · 🇧🇦 `BAM` · 🇧🇧 `BBD` · 🇧🇩 `BDT` · 🇧🇬 `BGN` · 🇧🇭 `BHD` · 🇧🇮 `BIF` · 🇧🇲 `BMD` · 🇧🇳 `BND` · 🇧🇴 `BOB` · 🇧🇷 `BRL` · 🇧🇸 `BSD` · 🇧🇼 `BWP` · 🇧🇾 `BYN` · 🇧🇿 `BZD` · 🇨🇦 `CAD` · 🇨🇩 `CDF` · 🇨🇭 `CHF` · 🇨🇱 `CLP` · 🇨🇳 `CNY` · 🇨🇴 `COP` · 🇨🇷 `CRC` · 🇨🇺 `CUC` · 🇨🇺 `CUP` · 🇨🇻 `CVE` · 🇨🇿 `CZK` · 🇩🇯 `DJF` · 🇩🇰 `DKK` · 🇩🇴 `DOP` · 🇩🇿 `DZD` · 🇪🇬 `EGP` · 🇪🇷 `ERN` · 🇪🇹 `ETB` · 🇪🇺 `EUR` · 🇫🇯 `FJD` · 🇬🇧 `GBP` · 🇬🇪 `GEL` · 🇬🇭 `GHS` · 🇬🇲 `GMD` · 🇬🇳 `GNF` · 🇬🇹 `GTQ` · 🇬🇾 `GYD` · 🇭🇰 `HKD` · 🇭🇳 `HNL` · 🇭🇹 `HTG` · 🇭🇺 `HUF` · 🇮🇩 `IDR` · 🇮🇱 `ILS` · 🇮🇳 `INR` · 🇮🇶 `IQD` · 🇮🇷 `IRR` · 🇮🇸 `ISK` · 🇯🇲 `JMD` · 🇯🇴 `JOD` · 🇯🇵 `JPY` · 🇰🇪 `KES` · 🇰🇬 `KGS` · 🇰🇭 `KHR` · 🇰🇲 `KMF` · 🇰🇷 `KRW` · 🇰🇼 `KWD` · 🇰🇾 `KYD` · 🇰🇿 `KZT` · 🇱🇦 `LAK` · 🇱🇧 `LBP` · 🇱🇰 `LKR` · 🇱🇷 `LRD` · 🇱🇸 `LSL` · 🇱🇾 `LYD` · 🇲🇦 `MAD` · 🇲🇩 `MDL` · 🇲🇬 `MGA` · 🇲🇰 `MKD` · 🇲🇲 `MMK` · 🇲🇳 `MNT` · 🇲🇷 `MRU` · 🇲🇺 `MUR` · 🇲🇻 `MVR` · 🇲🇼 `MWK` · 🇲🇽 `MXN` · 🇲🇾 `MYR` · 🇲🇿 `MZN` · 🇳🇦 `NAD` · 🇳🇬 `NGN` · 🇳🇮 `NIO` · 🇳🇴 `NOK` · 🇳🇵 `NPR` · 🇳🇿 `NZD` · 🇴🇲 `OMR` · 🇵🇪 `PEN` · 🇵🇬 `PGK` · 🇵🇭 `PHP` · 🇵🇰 `PKR` · 🇵🇱 `PLN` · 🇵🇾 `PYG` · 🇶🇦 `QAR` · 🇷🇴 `RON` · 🇷🇸 `RSD` · 🇷🇺 `RUB` · 🇷🇼 `RWF` · 🇸🇦 `SAR` · 🇸🇧 `SBD` · 🇸🇨 `SCR` · 🇸🇩 `SDG` · 🇸🇪 `SEK` · 🇸🇬 `SGD` · 🇸🇱 `SLE` · 🇸🇴 `SOS` · 🇸🇷 `SRD` · 🇸🇸 `SSP` · 🇸🇹 `STN` · 🇸🇾 `SYP` · 🇸🇿 `SZL` · 🇹🇭 `THB` · 🇹🇯 `TJS` · 🇹🇲 `TMT` · 🇹🇳 `TND` · 🇹🇴 `TOP` · 🇹🇷 `TRY` · 🇹🇹 `TTD` · 🇹🇼 `TWD` · 🇹🇿 `TZS` · 🇺🇦 `UAH` · 🇺🇬 `UGX` · 🇺🇾 `UYU` · 🇺🇿 `UZS` · 🇻🇪 `VES` · 🇻🇳 `VND` · 🇻🇺 `VUV` · 🇼🇸 `WST` · `XAF` · `XCD` · `XCG` · `XOF` · 🇾🇪 `YER` · 🇿🇦 `ZAR` · 🇿🇲 `ZMW` · 🇿🇼 `ZWG`\n\n## 🏛️ Source\n\nThe U.S. Department of the Treasury publishes the Treasury Reporting Rates of Exchange each quarter, through its Bureau of the Fiscal Service. Every US government agency must use these rates to convert foreign-currency balances into dollars for official reports — and contractors, grant recipients, and auditors follow the same table. Rates are amended mid-quarter when a currency moves sharply.\n\n- Publisher's own page: [Treasury Reporting Rates of Exchange](https://fiscaldata.treasury.gov/datasets/treasury-reporting-rates-exchange/) · [www.treasury.gov](https://www.treasury.gov)\n- Publication: every quarter; the exact schedule, freshness status and any current delay are on the [U.S. Department of the Treasury rates page](https://allratestoday.com/tax-authority-rates-api/ustreasury/)\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- U.S. Department of the Treasury quotes **foreign currency per 1 USD** (e.g. `base: \"USD\", quote: \"USD\"` means USD per one USD).\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 tax authority's series a row belongs to (`quarterly` here); some publishers print buy/sell or several fixings for the same pair.\n\n## 🧩 ERP & accounting systems\n\nLoading the official U.S. Department of the Treasury 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/ustreasury/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('ustreasury')` 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 U.S. Department of the Treasury does not print a pair directly, the API resolves it from the tax authority's own table and says so — official and computed values are never confused:\n\n| `method` | `derived` | Meaning |\n| --- | --- | --- |\n| `published` | `false` | The tax authority printed this pair directly |\n| `inverse` | `true` | Computed as 1 ÷ the published opposite direction |\n| `cross` | `true` | Computed via USD 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 U.S. Department of the Treasury |\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/ustreasury-exchange-rate';\n```\n\n## 📦 CommonJS\n\n```javascript\nconst { getRate } = require('@allratestoday/ustreasury-exchange-rate');\n\ngetRate('USD', 'EUR', { apiKey: 'art_live_...' }).then((pair) => console.log(pair.rate));\n```\n\n## 💡 Quota tips\n\n- Rates change once a quarter — 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 tax authority'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 2001 |\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/ustreasury.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/ustreasury/latest.json`\n\n## 🔗 Links\n\n- [U.S. Department of the Treasury rates page](https://allratestoday.com/tax-authority-rates-api/ustreasury/) — live table, publication cadence, FAQ\n- [All tax authority sources](https://allratestoday.com/tax-authority-rates-api/)\n- [Package docs on the site](https://allratestoday.com/docs/sdk/ustreasury-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/ustreasury-exchange-rate)\n\n## 📜 License\n\nMIT\n","readmeFilename":"README.md"}