Track up to 50 containers or bills of lading in one request — the batch form of GET /container and GET /bl. sealine is optional per item, as it is on those two. New shipments are saved to your account and consume a slot each; ones you already track are re-fetched free. Per-item results: the request returns 200 even when some items fail — branch on each results[].ok.
Request
POST https://traqocontainer.com/api/v1/track
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.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
defer | boolean | No | Accept the references and fetch them LATER, instead of calling every carrier while you wait. Every item comes back as |
shipments | array of object | Yes | Up to 50 shipments to track in one request. |
Example request
curl -X POST "https://traqocontainer.com/api/v1/track" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"shipments":[{"type":"container","number":"MRSU6859427","sealine":"MAEU"},{"type":"bl","number":"SHZ8037930"}]}'Run it in the sandbox — no key, no account: the same request answers at https://traqocontainer.com/api/v1/sandbox/track with a schema-identical reply.
Responses
Example 200 body:
{
"success": true,
"total": 2,
"tracked": 2,
"failed": 0,
"slots": {
"used": 12,
"limit": 25,
"remaining": 13,
"consumed": 0
},
"results": [
{
"index": 0,
"number": "MRSU6859427",
"type": "Container",
"ok": true,
"slot_consumed": false,
"replaced": false,
"cached": false,
"carrier": {
"sealine": "MAEU",
"provided": true
},
"data": {
"reference_number": "MRSU6859427",
"shipment_type": "Container",
"sealine": "MAEU",
"sealine_name": "Maersk",
"status": "DELIVERED",
"origin": "Mundra, India",
"destination": "Rotterdam, Netherlands",
"number_of_containers": 1,
"eta": "2026-11-01 13:04:06",
"ata": "2026-11-01 13:04:06",
"total_days": 57,
"remaining_days": 0,
"is_active": false,
"is_delayed": false,
"closed_at": null,
"last_updated_at": "2026-10-31 21:04:06",
"latitude": "51.92",
"longitude": "4.48",
"containers_table": [
{
"idx": 1,
"container_number": "MRSU6859427",
"iso_code": "45G1",
"size_type": "40HC",
"container_description": "40ft High Cube General Purpose",
"status": "DELIVERED",
"equipment_source": "carrier",
"name": 1,
"parent": null,
"doctype": "Shipment Containers Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "containers_table",
"container": "MRSU6859427"
}
],
"container_summary": "1×40HC",
"locations_table": [
{
"id": 1,
"name": 1,
"state": null,
"country": "India",
"country_code": "IN",
"locode": "INMUN",
"lat": 22.839,
"lng": 69.727,
"timezone": "Asia/Kolkata",
"location_id": 1,
"location": "Mundra",
"latitude": "22.839",
"longitude": "69.727",
"idx": 1,
"parent": null,
"doctype": "Shipment Locations Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "locations_table"
},
{
"id": 2,
"name": 2,
"state": null,
"country": "China",
"country_code": "CN",
"locode": "CNSHA",
"lat": 31.23,
"lng": 121.47,
"timezone": "Asia/Shanghai",
"location_id": 2,
"location": "Shanghai",
"latitude": "31.23",
"longitude": "121.47",
"idx": 2,
"parent": null,
"doctype": "Shipment Locations Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "locations_table"
}
],
"voyage_plan_table": [
{
"port": "Mundra",
"locode": "INMUN",
"country": "India",
"vessel": "ONE APUS",
"voyage": null,
"atd": "2026-09-05 17:34:06",
"leg": "prepol",
"phase": "prepol",
"location_id": 1,
"date": "2026-09-05 17:34:06",
"is_actual": 1,
"idx": 1,
"name": 1,
"parent": null,
"doctype": "Shipment Voyage Plan Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "voyage_plan_table",
"predictive_eta": null
},
{
"port": "Mundra",
"locode": "INMUN",
"country": "India",
"vessel": "ONE APUS",
"voyage": null,
"atd": "2026-09-12 13:43:42",
"leg": "pol",
"phase": "pol",
"location_id": 1,
"date": "2026-09-12 13:43:42",
"is_actual": 1,
"idx": 2,
"name": 2,
"parent": null,
"doctype": "Shipment Voyage Plan Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "voyage_plan_table",
"predictive_eta": null
}
],
"route_json": "[[22.839,69.727],[31.23,121.47],[51.92,4.48]]",
"events_table": [
{
"idx": 1,
"location": "Mundra",
"country": "India",
"locode": "INMUN",
"description": "Gate in full",
"date": "2026-09-05 17:34:06",
"timestamp": "2026-09-05 17:34:06",
"type": "land",
"event_type": "EQUIPMENT",
"event_code": "GTIN",
"transport_type": "TRUCK",
"is_actual": 1,
"status": "CGI",
"status_description": "Container arrival at first POL (Gate in)",
"vessel": null,
"voyage": null,
"container_number": "MRSU6859427",
"event_id": 1,
"name": 1,
"doctype": "Container Events Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "events_table",
"location_id": 1,
"facility_id": 0,
"vessel_id": 0,
"shipment_id": null,
"parent": null,
"mode_type": "sea",
"state": null,
"latitude": "22.839",
"longitude": "69.727",
"event_uid": "622b94d61ab08215",
"timestamp_utc": "2026-09-05T12:04:06Z",
"timezone": "Asia/Kolkata"
},
{
"idx": 2,
"location": "Mundra",
"country": "India",
"locode": "INMUN",
"description": "Loaded on vessel",
"date": "2026-09-10 07:00:30",
"timestamp": "2026-09-10 07:00:30",
"type": "sea",
"event_type": "EQUIPMENT",
"event_code": "LOAD",
"transport_type": "VESSEL",
"is_actual": 1,
"status": "CLL",
"status_description": "Container loaded at first POL",
"vessel": "ONE APUS",
"voyage": "270E",
"container_number": "MRSU6859427",
"event_id": 2,
"name": 2,
"doctype": "Container Events Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "events_table",
"location_id": 1,
"facility_id": 0,
"vessel_id": 1,
"shipment_id": null,
"parent": null,
"mode_type": "sea",
"state": null,
"latitude": "22.839",
"longitude": "69.727",
"event_uid": "b69ebd7d464e0406",
"timestamp_utc": "2026-09-10T01:30:30Z",
"timezone": "Asia/Kolkata"
}
],
"vessels_table": [
{
"idx": 1,
"vessel_id": 1,
"vessel": "ONE APUS",
"imo": "9496631",
"mmsi": "466401445",
"is_current": 1,
"name": 1,
"parent": null,
"doctype": "Shipment Vessels Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "vessels_table"
}
],
"failure_code": 0,
"eta_utc": "2026-11-01T12:04:06Z",
"eta_timezone": "Europe/Amsterdam",
"ata_utc": "2026-11-01T12:04:06Z",
"ata_timezone": "Europe/Amsterdam",
"pod_timezone": "Europe/Amsterdam"
}
},
{
"index": 1,
"number": "MEDUFR123456",
"type": "Bill of Lading",
"ok": true,
"slot_consumed": false,
"replaced": false,
"cached": false,
"carrier": {
"sealine": "MSCU",
"provided": true
},
"data": {
"reference_number": "MEDUFR123456",
"shipment_type": "Bill of Lading",
"sealine": "MSCU",
"sealine_name": "MSC",
"status": "DELIVERED",
"origin": "Los Angeles, United States",
"destination": "Rotterdam, Netherlands",
"number_of_containers": 4,
"eta": "2026-11-01 13:04:06",
"ata": "2026-11-01 13:04:06",
"total_days": 52,
"remaining_days": 0,
"is_active": false,
"is_delayed": false,
"closed_at": null,
"last_updated_at": "2026-11-01 00:04:06",
"latitude": "51.92",
"longitude": "4.48",
"containers_table": [
{
"idx": 1,
"container_number": "MSCU2897331",
"iso_code": "45G1",
"size_type": "40HC",
"container_description": "40ft High Cube General Purpose",
"status": "DELIVERED",
"equipment_source": "carrier",
"name": 1,
"parent": null,
"doctype": "Shipment Containers Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "containers_table",
"container": "MSCU2897331"
},
{
"idx": 2,
"container_number": "MSCU8242141",
"iso_code": "45R1",
"size_type": "40HC-RF",
"container_description": "40ft High Cube Refrigerated",
"status": "DELIVERED",
"equipment_source": "carrier",
"name": 2,
"parent": null,
"doctype": "Shipment Containers Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "containers_table",
"container": "MSCU8242141"
}
],
"container_summary": "1×40GP, 1×40HC, 1×40HC-RF",
"locations_table": [
{
"id": 1,
"name": 1,
"state": null,
"country": "United States",
"country_code": "US",
"locode": "USLAX",
"lat": 33.73,
"lng": -118.26,
"timezone": "America/Los_Angeles",
"location_id": 1,
"location": "Los Angeles",
"latitude": "33.73",
"longitude": "-118.26",
"idx": 1,
"parent": null,
"doctype": "Shipment Locations Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "locations_table"
},
{
"id": 2,
"name": 2,
"state": null,
"country": "India",
"country_code": "IN",
"locode": "INMUN",
"lat": 22.839,
"lng": 69.727,
"timezone": "Asia/Kolkata",
"location_id": 2,
"location": "Mundra",
"latitude": "22.839",
"longitude": "69.727",
"idx": 2,
"parent": null,
"doctype": "Shipment Locations Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "locations_table"
}
],
"voyage_plan_table": [
{
"port": "Los Angeles",
"locode": "USLAX",
"country": "United States",
"vessel": "AL ZUBARA",
"voyage": null,
"atd": "2026-09-10 05:04:06",
"leg": "prepol",
"phase": "prepol",
"location_id": 1,
"date": "2026-09-10 05:04:06",
"is_actual": 1,
"idx": 1,
"name": 1,
"parent": null,
"doctype": "Shipment Voyage Plan Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "voyage_plan_table",
"predictive_eta": null
},
{
"port": "Los Angeles",
"locode": "USLAX",
"country": "United States",
"vessel": "AL ZUBARA",
"voyage": null,
"atd": "2026-09-16 10:49:42",
"leg": "pol",
"phase": "pol",
"location_id": 1,
"date": "2026-09-16 10:49:42",
"is_actual": 1,
"idx": 2,
"name": 2,
"parent": null,
"doctype": "Shipment Voyage Plan Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "voyage_plan_table",
"predictive_eta": null
}
],
"route_json": "[[33.73,-118.26],[22.839,69.727],[51.92,4.48]]",
"events_table": [
{
"idx": 1,
"location": "Los Angeles",
"country": "United States",
"locode": "USLAX",
"description": "Gate in full",
"date": "2026-09-10 05:04:06",
"timestamp": "2026-09-10 05:04:06",
"type": "land",
"event_type": "EQUIPMENT",
"event_code": "GTIN",
"transport_type": "TRUCK",
"is_actual": 1,
"status": "CGI",
"status_description": "Container arrival at first POL (Gate in)",
"vessel": null,
"voyage": null,
"container_number": "MSCU2897331",
"event_id": 1,
"name": 1,
"doctype": "Container Events Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "events_table",
"location_id": 1,
"facility_id": 0,
"vessel_id": 0,
"shipment_id": null,
"parent": null,
"mode_type": "sea",
"state": null,
"latitude": "33.73",
"longitude": "-118.26",
"event_uid": "388f91c0fd4740ff",
"timestamp_utc": "2026-09-10T12:04:06Z",
"timezone": "America/Los_Angeles"
},
{
"idx": 1,
"location": "Los Angeles",
"country": "United States",
"locode": "USLAX",
"description": "Gate in full",
"date": "2026-09-10 05:04:06",
"timestamp": "2026-09-10 05:04:06",
"type": "land",
"event_type": "EQUIPMENT",
"event_code": "GTIN",
"transport_type": "TRUCK",
"is_actual": 1,
"status": "CGI",
"status_description": "Container arrival at first POL (Gate in)",
"vessel": null,
"voyage": null,
"container_number": "MSCU8242141",
"event_id": 2,
"name": 2,
"doctype": "Container Events Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "events_table",
"location_id": 1,
"facility_id": 0,
"vessel_id": 0,
"shipment_id": null,
"parent": null,
"mode_type": "sea",
"state": null,
"latitude": "33.73",
"longitude": "-118.26",
"event_uid": "7f0ceffe81744569",
"timestamp_utc": "2026-09-10T12:04:06Z",
"timezone": "America/Los_Angeles"
}
],
"vessels_table": [
{
"idx": 1,
"vessel_id": 1,
"vessel": "AL ZUBARA",
"imo": "9113553",
"mmsi": "676378063",
"is_current": 1,
"name": 1,
"parent": null,
"doctype": "Shipment Vessels Table",
"owner": null,
"creation": null,
"modified": null,
"modified_by": null,
"docstatus": 0,
"parenttype": "Shipments",
"parentfield": "vessels_table"
}
],
"failure_code": 0,
"eta_utc": "2026-11-01T12:04:06Z",
"eta_timezone": "Europe/Amsterdam",
"ata_utc": "2026-11-01T12:04:06Z",
"ata_timezone": "Europe/Amsterdam",
"pod_timezone": "Europe/Amsterdam"
}
}
]
}| Status | Meaning |
|---|---|
200 | Per-item results (some items may have failed) |
400 | Bad request — check required parameters. |
401 | Invalid or missing API key. |
402 | Payment required — shipment limit reached or payment overdue. Branch on |
403 | Developer mode not enabled, or the feature is not on your plan. |
429 | Rate limit exceeded — see the Retry-After header. The body names the plan the limit was computed from ( |
Error bodies and retry advice: Errors.