Banner

Tracktry API

Trackings 

Manage your trackings

URI Method Description
POST /trackings/post POST Create a tracking item
GET /trackings/{carrier_code}/{tracking_number} GET Get tracking results of a single tracking.
PUT /trackings/{carrier_code}/{tracking_number} PUT Update Tracking item
DELETE /trackings/{carrier_code}/{tracking_number} DELETE Delete a tracking item
POST /trackings/batch POST Create multiple trackings.
GET /trackings/get GET List all trackings
POST /trackings/realtime POST Get realtime tracking results of a single tracking

Get tracking results of a single tracking.

https://api.tracktry.com/v1/trackings/{carrier_code}/{tracking_number}

Request E.g.

E.g.

https://api.tracktry.com/v1/trackings/4px/300403513351

 

Return to language type (only when courier official website supports).

E.g.

https://api.tracktry.com/v1/trackings/4px/300403513351/en

Headers

  • Content-Type: application/json
    Tracktry-Api-Key: YOUR_API_KEY

Reponse Body

  • {
      "meta":{
        "code":200,
        "type":"Success",
        "message":"Success"
      },
      "data":{
        "id":"a543163dd2474af66f64c48e3085cdfa",
        "tracking_number":"300403513351",
        "carrier_code":"4px",
        "status":"delivered",
        "created_at":"2018-04-16T06:30:02+00:00",
        "updated_at":"2018-04-16T06:30:02+00:00",
        "order_create_time":"2018-04-01 10:08",
        "customer_email":[
          "[email protected]"
        ],
        "title":"cute pillow",
        "order_id":"#0002",
        "comment":null,
        "customer_name":"Karen Ng",
           "archived":false,
        "original_country":"",
        "destination_country":"United States",
        "itemTimeLength":12,
        "stayTimeLength":2,
        "origin_info":{
          "ItemReceived":"2018-04-02 19:17:08",
          "ItemDispatched":null,
          "DepartfromAirport":"2018-04-04 11:18:00",
          "ArrivalfromAbroad":null,
          "CustomsClearance":"2018-04-06 17:30:00",
          "DestinationArrived":"2018-04-14 07:47:00",
          "weblink":null,
          "phone":null,
          "carrier_code":"4px",
          "trackinfo":[
            {
              "Date":"2018-04-14 15:12:00",
              "StatusDescription":"Shipment delivered.",
              "Details":"Paramount, CA, US",
              "checkpoint_status":"delivered"
            },{
              "Date":"2018-04-14 07:47:00",
              "StatusDescription":"OUT FOR DELIVERY",
              "Details":"Paramount, CA, US",
              "checkpoint_status":"pickup"
            },
                    ...
          ]
        },
    		service_code": "",
        "lastEvent":"Shipment delivered.,Paramount, CA, US,2018-04-14 15:12:00",
        "lastUpdateTime":"2018-04-14 15:12:00"
      }
    }