DEV Community

Anna
Anna

Posted on

Tracking CMA CGM Containers by Prefix Using JsonCargo API

One example we recently worked on was tracking containers with a specific prefix:

Prefix: TIIU
Shipping line: CMA CGM

This article shows how we built a simple workflow using the JsonCargo API to monitor these containers and extract their latest tracking data.

JsonCargo Container Tracking API

The container tracking API provided by JsonCargo is a useful tool for logistics companies, freight forwarders, importers, exporters, and supply chain platforms. It allows users to retrieve tracking information for containers and monitor their latest movements through a unified API.

This API can be especially useful when tracking a specific group of containers that follow a defined pattern. For example, users may want to monitor containers with the prefix TIIU that belong to the shipping line CMA CGM. This makes it easier to organize internal workflows, automate tracking checks, and focus only on relevant equipment.

Clients using this kind of API may include freight and logistics companies, container visibility platforms, and businesses that need to track shipments across multiple carriers without building separate integrations. By using a single API, they can standardize tracking data and simplify operational processes.

The main purpose of the JsonCargo container tracking API is to provide the latest tracking data for a container, including recent status updates, movement events, and shipment progress. This helps users stay informed about the current state of a container and build systems for monitoring active cargo.

Specs:
Format: JSON
Method: GET
Endpoint: /container/tracking

Filters:
container number

Example container:
TIIU1234567

Shipping line:
CMA CGM

Get Containers Details API Documentation

API Request: http://api.jsoncargo.com/api/v1/containers/TIIU4345788?shipping_line=CMA_CGM

Top comments (0)