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.
import easypost
import os
client = easypost.EasyPostClient(os.getenv("EASYPOST_API_KEY"))
shipment = client.shipment.create(
to_address={"id": "adr_..."},
from_address={"id": "adr_..."},
parcel={
"predefined_package": "Parcel",
"weight": 32.8,
},
)
client.shipment.buy(
shipment.id,
rate=shipment.lowest_rate(),
)
QALO uses EasyPost's API 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 | EasyPost API |
---|---|---|
Tracking API with Webhooks | ||
RESTful JSON | ||
SOAP / XML | ||
Address Verification | ||
Fast and Free Technical Support | ||
Public Documentation and Tutorials | ||
Instant API Access | ||
.NET Library | ||
Go Library | ||
Java Library |
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 six 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.