Track a Package
With ShipEngine, you can retrieve real-time tracking events for any package, even if you created the label outside of ShipEngine.
There are two methods you can use for tracking shipments:
- Use the tracking endpoint. This option requires you to specify the
carrier_code
and thetracking_number
of the package. If you don’t know a carrier’scarrier_code
, you can find it by listing carriers. - Use the label endpoint to track by Label ID. We recommend this method for tracking labels created via ShipStation.
This page provides details about using the tracking endpoint. See the track by Label ID page for details about using that method.
Requirements
- The Tracking endpoint is only available on the Advanced plan or higher.
- You must specify the
carrier_code
and thetracking_number
of the package in the endpoint. - For tracking shipments not created via ShipEngine, the carrier must still be connected to the ShipEngine account.
Example Request & Response
GET /v1/tracking?carrier_code={carrierCode}&tracking_number={trackingNumber}
Example Response
About the Tracking Response
Event Timestamps:
carrier_occurred_at
is the timestamp of the event received from the carrier. It is assumed to be the local time of where the event occurred. This event property is not yet fully supported across all carriers.occurred_at
is our best effort at converting thecarrier_occurred_at
field to UTC, based on the time of the event's occurrence.
Tracking Status Codes
Here's how the status_code
and status_description
fields correspond to each other and how they correspond to the tracking_status
field of a label:
status_code | status_description | tracking_status |
---|---|---|
AC | Accepted | N/A |
IT | In Transit | in_transit |
DE | Delivered | delivered |
EX | Exception | error |
UN | Unknown | unknown |
AT | Delivery Attempt | N/A |
NY | Not Yet In System | in_transit |
SP | Delivered To The Collection Location | delivered_to_service_point |
Supported Carriers
We've included a list of the most common carriers that support tracking and their carrier codes.
Carrier | Carrier Code |
---|---|
U.S. Postal Service | usps |
Stamps.com | stamps_com |
FedEx | fedex |
UPS | ups |
DHL Express | dhl_express |
DHL ECommerce | dhl_global_mail |
DHL eCommerce Australia | dhl_ecommerce_au |
Access Worldwide | access_worldwide |
APC | apc |
Aramex AU / Fastway | fastway_au |
Aramex NZ / Fastway | fastway_nz |
Asendia | asendia |
Australia Post | australia_post |
Australia Post eParcel | Â australia_post |
Australia Post MyPost Business | australia_post_mypost_business |
Canada Post | canada_post |
Canpar Express | canpar |
CouriersPlease | couriers_please |
DAI | dai |
Direct Freight | direct_freight |
Evri International | evri_international |
First Mile | firstmile |
Freightways | freightways |
Freightways - Castle Parcels | castle_parcels |
Freightways - New Zealand Couriers | new_zealand_couriers |
Freightways - Now Couriers | now_couriers |
Freightways - Post Haste | post_haste |
Global Access | global_access |
IMEX | imex |
Landmark Global | landmark_global |
Landmark Global AU | landmark_global_au |
Landmark Global UK | landmark_global_uk |
Newgistics | newgistics |
Nobordist | nobordist |
NZ Post Domestic | courierpost |
NZ Post International | new_zealand_post_international |
OnTrac | ontrac |
Purolator Canada | purolator_ca |
Quantium | quantium |
RR Donnelley | rr_donnelley |
SEKO Omni-Channel Logistics | seko |
SEKO Omni-Channel Logistics UK | seko_uk |
Sendle | sendle |
Seven Senders | seven_senders |
StarTrack | star_track |
TNT Australia | tnt_australia |
Team Global Express IPEC | toll_ipec |
Team Global Express Priority | toll_priority |
wizmo | wizmo |