GET /shipments/{id}

Get a shipment

Read one shipment in your account, a teammate’s included — no re-track, no slot. Add ?include=full for the stored document.

A saved shipment summary (status, ETA, route) from local data — no upstream re-track, never consumes a slot. Includes predictive_eta / demurrage_risk when enabled on your plan, until the shipment arrives (an ata, or delivered) — absent after that.

Add ?include=full to get the STORED tracking document alongside the summary: events, containers, vessels, locations, voyage plan and route, exactly as last fetched. That read is local — no carrier call, no slot, no re-add rate limit — so this is the endpoint to poll. Use /container/{number} or /bl/{number} only when you want a fresh fetch from the carrier.

Reads any shipment in your account that your user can see, including one a teammate added in the dashboard. A teammate limited to certain customers or lanes sees only those, as in the dashboard; anything else answers 404.

A number that is not on your account answers 404, because this read never adds a shipment. Add it with POST /track first.

Request

GET https://traqocontainer.com/api/v1/shipments/{id}

Authentication.

Your API key as a Bearer token: Authorization: Bearer YOUR_API_KEY.

Rate limit.Each API key gets 120 requests per minute by default; your key's own budget comes back in the X-RateLimit-* headers.Limits by plan.

Parameters

NameInTypeRequiredDescription
idpathstringYes

The shipment id (the name field from /shipments) OR the container / bill-of-lading number you track it by, e.g. HAMU2423388. Either works; the reference is the one a human will recognise in a support conversation.

includequery"full"No

Set to full to add the stored tracking document under document, with cached_at telling you how current it is. Omit for the summary alone.

Example request

curl "https://traqocontainer.com/api/v1/shipments/MSCU1234567?include=full" \
  -H "Authorization: Bearer YOUR_API_KEY"

Run it in the sandbox — no key, no account: the same request answers at https://traqocontainer.com/api/v1/sandbox/shipments/{id} with a schema-identical reply.

Responses

Example 200 body:

{
  "success": true,
  "data": {
    "name": "SHP-1000",
    "reference_number": "SBXU1184991",
    "shipment_type": "Container",
    "sealine": "ONEY",
    "sealine_name": "Ocean Network Express",
    "status": "IN_TRANSIT",
    "origin": "Singapore, Singapore",
    "destination": "Rotterdam, Netherlands",
    "eta": "2026-11-21 12:04:06",
    "ata": null,
    "eta_utc": "2026-11-21T12:04:06Z",
    "eta_timezone": "UTC",
    "ata_utc": null,
    "ata_timezone": null,
    "pod_timezone": "Europe/Amsterdam",
    "total_days": 44,
    "remaining_days": 20,
    "number_of_containers": 1,
    "is_active": true,
    "is_delayed": false,
    "created_at": null,
    "last_synced_at": "2026-11-01T11:00:00.000Z",
    "customers": [
      "Acme GmbH"
    ],
    "terminal": [
      {
        "status": "found",
        "checked_at": "2026-10-06T09:12:00.000Z",
        "port_locode": "USLAX",
        "container_number": "SBXU1184991",
        "port_name": "Los Angeles",
        "port_time_zone": "America/Los_Angeles",
        "direction": "import",
        "timeline_label": "APM Terminals Pier 400",
        "stale": false,
        "call_complete": false,
        "facts": {
          "terminal": "USLAX",
          "seal_number": "SB-1000001",
          "size_type_height": "40/HC/96",
          "iso_code": "45G1",
          "bill_of_lading": "SBXBL1000",
          "vessel_voyage": "SANDBOX VOYAGER · 101E",
          "weight": {
            "value": 21400,
            "unit": "kg",
            "kg": 21400
          },
          "additional_facts": [
            {
              "key": "truckNumber",
              "label": "Truck",
              "value": "SB-TRK-7"
            }
          ],
          "state": {
            "value": "in_yard",
            "raw": "YARD"
          },
          "yard_location": "Row 14, Bay 3",
          "readiness_reason": "Freight hold",
          "holds": {
            "customs": {
              "value": "released",
              "raw": "RELEASED"
            },
            "freight": {
              "value": "held",
              "raw": "TMF"
            }
          },
          "readiness": false,
          "last_free_day": {
            "date": "2026-10-09",
            "days_left": 3
          }
        },
        "events": [
          {
            "kind": "discharge",
            "label": "Discharged",
            "time": "2026-10-05T07:20:00-07:00",
            "time_zone": "America/Los_Angeles",
            "at": "2026-10-05T14:20:00.000Z",
            "vessel": "SANDBOX VOYAGER",
            "place": null,
            "truck_number": null,
            "movement": "discharge",
            "confirms": null
          }
        ],
        "source": {
          "label": "APM Terminals Pier 400 — Los Angeles",
          "operator": "APM Terminals",
          "port_locode": "USLAX"
        }
      },
      {
        "status": "finding",
        "checked_at": null,
        "port_locode": "CNNSA",
        "port_name": "Nansha",
        "container_number": "SBXU1184991",
        "next_check_at": null
      }
    ]
  }
}
StatusMeaning
200

Shipment summary. With ?include=full, also document (the stored tables, or null when nothing has been fetched yet — see hint), cached_at and mode: "stored".

400

Bad request — check required parameters.

401

Invalid or missing API key.

403

Developer mode not enabled, or the feature is not on your plan.

404

Shipment not found in your account. GET /api/v1/shipments/{id} never adds a shipment. Add it first with POST /api/v1/track (a new one takes a slot), then read it by its container or BL number.

429

Rate limit exceeded — see the Retry-After header. The body names the plan the limit was computed from (plan, always the ORGANISATION’s plan, not the row your key hangs off) and what would raise it: upgrade with next_plan and next_limit_per_min, or contactUrl when there is no plan above yours. Exactly one of the two is present.

Error bodies and retry advice: Errors.