Trackings

Embed
Preview of the card
<a href="https://trackified.net/docs/ref-trackings"><img src="https://trackified.net/docs/_api/public/orgs/e2a7773e-db9e-41cb-bd59-bd248745cac3/spaces/9d63a5d4-feb0-4803-84a5-dc68639362a6/pages/26d6fac8-abc8-42ee-aa44-894a8226f1b5/social-card.svg?v=3e7ae33eec8b" alt="Trackings" width="600" height="315"></a>
GEThttps://api.trackified.net/v1/trackings

List trackings

Parameters

limitintegerquery
= 50
offsetintegerquery
= 0
statusstringquery
not_yet_scanned | in_transit | out_for_delivery | available_for_pickup | delivered | exception | returned | unknown
carrierstringquery
custom_idstringquery
Your own reference, exactly as sent on create.
tracking_numberstringquery
Exact match.

Code samples

cURL
curl -X GET "https://api.trackified.net/v1/trackings" \
  -H "Authorization: Bearer $TRACKIFIED_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Trackings, newest first
Example
{
  "data": [
    {
      "id": "string",
      "tracking_number": "string",
      "carrier": "string",
      "carrier_detected": true,
      "status": "not_yet_scanned",
      "events": [
        {
          "occurred_at": "string",
          "time_zone_known": true,
          "status": "info_received",
          "description": "string",
          "location": "string",
          "date": "string"
        }
      ],
      "estimated_delivery": "2024-01-01T00:00:00Z",
      "delivered_at": "string",
      "delivered_at_time_zone_known": true,
      "delivery_detected_at": "2024-01-01T00:00:00Z",
      "exception": "string",
      "service_level": "string",
      "custom_id": "string",
      "customer_email": "string",
      "last_scraped_at": "2024-01-01T00:00:00Z",
      "next_scrape_at": "2024-01-01T00:00:00Z",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ],
  "pagination": {
    "limit": 0,
    "offset": 0,
    "total": 0
  }
}
Schema
dataTracking[]required
Show child parameters
idstring
tracking_numberstring
carrierstring
carrier_detectedboolean
statusstring
not_yet_scanned | in_transit | out_for_delivery | available_for_pickup | delivered | exception | returned | unknown
eventsTrackingEvent[]
Always newest first, guaranteed by the API: sorted by occurred_at descending. Events whose occurred_at is null follow the dated ones, in the order the carrier listed them.
Show child parameters
occurred_atstringrequired
ISO 8601. With an offset (2026-06-25T14:31:28Z) when the carrier gave a time zone; otherwise the local time where the scan happened, with no offset (2026-06-25T14:22:00), or a date alone (2026-06-25). A zoneless occurred_at is the local time where the scan happened, not UTC. null when the carrier's time couldn't be read; the original is in date.
time_zone_knownbooleanrequired
true when the carrier gave an offset, which occurred_at then includes.
statusstringrequired
info_received: the carrier has the shipment's details (label created) but not the parcel. in_transit: picked up and moving, including leaving the shipper. out_for_delivery: on the final delivery run. available_for_pickup: waiting at a collection point for the recipient. A tracking with only info_received events is not_yet_scanned.
info_received | in_transit | out_for_delivery | available_for_pickup | delivered | exception | returned | unknown
descriptionstringrequired
locationstringrequired
datestringrequireddeprecated
Deprecated: sent until 2027-06-01, then removed. The time exactly as the carrier printed it. Use occurred_at and time_zone_known.
estimated_deliverystring
delivered_atstring
When it was delivered: the delivered scan's time, in the same form as an event's occurred_at. Only falls back to delivery_detected_at when the scan's time can't be read.
delivered_at_time_zone_knownboolean
delivery_detected_atstring
When Trackified first saw it delivered.
exceptionstring
service_levelstring
custom_idstring
customer_emailstring
last_scraped_atstring
next_scrape_atstring
created_atstring
updated_atstring
paginationobjectrequired
Show child parameters
limitinteger
offsetinteger
totalinteger
401 Error
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}
Schema
errorobject
Show child parameters
codestring
messagestring
request_idstring
429 Error

Same as 401 · GET /v1/trackings

POSThttps://api.trackified.net/v1/trackings

Add a tracking

Send an Idempotency-Key header to make retries safe: for 24 hours, the same key with the same body returns the tracking it created (with Idempotent-Replayed: true) instead of adding another. The same key with a different body is 422 idempotency_key_reused; a retry while the first request is still running is 409 idempotency_in_progress. Without a key, look a tracking up with GET /v1/trackings?custom_id=… before retrying.

Parameters

Idempotency-Keystringheader
1 to 255 printable characters, unique per create. A UUID or your own order id works.

Request body

application/json
tracking_numberstringrequired
carrierstring
Our carrier id, or any name GET /v1/carriers/resolve maps with confidence 0.8 or more ("USPS Priority Mail", "dhl_express"); the tracking stores and returns our id. A carrier we can't track is 422 carrier_not_supported. Leave out to detect it from the number. If no carrier can be detected confidently, the request fails with 422 carrier_not_detected; pass the carrier explicitly.
custom_idstring
Your own reference, such as an order number.
customer_emailstring
{
  "tracking_number": "string",
  "carrier": "string",
  "custom_id": "string",
  "customer_email": "string"
}

Code samples

cURL
curl -X POST "https://api.trackified.net/v1/trackings" \
  -H "Authorization: Bearer $TRACKIFIED_API_KEY" \
  -H "Idempotency-Key: <value>" \
  -H "Content-Type: application/json" \
  -d '{"tracking_number":"string","carrier":"string","custom_id":"string","customer_email":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 Created, or the tracking an earlier request with the same Idempotency-Key created
Example
{
  "id": "string",
  "tracking_number": "string",
  "carrier": "string",
  "carrier_detected": true,
  "status": "not_yet_scanned",
  "events": [
    {
      "occurred_at": "string",
      "time_zone_known": true,
      "status": "info_received",
      "description": "string",
      "location": "string",
      "date": "string"
    }
  ],
  "estimated_delivery": "2024-01-01T00:00:00Z",
  "delivered_at": "string",
  "delivered_at_time_zone_known": true,
  "delivery_detected_at": "2024-01-01T00:00:00Z",
  "exception": "string",
  "service_level": "string",
  "custom_id": "string",
  "customer_email": "string",
  "last_scraped_at": "2024-01-01T00:00:00Z",
  "next_scrape_at": "2024-01-01T00:00:00Z",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
Schema
idstring
tracking_numberstring
carrierstring
carrier_detectedboolean
statusstring
not_yet_scanned | in_transit | out_for_delivery | available_for_pickup | delivered | exception | returned | unknown
eventsTrackingEvent[]
Always newest first, guaranteed by the API: sorted by occurred_at descending. Events whose occurred_at is null follow the dated ones, in the order the carrier listed them.
Show child parameters
occurred_atstringrequired
ISO 8601. With an offset (2026-06-25T14:31:28Z) when the carrier gave a time zone; otherwise the local time where the scan happened, with no offset (2026-06-25T14:22:00), or a date alone (2026-06-25). A zoneless occurred_at is the local time where the scan happened, not UTC. null when the carrier's time couldn't be read; the original is in date.
time_zone_knownbooleanrequired
true when the carrier gave an offset, which occurred_at then includes.
statusstringrequired
info_received: the carrier has the shipment's details (label created) but not the parcel. in_transit: picked up and moving, including leaving the shipper. out_for_delivery: on the final delivery run. available_for_pickup: waiting at a collection point for the recipient. A tracking with only info_received events is not_yet_scanned.
info_received | in_transit | out_for_delivery | available_for_pickup | delivered | exception | returned | unknown
descriptionstringrequired
locationstringrequired
datestringrequireddeprecated
Deprecated: sent until 2027-06-01, then removed. The time exactly as the carrier printed it. Use occurred_at and time_zone_known.
estimated_deliverystring
delivered_atstring
When it was delivered: the delivered scan's time, in the same form as an event's occurred_at. Only falls back to delivery_detected_at when the scan's time can't be read.
delivered_at_time_zone_knownboolean
delivery_detected_atstring
When Trackified first saw it delivered.
exceptionstring
service_levelstring
custom_idstring
customer_emailstring
last_scraped_atstring
next_scrape_atstring
created_atstring
updated_atstring
Headers
Idempotent-Replayedstring
true when this is the tracking an earlier request with the same key created.
400 Error

Same as 401 · GET /v1/trackings

401 Error

Same as 401 · GET /v1/trackings

402 quota_exceeded: this month's tracking quota is used up. See GET /v1/account/usage.

Same as 401 · GET /v1/trackings

409 idempotency_in_progress: a request with this Idempotency-Key is still running. Retry in a few seconds.

Same as 401 · GET /v1/trackings

422 carrier_not_supported, carrier_not_detected or idempotency_key_reused.

Same as 401 · GET /v1/trackings

429 Error

Same as 401 · GET /v1/trackings

POSThttps://api.trackified.net/v1/trackings/bulk

Add a batch of trackings

The maximum batch size depends on your plan. Each row succeeds or fails on its own. Idempotency-Key works as on a single create: the same key with the same rows returns the first request's 207 body (with Idempotent-Replayed: true); different rows are 422 idempotency_key_reused; a retry while the first is still running is 409 idempotency_in_progress.

Parameters

Idempotency-Keystringheader
1 to 255 printable characters, unique per batch.

Request body

application/json
trackingsTrackingInput[]required
Show child parameters
tracking_numberstringrequired
carrierstring
Our carrier id, or any name GET /v1/carriers/resolve maps with confidence 0.8 or more ("USPS Priority Mail", "dhl_express"); the tracking stores and returns our id. A carrier we can't track is 422 carrier_not_supported. Leave out to detect it from the number. If no carrier can be detected confidently, the request fails with 422 carrier_not_detected; pass the carrier explicitly.
custom_idstring
Your own reference, such as an order number.
customer_emailstring
{
  "trackings": [
    {
      "tracking_number": "string",
      "carrier": "string",
      "custom_id": "string",
      "customer_email": "string"
    }
  ]
}

Code samples

cURL
curl -X POST "https://api.trackified.net/v1/trackings/bulk" \
  -H "Authorization: Bearer $TRACKIFIED_API_KEY" \
  -H "Idempotency-Key: <value>" \
  -H "Content-Type: application/json" \
  -d '{"trackings":[{"tracking_number":"string","carrier":"string","custom_id":"string","customer_email":"string"}]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

207 One result per row
Example
{
  "data": [
    {
      "ok": true,
      "tracking": {
        "id": "string",
        "tracking_number": "string",
        "carrier": "string",
        "carrier_detected": true,
        "status": "not_yet_scanned",
        "events": [
          {
            "occurred_at": "string",
            "time_zone_known": true,
            "status": "info_received",
            "description": "string",
            "location": "string",
            "date": "string"
          }
        ],
        "estimated_delivery": "2024-01-01T00:00:00Z",
        "delivered_at": "string",
        "delivered_at_time_zone_known": true,
        "delivery_detected_at": "2024-01-01T00:00:00Z",
        "exception": "string",
        "service_level": "string",
        "custom_id": "string",
        "customer_email": "string",
        "last_scraped_at": "2024-01-01T00:00:00Z",
        "next_scrape_at": "2024-01-01T00:00:00Z",
        "created_at": "2024-01-01T00:00:00Z",
        "updated_at": "2024-01-01T00:00:00Z"
      },
      "error": "string"
    }
  ]
}
Schema
dataobject[]
Show child parameters
okboolean
trackingobject
Show child parameters
idstring
tracking_numberstring
carrierstring
carrier_detectedboolean
statusstring
not_yet_scanned | in_transit | out_for_delivery | available_for_pickup | delivered | exception | returned | unknown
eventsTrackingEvent[]
Always newest first, guaranteed by the API: sorted by occurred_at descending. Events whose occurred_at is null follow the dated ones, in the order the carrier listed them.
estimated_deliverystring
delivered_atstring
When it was delivered: the delivered scan's time, in the same form as an event's occurred_at. Only falls back to delivery_detected_at when the scan's time can't be read.
delivered_at_time_zone_knownboolean
delivery_detected_atstring
When Trackified first saw it delivered.
exceptionstring
service_levelstring
custom_idstring
customer_emailstring
last_scraped_atstring
next_scrape_atstring
created_atstring
updated_atstring
errorstring
Headers
Idempotent-Replayedstring
true when this is the body an earlier request with the same key got.
400 Error

Same as 401 · GET /v1/trackings

401 Error

Same as 401 · GET /v1/trackings

402 quota_exceeded: the batch would pass this month's tracking quota.

Same as 401 · GET /v1/trackings

409 idempotency_in_progress

Same as 401 · GET /v1/trackings

422 idempotency_key_reused

Same as 401 · GET /v1/trackings

429 Error

Same as 401 · GET /v1/trackings

GEThttps://api.trackified.net/v1/trackings/{id}

Get a tracking with its events

Parameters

idstringpathrequired

Code samples

cURL
curl -X GET "https://api.trackified.net/v1/trackings/{id}" \
  -H "Authorization: Bearer $TRACKIFIED_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 The tracking

Same as 201 · POST /v1/trackings

401 Error

Same as 401 · GET /v1/trackings

404 Error

Same as 401 · GET /v1/trackings

PUThttps://api.trackified.net/v1/trackings/{id}

Update a tracking

Parameters

idstringpathrequired

Request body

application/json
carrierstring
custom_idstring
customer_emailstring
{
  "carrier": "string",
  "custom_id": "string",
  "customer_email": "string"
}

Code samples

cURL
curl -X PUT "https://api.trackified.net/v1/trackings/{id}" \
  -H "Authorization: Bearer $TRACKIFIED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"carrier":"string","custom_id":"string","customer_email":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 The updated tracking

Same as 201 · POST /v1/trackings

400 Error

Same as 401 · GET /v1/trackings

401 Error

Same as 401 · GET /v1/trackings

404 Error

Same as 401 · GET /v1/trackings

422 Error

Same as 401 · GET /v1/trackings

Updated