Create a batch tracking task
Download OpenAPICreates a task for between 1 and 500 tracking numbers. Processing is asynchronous. The API returns a task_id without waiting for tracking results. Use it with GET /v2/tracking/batch to retrieve the task state and results later. Task data is cached for up to 6 hours.
api_keyapi_key<token>need_route?booleanWhether to include route information
falseapplication/json- body
tracked_items*array<>Array of tracking numbers (max 500)
items <= 500OK
application/json- response
success*booleanWhether processing succeeded. For tracking results, also check status: success=true does not mean data was found.
data*|Details of the created task
status*stringRequest execution status
"OK""WRONG_PARAMS""UNEXPECTED_ERROR""API_KEY_WRONG""API_KEY_LIMIT_REACHED""API_KEY_RATE_LIMIT""LOW_BALANCE""SERVICE_UNAVAILABLE"curl -X POST 'https://tracking.timetocargo.com/v2/tracking/batch?need_route=false' \ -H 'Content-Type: application/json' \ -d '{ "tracked_items": [ { "company": "COSU", "track_number": { "value": "CSNU6184414", "type": "container" } }, { "company": "AKKU", "track_number": { "value": "AKKNEM25072638", "type": "bl" } } ]}'{ "success": true, "data": { "task_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "status": "OK"}List supported carriers GET
Returns SCAC codes, cn/bl/bk support flags and availability with active and deactivated_at for each type. Disabling one type does not change support for the others. Null means an unsupported type. For AUTO, all three types return { active: true, deactivated_at: null }, indicating automatic detection availability rather than the availability of every carrier. Cached status refreshes every two minutes; Core checks actual availability.
Get batch tracking status and results GET
Returns the state of a task created with `POST /v2/tracking/batch`. In `data.status`, `CREATED` means queued, `HANDLING` means processing, and `PROCESSED` means complete. Once complete, read `data.results` and stop requesting the task state. Use tracking requests or webhooks for later shipment updates. Task data is cached for up to 6 hours.