# ZIM Cargo Tracking — Containers, Bills of Lading & Bookings (`memo23/zim-cargo-tracking`) Actor

Track ZIM containers, bills of lading and bookings. Each number returns the route, vessel, voyage, ETA, agreed arrival and full movement history, one row per container. One charge covers every container on that number. Schedule it daily or call it from your app. JSON or CSV.

- **URL**: https://apify.com/memo23/zim-cargo-tracking.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 tracking results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## ZIM Cargo Tracking — Containers, Bills of Lading and Bookings

Paste a ZIM container, bill of lading or booking number and get the route, the vessel, the voyage, the arrival ZIM agreed, the arrival it now shows, and every move on the box. One row per container. A bill of lading with several boxes comes back as several rows, on a single charge.

No ZIM login and no API key.

![How ZIM Cargo Tracking works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-zim-cargo.png)

### Why Use This Scraper?

- Container, bill of lading and booking numbers go in the same list.
- One row per container: ports, vessel, voyage, ETA, actual arrival, agreed arrival and whether ZIM marks the arrival as delayed.
- The full movement history, oldest first, plus each leg of the route with sailing and berth dates.
- A number ZIM does not recognise is not charged. A failed lookup is retried.
- Turn on Track changes for a daily schedule and see what moved since the previous run.

### Overview

This actor is for freight forwarders, consignees and anyone watching boxes on ZIM Integrated Shipping Services. You give it the references you already have. It returns the same facts the public tracking page shows: where the box is, which ship it is on, when it sailed, when it arrived or is due, and the earlier arrival date when ZIM has revised it.

A container number returns one row. A bill of lading or booking returns one row for each container on it. The charge is per number you submitted, not per container.

### Supported Inputs

| Input | Example | What you get |
|---|---|---|
| Container number | `ZCSU7074221` | That box: route, vessel, arrival, movements |
| Bill of lading | a ZIM bill of lading | One row per container on the bill |
| Booking number | a ZIM booking | One row per container on the booking |

Mix all three in `trackingNumbers`. Spaces and dashes are ignored.

Not accepted: sailing schedules with no shipment number, freight quotes, customs filings, and anything behind a ZIM login.

### Use Cases

| Who | What they do with it |
|---|---|
| Freight forwarders | Drop a morning list of boxes and bills into one run |
| Consignees | Watch an arrival date and the delay against the date ZIM agreed |
| Operations | Schedule a daily run and keep only the containers that moved |
| Developers | Call the actor from a dashboard or a spreadsheet export |

### How It Works

1. Paste container, bill of lading and booking numbers, one per line.
2. Start the run. Each number is looked up on its own.
3. Every container on a recognised number is saved as its own row.
4. Open the dataset, or the run summary for numbers that had no record.
5. Optional: turn on Track changes and schedule the run. The next run lists what moved.

### Input Configuration

| Field | Type | What it does |
|---|---|---|
| `trackingNumbers` | string list | Required. Container, bill of lading or booking numbers, one per line. Example: `ZCSU7074221`. |
| `maxItems` | integer | Stop after this many numbers. Leave empty to track every number you pasted. |
| `trackChanges` | boolean | Compare each container with the previous run and add a `changes` list. Default `false`. |
| `onlyChanged` | boolean | With Track changes on, save only containers that moved. The first run still saves everything it finds. Default `false`. |
| `watchlistName` | string | Keeps one schedule's history separate from another. Letters, numbers and dashes. Leave empty for one shared history. |
| `includeRaw` | boolean | Add ZIM's full tracking record under `raw`. Default `false`. |
| `maxConcurrency` | integer | How many numbers to track at once. Default `5`, maximum `10`. |
| `proxy` | object | Leave empty. The default works out of the box. |

#### One container

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

#### A daily watch

```json
{
  "trackingNumbers": ["ZCSU7074221"],
  "trackChanges": true,
  "onlyChanged": true,
  "watchlistName": "east-med"
}
```

### Output Overview

Each row is one container. The top fields are the route and the arrival. `legs` is the route in order, including a local move after the sea leg when ZIM shows one. `events` is the movement history, oldest first. `eta` is set only while the ship has not arrived. Once it has, `ata` holds the actual arrival and `eta` is empty. `agreedEta` is the arrival ZIM originally agreed, and `etaStatus` is `DELAY`, `EARLY` or `ON TIME` when ZIM reports that.

`delivered` is true when ZIM has closed the container cycle, which on this sample is the empty box gated back in.

### Output Samples

Shortened from a real run of `ZCSU7074221` on 24 Nov 2026. The live row has 10 movements and 2 legs.

```json
{
  "trackingNumber": "ZCSU7074221",
  "carrier": "zim",
  "numberType": "container",
  "containerNumber": "ZCSU7074221",
  "containerType": "40' HIGH CUBE",
  "status": "Closed",
  "origin": "DAMIETTA, EG",
  "destination": "ASHDOD, IL",
  "portOfLoading": "DAMIETTA, EG",
  "portOfDischarge": "ASHDOD, IL",
  "vessel": "CARMEL I",
  "voyage": "37",
  "eta": null,
  "ata": "2026-10-06T12:00:00.000+03:00",
  "agreedEta": "2026-09-15T22:00:00.000+03:00",
  "etaStatus": "DELAY",
  "previousEta": "2026-09-15T22:00:00.000+03:00",
  "latestStatus": "Empty container gate in",
  "latestLocation": "ASHDOD, IL",
  "latestDate": "2026-10-25T10:03:00+02:00",
  "delivered": true,
  "eventCount": 10,
  "legCount": 2,
  "legs": [
    {
      "vessel": "CARMEL I",
      "voyage": "37",
      "portFrom": "DAMIETTA, EG",
      "portTo": "ASHDOD, IL",
      "sailingDate": "2026-10-06T00:18:00.000+03:00",
      "arrivalDate": "2026-10-06T12:00:00.000+03:00"
    }
  ],
  "events": [
    {
      "date": "2026-09-26T19:25:00+03:00",
      "location": "DAMIETTA, EG",
      "description": "Container was stuffed at Port of Loading",
      "isActual": true
    }
  ],
  "trackingUrl": "https://www.zim.com/tools/track-a-shipment?consnumbers=ZCSU7074221"
}
```

With Track changes on, the first time a container is seen the row also has:

```json
{ "changes": [{ "field": "firstSeen", "from": null, "to": "Empty container gate in" }] }
```

A later run lists only the fields that moved, such as `arrival` or `vessel`.

### Key Output Fields

**The box**

- `containerNumber`, `containerType`, `containerTypeCode`, `status`, `delivered`
- `numberType`: `container`, `bill_of_lading`, `booking` or `unknown`
- `billOfLading` or `bookingNumber` when that is what you submitted

**The voyage**

- `origin`, `destination`, `portOfLoading`, `portOfDischarge`, `transshipments`
- `vessel`, `voyage`
- `eta`, `ata`, `agreedEta`, `etaStatus`, `previousEta`
- `legs`: each hop, with sailing, arrival and berth dates

**The history**

- `events`: date, location, description, vessel, voyage
- `latestStatus`, `latestLocation`, `latestDate`
- `changes`: only when Track changes is on
- `trackingUrl`: the public tracking page for the number you submitted

### FAQ

**Do I need a ZIM account?**
No. The actor reads the public tracking page. It does not log in.

**What if the number is wrong?**
It is listed in the run summary under `notFound` and it is not charged. The run fails only when every number was unknown or every lookup failed.

**A bill of lading returned several rows. Was I charged several times?**
No. One recognised number is one charge, however many containers are on it.

**Why is `eta` empty?**
The ship has already arrived. Read `ata`. `eta` is only filled while the arrival is still estimated.

**What does Track changes remember?**
The cycle status, the arrival, the vessel, the voyage, and the latest move. `watchlistName` keeps two schedules from overwriting each other. It does not store the full history of every past run.

**What is not included?**
Freight rates, customs status, documents behind a login, and a live map position. `includeRaw` adds the rest of the tracking record ZIM showed for that number.

### Support

- Open an issue on the actor's Issues tab in Apify Console.
- Website: <https://muhamed-didovic.github.io/>
- Email: <muhamed.didovic@gmail.com>

### Additional Services

- A private feed of your own boxes, on a schedule, into a sheet or a database: <muhamed.didovic@gmail.com>
- The same row shape for another carrier, or a combined run across carriers: <muhamed.didovic@gmail.com>

### Explore More Scrapers

- [**Container Tracking**](https://apify.com/memo23/container-tracking-scraper): Maersk, CMA CGM, MSC, COSCO, ONE, HMM and Wan Hai in one list

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/zim-cargo-tracking`).

**Purpose:** Public ZIM shipment tracking. One row per container for a container, bill of lading or booking number, with route, vessel, ETA or ATA, agreed arrival, delay and movement history.

**Minimal input:**

```json
{ "trackingNumbers": ["ZCSU7074221"], "maxItems": 5 }
```

**Output:** trackingNumber, carrier, numberType, containerNumber, containerType, containerTypeCode, billOfLading, bookingNumber, status, origin, destination, portOfLoading, portOfDischarge, transshipments, vessel, voyage, eta, ata, agreedEta, etaStatus, previousEta, latestStatus, latestLocation, latestDate, delivered, legs \[{vessel, voyage, portFrom, portTo, sailingDate, arrivalDate, berthSailingDate, berthArrivalDate}], events \[{date, location, description, vessel, voyage, isActual}], eventCount, legCount, trackingUrl, scrapedAt, changes \[{field, from, to}].

**Behaviors an agent should know:**

- Always set `maxItems`. One input number can return several container rows and is still one charge.
- `eta` is null once the ship has arrived; use `ata`. `etaStatus` is DELAY, EARLY or ON TIME when present.
- Unknown numbers are not charged and are listed in the key-value record `SUMMARY` under `notFound`.
- `trackChanges` adds `changes`. The first sighting is `{ "field": "firstSeen" }`. `onlyChanged` then skips containers that did not move.
- Two schedules need different `watchlistName` values or they share one history.
- Free plan: the first 10 numbers. Pay-per-event: a small start fee plus one `tracking-result` charge per recognised number.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by ZIM Integrated Shipping Services Ltd. or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available shipment tracking pages — no authenticated endpoints, paid features, or content behind the zim.com login wall. Users are responsible for ensuring their use complies with zim.com's Terms of Service, applicable data-protection law (GDPR, CCPA, etc.), and any contractual obligations of their own organization.

### SEO Keywords

ZIM cargo tracking, ZIM container tracking, ZIM bill of lading tracking, ZIM booking tracking, ZIM shipment status, ZIM vessel tracking, ZIM ETA, ZIM container number lookup, track ZIM container, ZIM arrival date, ocean freight tracking, container tracking API, bill of lading lookup, shipping container status, freight forwarder tracking, supply chain visibility, import container tracking, export container tracking, vessel voyage lookup, port of discharge ETA, agreed ETA delay, container movement history, logistics tracking automation, ZIM Integrated Shipping tracking

# Actor input Schema

## `trackingNumbers` (type: `array`):

ZIM container numbers (for example ZCSU7074221), bill of lading numbers or booking numbers, one per line. Spaces and dashes are ignored. Container, bill of lading and booking numbers can be mixed in one run.

## `maxItems` (type: `integer`):

How many numbers to track in this run. Leave empty to track every number you pasted. Each number ZIM recognises is one charge, and every container on that number is included.

## `trackChanges` (type: `boolean`):

Compare each container with the previous run and add a changes list when the status, arrival, vessel, voyage or latest move is different. The first run marks every container as first seen. Use this on a daily schedule.

## `onlyChanged` (type: `boolean`):

With Track changes on, save only containers that moved since the previous run. The first run still saves every container it finds. Leave off to always save the full record plus the changes list.

## `watchlistName` (type: `string`):

Optional name that keeps one schedule's history separate from another, for example lane-a. Letters, numbers and dashes. Used only when Track changes is on. Leave empty to use one shared history.

## `includeRaw` (type: `boolean`):

Adds ZIM's full tracking record under raw, for fields that are not mapped into their own columns.

## `maxConcurrency` (type: `integer`):

How many numbers to track at the same time. Default 5, maximum 10. Lower it if runs slow down or fail.

## `proxy` (type: `object`):

Leave empty. The default works out of the box. Set this only to use proxies you pay for yourself.

## Actor input object example

```json
{
  "trackingNumbers": [
    "ZCSU7074221"
  ],
  "trackChanges": false,
  "onlyChanged": false,
  "includeRaw": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "trackingNumbers": [
        "ZCSU7074221"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/zim-cargo-tracking").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "trackingNumbers": ["ZCSU7074221"] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/zim-cargo-tracking").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "trackingNumbers": [
    "ZCSU7074221"
  ]
}' |
apify call memo23/zim-cargo-tracking --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/zim-cargo-tracking"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gmeX4jhwyy9gn9ddT/builds/3esOP99eNNfmAKw88/openapi.json
