# Track Hapag-Lloyd Containers by Container Number

**Use case:** 

Track Hapag-Lloyd containers by container number. Get the container's status, route, vessel and voyage, ETA and full movement history, and track many containers, B/Ls or bookings in one run as JSON, CSV or Excel.

## Input

```json
{
  "trackingNumbers": [
    "HLXU8026066"
  ]
}
```

## Output

```json
{
  "tracking_number": {
    "label": "Tracking Number",
    "format": "text"
  },
  "containers": {
    "label": "Containers",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Hapag-Lloyd Cargo Tracking Scraper Actor is ready to run with the inputs already set for "Track Hapag-Lloyd Containers by Container Number". [Sign up or log in](https://console.apify.com/create-task-from-example/rqEP0xnznQekRS3h1) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Track Hapag-Lloyd Containers by Container Number" task

The Hapag-Lloyd Cargo Tracking Scraper Actor will start running based on the input automatically. You can also change all the input fields, like tracking numbers, to match your specific use case.

### 3. Receive the "Track Hapag-Lloyd Containers by Container Number" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as tracking number and containers.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Track Hapag-Lloyd Containers by Container Number" task via API](https://apify.com/muhammetakkurtt/hapag-lloyd-cargo-tracking-scraper.md).

## FAQ

### How do I track a Hapag-Lloyd container?

Enter the container number, such as HLXU8026066, and run this task. It returns every movement event with date, time, place and transport mode, plus container type, tare and max payload.

### Can I track Hapag-Lloyd by B/L or booking number?

Yes. Container, bill of lading and booking numbers are all accepted in the same field; the task detects the number type automatically.

### What do tare and max payload mean?

Tare is the weight of the empty container and max payload is the most cargo it can carry. The task returns both in kilograms for each container.

### What does 'Gated out' mean in Hapag-Lloyd tracking?

It means the container left a terminal or depot gate, for example by truck to the customer. Each event is marked actual or planned so you know what has really happened.

### Is there a Hapag-Lloyd tracking API?

This task works as a Hapag-Lloyd tracking API: call it through the Apify API and get JSON events for your TMS, ERP or shipment dashboard.

## About this Actor

This example demonstrates how to use [Hapag-Lloyd Cargo Tracking Scraper](https://apify.com/muhammetakkurtt/hapag-lloyd-cargo-tracking-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/muhammetakkurtt/hapag-lloyd-cargo-tracking-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/muhammetakkurtt/hapag-lloyd-cargo-tracking-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
