Using EasyPost's simple Tracking API, you can track Cainiao packages, along with dozens of other carriers using a single point of integration.
The EasyPost Tracking API is designed to seamlessly fit into your brand eco-system. Redefine your customers' post-purchase journey, and compete with Amazon in customer experience and cost!
Use EasyPost Tracking for:
The EasyPost API also uses webhooks so we POST to your endpoints when there is a change in status of your packages, giving you near real-time tracking updates for you and your customers.
Reach out to us and we can share with you all of the awesome ways our customers have used our tracking data to drive sales and a better customer experience.
import easypost
import os
client = easypost.EasyPostClient(os.getenv("EASYPOST_API_KEY"))
tracker = client.tracker.create(
tracking_code="EZ1000000001",
carrier="USPS",
)
{
"tracking_code": "EZ1000000001",
"status": "delivered",
"tracking_details": [
{
"object": "TrackingDetail",
"datetime": "2014-07-22T10:09:00Z",
"message": "Your item was delivered at 10:09",
"status": "delivered"
},
{
"object": "TrackingDetail",
"datetime": "2014-07-21T10:12:00Z",
"message": "Arrival at Post Office July 21",
"status": "in_transit"
},
{
"object": "TrackingDetail",
"datetime": "2014-07-19T03:12:00Z",
"message": "Electronic Shipping Info Received",
"status": "pre_transit"
}
],
"shipment_id": "shp_..."
}
Feature | Cainiao Tracking | EasyPost Tracking API |
---|---|---|
Tracking API with Webhooks | ||
RESTful JSON | ||
SOAP / XML | ||
Multi-Carrier API | ||
Fast and Free Technical Support | ||
Public Documentation and Tutorials | ||
Instant API Access | ||
Supported Client Libraries | ||
.NET Library | ||
Go Library |
Sign up and start shipping in the same day. We have our Cainiao 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.