You can’t do it through USPS. They use SOAP/XML for their endpoints with absolutely no client libraries or documentation to support you, but you can use Easypost to connect to USPS today using Node.js.
Track packages across all major carriers.
Validate domestic and international addresses.
Learn how to handle international shipping seamlessly.
Shipping insurance for all items sent with EasyPost.
QALO uses EasyPost to automate their returns for an unbeatable customer experience.
With EasyPost's API, Expedited Passports & Visas cut their operational load in half.
Casper sped up their European launch thanks to EasyPost's support of over 30+ European carriers.