GETAPI key
Portfolio summary
GETapi.trackingmcp.com/v1/containers/summary
One roll-up of your whole book: how many are active, how many in exception, how many arriving soon, and demurrage risk.
Response fields
Derived from the example response.
ok
active
exceptions
arriving_soon
demurrage_at_risk
curl https://api.trackingmcp.com/v1/containers/summary \
-H "Authorization: Bearer tmcp_YOUR_API_KEY"const res = await fetch("https://api.trackingmcp.com/v1/containers/summary", {
headers: {
"Authorization": "Bearer tmcp_YOUR_API_KEY"
}
});
const data = await res.json();import requests
res = requests.get(
"https://api.trackingmcp.com/v1/containers/summary",
headers={"Authorization": "Bearer tmcp_YOUR_API_KEY"},
)
data = res.json() Response
{
"ok": true,
"active": 128,
"exceptions": 6,
"arriving_soon": 14,
"demurrage_at_risk": 3
}