DHL API
dhl.com
DHL - international rate quotes, service offers, and delivery estimates.
- Actions
- 1
- Category
- Logistics
- Login
- Not required
- Output
- JSON
Call the DHL API
Submit a task, then poll the job until it settles. This example runs act_dhl_shipping_rate_quote.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_dhl_shipping_rate_quote",
"params": {
"origin_city": "Mumbai",
"origin_country_code": "IN",
"origin_postal_code": "400001",
"destination_city": "New York",
"destination_country_code": "US",
"destination_postal_code": "10001",
"package_weight_kg": "2",
"package_length_cm": "75",
"package_width_cm": "35",
"package_height_cm": "35",
"market_country": "IN"
}
}'1 action on dhl.com
Read
Shipping Rate Quote
act_dhl_shipping_rate_quoteread2 credits / callReturns priced shipping offers and delivery estimates for an origin-destination lane and parcel size.
- origin_city
- string · required
- origin_country_code
- string · required
- origin_postal_code
- string · required
- destination_city
- string · required
- destination_country_code
- string · required
- destination_postal_code
- string · required
- package_weight_kg
- string · required
- package_length_cm
- string · required
- package_width_cm
- string · required
- package_height_cm
- string · required
- market_country
- string · required
- gaq_quote_counter
- string
DHL API questions
- Is there an API for DHL?
- DHL does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for dhl.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape DHL data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when dhl.com changes its markup, Anakin updates the action.
- Do I need a DHL account?
- No. Every DHL action listed here runs anonymously — no account and no credentials required.
- What does the DHL API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Logistics APIs
Averitt
averitt.com
Averitt LTL freight - shipment tracking, quotes, service centers, and transit times.
Logistics1 action
FedEx US
fedex.com
FedEx US - nearby locations, package and service catalogs, and special-service options.
Logistics3 actions
GoComet
https://app.gocomet.com
GoComet - Indian freight bidding with live auction timers and vendor quote management.
LogisticsAuth4 actions
India Post
indiapost.gov.in
India Post e-Postoffice - Philately and Gangajal products and featured postal services.
Logistics6 actions
Maersk
maersk.com
Maersk - regional offices, country guides, and transportation service listings.
Logistics5 actions