The United States Postal Service, or USPS (also known as the Post Office, U.S. Mail, or Postal Service) is an independent agency of the executive branch of the United States Federal Government. The USPS is responsible for providing postal service in the United States, including its insular areas and associated states. EasyPost is a PC Postage Provider of the USPS and provides a modern technical connection to their services.
Using EasyPost’s simple Shipping API, you can start shipping with USPS and dozens of others. Solve complex shipping logistics problems with a single integration. By leveraging EasyPost’s technology, businesses can streamline, automate, and gain end-to-end control of their shipping process with our suite of flexible RESTful API solutions. Join our thousands of customers shipping millions of packages each month.
EasyPost offers a modern, flexible RESTful API that connects to 100+ carriers with one seamless integration — helping you to avoid month-long integrations, lengthy carrier documentation, and time consuming updates. Let’s build the shipping infrastructure of the internet together. Developers get started for free with EasyPost.
Take a look at our public documentation and start building with one of our helper libraries (Python, PHP, Ruby, Node.js, Java, and more). Avoid month-long integrations and start shipping in minutes with EasyPost.
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.
# Create To and From Addresses
from_address = EasyPost::Address.create(...)
to_address = EasyPost::Address.create(...)
# Create Shipment and Get Rates
shipment = EasyPost::Shipment.create(
from_address: from_address,
to_address: to_address,
parcel: {
predefined_package: 'Parcel',
weight: 32.8
})
# Buy Shipping Label
shipment.buy(rate: shipment.lowest_rate())
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.
Feature | USPS API | EasyPost API |
---|---|---|
Tracking API with Webhooks | check | |
RESTful JSON | check | |
SOAP / XML | check | |
Address Verification | check | check |
Fast and Free Technical Support | check | |
Public Documentation and Tutorials | check | |
Instant API Access | check | |
.NET Library | check | |
Go Library | check | |
Java Library | check | |
Node.js Module | check | |
PHP Library | check | |
Python Module | check | |
Ruby Gem | check |
Sign up and start shipping in the same day. We have our USPS API live and ready for you to test with. We also have extensive client documentation in over seven different languages to help you get started. If you have any questions, or if you want to talk logistics, feel free to reach out to one of our shipping experts.