Portfolio summary — counts, exceptions, arriving soon

Changed on
get/v1/containers/summary

Request

  • Base URL
    https://api.trackingmcp.com
  • Auth
    HTTP bearer

Query parameters

filter, 'all' | 'exceptions' | 'arriving_soon' | 'demurrage_risk'

Which boxes to list in data.containers. The four headline counts (total_active, exceptions, arriving_this_week, demurrage_risk_usd) always cover the whole active fleet and are NOT narrowed by this filter — only the container list is. exceptions = status in customs_hold / rolled / delayed / at_transshipment; arriving_soon = an ETA inside the next 7 days; demurrage_risk = boxes with live demurrage exposure. Anything unrecognised behaves as all.

since, string date-time

Optional ISO 8601 date-time, within the last 90 days. When given, data.containers lists only the shipments that changed after it: a move that happened, or a new or re-timed plan from the line. Each listed shipment gains new_moves and last_change_at, and data gains since and changed. The four headline counts are not narrowed. Use it to answer "what is new since I last asked". An invalid, future or older value answers 400 VALIDATION_ERROR.

Response

Aggregated fleet summary.

object required
ok, true required
api_version, string

The response contract this build answers, as a date. Pin it in your client.

data, PortfolioSummary required

The payload. Everything an endpoint returns sits under this key.

Changes

    • info

      added the new optional query request parameter since

    • info

      added the optional property data/changed to the response with the status

    • info

      added the optional property data/containers/items/last_change_at to the response with the status

    2 more changes in this revision