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

Track OOCL containers, bills of lading and bookings in one list. Each recognised number returns status, ports, vessel, voyage, ETA, cargo and freight release, customs clearance and every container event. One charge covers the whole shipment. Export JSON or CSV, or schedule a refresh.

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

## Pricing

from $4.00 / 1,000 tracked numbers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## OOCL Cargo Tracking

**OOCL containers, bills of lading and bookings, one row per shipment.** Paste a container number, a bill of lading or a booking and the shipment comes back with its status, route, vessel, voyage, ETA, cargo release, customs clearance and the full event history. One charge covers every container on that number. Numbers OOCL does not recognise are not charged.

### How it works

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

### Why use this actor

- **Any OOCL number in one list.** Container, bill of lading and booking numbers can be mixed. The kind of number is detected. A tracking link from OOCL works too.
- **One charge per number.** Every container on the shipment is included. A number OOCL has no record for is listed in the run summary and is not charged.
- **Release and customs on the bill.** Cargo release, freight release, customs clearance, the original bill of lading and advance manifest filings (such as the US 24-hour rule) come back with a bill of lading.
- **Route and vessel on every row.** Origin, destination, port of loading, port of discharge, vessel, voyage, service, departure and arrival, each marked actual or estimated.
- **The whole movement, oldest first.** Each container event has the local time, time zone, place, facility and stage, from empty pick-up to empty return.
- **Ready for a daily check.** Save the input as a task and schedule it. Each run is a fresh status sheet.

### Overview

This actor tracks shipments on OOCL (Orient Overseas Container Line). You give it the numbers you already have from a booking confirmation or a carrier site, and it returns one dataset row per shipment. A container number returns the shipment OOCL currently lists for that box. A bill of lading or a booking returns that shipment, with every container on it nested in the same row, all covered by the one charge for that number.

It is built for freight forwarders keeping a status sheet, importers watching an inbound box, customs brokers watching a release, and anyone feeding a spreadsheet or a dashboard. The row is flat on purpose: ports, vessel, release and the latest move are columns, and the history sits in `containers`.

### Supported inputs

| Input | What you enter | What comes back |
|---|---|---|
| **Container number** | An OOCL box, for example `OOLU9679728` | The shipment OOCL lists for that box |
| **Bill of lading** | The B/L number, for example `OOLU2162169420` | That shipment, including release and customs |
| **Booking number** | The booking reference, with or without the `OOLU` prefix | That shipment |

Spaces, dashes and dots in a number are ignored. Mix all three kinds in one list.

**Not supported:**

- Other carriers. Maersk, CMA CGM, MSC, COSCO, ONE, HMM and Wan Hai are on [Container Tracking](https://apify.com/memo23/container-tracking-scraper), which accepts a mixed list.
- Numbers OOCL has already dropped. A box that is off the tracking page comes back as not found, and it is not charged.

### Use cases

| Who | What they get |
|---|---|
| Freight forwarders | A status sheet for a book of OOCL shipments |
| Importers | ETA and the latest move for every inbound container |
| Customs brokers | Cargo release, freight release and customs clearance on the bill |
| Dashboards | Flat rows for a sheet, a TMS or a BI tool |

### How it works

1. Paste container, bill of lading or booking numbers.
2. Each number is looked up. A bill or a booking returns the shipment, with every container on it.
3. You get one row per shipment: status, route, vessel, ETA, release and the event history.
4. Numbers with no record, and lookups that fail, are listed in the run's `SUMMARY` and are not charged.
5. Schedule the same input to refresh the sheet every day.

### Input configuration

| Field | Type | Default | What it does |
|---|---|---|---|
| `trackingNumbers` | string\[] | — | Container, bill of lading or booking numbers. Required. Example: `OOLU2162169420`. |
| `trackingType` | string | `auto` | `auto`, `container`, `billOfLading` or `booking`. Leave on auto unless every number is the same kind. |
| `maxItems` | integer | every number you pasted | How many numbers to track. Each recognised number is one charge. |
| `includeRaw` | boolean | `false` | Adds the full shipment record under `raw`. |
| `maxConcurrency` | integer | `4` | How many numbers to track at once. From 1 to 8. |
| `proxy` | object | empty | Leave empty. The default works out of the box. Set this only to use proxies you pay for yourself. |

One bill of lading:

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

A container and a booking, capped at two numbers:

```json
{
  "trackingNumbers": ["OOLU9679728", "2162169420"],
  "maxItems": 2
}
```

Free-plan runs track at most 10 numbers. On a paid plan the run stops when it reaches the maximum cost you set, and rows past that limit are not saved.

### Output overview

One dataset row per shipment. The number you submitted is `trackingNumber`. `numberType` says whether OOCL matched a container, a bill of lading or a booking. `status` is one of Booked, At origin, In transit, Arrived, Delivered, Completed (the empty box is back) or Cancelled. Route fields are the places OOCL names. Departure and arrival times are local, and `departureIsActual` / `arrivalIsActual` say whether the vessel has sailed or berthed. Release and customs fields are filled on a bill of lading. A container lookup often leaves them empty, because OOCL shows them on the bill. `containers` holds each box and its events, oldest first.

### Output sample

Bill of lading `OOLU2162169420`, collected 24 November 2026. Party names are replaced. The live row had one container and eight events. Two events are shown.

```json
{
  "trackingNumber": "OOLU2162169420",
  "numberType": "billOfLading",
  "status": "Completed",
  "bookingNumber": "2162169420",
  "bookingStatus": "Confirmed",
  "billOfLadingNumbers": ["2162169420"],
  "billOfLadingStatus": "B/L Ready",
  "origin": "Hong Kong",
  "destination": "Long Beach",
  "portOfLoading": "Hong Kong",
  "portOfDischarge": "Long Beach",
  "vesselName": "XIN FEI ZHOU",
  "voyage": "104E",
  "service": "PSX",
  "departureTime": "2025-09-20T15:46",
  "departureIsActual": true,
  "arrivalTime": "2025-10-07T06:05",
  "arrivalIsActual": true,
  "finalDestinationEta": "2025-10-10T17:00",
  "cargoCutoff": "2025-09-19T19:00",
  "latestEvent": "Empty Return",
  "latestEventTime": "2025-10-21T06:15",
  "latestEventLocation": "Long Beach Container Terminal (Pier E)",
  "latestEventTimezone": "PDT",
  "currentStage": "Inbound",
  "cargoReleaseStatus": "Cleared",
  "freightReleaseStatus": "Cleared",
  "customsClearanceStatus": "Cleared",
  "customsClearanceCode": "WAC8",
  "originalBillOfLadingReceived": "N.A.(Under Sea Waybill)",
  "advancedManifestStatus": "US24 (United States): Release",
  "quantity": "1169 CT",
  "containerCount": 1,
  "containerNumbers": ["OOLU9679728"],
  "shipper": "Example Logistics Ltd",
  "consignee": "Example Imports Inc",
  "containers": [
    {
      "containerNumber": "OOLU9679728",
      "sizeType": "40HQ",
      "latestEvent": "Empty Return",
      "events": [
        { "event": "Empty Pick Up", "dateTime": "2025-09-16T19:07", "timezone": "HKT", "location": "HIT - Hongkong International Terminals" },
        { "event": "Empty Return", "dateTime": "2025-10-21T06:15", "timezone": "PDT", "location": "Long Beach Container Terminal (Pier E)" }
      ]
    }
  ],
  "trackingUrl": "https://www.oocl.com/Pages/ExpressLink.aspx?eltype=ct&businessType=blNumber&businessNumber=OOLU2162169420&language=en"
}
```

`arrivalIsActual` is true on this row because the vessel had already berthed. While the box is still on the water, `arrivalTime` is the estimate and `arrivalIsActual` is false.

### Key output fields

- **Identity:** `trackingNumber`, `numberType`, `status`, `bookingNumber`, `bookingStatus`, `billOfLadingNumbers`, `billOfLadingStatus`
- **Route:** `origin`, `destination`, `portOfLoading`, `portOfDischarge`, `transshipments`, `route`
- **Voyage:** `vesselName`, `voyage`, `service`, `departureTime`, `departureIsActual`, `arrivalTime`, `arrivalIsActual`, `finalDestinationEta`, `cargoCutoff`
- **Release:** `cargoReleaseStatus`, `freightReleaseStatus`, `customsClearanceStatus`, `customsClearanceCode`, `originalBillOfLadingReceived`, `advancedManifestStatus`
- **Containers:** `containerCount`, `containerNumbers`, `containers` with `sizeType`, `grossWeight`, `verifiedGrossMass`, `emptyPickupLocation`, `emptyReturnLocation` and `events`
- **Parties:** `shipper`, `consignee`, `notifyParty`, `bookingParty`, `bookingOffice`, when OOCL shows them

### FAQ

**Does a bill of lading cost more than a container?** No. You are charged once for the number, and every container on the shipment is included.

**What if OOCL has no record?** The number is listed under `notFound` in the run's `SUMMARY` record and is not charged. The run fails only when every number is missing or every lookup fails, so a scheduled run does not report success on an empty sheet.

**Why are release and customs empty?** OOCL shows cargo release, freight release and customs clearance on the bill of lading. A container number often comes back without them. Track the bill of lading when you need the release.

**What does `arrivalIsActual: false` mean?** The vessel has not berthed yet, so `arrivalTime` is the estimate. The same applies to `departureIsActual` and the sailing.

**A container came back as a different shipment than the bill.** A box is reused. The container number returns the shipment OOCL currently lists for it. The bill of lading returns that bill, which may be an earlier voyage.

**Can I track Maersk or COSCO here?** No. Use [Container Tracking](https://apify.com/memo23/container-tracking-scraper) for a mixed list across Maersk, CMA CGM, MSC, COSCO, ONE, HMM and Wan Hai.

**Can I schedule it?** Yes. Save the input as a task and put it on a schedule.

### Support

- Issues: the Issues tab on this actor
- Website: [muhamed-didovic.github.io](https://muhamed-didovic.github.io/)
- Email: <muhamed.didovic@gmail.com>

### Additional services

Need a field this actor does not map, a private feed into your sheet, or the same tracking for another shipping line? Email <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
- [**MSC Cargo Tracking**](https://apify.com/memo23/msc-cargo-tracking) — MSC containers, bills of lading and bookings
- [**More actors**](https://apify.com/memo23) — the rest of the catalogue

### 🤖 For AI Agents & LLM Apps

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

**Purpose:** OOCL shipment tracking. One dataset row per shipment, one charge per number that returns data.

**Minimal input:**

```json
{ "trackingNumbers": ["OOLU2162169420"], "maxItems": 1 }
```

**Output:** one row per shipment — `trackingNumber`, `numberType`, `status`, `bookingNumber`, `bookingStatus`, `billOfLadingNumbers`, `billOfLadingStatus`, `origin`, `destination`, `portOfLoading`, `portOfDischarge`, `vesselName`, `voyage`, `service`, `departureTime`, `departureIsActual`, `arrivalTime`, `arrivalIsActual`, `finalDestinationEta`, `cargoCutoff`, `latestEvent`, `latestEventTime`, `latestEventLocation`, `cargoReleaseStatus`, `freightReleaseStatus`, `customsClearanceStatus`, `customsClearanceCode`, `originalBillOfLadingReceived`, `advancedManifestStatus`, `containerCount`, `containerNumbers`, `containers`, `route`, `shipper`, `consignee`, `trackingUrl`, `scrapedAt`.

**Behaviors an agent should know:**

- Always set `maxItems`. Free plans are capped at 10 numbers.
- A bill of lading or booking is one row, with every container nested, and is still one charge.
- Release and customs are filled on a bill of lading. A container lookup often leaves them empty.
- Numbers with no OOCL record are not charged. They are listed in the `SUMMARY` key-value record under `notFound`.
- The run fails when nothing was tracked, so an empty result is not reported as success.
- Other carriers are not accepted here.

### ⚠️ Disclaimer

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Orient Overseas Container Line Limited or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

It reads only shipment tracking information OOCL publishes for anyone to look up. It does not log in, and it does not bypass any access control. You are responsible for using it in line with OOCL's terms, applicable data-protection law (GDPR, CCPA and others), and your own contracts. Tracking dates are returned as OOCL publishes them. Confirm anything time-critical with OOCL.

### SEO Keywords

oocl cargo tracking, oocl container tracking, oocl tracking scraper, oocl bill of lading tracking, oocl booking tracking, oocl shipment tracking, oocl vessel tracking, oocl eta tracking, orient overseas container line tracking, oocl cargo release, oocl customs clearance, oocl container status, oocl event history, ocean freight tracking, container tracking api, bill of lading tracker, booking number tracking, shipping line tracking, freight forwarder tracking, import container tracking, vessel voyage tracking, oolu tracking

# Actor input Schema

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

OOCL container numbers (for example OOLU9679728), bill of lading numbers (for example OOLU2162169420) or booking numbers, one per line. Spaces and dashes are ignored. An OOCL tracking link works too.

## `trackingType` (type: `string`):

Leave on Auto-detect. Pick a type only when every number is the same kind and Auto-detect would guess wrong.

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

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

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

Adds the full shipment 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 4, maximum 8.

## `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": [
    "OOLU2162169420"
  ],
  "trackingType": "auto",
  "includeRaw": false,
  "maxConcurrency": 4
}
```

# 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": [
        "OOLU2162169420"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/oocl-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": ["OOLU2162169420"] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/oocl-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": [
    "OOLU2162169420"
  ]
}' |
apify call memo23/oocl-cargo-tracking --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/oocl-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/fgTRR2f0GHDrpwjoa/builds/YW0el9AjQnDyv2pgr/openapi.json
