DHL API by APISH avatar

DHL API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
DHL API by APISH

DHL API by APISH

Track any DHL shipment and get status, estimated delivery and every event as JSON, via APISH. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Get public DHL data as clean, consistent JSON: dHL service points, dHL shipment tracking. 2 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"country":"DE","address":"10115 Berlin"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/dhl/v1/service-pointsDHL service pointscountry1
/dhl/v1/trackingDHL shipment trackingtracking_number7

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

DHL service points

Endpoint /dhl/v1/service-points · 1 credit per successful call.

DHL drop-off and pick-up points near an address, postcode or coordinates: name, kind (service point, locker, ...), address, coordinates, distance, opening hours and closed dates, services (drop-off, collection, international, label printing, packaging, payment, parking, access), size and weight limits, phone and website.

Parameters:

  • country (required): Two-letter country code.
  • address: A postcode, city or street address. address or lat and lng is required.
  • lat: Latitude, instead of address (with lng).
  • lng: Longitude, instead of address (with lat).
  • capability — one of drop_off, collect: Only points that take parcels (drop_off) or hold them for collection (collect).
  • limit: How many (1-50).

Example parameters: {"country":"DE","address":"10115 Berlin"}

DHL shipment tracking

Endpoint /dhl/v1/tracking · 7 credits per successful call.

Pass tracking_numbers (up to 10, comma separated) to track several shipments in one call: the answer is count, found and items (one per number: tracking_number, found, error and result in the single-number shape). A number with no shipment, or one that fails this time, is reported in its own item instead of failing the call.

Parameters:

  • tracking_number (required)
  • id: Alias of tracking_number.
  • tracking_numbers: Up to 10 tracking numbers, comma separated, tracked in one call (used instead of tracking_number). Each number is billed as one tracking.

Example parameters: {"tracking_number":"LBAA19526"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.