Skip to content

API Farm is DHL Freight’s integration toolbox – a suite of REST APIs that lets you connect your systems directly to DHL Freight’s services. With these APIs, you can:

  • Search for DHL ServicePoints
  • Book transports
  • Print shipping labels
  • Calculate shipping prices

You can view API definitions, explore examples, and test API calls directly in the API Farm interface.

 

Supported DHL Freight Products

API Farm supports a wide range of DHL Freight products, including:

  • Domestic Sweden: DHL Service Point, DHL Paket, DHL Pall, DHL Home Delivery, DHL Stycke, DHL Parti, and returns.
  • International (to/from Sweden): DHL Paket Export, DHL Parcel Connect, DHL Eurapid, DHL EuroConnect, DHL Euroline, and more.

API Farm is DHL Freight’s integration hub for REST APIs used for booking, validation, price quotes and shipping processes.
Use this page as a navigation entry point to the areas you need.

Where do you want to go?
  • Integration guide
    Understand your use case and choose the right integration approach before proceeding.
  • Technical setup
    Register in API Farm, retrieve API credentials and complete sandbox and production setup. Contains Postman collections and flowcharts
  • Product Overview & Related APIs
    See which DHL Freight products are supported and which APIs are recommended, commonly used or optional for each product.
  • API Overview (All APIs)
    Browse all API pages in the menu, including Price Quote, Transport Instruction, ServicePoint Locator and more.
  • Product Information (Product Manual)
    Product rules, codes, weight and size limits, available services and restrictions.
  • Tracking APIs
    Track DHL shipments across divisions using Shipment Tracking (Unified), Unified Push notifications, or DHL Active Tracing for Freight.
  • Support for Integrations
    Contact form for technical questions and troubleshooting related to API or EDI onboarding.

About this page

This is an overview and navigation page. For detailed instructions, product rules or step‑by‑step guidance,
please use the pages linked above.

 

A-Z

  • AdditionalService API
    See which additional services are available for a shipment and validate allowed combinations.
  • e-ID API
    Validate DHL Freight account numbers, often required for contract prices in Price Quote.
  • HomeDeliveryLocator API
    Check which delivery options and services apply for DHL Home Delivery based on postcode and destination.
  • PickupRequest API
    Book pickups and receive an accepted, moved, or rejected response including a booking number.
  • PostalCodes API
    Validate Swedish postal codes and retrieve routing information where applicable.
  • PriceQuote API
    Request shipment prices; supports contract pricing when combined with e-ID validation.
  • Print API
    Generate shipping labels, return labels, CMRs and other transport documents in Base64‑encoded PDF.
  • Product API
    Retrieve product information, codes and attributes used when preparing or validating shipment data.
  • ServicePointLocator API
    Find the nearest DHL ServicePoints and parcel shops based on address or coordinates.
  • TimeTable API
    Get estimated delivery dates and available delivery options for supported DHL Freight products.
  • TransportInstruction API
    Submit complete shipment data for creation of transport orders; response can be used with Print API.