This is the summary description which will be displayed in the API Catalog.
Overview of the API capabilities.
Scope
Using the API
Example Use Cases
Get Access
You must request credentials for any applications you develop
To register your app and get your API subscription keys:
- Click My Apps on the portal website.
- Click the + Add App button.
The “Add App” form appears. - Complete the Add App form.
You can select the APIs you want to access. - When you have completed the form, click the Add App button.
Authentication
Every call to the API requires a subscription key. This key needs to be either passed through a query string parameter or specified in the request header (DHL-API-Key).
To view your API subscription keys:
- From the My Apps screen, click on the name of your app.
The Details screen appears. - If you have access to more than one API, click the name of the relevant API.
Note: The APIs are listed under the “Credentials” section. - Click the Show link below the asterisks that is hiding the Consumer Key.
The Consumer Key appears.
Environments
The addressable API base URL/URI environments are:
| Environment | Description |
| https://api-eu.dhl.com/your_endpoint | Production environment |
Rate limits
Rate limits protect the DHL infrastructure from suspicious requests that exceed defined thresholds.
The table below details the main request limits:
| Service Level | Maximum calls per second | Maximum calls per day |
|---|---|---|
| Starter | 1 | 250 |
| Standard | 2 | 1000 |
Please contact api@dpdhl.com if you need a different service level.
When the limit is reached, you will receive an HTTP Status code:
429: Too many requests.
Additional Information
Example requests
Simple HTTP request example
curl -X GET 'https://api-eu.dhl.com/your_endpoint?parameter=1234' -H 'DHL-API-Key:PasteHere_ConsumerKey'
Legal Terms Content...
1.0.0
- Initial launch