Tracking

Endpoint Description
POST /tracks/find Track parcels using Parameters trackingNo and courier to tell the name of the shipping company
POST /tracks/:courier-name Track parcels using Parameters trackingNo and courier to include the name of the carrier in the URL Params.
DELETE /tracks/:courier-name/:tracking-no Remove parcel tracking using PATH Parameters trackingNo and courier to include the name of the carrier in the URL Params.


POST /tracks/find

Headers

instead of YOUR_API_KEY and YOUR_KEY_SECRET yours with your own code.

Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
Parameters

REQUIRED PARAMETERS

Parameter Type Description
trackingNo String The parcel number will see the status.
courier String Shipping company name There are all as follows kex-express, shopee-express, flash-express, scg-express, jt-express, best-express, speed-d, ninja-van, nim-express, inter-express, tnt-express, shippop, business-idea-transport, dhl-ecommerce, teleport
Body

Parameters search example trackingNo = "SHP5054369172" and courier = "kex-express"

{
  "meta": {
    "code": 200,
    "message": "OK"
  },
  "data": {
    "trackingNo": "SHP5054369172",
    "courier": "เคอรี่ เอ็กซ์เพรส",
    "courierKey": "kex-express",
    "color": "#FB8523",
    "status": "ON_DELIVERED",
    "currentStatus": "13:59 เคอรี่จัดส่งพัสดุของคุณเรียบร้อยแล้ว - คานหาม, พระนครศรีอยุธยา",
    "detail": {
      "sender": "ETrackings****",
      "recipient": "สหรัก ม******",
      "qty": 0,
      "address": "",
      "originCity": "",
      "originProvince": "นนทบุรี",
      "originCountry": "",
      "destinationCity": "",
      "destinationProvince": "พระนครศรีอยุธยา",
      "destinationCountry": "",
      "signer": "สหรัก ม******",
      "signerImageURL": "",
      "weight": 0,
      "shippingService": "",
      "returnShippingService": "",
      "deliveryType": "Normal",
      "packaging": "",
      "senderPhoneNumber": "",
      "recipientPhoneNumber": "",
      "sendDate": "",
      "dueDate": "2021-02-10",
      "cashOnDelivery": "0",
      "isPayCashOnDelivery": false,
      "deliveryStaffName": "",
      "deliveryStaffPhoneNumber": "",
      "deliveryStaffBranchPhoneNumber": "",
      "senderCompany": "",
      "senderAddress": "",
      "recipientCompany": "",
      "recipientAddress": "",
      "courierTrackingNumber": "",
      "courierPartner": ""
    },
    "shareLink": "https://apps.etrackings.com/share?track=Y291cmllcj1rZXJyeS1leHByZXNzJnRyYWNraW5nLW5vPVNIUDUwNTQzNjkxNzImZW1haWw9",
    "timelines": [
      {
        "date": "2021-02-10",
        "details": [
          {
            "dateTime": "2021-02-10T13:59:56+07:00",
            "date": "2021-02-10",
            "time": "13:59",
            "status": "ON_DELIVERED",
            "description": "13:59 เคอรี่จัดส่งพัสดุของคุณเรียบร้อยแล้ว - คานหาม, พระนครศรีอยุธยา"
          },
          {
            "dateTime": "2021-02-10T08:57:06+07:00",
            "date": "2021-02-10",
            "time": "08:57",
            "status": "ON_SHIPPING",
            "description": "08:57 พนักงานกำลังจัดส่งพัสดุของคุณ - คานหาม, พระนครศรีอยุธยา"
          }
        ]
      },
      {
        "date": "2021-02-09",
        "details": [
          {
            "dateTime": "2021-02-09T08:10:59+07:00",
            "date": "2021-02-09",
            "time": "08:10",
            "status": "ON_OTHER_STATUS",
            "description": "08:10 พัสดุของคุณถึงสาขาปลายทางแล้ว เตรียมจัดส่ง - คานหาม, พระนครศรีอยุธยา"
          },
          {
            "dateTime": "2021-02-09T03:09:31+07:00",
            "date": "2021-02-09",
            "time": "03:09",
            "status": "ON_OTHER_STATUS",
            "description": "03:09 พัสดุของคุณอยู่ระหว่างขนส่ง - ตลิ่งชั่น, พระนครศรีอยุธยา"
          }
        ]
      },
      {
        "date": "2021-02-08",
        "details": [
          {
            "dateTime": "2021-02-08T22:03:55+07:00",
            "date": "2021-02-08",
            "time": "22:03",
            "status": "ON_OTHER_STATUS",
            "description": "22:03 พัสดุของคุณอยู่ระหว่างขนส่ง - ศูนย์คัดแยกสินค้าสมุทรสาคร, กรุงเทพมหานคร"
          },
          {
            "dateTime": "2021-02-08T13:35:59+07:00",
            "date": "2021-02-08",
            "time": "13:35",
            "status": "ON_PICKED_UP",
            "description": "13:35 เคอรี่เข้ารับพัสดุแล้ว"
          }
        ]
      }
    ]
  }
}
Curl

Parameters search example trackingNo = "SHP5054369172" and courier = "kex-express"

curl --location --request POST 'https://api.etrackings.com/api/v3/tracks/find'  --header 'Etrackings-api-key: <YOUR_API_KEY>'  --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>'  --header 'Accept-Language: th'  --header 'Content-Type: application/json'  --data-raw '{ "courier": "kex-express", "trackingNo": "SHP5040314158" }'


POST /tracks/:courier-name

e.g./kex-express endpoint all /kex-express, /shopee-express, /flash-express, /scg-express, /jt-express, /best-express, /speed-d, /ninja-van, /nim-express, /inter-express, /tnt-express, /shippop, /business-idea-transport, /dhl-ecommerce, /teleport


Headers

instead of YOUR_API_KEY and YOUR_KEY_SECRET yours with your own code.

Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
Parameters

REQUIRED PARAMETERS

Parameter Type Description
trackingNo String The parcel number will see the status.
Body

Endpoint search example /tracks/kex-express และ Parameters trackingNo = "SHP5054369172"

{
  "meta": {
    "code": 200,
    "message": "OK"
  },
  "data": {
    "trackingNo": "SHP5054369172",
    "courier": "เคอรี่ เอ็กซ์เพรส",
    "courierKey": "kex-express",
    "color": "#FB8523",
    "status": "ON_DELIVERED",
    "currentStatus": "13:59 เคอรี่จัดส่งพัสดุของคุณเรียบร้อยแล้ว - คานหาม, พระนครศรีอยุธยา",
    "detail": {
      "sender": "ETrackings****",
      "recipient": "สหรัก ม******",
      "qty": 0,
      "address": "",
      "originCity": "",
      "originProvince": "นนทบุรี",
      "originCountry": "",
      "destinationCity": "",
      "destinationProvince": "พระนครศรีอยุธยา",
      "destinationCountry": "",
      "signer": "สหรัก ม******",
      "signerImageURL": "",
      "weight": 0,
      "shippingService": "",
      "returnShippingService": "",
      "deliveryType": "Normal",
      "packaging": "",
      "senderPhoneNumber": "",
      "recipientPhoneNumber": "",
      "sendDate": "",
      "dueDate": "2021-02-10",
      "cashOnDelivery": "0",
      "isPayCashOnDelivery": false,
      "deliveryStaffName": "",
      "deliveryStaffPhoneNumber": "",
      "deliveryStaffBranchPhoneNumber": "",
      "senderCompany": "",
      "senderAddress": "",
      "recipientCompany": "",
      "recipientAddress": "",
      "courierTrackingNumber": "",
      "courierPartner": ""
    },
    "shareLink": "https://apps.etrackings.com/share?track=Y291cmllcj1rZXJyeS1leHByZXNzJnRyYWNraW5nLW5vPVNIUDUwNTQzNjkxNzImZW1haWw9",
    "timelines": [
      {
        "date": "2021-02-10",
        "details": [
          {
            "dateTime": "2021-02-10T13:59:56+07:00",
            "date": "2021-02-10",
            "time": "13:59",
            "status": "ON_DELIVERED",
            "description": "13:59 เคอรี่จัดส่งพัสดุของคุณเรียบร้อยแล้ว - คานหาม, พระนครศรีอยุธยา"
          },
          {
            "dateTime": "2021-02-10T08:57:06+07:00",
            "date": "2021-02-10",
            "time": "08:57",
            "status": "ON_SHIPPING",
            "description": "08:57 พนักงานกำลังจัดส่งพัสดุของคุณ - คานหาม, พระนครศรีอยุธยา"
          }
        ]
      },
      {
        "date": "2021-02-09",
        "details": [
          {
            "dateTime": "2021-02-09T08:10:59+07:00",
            "date": "2021-02-09",
            "time": "08:10",
            "status": "ON_OTHER_STATUS",
            "description": "08:10 พัสดุของคุณถึงสาขาปลายทางแล้ว เตรียมจัดส่ง - คานหาม, พระนครศรีอยุธยา"
          },
          {
            "dateTime": "2021-02-09T03:09:31+07:00",
            "date": "2021-02-09",
            "time": "03:09",
            "status": "ON_OTHER_STATUS",
            "description": "03:09 พัสดุของคุณอยู่ระหว่างขนส่ง - ตลิ่งชั่น, พระนครศรีอยุธยา"
          }
        ]
      },
      {
        "date": "2021-02-08",
        "details": [
          {
            "dateTime": "2021-02-08T22:03:55+07:00",
            "date": "2021-02-08",
            "time": "22:03",
            "status": "ON_OTHER_STATUS",
            "description": "22:03 พัสดุของคุณอยู่ระหว่างขนส่ง - ศูนย์คัดแยกสินค้าสมุทรสาคร, กรุงเทพมหานคร"
          },
          {
            "dateTime": "2021-02-08T13:35:59+07:00",
            "date": "2021-02-08",
            "time": "13:35",
            "status": "ON_PICKED_UP",
            "description": "13:35 เคอรี่เข้ารับพัสดุแล้ว"
          }
        ]
      }
    ]
  }
}
Curl

Parameters search example trackingNo = "SHP5054369172" และ courier = "kex-express"

curl --location --request POST 'https://api.etrackings.com/api/v3/tracks/kex-express'  --header 'Etrackings-api-key: <YOUR_API_KEY>'  --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>'  --header 'Accept-Language: th'  --header 'Content-Type: application/json'  --data-raw '{ "trackingNo": "SHP5040314158" }'

DELETE /tracks/:courier-name/:tracking-no

e.g./tracks/kex-express/SHP5055853633


Headers

instead of YOUR_API_KEY and YOUR_KEY_SECRET yours with your own code.

Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
Body

Example of removing traces with Endpoint /tracks/kex-express/SHP5055853633

{
  "meta": {
    "code": 200,
    "message": "Delete tracking success."
  }
}
Curl

Example of removing traces with Endpoint /tracks/kex-express/SHP5055853633

curl --location --request DELETE 'https://api.etrackings.com/api/v3/tracks/kex-express/SHP5055853633'     --header 'Etrackings-api-key: <YOUR_API_KEY>'     --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>'     --header 'Accept-Language: th'