Get started
Quickstart
Start tracking any container across 180+ carriers with a single API call. You need your API key and one credit per lookup — that is all.
1
Get your key
Copy your API key from the dashboard. Keep it server-side — never expose it in the browser.
2
Call the API
Pass your key as a Bearer token. Each container lookup costs 1 credit and returns a normalized response.
3
Poll for events
Call the events endpoint to get the full milestone history for any container at any time.
Authenticate & track
curl https://api.cargodocked.com/v1/containers/MSCU7432105 \ -H "Authorization: Bearer sk_live_..."
Replace sk_live_... with your actual key from the dashboard.
Response
{
"container": "MSCU7432105",
"carrier": "MSC",
"status": "in_transit",
"eta": "2026-06-14T06:40:00Z",
"pol": "CNSHA",
"pod": "NLRTM",
"vessel": "MSC LORETO",
"last_event": "vessel_departed",
"credits_charged": 1
}Core endpoints
GET
/v1/containers/{number}Track a single container — 1 creditPOST
/v1/containers/bulkTrack up to 1,000 in one callGET
/v1/containers/{number}/eventsFull milestone historyNeed more credits?
Each lookup costs 1 credit. Add a pay-per-credit bundle or upgrade your plan any time.