# ZIM Container Tracking Scraper: Milestones, Route, Vessel & ETA (`getascraper/zim-container-tracking-scraper`) Actor

Track ZIM Integrated Shipping containers, bills of lading and bookings in one run. Get status, a per-container milestone timeline, route legs with vessel, voyage and ports, plus final and agreed ETA as clean JSON. Monitor mode reports only what changed. No login or account needed.

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

## Pricing

from $4.50 / 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 Container Tracking Scraper: Milestones, Route, Vessel & ETA

**Know where your ZIM container is, and what changed since the last run.**

Track ZIM Integrated Shipping containers, bills of lading and bookings. You get a clean status, the full route with vessel, voyage and ETA, and a milestone timeline for every container, one row per shipment. Built for freight forwarders, importers and logistics teams, with no login needed.

### ✨ Feature highlights

- **Full milestone timeline:** Gate in, loaded, departed, discharged and delivered, with dates and locations for every container, not just the latest status.
- **Vessel, voyage and ETA:** Each shipment carries its current vessel, voyage, ports and both final and agreed ETA as dedicated fields.
- **Full route, leg by leg:** Place of receipt, loading port, transshipment hubs, discharge port and delivery, each with sailing and arrival times.
- **Monitor mode:** Schedule a run and get only the shipments that moved: new milestones, ETA shifts, vessel swaps, delivery.

### 🔍 What does the ZIM Container Tracking Scraper do?

This Actor tracks ocean shipments on ZIM Integrated Shipping. Give it a container number, a bill of lading number or a booking reference, and it returns a structured record for each shipment: the current status, the place of receipt, port of loading, port of discharge and place of delivery, the vessel and voyage, the estimated arrival, and a full milestone timeline for every container on the shipment.

Each shipment comes back as a single clean row with human-readable fields, instead of a raw blob of carrier codes. Turn on monitor mode, schedule the run, and the Actor reports only what changed since the previous run, so a one-off lookup becomes a standing shipment watch.

- Track by container number, bill of lading or booking reference.
- Per-container milestone timeline with dates and locations.
- Vessel, voyage, ports, final ETA and agreed ETA as clean fields.
- The full route split into legs with per-leg sailing and arrival times.
- Monitor mode that diffs each shipment against the last run.
- Batch many references in a single run. No login or account required.

### 👥 Who is it for?

> "I give a customer a straight answer on where their box is without logging into the carrier portal for every B/L."

Freight forwarders and customs brokers fielding status questions all day.

> "I see the ETA move the day it moves, so I can reschedule the warehouse before the container lands."

Importers and exporters planning receiving and inventory around arrivals.

> "I track a few hundred references on a schedule and only hear about the ones that actually changed."

3PL and logistics operations teams running exception-based workflows.

> "I pull ZIM tracking as clean data for our dashboard instead of reading cryptic status codes by hand."

Developers and analysts building logistics dashboards, feeds and agents.

### 🚀 How to use it

1. Enter your ZIM container numbers, bill of lading numbers or bookings, one per row. The Actor detects each type, or you can set it.
2. Run it once for a snapshot, or schedule it and turn on monitor mode to track changes over time.
3. Export one clean row per shipment with status, route, vessel, ETA and a milestone timeline, or connect it to your tools.

### 🧩 Input

Provide one or more references and, optionally, turn on monitor mode. Every setting has a sensible default, so a single container number is enough to get started.

| Field | Type | Required | Description |
|---|---|---|---|
| `trackingNumbers` | array of strings | Yes | ZIM container numbers, bill of lading numbers or booking references, one per row. |
| `searchType` | enum | No | How to label each reference: auto-detect, container, bill of lading or booking. |
| `monitorMode` | boolean | No | Attach a list of changes since the previous run to each shipment. |
| `onlyChangedShipments` | boolean | No | In monitor mode, output only shipments that changed since the last run. |
| `includeRawResponse` | boolean | No | Add ZIM's full raw response alongside the normalized output. |
| `maxTrackingNumbers` | integer | No | Safety cap on how many references a single run will process. |
| `proxyConfiguration` | object | No | Proxy settings. Residential Apify Proxy is the default and recommended. |

### 📊 Data table

Each shipment is one dataset item. Missing values are left out rather than guessed, so the dataset stays genuine.

| Field | Type | Description |
|---|---|---|
| `trackingNumber` | string | The reference that was tracked. |
| `inputType` | string | Detected reference type: container, billOfLading or booking. |
| `found` | boolean | Whether ZIM returned tracking data for the reference. |
| `currentStatus` | string | Latest shipment status, in plain language. |
| `placeOfReceipt` | string | Where the cargo was received, with a country field alongside. |
| `portOfLoading` | string | Origin port name, with a country field alongside. |
| `portOfDischarge` | string | Destination port name, with a country field alongside. |
| `placeOfDelivery` | string | Final delivery place, with a country field alongside. |
| `vesselName` | string | Current vessel name. |
| `voyage` | string | Current voyage number. |
| `estimatedArrival` | string | Final estimated time of arrival. |
| `agreedEta` | string | Agreed estimated time of arrival. |
| `delivered` | boolean | Whether the shipment has been delivered. |
| `containerCount` | integer | Number of containers on the shipment. |
| `milestoneCount` | integer | Total number of milestones across all containers. |
| `lastEventAt` | string | Date of the most recent milestone. |
| `containers` | array | Each container with its cargo type, status and milestone timeline. |
| `route` | array | Ordered route legs with ports, vessel, voyage and times. |
| `changes` | array | In monitor mode, what changed since the previous run. |
| `scrapedAt` | string | When the shipment was tracked. |

```json
{
  "trackingNumber": "ZCSU7074221",
  "inputType": "container",
  "found": true,
  "currentStatus": "Discharged at port of discharge",
  "placeOfReceipt": "Shanghai",
  "portOfLoading": "Shanghai",
  "portOfDischarge": "Los Angeles",
  "placeOfDelivery": "Los Angeles",
  "vesselName": "ZIM SAN FRANCISCO",
  "voyage": "42W",
  "estimatedArrival": "2026-11-20T08:00:00",
  "agreedEta": "2026-11-19T00:00:00",
  "delivered": false,
  "containerCount": 1,
  "milestoneCount": 4,
  "containers": [
    {
      "containerNumber": "ZCSU7074221",
      "cargoType": "40HC",
      "status": "Discharged from vessel",
      "milestones": [
        { "label": "Gate in at origin", "dateTime": "2026-10-26T09:15:00", "location": "Shanghai" },
        { "label": "Loaded on vessel", "dateTime": "2026-10-28T11:00:00", "location": "Shanghai" }
      ]
    }
  ],
  "route": [
    { "role": "POL", "portFrom": "Shanghai", "vesselName": "ZIM ROTTERDAM", "voyage": "15E" },
    { "role": "POD", "portTo": "Los Angeles", "arrivalDate": "2026-11-19T07:00:00" }
  ],
  "scrapedAt": "2026-11-14T09:00:00Z"
}
```

### 💰 Pricing

This Actor runs on pay per event. You are charged per shipment that is successfully tracked, plus a small fixed charge when a run starts. References that return no data cost nothing, and there are no subscriptions. You pay only for the tracking results you get. See the pricing panel on this page for current rates.

Free plan runs are fair-use limited: up to 25 references per run, 3 runs per day, and a short wait between runs. Paid plans remove these limits.

### ⭐ Enjoying the ZIM Container Tracking Scraper?

Tracking your ZIM boxes with this Actor? A quick rating helps other shippers find it.

[Rate this Actor on Apify](https://apify.com/getascraper/zim-container-tracking-scraper/reviews)

### ❓ FAQ

#### Do I need a ZIM account or login?

No. The Actor reads the public tracking tool. No account, API key or cookie is required.

#### Can I track bills of lading and bookings, not just containers?

Yes. Submit container numbers, B/L numbers or booking references in the same run. A bill of lading usually returns the fullest picture of a shipment.

#### How do I track changes over time?

Turn on monitor mode and schedule the Actor. Each run attaches a list of what changed since the last run, and you can choose to output only shipments that moved.

#### Can I track many containers at once?

Yes. Add as many references as you need, one per row, and the Actor processes them in a single run up to your chosen cap.

#### Why is a shipment marked not found?

Very old or not-yet-activated references may not resolve yet. Those references are returned with `found` set to false and are not charged.

### 🔗 Other actors

- [CMA CGM Container Tracking Scraper](https://apify.com/getascraper/cma-cgm-container-tracking-scraper) ↗ - Track CMA CGM group containers, B/L and bookings with milestones and ETA.
- [OOCL Cargo Tracking Scraper](https://apify.com/getascraper/oocl-cargo-tracking-scraper) ↗ - Track OOCL containers, bills of lading and bookings.
- [Wan Hai Cargo Tracking Scraper](https://apify.com/getascraper/wanhai-cargo-tracking-scraper) ↗ - Track Wan Hai Lines container and B/L shipments.
- [Google Lens OCR API](https://apify.com/getascraper/google-lens-ocr) ↗ - Turn images and PDFs into text with word-level positions.
- [HTTP Request Runner](https://apify.com/getascraper/http-request-runner) ↗ - Run single or bulk API calls and pipe the results into your workflow.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/zim-container-tracking-scraper/changelog.md

# Actor input Schema

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

ZIM container, bill of lading or booking numbers to track, one per row (e.g. ZCSU7074221). The Actor resolves each reference type automatically, so you can mix containers, B/L and bookings in the same run.

## `searchType` (type: `string`):

How to label each reference in the output. Leave on Auto to detect container, bill of lading or booking from the number format, or force a single type when you know what you are tracking. Many ZIM trackers only accept a raw list with no type control.

## `monitorMode` (type: `boolean`):

Remember each shipment between runs and attach a list of what changed since the last run: new milestones, a status change, a shifted ETA, a vessel swap or final delivery. Container tracking is inherently recurring, so schedule this Actor and watch only what moved instead of re-reading the full timeline each time.

## `onlyChangedShipments` (type: `boolean`):

With Monitor Mode on, output only the shipments that actually changed since the previous run and skip the unchanged ones. Ideal for alerting pipelines that should fire only on movement.

## `includeRawResponse` (type: `boolean`):

Attach ZIM's full untouched JSON response under a raw field, in addition to the normalized output. Useful for debugging or capturing fields the normalized schema does not surface yet. Off by default to keep the dataset lean.

## `maxTrackingNumbers` (type: `integer`):

Safety cap on how many references are processed in a single run. The remaining references are ignored. Raise it for large batches; keep it modest for scheduled monitoring jobs.

## `proxyConfiguration` (type: `object`):

ZIM's tracking portal sits behind Akamai, which blocks plain datacenter requests. Residential Apify Proxy is the default and is recommended; change it only if you know your IPs clear Akamai.

## Actor input object example

```json
{
  "trackingNumbers": [
    "ZCSU7074221"
  ],
  "searchType": "auto",
  "monitorMode": false,
  "onlyChangedShipments": false,
  "includeRawResponse": false,
  "maxTrackingNumbers": 25,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (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"
    ],
    "searchType": "auto",
    "monitorMode": false,
    "onlyChangedShipments": false,
    "includeRawResponse": false,
    "maxTrackingNumbers": 25,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/zim-container-tracking-scraper").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"],
    "searchType": "auto",
    "monitorMode": False,
    "onlyChangedShipments": False,
    "includeRawResponse": False,
    "maxTrackingNumbers": 25,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/zim-container-tracking-scraper").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"
  ],
  "searchType": "auto",
  "monitorMode": false,
  "onlyChangedShipments": false,
  "includeRawResponse": false,
  "maxTrackingNumbers": 25,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getascraper/zim-container-tracking-scraper --silent --output-dataset

```

## MCP server setup

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

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/pdOooR1xDWP0CjFWd/builds/lf7hvJC9sb5z8dx6T/openapi.json
