Authentication
API keys, request limits, and terms of use
Include a valid API key in the api_key query parameter. Get a key in your account.
Base URL for requests: https://tracking.timetocargo.com/v2.
By using the API you agree to the Terms of Service. Questions: info@timetocargo.com.
Limits
GET /v2/trackingandPOST /v2/tracking/batcheach allow up to 8 requests per minute per API key.GET /v2/tracking/batchallows up to 3 requests per second and 30 per minute per API key.POST /v2/tracking/batchaccepts between 1 and 500 numbers per request.- Use a carrier SCAC code or
company=AUTOfor automatic carrier detection. Both options support containers, bills of lading, and bookings, with an explicit or omitted number type.
GET /v2/apikey returns API key details and tracking allowance:
updated_atis the key's issue or latest reissue date in UTC.requests_remaining_countis the group's remaining credits, shared by API and account tracking.requests_limitis the full allowance of the current plan, separate from HTTP request rate limits.limits_reset_atis the scheduled quota update in UTC. It does not guarantee payment or renewal: plan changes, cancellation or unpaid renewal can change the conditions. Annual prepaid plans provide credits for the entire period without monthly replenishment.
A null remaining count means it could not be retrieved. A null limit means plan details are unavailable; a null date means no scheduled date or unavailable details. Zero means a known zero allowance.
Demo without registration
The public key aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee lets you try three methods without registration: single tracking (container, bill of lading, booking and automatic detection), GET /v2/companies and GET /v2/apikey. Enter it in the API key field on the reference page for the method. Requests use the normal parameter validation.
curl --get 'https://tracking.timetocargo.com/v2/tracking' \
--data-urlencode 'api_key=aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee' \
--data-urlencode 'company=COSU' \
--data-urlencode 'type=container' \
--data-urlencode 'value=CSQU3054383'Demo responses include the X-Demo-Response: true header.
GET /v2/trackingreturns the same sample response for anytype, for testing your integration. Therequestfield echoes the submitted parameters.GET /v2/companiesreturns the current carrier list.GET /v2/apikeyreturns zero for the allowance and remaining credits.limits_reset_atisnull.
Demo requests do not create tracking records or consume credits. Other methods and API v1 require a regular key.
Demo single tracking and GET /v2/companies allow 60 requests per minute per IP for each operation. GET /v2/apikey allows 10 requests per second per IP. Visitors sharing an external address, including requests through the documentation, may share these limits.
Tracking number types
type value | Tracking number |
|---|---|
container | Container number |
bl | Bill of lading number |
bk | Booking number |
If the carrier is not listed, try company=AUTO with a container number. Some ocean carriers and railway operators share a data source, so different carriers may return the same tracking results.
Last updated on