Hapag-Lloyd Cargo Tracking Scraper
Pricing
from $5.00 / 1,000 tracking results
Hapag-Lloyd Cargo Tracking Scraper
Extract real-time Hapag-Lloyd shipping data at scale. Track containers, bill of lading and booking numbers in bulk — get container movements, locations, dates, transport legs and vessel/voyage history. Schedule automated runs or integrate via the Apify API.
Pricing
from $5.00 / 1,000 tracking results
Rating
5.0
(1)
Developer
Muhammet Akkurt
Maintained by CommunityActor stats
2
Bookmarked
1
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share

Hapag-Lloyd Cargo Tracking Scraper
What does Hapag-Lloyd Cargo Tracking Scraper do?
Hapag-Lloyd Cargo Tracking Scraper is an Apify actor that extracts real-time shipment tracking data from Hapag-Lloyd, one of the world's largest container shipping lines. Simply enter your tracking numbers — container numbers, B/L (Bill of Lading) numbers, or booking numbers — and the scraper queries the Hapag-Lloyd tracking system and returns structured shipment data ready for analysis or integration.
No coding experience is needed. Paste your numbers, click Start, and download the results in JSON, CSV, Excel, or other formats.
Why scrape Hapag-Lloyd shipment data?
Manually checking the Hapag-Lloyd website for container tracking updates is time-consuming, especially when managing multiple shipments across different routes. This actor automates Hapag-Lloyd cargo tracking so you can:
- 📦 Monitor shipment status — Get real-time container movements, transport legs, locations and status updates
- 🔄 Track in bulk — Track hundreds of containers, B/L numbers, or booking references in a single run
- 📊 Feed data into dashboards — Export structured tracking data to Google Sheets, Slack, email, or your own systems via Apify integrations
- ⏰ Set up automated tracking — Schedule periodic runs to monitor shipment progress without manual checks
- 🔗 Build logistics pipelines — Use the Apify API to integrate Hapag-Lloyd tracking data into your supply chain management tools
What data can you extract from Hapag-Lloyd?
The scraper extracts the following data points from Hapag-Lloyd's tracking system:
| Data Field | Description | Availability |
|---|---|---|
| Tracking Number | The number you submitted | Always |
| Container Number | Every container behind the number (a B/L or booking can carry several) | Always |
| Container Type | ISO container type code (e.g., 45GP) | Always |
| Tare / Max Payload (kg) | Container tare weight and maximum payload | When available |
| Event Description | Each movement — gated out, loaded, discharged, rail departure, arrival, gated in, and more | Always |
| Event Location | Place where the event happened, including inland depots and ports | Always |
| Event Date & Time | When each event occurred | Always |
| Transport Mode | How the container moved for each leg — Truck, Rail, or Vessel | Always |
| Vessel & Voyage | Vessel name and voyage number on the ocean legs | When applicable |
| Status | Whether each event is Actual (already happened) or Planned (scheduled) | Always |
How to track Hapag-Lloyd shipments step by step
- Go to the Hapag-Lloyd Cargo Tracking Scraper on Apify Store
- Click Try for free to open the actor in the Apify Console
- Enter your tracking numbers in the Tracking Numbers field — one per line. Container numbers (e.g.,
HLXU8026066), B/L numbers, and booking numbers are all accepted - Click Start to run the scraper
- When the run finishes, preview the results in the Output tab, or download them as JSON, CSV, Excel, XML, HTML, or RSS
Example input
{"trackingNumbers": ["HLXU8026066"]}
Hapag-Lloyd tracking input parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
trackingNumbers | Array of strings | ✅ Yes | — | The numbers to track — one per line. Container numbers, B/L numbers, and booking numbers are all accepted. |
Hapag-Lloyd Cargo Tracking Scraper output example
Each tracked number produces one structured item in the dataset, with every container behind it and its full movement history. Here is a shortened example:
{"tracking_number": "HLXU8026066","containers": [{"containerNumber": "HLXU8026066","tareKg": 3950.0,"maxPayloadKg": 28550.0,"events": [{"containerNumber": "HLXU8026066","containerType": "45GP","eventDescription": "Gated out","eventLocation": "SAMALKHA ICD/PANIPAT","eventDate": "2026-08-07","eventTime": "15:00","eventTransport": "Truck","eventClassifierCode": "Actual"},{"containerNumber": "HLXU8026066","containerType": "45GP","eventDescription": "Loaded","eventLocation": "MUNDRA","eventDate": "2026-08-20","eventTime": "09:30","eventTransport": "Vessel","eventVoyageNo": "TOLTEN / 6133","eventClassifierCode": "Actual"},{"containerNumber": "HLXU8026066","containerType": "45GP","eventDescription": "Gated in","eventLocation": "CINCINNATI, OH","eventDate": "2026-10-05","eventTime": "00:00","eventTransport": "Truck","eventClassifierCode": "Planned"}]}]}
The actual output includes every container on the shipment with the full movement history. The example above is shortened for clarity. You can download the complete dataset in JSON, CSV, Excel, and other formats from the Output tab.
Integrations and Hapag-Lloyd tracking API
Hapag-Lloyd Cargo Tracking Scraper is built on the Apify platform, which gives you powerful options to automate and integrate your cargo tracking workflow:
- API access — Call the actor programmatically via the Apify API to track shipments from your own applications
- Scheduled runs — Set up scheduled recurring runs to monitor shipment progress daily, hourly, or at any interval
- Webhooks — Receive notifications when a tracking run finishes so you can trigger downstream processes
- Integrations — Connect tracking results to Google Sheets, Slack, Zapier, Make, and many more
- Data formats — Download results in JSON, CSV, Excel, XML, HTML, or RSS
This makes Hapag-Lloyd Cargo Tracking Scraper a drop-in solution for supply chain management systems, logistics dashboards, and automated shipping notifications.
Frequently asked questions
Is it legal to scrape Hapag-Lloyd?
Our scrapers are ethical and do not extract any private user data. They only extract publicly available shipment tracking information that any visitor can access on the Hapag-Lloyd website. We therefore believe that our scrapers, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain data related to commercial shipments. If you're unsure about your use case, consult your legal team.
Can I track multiple shipments at once?
Yes. Enter as many tracking numbers as you need in the Tracking Numbers field — one per line. The scraper processes them in parallel batches for maximum speed and uses automatic IP rotation to handle rate limits.
What types of tracking numbers are supported?
The scraper accepts three types of numbers through the same field:
- Container numbers — ISO 6346 format (4 letters + 7 digits, e.g.,
HLXU8026066) - B/L (Bill of Lading) numbers — Hapag-Lloyd B/L reference numbers
- Booking numbers — Hapag-Lloyd booking reference numbers
A B/L or booking number returns every container on that shipment, each with its own movement events.
What if a tracking number is not found?
If a number returns no tracking data from Hapag-Lloyd's system, the scraper logs a warning and skips it. You are not charged for numbers that return no results.
How do I get support or report issues?
If you encounter any issues or have questions about the Hapag-Lloyd Cargo Tracking Scraper, you can:
- Open an issue on the Issues tab of the actor page
- Reach out to the developer for a custom solution based on your specific tracking needs
We welcome all feedback and feature requests!