Basic Shipping API Integration

Integrating Shippo's shipping API takes an average of 4 to 6 hours. We make it simple for you by outlining the 5 key steps here in our API Overview Guide. If you're looking to automate your shipping and offer your end-customer ultimate shipping flexibility, once you're shipping hundreds of packages a month, be sure to connect with us to talk more:

We currently offer API wrappers in Ruby, Python, PHP, Java, Node.JS, and C#. You can find all of our wrappers on Github.

The Shippo shipping API is most often used for the following shipping-related operations:

  • Retrieving shipping rates
  • Purchasing shipping labels
  • Validating U.S. addresses
  • Creating customs documents
  • Tracking a shipment's status

If you want to see how companies are currently using our shipping API, check out our Customer Showcases.

Shippo is built for developers
#replace with your API token
shippo.auth = '<TOKEN>'

# create addresses and package
address_from = shippo.Address.create(...)
address_to = shippo.Address.create(...)
parcel = shippo.Parcel.create(...)

# create shipment request
shipment = shippo.Shipment.create(
    parcel=parcel )

# purchase label
label = shippo.Transaction.create(

Developer Center