DHL

DHL Products API

The Products API from DHL — 5 operation(s) for products.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /products List shipping products · Products #
Ask an LLM
“Which shipping products and rates does DHL offer?”
“Can I get the full product catalog?”
Tell an agent
List all shipping products.
Show every product code and its rates.
GET /products/{productCode} Get a product's rates between countries · product, productCode, fromCountryCode and toCountryCode #
Ask an LLM
“What are the rates for a product from France to Germany?”
“Can I look up a product's price for a specific origin and destination?”
Tell an agent
Get product {productCode} rates from {fromCountryCode} to {toCountryCode}.
Show the price of {productCode} shipping from France to Germany.
POST /productmatches Match a shipment to products · products - productmatches #
Ask an LLM
“Which product matches my shipment's weight and pieces?”
“Can I find the best product for a given number of pieces and weight?”
Tell an agent
Match a shipment with {totalNumberOfPieces} pieces and {totalWeight} to products.
Find products that match {pieces} pieces for {marketAvailability}.
POST /chargeableweight/calculationresults Calculate chargeable weight · products - chargeableweight - calculationresults #
Ask an LLM
“What is the chargeable weight of a shipment?”
“Can I calculate chargeable weight for a product code?”
Tell an agent
Calculate chargeable weight for {totalWeight} with {totalNumberOfPieces} pieces.
Find the chargeable weight for product {productCode} on {pieces}.
GET /packagetypes/{productCode} List package types for a product · Package Type, Product Code, fromCountryCode and toCountryCode #
Ask an LLM
“What package types are available for a product?”
“Can I list package types from France to Germany?”
Tell an agent
List package types for product {productCode}.
Show package types for {productCode} from {fromCountryCode} to {toCountryCode}.

Documentation

📖
Documentation
https://developer.dhl.com/tracking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-unified-push
📖
Documentation
https://developer.dhl.com/api-reference/additional-services-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/authentication-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/datafactory-autocomplete-20-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-hybrid-mail-shipments-e-post-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-international-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-internetmarke-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/deutsche-post-print-mailing-targeting-post-parcel-germany
📖
Documentation
https://developer.dhl.com/parcel-connect
📖
Documentation
https://developer.dhl.com/api-reference/econnect-beta-dhl-ecommerce-europe
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-pickup-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-postnumber-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-private-shipping-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-returns-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/parcel-de-shipping-post-parcel-germany-v2
📖
Documentation
https://developer.dhl.com/api-reference/dhl-parcel-de-shipment-tracking-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-document
📖
Documentation
https://developer.dhl.com/api-reference/duty-tax-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/ecommerce-uk
📖
Documentation
https://developer.dhl.com/api-reference/parcel-eu
📖
Documentation
https://developer.dhl.com/api-reference/pickup-cancellation-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/price-quote-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/print-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/product-and-sub-product-pickup-detail-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/product-finder-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/products-api-post-parcel-germany
📖
Documentation
https://developer.dhl.com/api-reference/dgf-push-api
📖
Documentation
https://developer.dhl.com/api-reference/registration-pickup-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/return-label-dhl-ecommerce-americas
📖
Documentation
https://developer.dhl.com/api-reference/shipment-booking-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-booking
📖
Documentation
https://developer.dhl.com/api-reference/shipment-label-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/dgf-shipment-status
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-dhl-ecommerce-india-blue-dart
📖
Documentation
https://developer.dhl.com/api-reference/shipment-tracking-v2-dhl-global-forwarding
📖
Documentation
https://developer.dhl.com/api-reference/time-table-dhl-freight
📖
Documentation
https://developer.dhl.com/api-reference/tracking-dhl-ecommerce-americas

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dhl:dhl-products-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dhl-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dhl Products API
  version: 1.3 (2025/R06)
  contact:
    email: api4freight@dhl.com
  description: 'Operations tagged Products across 2 of this provider''s published API definitions: dhl-product-dhl-freight-openapi.yml, dhl-product-dhl-freight-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-sandbox.dhl.com/freight/info/products/services/v1
  description: Customer Sandbox Environment
- url: https://api.dhl.com/freight/info/products/services/v1
  description: Customer Production Environment
security:
- bearerAuth: []
tags:
- name: Products
paths:
  /products:
    get:
      tags:
      - Products
      summary: Products
      operationId: Products
      responses:
        '200':
          description: List of all actual DHL Freight products
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Product'
    servers:
    - url: https://api-sandbox.dhl.com/freight/info/products/services/v1
      description: Customer Sandbox Environment
    - url: https://api.dhl.com/freight/info/products/services/v1
      description: Customer Production Environment
  /products/{productCode}:
    get:
      tags:
      - Products
      summary: product, productCode, fromCountryCode and toCountryCode
      description: Products, productCode, fromCountryCode and toCountryCode
      operationId: productsProductsECIFromcountrycodeDETocountrycodeFR
      parameters:
      - name: productCode
        in: path
        required: true
        schema:
          type: string
          example: ECI
      - name: fromCountryCode
        in: query
        schema:
          type: string
          example: DE
      - name: toCountryCode
        in: query
        schema:
          type: string
          example: FR
      responses:
        '200':
          description: List of actual DHL Freight product from/to Countries
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
    servers:
    - url: https://api-sandbox.dhl.com/freight/info/products/services/v1
      description: Customer Sandbox Environment
    - url: https://api.dhl.com/freight/info/products/services/v1
      description: Customer Production Environment
  /productmatches:
    post:
      tags:
      - Products
      summary: products - productmatches
      operationId: productsProductmatches
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                marketAvailability:
                  type: string
                  example: B2B
                parties:
                  type: array
                  items:
                    type: object
                    properties:
                      address:
                        type: object
                        properties:
                          countryCode:
                            type: string
                            example: DE
                          postalCode:
                            type: string
                            example: '53175'
                      type:
                        type: string
                        example: Consignor
                  example:
                  - address:
                      countryCode: DE
                      postalCode: '53175'
                    type: Consignor
                  - address:
                      countryCode: FR
                      postalCode: '69000'
                    type: Consignee
                pieces:
                  type: array
                  items:
                    type: object
                    properties:
                      height:
                        type: integer
                        example: 40
                      length:
                        type: integer
                        example: 80
                      numberOfPieces:
                        type: integer
                        example: 5
                      stackable:
                        type: boolean
                        example: true
                      weight:
                        type: number
                        example: 100
                      width:
                        type: integer
                        example: 120
                  example:
                  - height: 40
                    length: 80
                    numberOfPieces: 5
                    stackable: true
                    weight: 100
                    width: 120
                totalNumberOfPieces:
                  type: integer
                  example: 5
                totalWeight:
                  type: number
                  example: 500
            example:
              marketAvailability: B2B
              parties:
              - address:
                  countryCode: DE
                  postalCode: '53175'
                type: Consignor
              - address:
                  countryCode: FR
                  postalCode: '69000'
                type: Consignee
              pieces:
              - height: 40
                length: 80
                numberOfPieces: 5
                stackable: true
                weight: 100
                width: 120
              totalNumberOfPieces: 5
              totalWeight: 500
      responses:
        '200':
          description: Find best product matching provided query. Query property parties (array) must contain at least two objects. One of type Consignee and one of type Consignor
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Product'
    servers:
    - url: https://api-sandbox.dhl.com/freight/info/products/services/v1
      description: Customer Sandbox Environment
    - url: https://api.dhl.com/freight/info/products/services/v1
      description: Customer Production Environment
  /chargeableweight/calculationresults:
    post:
      tags:
      - Products
      summary: products - chargeableweight - calculationresults
      operationId: productsChargeableweightCalculationresults
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                parties:
                  type: array
                  items:
                    type: object
                    properties:
                      address:
                        type: object
                        properties:
                          countryCode:
                            type: string
                            example: DE
                          postalCode:
                            type: string
                            example: '53175'
                      type:
                        type: string
                        example: Consignor
                  example:
                  - address:
                      countryCode: DE
                      postalCode: '53175'
                    type: Consignor
                  - address:
                      countryCode: FR
                      postalCode: '69000'
                    type: Consignee
                pieces:
                  type: array
                  items:
                    type: object
                    properties:
                      height:
                        type: integer
                        example: 40
                      length:
                        type: integer
                        example: 80
                      numberOfPieces:
                        type: integer
                        example: 5
                      stackable:
                        type: boolean
                        example: true
                      weight:
                        type: number
                        example: 100
                      width:
                        type: integer
                        example: 120
                  example:
                  - height: 40
                    length: 80
                    numberOfPieces: 5
                    stackable: true
                    weight: 100
                    width: 120
                productCode:
                  type: string
                  example: ECI
                totalNumberOfPieces:
                  type: integer
                  example: 5
                totalWeight:
                  type: number
                  example: 500
            example:
              parties:
              - address:
                  countryCode: DE
                  postalCode: '53175'
                type: Consignor
              - address:
                  countryCode: FR
                  postalCode: '69000'
                type: Consignee
              pieces:
              - height: 40
                length: 80
                numberOfPieces: 5
                stackable: true
                weight: 100
                width: 120
              productCode: ECI
              totalNumberOfPieces: 5
              totalWeight: 500
      responses:
        '200':
          description: List of chargeable weight calculation results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CalculationResult'
        '400':
          description: Validation or request error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestError'
    servers:
    - url: https://api-sandbox.dhl.com/freight/info/products/services/v1
      description: Customer Sandbox Environment
    - url: https://api.dhl.com/freight/info/products/services/v1
      description: Customer Production Environment
  /packagetypes/{productCode}:
    get:
      tags:
      - Products
      summary: Package Type, Product Code, fromCountryCode and toCountryCode
      operationId: productsPackagetypesECITocountrycodeDEFromcountrycodeFR
      parameters:
      - name: productCode
        in: path
        required: true
        schema:
          type: string
          example: ECI
      - name: toCountryCode
        in: query
        schema:
          type: string
          example: FR
      - name: fromCountryCode
        in: query
        schema:
          type: string
          example: DE
      responses:
        '200':
          description: Package types for given product code
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PackageTypeResponse'
    servers:
    - url: https://api-sandbox.dhl.com/freight/info/products/services/v1
      description: Customer Sandbox Environment
    - url: https://api.dhl.com/freight/info/products/services/v1
      description: Customer Production Environment
components:
  schemas:
    BadRequestError:
      type: object
      properties:
        error:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/IValidationError'
    MarketAvailability:
      type: object
      properties:
        name:
          type: string
          example: B2B
    ToCountry:
      type: object
      properties:
        country:
          $ref: '#/components/schemas/Country'
        postalCodeExcludes:
          type: string
        deliveryTypes:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryType'
    DangerousGoodsExclusionException:
      type: object
      properties:
        type:
          type: string
        value:
          type: string
    AdditionalServiceType:
      type: string
      format: int32
      enum:
      - CashOnDelivery
      - DangerousGoods
      - FixedDeliveryDate
      - Insurance
      - HighValueShipment
      - PreAdvice
      - TailLiftLoading
      - TailLiftUnloading
      - SideLoadingPickup
      - SideUnloadingDelivery
      - ThermoCold
      - DropOffByConsignor
      - PriorityServiceP10
      - PriorityServiceP12
      - After12Delivery
      - AvailablePickupTime
      - AvailableDeliveryTime
    Exclusion:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
    Product:
      type: object
      properties:
        isDomestic:
          type: boolean
        name:
          type: string
        productCode:
          type: string
        description:
          type: string
        customRules:
          type: string
        active:
          type: boolean
        stackable:
          type: boolean
        shipmentTotal:
          $ref: '#/components/schemas/ShipmentTotal'
        piece:
          $ref: '#/components/schemas/Piece'
        fromCountries:
          type: array
          items:
            $ref: '#/components/schemas/FromCountry'
        toCountries:
          type: array
          items:
            $ref: '#/components/schemas/ToCountry'
        marketAvailability:
          type: array
          items:
            $ref: '#/components/schemas/MarketAvailability'
        packageTypes:
          type: array
          items:
            $ref: '#/components/schemas/PackageType'
        exclusions:
          type: array
          items:
            $ref: '#/components/schemas/Exclusion'
        dangerousGoodsExclusions:
          type: array
          items:
            $ref: '#/components/schemas/DangerousGoodsExclusion'
        payerCodes:
          type: array
          items:
            $ref: '#/components/schemas/PayerCodeResponse'
        additionalServices:
          type: array
          items:
            $ref: '#/components/schemas/AdditionalService'
    PackageType:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
    DeliveryType:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
        shipmentTotal:
          $ref: '#/components/schemas/ShipmentTotal'
        piece:
          $ref: '#/components/schemas/Piece'
    MinAndMaxInt:
      type: object
      properties:
        min:
          format: int32
          type: integer
        max:
          format: int32
          type: integer
    FromCountry:
      type: object
      properties:
        country:
          $ref: '#/components/schemas/Country'
    ShipmentTotal:
      type: object
      properties:
        totalNumberOfPieces:
          $ref: '#/components/schemas/MinAndMaxInt'
        totalWeight:
          $ref: '#/components/schemas/MinAndMaxDbl'
        totalVolume:
          $ref: '#/components/schemas/MinAndMaxDbl'
        totalLoadingMeters:
          $ref: '#/components/schemas/MinAndMaxDbl'
        totalPalletPlaces:
          $ref: '#/components/schemas/MinAndMaxDbl'
    PackageTypeResponse:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
    MinAndMaxDbl:
      type: object
      properties:
        min:
          format: double
          type: number
        max:
          format: double
          type: number
    CodeMapping:
      type: object
      properties:
        code:
          type: string
        value:
          type: string
    CalculationResult:
      type: object
      properties:
        shipmentLevelCalculationResult:
          $ref: '#/components/schemas/WeightResult'
        pieceLevelCalculationResult:
          $ref: '#/components/schemas/WeightResult'
        chargeableWeight:
          format: double
          type: number
    PayerCodeResponse:
      type: object
      properties:
        code:
          type: string
        name:
          type: string
        customs:
          type: boolean
    Translation:
      type: object
      properties:
        languageCode:
          type: string
        name:
          type: string
        information:
          type: string
    Country:
      type: object
      properties:
        englishName:
          type: string
          example: Germany
        countryCode:
          type: string
          example: DE
        customs:
          type: boolean
          example: false
    WeightResult:
      type: object
      properties:
        actualWeight:
          format: double
          type: number
        cubicMetreVolumetricWeight:
          format: double
          type: number
        loadingMetreVolumetricWeight:
          format: double
          type: number
        longGoodsVolumetricWeight:
          format: double
          type: number
          readOnly: true
        palletPlaceVolumetricWeight:
          format: double
          type: number
        chargeableWeight:
          format: double
          type: number
        sumWeight:
          format: double
          type: number
        sumVolume:
          format: double
          type: number
        sumLoadingMeters:
          format: double
          type: number
        sumPalletPlaces:
          format: double
          type: number
        sumNumberOfPieces:
          format: int32
          type: integer
    AdditionalService:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/AdditionalServiceType'
        name:
          type: string
        information:
          type: string
        codeMappings:
          type: array
          items:
            $ref: '#/components/schemas/CodeMapping'
        translations:
          type: array
          items:
            $ref: '#/components/schemas/Translation'
        customs:
          type: boolean
        customUsageRules:
          type: string
    IValidationError:
      type: object
      properties:
        field:
          type: string
          readOnly: true
        errorCode:
          format: int32
          type: integer
          readOnly: true
        message:
          type: string
          readOnly: true
        incompatibleFields:
          type: array
          items:
            type: string
          readOnly: true
    DangerousGoodsExclusion:
      description: Indicates whether a dangerous goods class is allowed or not. If a class is allowed, then the exceptions are not allowed If a class is not allowed, then the exceptions allowed
      type: object
      properties:
        class:
          type: string
        name:
          type: string
        allowed:
          type: boolean
        exceptions:
          type: array
          items:
            $ref: '#/components/schemas/DangerousGoodsExclusionException'
    Piece:
      type: object
      properties:
        numberOfPieces:
          $ref: '#/components/schemas/MinAndMaxInt'
        weight:
          $ref: '#/components/schemas/MinAndMaxDbl'
        volume:
          $ref: '#/components/schemas/MinAndMaxDbl'
        loadingMeters:
          $ref: '#/components/schemas/MinAndMaxDbl'
        palletPlaces:
          $ref: '#/components/schemas/MinAndMaxDbl'
        width:
          $ref: '#/components/schemas/MinAndMaxInt'
        height:
          $ref: '#/components/schemas/MinAndMaxInt'
        length:
          $ref: '#/components/schemas/MinAndMaxInt'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- dhl-product-dhl-freight-openapi.yml
- dhl-product-dhl-freight-openapi.yml