Skip to content
ZargoLogix

Tracking

Look up a shipment by its reference and get its status, route and history. This is the same data the public tracking site shows. No key is needed.

Look up a shipment

GET/v1/tracking/{reference}

{reference} can be any of:

curl
curl "https://api.zargologix.com/v1/tracking/ZLG90215772410"
200 OK (example values)
{
  "reference": "ZLG90215772410",
  "bookingReference": "ZBK-2026-00012",
  "shipmentReference": "ZSH-2026-00042",
  "status": "IN_TRANSIT",
  "statusLabel": "In Transit",
  "mode": "Air Freight",
  "originLabel": "Sparks, United States",
  "destLabel": "Accra, Ghana",
  "origin": { "lat": 39.5349, "lng": -119.7527 },
  "destination": { "lat": 5.6037, "lng": -0.187 },
  "deliveryPercentage": 40,
  "updatedAt": "2026-10-10T12:00:00.000Z",
  "trail": [
    {
      "status": "PICKED_UP",
      "statusLabel": "Picked Up",
      "location": "Sparks, United States",
      "lat": 39.5349,
      "lng": -119.7527,
      "at": "2026-10-09T08:00:00.000Z"
    }
  ]
}

Response fields

FieldTypeDescription
referencestringThe ZLG tracking number.
bookingReferencestring | nullZBK booking reference, if any.
shipmentReferencestring | nullZSH shipment reference, if any.
statusstringCurrent status code. See Status values.
statusLabelstringThe same status in words, ready to show to a customer.
modestringTransport mode in words, for example "Air Freight".
originLabelstringWhere it started, as "City, Country".
destLabelstringWhere it is going, as "City, Country".
originobject | nulllat and lng of the origin, when known.
destinationobject | nulllat and lng of the destination, when known.
deliveryPercentageintegerProgress from 0 to 100.
updatedAtstringWhen the shipment last changed.
trailarrayOldest first. Each entry: status, statusLabel, location (or null), lat and lng (or null), at.

What is never returned

Tracking is open to anyone who holds a reference, so it is deliberately narrow. It never includes names, email addresses, phone numbers, street addresses, prices, the contents of the shipment, or the notes staff write on updates.

Errors and limits

StatusWhenBody
404Not foundNo trackable shipment has that reference. A booking that is still awaiting approval also returns 404. Body: { "error": "..." }
422InvalidThe reference is empty or longer than 40 characters.
429Too many requestsMore than 30 lookups in a minute from one address. Wait for Retry-After seconds.
500Our errorTry again in a moment.