DHL

App · 1 action

Track DHL shipments across supported divisions with the Unified Shipment Tracking API.

Track shipment

Track shipment.

Inputs

TrackingNumbertrackingNumbertextRequired
The tracking number of the shipment for which to return the information.
Serviceservicetext
Hint which service (provider) should be used to resolve the tracking number.One of: dgf, dsc, ecommerce, ecommerce-apac, ecommerce-europe, ecommerce-ppl, ecommerce-iberia, express, freight, parcel-de, and 7 more.
RequesterCountryCoderequesterCountryCodetext
Optional [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code represents country of the consumer of the API response. It optimizes the return of the API response.
OriginCountryCodeoriginCountryCodetext
Optional [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the shipment origin to further qualify the shipment tracking number (`trackingNumber`) parameter of the request.
RecipientPostalCoderecipientPostalCodetext
Postal code of the destination address to * further qualify the shipment tracking number (trackingNumber) parameter of the request or * parcel-nl and parcel-de services to display full set of data in the response.
Languagelanguagetext
ISO 639-1 2-character language code for the response. This parameter serves as an indication of the client preferences ONLY. Language availability depends on the service used. The actual response language is indicated by the Content-Language header.
Offsetoffsetnumber
Pagination parameter. Offset from the start of the result set at which to retrieve the remainder of the results (if any).At least 0.
Limitlimitnumber
Pagination parameter. Maximal number of results to retireve.At least 1.

Outputs

dataobject
Unified tracking response object
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation token for the next page.
Example output
{
  "data": {
    "firstUrl": "example",
    "lastUrl": "example",
    "nextUrl": "",
    "possibleAdditionalShipmentsUrl": [],
    "prevUrl": "example",
    "shipments": [],
    "url": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

On this page