API reference › Tracking & events
GET/track/{trackingNumber}
Passive tracking status (cron-cached); master or package tracking number
- Key scope
tracking:read- Idempotency-Key
- Not used
- URL
https://ids.express/api/v1/track/{trackingNumber}
Parameters
trackingNumberpath · stringrequired
Call it
curl -s "https://ids.express/api/v1/track/$TRACKING_NUMBER" \
-H "Authorization: Bearer $IDS_KEY"Answers
200 Status
Headers: X-Request-Id
application/json — TrackStatus
trackingNumberstringrequiredshipmentIdstring (uuid)requiredstatusstringrequiredone of: draft · pending · confirmed · in_transit · delivered · cancelled · exception · failed
carrierStatusstringrequirednullablecarrierStatusDescriptionstringrequirednullableestimatedDeliveryDatestring (date-time)requirednullableactualDeliveryDatestring (date-time)requirednullablelastTrackedAtstring (date-time)requirednullabledeliveryStatestringrequiredone of: label_created · pickup_scheduled · picked_up · in_transit · customs · out_for_delivery · delivery_attempt_failed · at_pickup_point · collected_from_pickup_point · delivered · refused · returning_to_sender · returned_to_sender · exception · lost · cancelled
EV: the delivery state, normalised across carriers — label_created, pickup_scheduled, picked_up, in_transit, customs, out_for_delivery, delivery_attempt_failed, at_pickup_point, collected_from_pickup_point, delivered, refused, returning_to_sender, returned_to_sender, exception, lost, cancelled. delivered and collected_from_pickup_point are the handover to the recipient — never a return to the sender (returned_to_sender) or an arrival at a pickup point (at_pickup_point). lost only by the carrier's own code or IDS's decision (a later scan of movement, delivery or return replaces it; it is no complaint and changes no complaint deadline), never from missing scans. at_pickup_point is «waiting for collection» (IDR's postal conditions treat a deposit into a parcel locker the addressee chose as a handover; IDS shows it as waiting until the carrier reports the collection). delivered is the carrier's report of the handover.
scans[]array of objectrequiredEV: the carrier's scans, oldest first (kept since 01.11.2026).
idstring (uuid)requiredcodestringrequiredThe carrier's code of the scan (FedEx Track codes: OC, PU, DP, AR, OD, DL, DE, HL, RS, SE, …; IDS_LOST — considered lost by IDS).
descriptionstringrequiredThe carrier's own words (English).
occurredAtstring (date-time)requiredlocationobjectrequirednullablecitystringrequirednullablestateCodestringrequirednullablecountryCodestringrequirednullabledeliveryStatestringrequirednullableone of: label_created · pickup_scheduled · picked_up · in_transit · customs · out_for_delivery · delivery_attempt_failed · at_pickup_point · collected_from_pickup_point · delivered · refused · returning_to_sender · returned_to_sender · exception · lost · cancelled · null
What the scan means in the history (a DL after a return is returned_to_sender); null — a code that changes nothing.
exceptionCodestringrequirednullablesourcestringrequiredone of: carrier · ids
ids: a decision of IDS (considered lost), not a carrier scan.
{
"trackingNumber": "794600000001",
"shipmentId": "0192f0c2-5d1e-7a3b-9c4d-2e8f1a6b7c90",
"status": "in_transit",
"carrierStatus": "IT",
"carrierStatusDescription": "In transit",
"estimatedDeliveryDate": "2026-11-03T12:00:00.000Z",
"actualDeliveryDate": null,
"lastTrackedAt": "2026-11-02T14:20:00.000Z",
"deliveryState": "in_transit",
"scans": [
{
"id": "0192f1a0-0000-4000-8000-000000000101",
"code": "PU",
"description": "Picked up",
"occurredAt": "2026-11-02T09:41:00.000Z",
"location": {
"city": "BUCHAREST",
"stateCode": null,
"countryCode": "RO"
},
"deliveryState": "picked_up",
"exceptionCode": null,
"source": "carrier"
},
{
"id": "0192f1a0-0000-4000-8000-000000000102",
"code": "DP",
"description": "Departed FedEx location",
"occurredAt": "2026-11-02T14:05:00.000Z",
"location": {
"city": "BUCHAREST",
"stateCode": null,
"countryCode": "RO"
},
"deliveryState": "in_transit",
"exceptionCode": null,
"source": "carrier"
}
]
}401 AUTHENTICATION_FAILED — missing, malformed, invalid, revoked or expired key
Headers: X-Request-Id
Codes: AUTHENTICATION_FAILED
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
403 API_ACCESS_DISABLED / API_ACCOUNT_DISABLED / API_KEY_IP_NOT_ALLOWED / API_TERMS_NOT_ACCEPTED / FORBIDDEN_SCOPE / API_OWNER_NOT_BILLABLE; a platform's key: PLATFORM_SUSPENDED (a quote, booking or test operation of a suspended platform) / PLATFORM_TARIFF_MISSING (a quote or booking before IDS set its tariff)
Headers: X-Request-Id
Codes: API_ACCESS_DISABLEDAPI_ACCOUNT_DISABLEDAPI_KEY_IP_NOT_ALLOWEDAPI_TERMS_NOT_ACCEPTEDFORBIDDEN_SCOPEAPI_OWNER_NOT_BILLABLEPLATFORM_SUSPENDEDPLATFORM_TARIFF_MISSING
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
404 NOT_FOUND — not visible to this key (other account or other environment)
429 RATE_LIMITED — per-key or per-IP limit exceeded; wait Retry-After seconds
Headers: X-Request-IdRetry-After
Codes: RATE_LIMITED
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
500 INTERNAL_ERROR
Headers: X-Request-Id
Codes: INTERNAL_ERROR
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
503 API_DISABLED (API switched off); CARRIER_NOT_CONFIGURED / CURRENCY_RATE_MISSING where a carrier or FX rate is used
Headers: X-Request-Id
Codes: API_DISABLEDCARRIER_NOT_CONFIGUREDCURRENCY_RATE_MISSING
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
Error codes of this operation
The codes the answers of this operation name. Always read error.retryable of the answer itself — «varies» means it differs per answer. The gates of every keyed request (401, 403, 429, 503) and the whole catalog: errors.
AUTHENTICATION_FAILEDHTTP 401retryable: noMissing, malformed, invalid, revoked or expired key; an environment tag that does not match. (An account switched off answers 403 API_ACCOUNT_DISABLED since SEC.)
API_ACCESS_DISABLEDHTTP 403retryable: noAPI access is switched off for this account.
API_ACCOUNT_DISABLEDHTTP 403retryable: noThe IDS account of this key is switched off, not approved or closed (for an employee's key: its franchise owner's account) — the key stops with it; contact IDS.
API_KEY_IP_NOT_ALLOWEDHTTP 403retryable: noIDS keeps a list of IP addresses for this key and the request came from another one — send it from a listed address, or ask IDS to change the list.
API_TERMS_NOT_ACCEPTEDHTTP 403retryable: noThe IDS account of this key has not accepted the API Terms of Use (/legal/api-terms) — its holder accepts them in the IDS cabinet (Integrations / API), or IDS records a signed agreement (for an employee's key: its franchise owner's account). Retrying does not help until then.
FORBIDDEN_SCOPEHTTP 403retryable: noThe key lacks the scope of this operation (x-scope).
API_OWNER_NOT_BILLABLEHTTP 403retryable: noThe account cannot be billed through the API (no pricing tier, or an admin account).
PLATFORM_SUSPENDEDHTTP 403retryable: noThe platform of this key is suspended by IDS: quotes, bookings and test operations are refused until IDS resumes it; reads, the tracking refresh, a cancellation and a complaint still work. A retry of a booking finished before the suspension replays its answer.
PLATFORM_TARIFF_MISSINGHTTP 403retryable: noThe platform has no tariff yet — IDS sets it; no quote or booking until then.
NOT_FOUNDHTTP 404retryable: noUnknown path, or an object this key may not see (another account, the other environment).
RATE_LIMITEDHTTP 429retryable: yesA limit per minute — the key's requests, its quotes, its platform's keys together, or the client IP (limitScope) — wait Retry-After seconds (retryAfterSec, limit).
INTERNAL_ERRORHTTP 500retryable: noUnexpected — for a booking, check GET /shipments before using a new key; quote the requestId.
API_DISABLEDHTTP 503retryable: noIDS switched the whole API off (/ping and /openapi.json keep answering).
CARRIER_NOT_CONFIGUREDHTTP 503retryable: noThe carrier credentials of this environment are missing.
CURRENCY_RATE_MISSINGHTTP 503retryable: noIDS has no exchange rate for the balance currency.